|
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.framework.sql.BaseDao
com.esri.gpt.catalog.management.CollectionDao
public class CollectionDao
Database access object associated with item collections.
| Constructor Summary | |
|---|---|
CollectionDao(RequestContext requestContext)
Constructs with an associated request context. |
|
| Method Summary | |
|---|---|
int |
addMembers(Publisher publisher,
MmdQueryCriteria criteria,
String colUuid)
|
int |
addMembers(Publisher publisher,
StringSet docUuids,
String colUuid)
Adds a set of document UUIDS to a collection. |
String |
getCollectionMemberTableName()
Gets the collection member table name. |
String |
getCollectionTableName()
Gets the collection table name. |
String |
getTablePrefix()
Gets the table prefix. |
boolean |
getUseCollections()
Determine if collections are in use. |
List<String[]> |
queryCollections()
Queries named collections. |
int |
removeMembers(Publisher publisher,
MmdQueryCriteria criteria,
String colUuid)
|
int |
removeMembers(Publisher publisher,
StringSet docUuids,
String colUuid)
Removes a set of document UUIDS from a collection. |
| Methods inherited from class com.esri.gpt.framework.sql.BaseDao |
|---|
appendExpression, appendValueFilter, closeResultSet, closeStatement, getApplicationConfiguration, getIsDbCaseSensitive, 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 CollectionDao(RequestContext requestContext)
requestContext - the request context| Method Detail |
|---|
public String getCollectionTableName()
public String getCollectionMemberTableName()
public String getTablePrefix()
public boolean getUseCollections()
true if collections are in use
public int addMembers(Publisher publisher,
StringSet docUuids,
String colUuid)
throws SQLException,
CatalogIndexException
docUuids - the set of document UUIDScolUuid - the collection UUID
SQLException - if an exception occurs while communicating with the database
CatalogIndexException - is an exception occurs while writing to the index
public int addMembers(Publisher publisher,
MmdQueryCriteria criteria,
String colUuid)
throws SQLException,
CatalogIndexException
SQLException
CatalogIndexException
public List<String[]> queryCollections()
throws SQLException
SQLException - if an exception occurs while communicating with the database
public int removeMembers(Publisher publisher,
StringSet docUuids,
String colUuid)
throws SQLException,
CatalogIndexException
docUuids - the set of document UUIDScolUuid - the collection UUID
SQLException - if an exception occurs while communicating with the database
CatalogIndexException - is an exception occurs while writing to the index
public int removeMembers(Publisher publisher,
MmdQueryCriteria criteria,
String colUuid)
throws SQLException,
CatalogIndexException
SQLException
CatalogIndexException
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||