|
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.sql.BaseDao
com.esri.gpt.catalog.context.CatalogIndexAdapter
public abstract class CatalogIndexAdapter
Super-class for an adapter that maintains and searches an index of metadata documents.
| Constructor Summary | |
|---|---|
CatalogIndexAdapter(RequestContext requestContext)
Constructs with an associated request context. |
|
| Method Summary | |
|---|---|
abstract int |
countDocuments()
Counts the documents within the index. |
void |
deleteDocument(String uuid)
Deletes a document from the index. |
abstract void |
deleteDocuments(String[] uuids)
Deletes a collection of documents from the index. |
protected Logger |
getLogger()
Gets the logger. |
String |
publishDocument(String uuid,
Publisher publisher)
Publishes a document to the index, first reading it's XML from the metadata server. |
abstract void |
publishDocument(String uuid,
Timestamp updateDate,
Schema schema)
Deprecated. does not consider access control (ACL), use publishDocument(String, Timestamp, Schema, String) |
abstract void |
publishDocument(String uuid,
Timestamp updateDate,
Schema schema,
String acl)
Publishes a document to the index based upon a metadata schema. |
void |
publishDocument(String uuid,
Timestamp updateDate,
String xml)
Deprecated. does not consider access control (ACL), use publishDocument(String, Timestamp, Schema, String) |
abstract void |
purgeIndex()
Purges the entire catalog index. |
abstract String[] |
queryAcls(String uuid)
Queries the ACL values indexed for a document. |
abstract Timestamp |
queryModifiedDate(String uuid)
Queries the system modified date associated with an indexed document. |
abstract StringSet |
readUuids(int startIndex,
int maxUuids)
Reads the document UUIDs within the index. |
void |
rebuildCompleteIndex()
Rebuilds the index from scratch. |
void |
synchronizeDocument(Publisher admin,
String uuid)
Synchronizes a document's index content based upon it's database content. |
| Methods inherited from class com.esri.gpt.framework.sql.BaseDao |
|---|
appendExpression, appendValueFilter, closeResultSet, closeStatement, getApplicationConfiguration, getRequestContext, logExpression, returnConnection, setRequestContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CatalogIndexAdapter(RequestContext requestContext)
requestContext - the request context| Method Detail |
|---|
protected Logger getLogger()
public abstract int countDocuments()
throws CatalogIndexException
CatalogIndexException - if an exception occurs
public void deleteDocument(String uuid)
throws CatalogIndexException
uuid - the document UUID to delete
CatalogIndexException - if an exception occurs
public abstract void deleteDocuments(String[] uuids)
throws CatalogIndexException
uuids - the collection of document UUIDS to delete
CatalogIndexException - if an exception occurs
public String publishDocument(String uuid,
Publisher publisher)
throws CatalogIndexException
uuid - the document's UUIDpublisher - a publisher who has read access to the document
CatalogIndexException - if an exception occurs
public abstract void publishDocument(String uuid,
Timestamp updateDate,
Schema schema)
throws CatalogIndexException
publishDocument(String, Timestamp, Schema, String)
uuid - the document's UUIDupdateDate - the document's update dateschema - the evaluated schema associated with the document to be indexed
CatalogIndexException - if an exception occurs
public void publishDocument(String uuid,
Timestamp updateDate,
String xml)
throws CatalogIndexException
publishDocument(String, Timestamp, Schema, String)
uuid - the document's UUIDupdateDate - the document's update datexml - the document's XML
CatalogIndexException - if an exception occurs
public abstract void publishDocument(String uuid,
Timestamp updateDate,
Schema schema,
String acl)
throws CatalogIndexException
uuid - the document's UUIDupdateDate - the document's update dateschema - the evaluated schema associated with the document to be indexedacl - an XML string represent the access control information associated
the document (if null, no ACL information is indexed)
CatalogIndexException - if an exception occurs
public abstract void purgeIndex()
throws CatalogIndexException
CatalogIndexException - if an exception occurs
public abstract String[] queryAcls(String uuid)
throws CatalogIndexException
uuid - the document UUID
CatalogIndexException - if an exception occurs
public abstract Timestamp queryModifiedDate(String uuid)
throws CatalogIndexException
uuid - the document UUID
CatalogIndexException - if an exception occurs
public abstract StringSet readUuids(int startIndex,
int maxUuids)
throws CatalogIndexException
maxUuids - the maximum number to readstartIndex - the index to begin reading
CatalogIndexException - if an exception occurs
public void rebuildCompleteIndex()
throws CatalogIndexException
CatalogIndexException - if an exception occurs
public void synchronizeDocument(Publisher admin,
String uuid)
throws CatalogIndexException
admin - a metadata administratoruuid - the document's UUID
CatalogIndexException - if an exception occurs
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||