|
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.arcgis.metadata.ServiceHandler
public abstract class ServiceHandler
Super-class associated with the collection and publication of metadata for an ArcGIS Server service.
Field Summary | |
---|---|
protected static HttpClientRequest |
http
|
Constructor Summary | |
---|---|
ServiceHandler()
Default constructor. |
Method Summary | |
---|---|
void |
appendRecord(Collection<Resource> records,
ServiceHandlerFactory factory,
ServiceInfo serviceInfo,
boolean isNative)
Creates new record instance (or more record instances) for given ServiceInfo and appends to the collection. |
void |
collectMetadata(AGSProcessor processor,
ServiceInfo serviceInfo)
Collect metadata associated with a service. |
abstract void |
collectMetadata(ServiceHandlerFactory handlerFactory,
ServiceInfo serviceInfo)
Collect metadata associated with a service. |
void |
collectParentMetadata(AGSProcessor processor,
ServiceInfo serviceInfo)
Collect metadata associated with the parent of a service. |
void |
collectParentMetadata(ServiceHandlerFactory handlerFacory,
ServiceInfo serviceInfo)
Collect metadata associated with the parent of a service. |
UsernamePasswordCredentials |
getCredentials()
Gets credentials. |
void |
publishMetadata(AGSProcessor processor,
ServiceInfo serviceInfo)
Publishes metadata associated with a service. |
void |
setCredentials(UsernamePasswordCredentials credentials)
Sets credentials. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final HttpClientRequest http
Constructor Detail |
---|
public ServiceHandler()
Method Detail |
---|
public UsernamePasswordCredentials getCredentials()
public void setCredentials(UsernamePasswordCredentials credentials)
credentials
- credentialspublic void collectParentMetadata(AGSProcessor processor, ServiceInfo serviceInfo) throws Exception
processor
- the ArcGIS Server service processorserviceInfo
- the active service information
Exception
- if an exception occurspublic void collectParentMetadata(ServiceHandlerFactory handlerFacory, ServiceInfo serviceInfo) throws Exception
handlerFacory
- handler factoryserviceInfo
- the active service information
Exception
- if an exception occurspublic void collectMetadata(AGSProcessor processor, ServiceInfo serviceInfo) throws Exception
processor
- the ArcGIS Server service processorserviceInfo
- the active service information
Exception
- if an exception occurspublic abstract void collectMetadata(ServiceHandlerFactory handlerFactory, ServiceInfo serviceInfo) throws Exception
handlerFactory
- handler factoryserviceInfo
- the active service information
Exception
- if an exception occurspublic void appendRecord(Collection<Resource> records, ServiceHandlerFactory factory, ServiceInfo serviceInfo, boolean isNative) throws Exception
records
- collection of recordsfactory
- handler factoryserviceInfo
- service infoisNative
- true
to append native record
Exception
- if an exception occurspublic void publishMetadata(AGSProcessor processor, ServiceInfo serviceInfo) throws Exception
processor
- the ArcGIS Server service processorserviceInfo
- the active service information
Exception
- if an exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |