|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.publication.PublicationRequest
public class PublicationRequest
Super-class for a metadata document publication request.
Constructor Summary | |
---|---|
PublicationRequest()
Default constructor. |
|
PublicationRequest(RequestContext requestContext,
Publisher publisher,
String sourceXml)
Constructs a request to publish a metadata document. |
Method Summary | |
---|---|
protected void |
determineSourceUri(Schema schema)
Determines and sets the source URI for the document. |
protected void |
determineUuid(Schema schema)
Determines and sets the UUID for the document. |
protected Schemas |
getConfiguredSchemas()
Gets the configured schemas. |
PublicationRecord |
getPublicationRecord()
Gets the associated publication record. |
Publisher |
getPublisher()
Gets the publisher associated with the request. |
RequestContext |
getRequestContext()
Gets the associated request context. |
Schema |
prepareForPublication()
Prepares publication record for publication. |
void |
publish()
Publishes the document. |
void |
publish(Schema schema)
Publishes the document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublicationRequest()
public PublicationRequest(RequestContext requestContext, Publisher publisher, String sourceXml)
requestContext
- the request contextpublisher
- the publishersourceXml
- the XML contentMethod Detail |
---|
protected Schemas getConfiguredSchemas()
public Publisher getPublisher()
public PublicationRecord getPublicationRecord()
public RequestContext getRequestContext()
protected void determineSourceUri(Schema schema)
schema
- the evaluated schema for the document being publishedprotected void determineUuid(Schema schema) throws SQLException
schema
- the evaluated schema for the document being published
SQLException
- if a database exception occurspublic Schema prepareForPublication() throws SchemaException, SQLException
SchemaException
- if record can not have associated schema
SQLException
- if accessing database failspublic void publish(Schema schema) throws SQLException, ImsServiceException, CatalogIndexException
schema
- document schema
ImsServiceException
- in an exception occurs while communication
with the ArcIMS metadata publishing service
SQLException
- if a database exception occurs
CatalogIndexException
- if a document indexing exception occurspublic void publish() throws SchemaException, ImsServiceException, SQLException, CatalogIndexException
SchemaException
- if a schems related exception occurs
ImsServiceException
- in an exception occurs while communication
with the ArcIMS metadata publishing service
SQLException
- if a database exception occurs
CatalogIndexException
- if a document indexing exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |