|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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.
| Nested Class Summary | |
|---|---|
class |
ServiceHandler.ServiceRecord
Service specific Record implementation. |
| 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. |
ServiceInfo |
createServiceInfo(ServiceInfo parentInfo,
com.esri.arcgisws.ServiceDescription desc,
String currentRestUrl,
String currentSoapUrl)
Creates service info. |
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 - credentials
public void collectParentMetadata(AGSProcessor processor,
ServiceInfo serviceInfo)
throws Exception
processor - the ArcGIS Server service processorserviceInfo - the active service information
Exception - if an exception occurs
public void collectParentMetadata(ServiceHandlerFactory handlerFacory,
ServiceInfo serviceInfo)
throws Exception
handlerFacory - handler factoryserviceInfo - the active service information
Exception - if an exception occurs
public void collectMetadata(AGSProcessor processor,
ServiceInfo serviceInfo)
throws Exception
processor - the ArcGIS Server service processorserviceInfo - the active service information
Exception - if an exception occurs
public abstract void collectMetadata(ServiceHandlerFactory handlerFactory,
ServiceInfo serviceInfo)
throws Exception
handlerFactory - handler factoryserviceInfo - the active service information
Exception - if an exception occurs
public 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 occurs
public void publishMetadata(AGSProcessor processor,
ServiceInfo serviceInfo)
throws Exception
processor - the ArcGIS Server service processorserviceInfo - the active service information
Exception - if an exception occurs
public ServiceInfo createServiceInfo(ServiceInfo parentInfo,
com.esri.arcgisws.ServiceDescription desc,
String currentRestUrl,
String currentSoapUrl)
parentInfo - parent infodesc - service descriptioncurrentRestUrl - current REST URLcurrentSoapUrl - current SOAP URL
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||