|
ArcGIS Server Geoportal extension 10
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.framework.context.Configuration
com.esri.gpt.catalog.context.CatalogConfiguration
public class CatalogConfiguration
Catalog configuration information.
Constructor Summary | |
---|---|
CatalogConfiguration()
Default constructor. |
Method Summary | |
---|---|
ImsCatalog |
getArcImsCatalog()
Gets the configured ArcIMS catalog. |
Schemas |
getConfiguredSchemas()
Gets the configured schemas. |
TocCollection |
getConfiguredTocs()
Loads the configured tocs |
String |
getHarvestingHistoryTableName()
Gets the harvesting history table name. |
String |
getHarvestingJobsCompletedTableName()
Gets completed harvesting jobs table name. |
String |
getHarvestingJobsPendingTableName()
Gets pending harvesting jobs table name. |
String |
getHarvestingTableName()
Deprecated. since 10.0; use getResourceTableName() instead |
LuceneConfig |
getLuceneConfig()
Gets the Lucene configuration. |
String |
getMetadataAdminTableName()
Deprecated. since 10.0; use getResourceTableName() instead |
String |
getMetadataTableName()
Deprecated. since 10.0; use getResourceTableName() instead |
String |
getMvsTablePrefix()
Gets the prefix used for MVS table names. |
StringAttributeMap |
getParameters()
Gets the map generally configured paramaters. |
String |
getResourceDataTableName()
Gets resource data table name. |
String |
getResourceTableName()
Gets resource table name. |
SearchConfig |
getSearchConfig()
Gets the search config. |
String |
getSearchTableName()
Gets the name of the saved search table. |
String |
getTablePrefix()
Gets the prefix used for table names. |
String |
getUserTableName()
Gets the name of the user table. |
CatalogIndexAdapter |
makeCatalogIndexAdapter(RequestContext context)
Makes a catalog index adapter. |
ImsSocketClient |
makeImsSocketClient(ImsService service,
Publisher publisher)
Makes a suitable ArcIMS socket client for the service. |
ImsSocketClient |
makeImsSocketClient(RequestContext context,
String serviceName)
Makes a suitable ArcIMS socket client for the service. |
DiscoveryQueryAdapter |
newDiscoveryQueryAdapter()
Instantiates a new discovery query adapter. |
void |
setMetadataTableName(String tableName)
Sets the ArcIMS metadata table name. |
void |
setMvsTablePrefix(String prefix)
Sets the prefix used for MVS table names. |
void |
setSearchConfig(SearchConfig searchConfig)
Sets the search config. |
void |
setTablePrefix(String prefix)
Sets the prefix used for table names. |
String |
toString()
Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CatalogConfiguration()
Method Detail |
---|
public ImsCatalog getArcImsCatalog()
public Schemas getConfiguredSchemas()
public TocCollection getConfiguredTocs()
@Deprecated public String getHarvestingTableName()
getResourceTableName()
instead
public String getHarvestingHistoryTableName()
public String getHarvestingJobsPendingTableName()
public String getHarvestingJobsCompletedTableName()
public LuceneConfig getLuceneConfig()
@Deprecated public String getMetadataAdminTableName()
getResourceTableName()
instead
@Deprecated public String getMetadataTableName()
getResourceTableName()
instead
public String getResourceTableName()
public String getResourceDataTableName()
public void setMetadataTableName(String tableName)
tableName
- the table namepublic String getMvsTablePrefix()
public void setMvsTablePrefix(String prefix)
prefix
- the prefixpublic StringAttributeMap getParameters()
public SearchConfig getSearchConfig()
public void setSearchConfig(SearchConfig searchConfig)
searchConfig
- the new search configpublic String getSearchTableName()
public String getTablePrefix()
public void setTablePrefix(String prefix)
prefix
- the prefixpublic String getUserTableName()
public CatalogIndexAdapter makeCatalogIndexAdapter(RequestContext context)
context
- the request context
public ImsSocketClient makeImsSocketClient(ImsService service, Publisher publisher)
service
- the metadata servicepublisher
- the publisher associated with the request (only required
for a socket request against the GPT_Publish_Service
public ImsSocketClient makeImsSocketClient(RequestContext context, String serviceName) throws NotAuthorizedException, IdentityException, ImsServiceException, SQLException
serviceName
- the metadata service namecontext
- the request context
for a socket request against the GPT_Publish_Service
NotAuthorizedException
- if the user is not authorized
IdentityException
- if an integrity violation occurs
ImsServiceException
- if an exception occurs when
creating the default folder
SQLException
- if a database exception occurspublic DiscoveryQueryAdapter newDiscoveryQueryAdapter()
public String toString()
toString
in class Object
|
ArcGIS Server Geoportal extension 10
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |