public interface WGDatabaseCoreFeatureReturnHierarchyCount extends WGDatabaseCore
WGDatabaseCore
for performant retrieval of struct entry count (without actually retrieving the struct data) at certain hierarchy positionsModifier and Type | Method and Description |
---|---|
int |
getChildEntryCount(WGStructEntry structEntry)
Retrieves the number of child entries of the given struct entry without actually retrieving them
|
int |
getRootEntryCount(WGArea area)
Retrieves the root entries (i.e. entries without parents) of the given area.
|
beginTransaction, beginUpdate, callBackendService, clearSessionCache, close, closeSession, commitTransaction, convertFileNameForAttaching, createContent, createCopy, createDesignDocument, createStructEntry, fastAccess, getACL, getAllContent, getAllContentKeys, getChildEntries, getContentByKey, getContentByName, getContentCount, getContentStorePatchLevel, getContentStoreVersion, getDedicatedWorkflowEngine, getDesignObject, getDesignObjects, getDummyContent, getExtensionData, getExtensionDataNames, getIncomingRelations, getNativeObject, getParentEntry, getRevision, getRevisionDate, getRoles, getRootEntries, getServerName, getStructEntryByKey, getStructEntryByName, getTitle, getTypeName, getUpdateLogs, hasFeature, isBackendServiceSupported, isContentTypeUsed, isLanguageUsed, isMemberOfUserList, moveStructEntry, open, openSession, parseStructKey, query, refresh, removeExtensionData, resultIsFalse, resultIsTrue, rollbackTransaction, setCurrentSession, writeExtensionData
int getChildEntryCount(WGStructEntry structEntry) throws WGAPIException
structEntry
- The struct entry, whose children are to be retrievedWGAPIException
int getRootEntryCount(WGArea area) throws WGAPIException
area
- The area, whose root entries are to be retrievedWGAPIException