Interface ItemServiceInternal
-
- All Known Implementing Classes:
ItemServiceInternalImpl
public interface ItemServiceInternal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clearPreviousPath(String siteId, String path)
Clear previous path of the contentPublishingDashboardItem
convertHistoryItemToDashboardItem(PublishingHistoryItem historyItem)
Convert Publishing History Item to Publishing Dashboard ItemContentDashboardItem
convertItemToContentDashboardItem(String siteId, Item item)
Convert Item to Content Dashboard Itemint
countAllContentItems()
Count all content itemsvoid
deleteItem(long itemId)
Delete itemvoid
deleteItem(String siteId, String path)
Delete itemvoid
deleteItemForFolder(long siteId, String folderPath)
Delete items for site and pathsvoid
deleteItemsById(List<Long> itemIds)
Delete items by idsvoid
deleteItemsForSite(long siteId)
Delete all items for sitevoid
deleteItemsForSiteAndPaths(long siteId, List<String> paths)
Delete items for site and pathsString
getBrowserUrl(String site, String path)
Get browser url for given repository itemList<String>
getChangeSetForSubtree(String siteId, String path)
Get change set for subtreeList<ContentDashboardItem>
getContentDashboard(String siteId, String path, String modifier, String contentType, long state, ZonedDateTime dateFrom, ZonedDateTime dateTo, String sortBy, String order, int offset, int limit)
Get result set for content dashboardint
getContentDashboardTotal(String siteId, String path, String modifier, String contentType, long state, ZonedDateTime dateFrom, ZonedDateTime dateTo)
Get total number of records for content dashboardList<String>
getExistingRenamedChildrenOfMandatoryParentsForPublishing(String siteId, List<String> parents)
Get existing renamed children of mandatory parents for publishingList<Item>
getInProgressItems(String siteId)
Get in progress items for given siteDetailedItem
getItem(String siteId, long id)
Get item by given idItem
getItem(String siteId, String path)
Get item fir given site and pathItem
getItem(String siteId, String path, boolean preferContent)
Get item fir given site and pathList<Item>
getItems(String siteId, List<String> path)
Get items for given site and pathsList<Item>
getItems(String siteId, List<String> paths, boolean preferContent)
Get items for given site and pathsList<Item>
getItemStates(String siteId, String path, Long states, int offset, int limit)
Get item states for given filters by path regex and states maskint
getItemStatesTotal(String siteId, String path, Long states)
Get total number of item states records for given filters by path regex and states maskList<String>
getMandatoryParentsForPublishing(String siteId, List<String> paths)
Get mandatory parents for publishing for given site and list of pathsList<String>
getSameCommitItems(String siteId, String path)
Get items edited on same commit id for given itemList<Item>
getSubmittedItems(String site)
Get submitted items for given siteList<String>
getSubtreeForDelete(String siteId, String path)
Get subtree for deleteItem
instantiateItem(long siteId, String siteName, String path, String previewUrl, long state, Long ownedBy, String owner, Long createdBy, String creator, ZonedDateTime createdOn, Long lastModifiedBy, String modifier, ZonedDateTime lastModifiedOn, String label, String contentTypeId, String systemType, String mimeType, String localeCode, Long translationSourceId, long size, Long parentId, String commitId)
Instantiate item by getting it from DB and setting properties to valuesItem.Builder
instantiateItem(String siteName, String path)
Item
instantiateItemAfterWrite(String siteId, String path, String username, ZonedDateTime lastModifiedOn, String label, String contentTypeId, String localeCode, String commitId, long size, Optional<Boolean> unlock)
Instantiate item after write or updateboolean
isNew(String siteId, String path)
Check if item is newboolean
isSystemProcessing(String site, String path)
Check if item is in system processingboolean
isUpdatedOrNew(String site, String path)
Check if item is update or newvoid
lockItemById(long itemId, String username)
Lock item for given lock ownervoid
lockItemByPath(String siteId, String path, String username)
Lock item for given lock ownervoid
lockItemsById(List<Long> itemIds, String username)
Lock items for given lock ownervoid
lockItemsByPath(String siteId, List<String> paths, String username)
Lock items for given lock ownervoid
moveItem(String siteId, String oldPath, String newPath)
Move itemvoid
moveItems(String siteId, String oldPath, String newPath, Long parentId)
Move itemsvoid
persistItemAfterCreate(String siteId, String path, String username, String commitId, Optional<Boolean> unlock, Long parentId)
Persist item metadata after createvoid
persistItemAfterCreateFolder(String siteId, String folderPath, String folderName, String username, String commitId, Long parentId)
Persist item metadata after create foldervoid
persistItemAfterRenameFolder(String siteId, String folderPath, String folderName, String username, String commitId)
Persist item metadata after rename foldervoid
persistItemAfterWrite(String siteId, String path, String username, String commitId, Optional<Boolean> unlock)
Persist item metadata after writeboolean
previousPathExists(String siteId, String path)
Check if path exists as previous pathvoid
resetStateBits(long itemId, long statesBitMask)
Update states bitmap for item by setting bits to 0void
resetStateBits(String siteId, String path, long statesBitMask)
Update states bitmap for item by setting bits to 0void
resetStateBitsBulk(String siteId, List<String> paths, long statesBitMask)
Update states bitmap for list of items by setting bits to 0void
setStateBits(long itemId, long statesBitMask)
Update states bitmap for item by setting bits to 1void
setStateBits(String siteId, String path, long statesBitMask)
Update states bitmap for item by setting bits to 1void
setStateBitsBulk(String siteId, List<String> paths, long statesBitMask)
Update states bitmap for list of items by setting bits to 1void
setSystemProcessing(String siteId, String path, boolean isSystemProcessing)
Set system processing for itemvoid
setSystemProcessingBulk(String siteId, List<String> paths, boolean isSystemProcessing)
Set system processing for itemsvoid
unlockItemById(long itemId)
Unlock itemvoid
unlockItemByPath(String siteId, String path)
Unlock itemvoid
updateCommitId(String siteId, String path, String commitId)
Update commit id for itemvoid
updateItem(Item item)
Update itemvoid
updateItemStates(String siteId, List<String> paths, boolean clearSystemProcessing, boolean clearUserLocked, Boolean live, Boolean staged)
Update item state flags for given itemsvoid
updateItemStatesByQuery(String siteId, String path, Long states, boolean clearSystemProcessing, boolean clearUserLocked, Boolean live, Boolean staged)
Update item state flags for given path queryvoid
updateLastPublishedOn(String siteId, String path, ZonedDateTime lastPublishedOn)
Update last published date for itemvoid
updateLastPublishedOnBulk(String siteId, List<String> paths, ZonedDateTime lastPublishedOn)
Update last published date for itemvoid
updateStateBits(long itemId, long onStateBitMap, long offStateBitMap)
Update states to flip on list off states and flip off another list of states for itemvoid
updateStateBits(String siteId, String path, long onStateBitMap, long offStateBitMap)
Update states to flip on list off states and flip off another list of states for itemvoid
updateStateBitsBulk(String siteId, List<String> paths, long onStateBitMap, long offStateBitMap)
Update states to flip on list off states and flip off another list of states for itemsvoid
updateStateBitsBulk(List<Long> itemIds, long onStateBitMap, long offStateBitMap)
Update states to flip on list off states and flip off another list of states for itemsvoid
updateStatesForSite(String siteId, long onStateBitMap, long offStateBitMap)
Update states for all content in the given sitevoid
upsertEntries(String siteId, List<Item> items)
Insert records for list of item if they do not exist, otherwise update themboolean
upsertEntry(Item item)
Insert record for item if it does not exist, otherwise update it
-
-
-
Method Detail
-
upsertEntry
boolean upsertEntry(Item item)
Insert record for item if it does not exist, otherwise update it- Parameters:
item
- item to add or update
-
upsertEntries
void upsertEntries(String siteId, List<Item> items)
Insert records for list of item if they do not exist, otherwise update them- Parameters:
siteId
- site identifieritems
- list of items to add or update
-
getItem
DetailedItem getItem(String siteId, long id)
Get item by given id- Parameters:
siteId
- site identifierid
- item id- Returns:
- item
-
getItem
Item getItem(String siteId, String path)
Get item fir given site and path- Parameters:
siteId
- site identifierpath
- item path- Returns:
- item
-
getItem
Item getItem(String siteId, String path, boolean preferContent)
Get item fir given site and path- Parameters:
siteId
- site identifierpath
- item pathpreferContent
- if true return content item if available- Returns:
- item
-
getItems
List<Item> getItems(String siteId, List<String> path)
Get items for given site and paths- Parameters:
siteId
- site identifierpath
- item paths- Returns:
- list of items
-
getItems
List<Item> getItems(String siteId, List<String> paths, boolean preferContent)
Get items for given site and paths- Parameters:
siteId
- site identifierpaths
- item pathspreferContent
- if true return content item if available- Returns:
- list of items
-
updateItem
void updateItem(Item item)
Update item- Parameters:
item
- item to update
-
deleteItem
void deleteItem(long itemId)
Delete item- Parameters:
itemId
- item id
-
deleteItem
void deleteItem(String siteId, String path)
Delete item- Parameters:
siteId
- siteIdentifierpath
- path of item to be deleted
-
setSystemProcessing
void setSystemProcessing(String siteId, String path, boolean isSystemProcessing)
Set system processing for item- Parameters:
siteId
- site identifierpath
- path of the itemisSystemProcessing
- true if item is being processed by system, otherwise false
-
setSystemProcessingBulk
void setSystemProcessingBulk(String siteId, List<String> paths, boolean isSystemProcessing)
Set system processing for items- Parameters:
siteId
- site identifierpaths
- paths of itemsisSystemProcessing
- true if item is being processed by system, otherwise false
-
setStateBits
void setStateBits(String siteId, String path, long statesBitMask)
Update states bitmap for item by setting bits to 1- Parameters:
siteId
- site identifierpath
- path of itemstatesBitMask
- bit mask for states to be updated
-
setStateBitsBulk
void setStateBitsBulk(String siteId, List<String> paths, long statesBitMask)
Update states bitmap for list of items by setting bits to 1- Parameters:
siteId
- site identifierpaths
- paths of itemsstatesBitMask
- bit mask for states to be updated
-
resetStateBits
void resetStateBits(String siteId, String path, long statesBitMask)
Update states bitmap for item by setting bits to 0- Parameters:
siteId
- site identifierpath
- path of itemstatesBitMask
- bit mask for states to be updated
-
resetStateBitsBulk
void resetStateBitsBulk(String siteId, List<String> paths, long statesBitMask)
Update states bitmap for list of items by setting bits to 0- Parameters:
siteId
- site identifierpaths
- paths of itemsstatesBitMask
- bit mask for states to be updated
-
setStateBits
void setStateBits(long itemId, long statesBitMask)
Update states bitmap for item by setting bits to 1- Parameters:
itemId
- item identifierstatesBitMask
- bit mask for states to be updated
-
resetStateBits
void resetStateBits(long itemId, long statesBitMask)
Update states bitmap for item by setting bits to 0- Parameters:
itemId
- item identifierstatesBitMask
- bit mask for states to be updated
-
updateStateBits
void updateStateBits(String siteId, String path, long onStateBitMap, long offStateBitMap)
Update states to flip on list off states and flip off another list of states for item- Parameters:
siteId
- site identifierpath
- path of itemonStateBitMap
- states bitmap to flip onoffStateBitMap
- stats bitmap to flip off
-
updateStateBits
void updateStateBits(long itemId, long onStateBitMap, long offStateBitMap)
Update states to flip on list off states and flip off another list of states for item- Parameters:
itemId
- item identifieronStateBitMap
- states bitmap to flip onoffStateBitMap
- stats bitmap to flip off
-
updateStateBitsBulk
void updateStateBitsBulk(String siteId, List<String> paths, long onStateBitMap, long offStateBitMap)
Update states to flip on list off states and flip off another list of states for items- Parameters:
siteId
- site identifierpaths
- list of paths of itemsonStateBitMap
- states bitmap to flip onoffStateBitMap
- stats bitmap to flip off
-
updateStateBitsBulk
void updateStateBitsBulk(List<Long> itemIds, long onStateBitMap, long offStateBitMap)
Update states to flip on list off states and flip off another list of states for items- Parameters:
itemIds
- list of item idsonStateBitMap
- states bitmap to flip onoffStateBitMap
- stats bitmap to flip off
-
instantiateItem
Item.Builder instantiateItem(String siteName, String path)
-
instantiateItem
Item instantiateItem(long siteId, String siteName, String path, String previewUrl, long state, Long ownedBy, String owner, Long createdBy, String creator, ZonedDateTime createdOn, Long lastModifiedBy, String modifier, ZonedDateTime lastModifiedOn, String label, String contentTypeId, String systemType, String mimeType, String localeCode, Long translationSourceId, long size, Long parentId, String commitId)
Instantiate item by getting it from DB and setting properties to values- Parameters:
siteId
- site identifiersiteName
- site namepath
- path of the itempreviewUrl
- preview URLstate
- state of the item (bitmap)ownedBy
- owner idowner
- owner usernamecreatedBy
- creator idcreator
- creator usernamecreatedOn
- created datelastModifiedBy
- modifier idmodifier
- modifier usernamelastModifiedOn
- modified datelabel
- label for the itemcontentTypeId
- content type idsystemType
- system typemimeType
- mime typelocaleCode
- locale codetranslationSourceId
- translation source item idsize
- size of the fileparentId
- parent idcommitId
- commit id- Returns:
- Item object
-
instantiateItemAfterWrite
Item instantiateItemAfterWrite(String siteId, String path, String username, ZonedDateTime lastModifiedOn, String label, String contentTypeId, String localeCode, String commitId, long size, Optional<Boolean> unlock) throws ServiceLayerException, UserNotFoundException
Instantiate item after write or update- Parameters:
siteId
- site identifierpath
- path of the itemusername
- username of modifierlastModifiedOn
- modified datelabel
- label for the itemcontentTypeId
- content type idlocaleCode
- locale codecommitId
- commit id obtained with write operationsize
- file size in bytesunlock
- Optional unlocking of item, if true unlock, otherwise lock. If not present item will be unlocked- Returns:
- item object
- Throws:
ServiceLayerException
- General service errorUserNotFoundException
- If given username does not exist
-
deleteItemsForSite
void deleteItemsForSite(long siteId)
Delete all items for site- Parameters:
siteId
- site id
-
deleteItemsById
void deleteItemsById(List<Long> itemIds)
Delete items by ids- Parameters:
itemIds
- ids of items to delete
-
deleteItemsForSiteAndPaths
void deleteItemsForSiteAndPaths(long siteId, List<String> paths)
Delete items for site and paths- Parameters:
siteId
- site idpaths
- list of item paths to delete
-
getContentDashboardTotal
int getContentDashboardTotal(String siteId, String path, String modifier, String contentType, long state, ZonedDateTime dateFrom, ZonedDateTime dateTo)
Get total number of records for content dashboard- Parameters:
siteId
- site identifierpath
- path regular expression to apply as filter for result setmodifier
- filter results by usercontentType
- filter results by content typestate
- filter results by statedateFrom
- lower boundary for modified datedateTo
- upper boundary for modified date- Returns:
- total number of records in result set
-
getContentDashboard
List<ContentDashboardItem> getContentDashboard(String siteId, String path, String modifier, String contentType, long state, ZonedDateTime dateFrom, ZonedDateTime dateTo, String sortBy, String order, int offset, int limit)
Get result set for content dashboard- Parameters:
siteId
- site identifierpath
- path regular expression to apply as filter for result setmodifier
- filter results by usercontentType
- filter results by content typestate
- filter results by statedateFrom
- lower boundary for modified datedateTo
- upper boundary for modified datesortBy
- sort results by columnorder
- order of resultsoffset
- offset of the first record in result setlimit
- number of records to return- Returns:
- list of item metadata records
-
getBrowserUrl
String getBrowserUrl(String site, String path)
Get browser url for given repository item- Parameters:
site
- site identifierpath
- path of the content- Returns:
- browser url
-
persistItemAfterCreate
void persistItemAfterCreate(String siteId, String path, String username, String commitId, Optional<Boolean> unlock, Long parentId) throws ServiceLayerException, UserNotFoundException
Persist item metadata after create- Parameters:
siteId
- site identifierpath
- path of the contentusername
- user that executed write operationcommitId
- commit id of the write operationunlock
- true if content needs to be unlocked after write (save & close), otherwise falseparentId
- id of parent item- Throws:
ServiceLayerException
UserNotFoundException
-
persistItemAfterWrite
void persistItemAfterWrite(String siteId, String path, String username, String commitId, Optional<Boolean> unlock) throws ServiceLayerException, UserNotFoundException
Persist item metadata after write- Parameters:
siteId
- site identifierpath
- path of the contentusername
- user that executed write operationcommitId
- commit id of the write operationunlock
- true if content needs to be unlocked after write (save & close), otherwise false- Throws:
ServiceLayerException
UserNotFoundException
-
persistItemAfterCreateFolder
void persistItemAfterCreateFolder(String siteId, String folderPath, String folderName, String username, String commitId, Long parentId) throws ServiceLayerException, UserNotFoundException
Persist item metadata after create folder- Parameters:
siteId
- site identifierfolderPath
- folder pathfolderName
- folder nameusername
- user that executed create folder operationcommitId
- commit id of the create folder operationparentId
- id of parent item- Throws:
ServiceLayerException
UserNotFoundException
-
persistItemAfterRenameFolder
void persistItemAfterRenameFolder(String siteId, String folderPath, String folderName, String username, String commitId) throws ServiceLayerException, UserNotFoundException
Persist item metadata after rename folder- Parameters:
siteId
- site identifierfolderPath
- folder pathfolderName
- folder nameusername
- user that executed create folder operationcommitId
- commit id of the create folder operation- Throws:
ServiceLayerException
UserNotFoundException
-
moveItem
void moveItem(String siteId, String oldPath, String newPath)
Move item- Parameters:
siteId
- site identifieroldPath
- old pathnewPath
- new path
-
moveItems
void moveItems(String siteId, String oldPath, String newPath, Long parentId)
Move items- Parameters:
siteId
- site identifieroldPath
- old pathnewPath
- new pathparentId
- new parent id, if null it will not be updated
-
isNew
boolean isNew(String siteId, String path)
Check if item is new- Parameters:
siteId
- site identifierpath
- path of the item- Returns:
- true if NEW flag is set otherwise false
-
countAllContentItems
int countAllContentItems()
Count all content items- Returns:
- number of content items in the system
-
clearPreviousPath
void clearPreviousPath(String siteId, String path)
Clear previous path of the content- Parameters:
siteId
- site identifierpath
- path of the content;
-
convertHistoryItemToDashboardItem
PublishingDashboardItem convertHistoryItemToDashboardItem(PublishingHistoryItem historyItem)
Convert Publishing History Item to Publishing Dashboard Item- Parameters:
historyItem
- publishing history item- Returns:
- publishing dashboard item
-
convertItemToContentDashboardItem
ContentDashboardItem convertItemToContentDashboardItem(String siteId, Item item)
Convert Item to Content Dashboard Item- Parameters:
siteId
- site identifieritem
- item- Returns:
- content dashboard item
-
getInProgressItems
List<Item> getInProgressItems(String siteId)
Get in progress items for given site- Parameters:
siteId
- site identifier- Returns:
- list of items
-
getSubmittedItems
List<Item> getSubmittedItems(String site)
Get submitted items for given site- Parameters:
site
- site identifier- Returns:
- list of items
-
isUpdatedOrNew
boolean isUpdatedOrNew(String site, String path)
Check if item is update or new- Parameters:
site
- site identifierpath
- item path- Returns:
- true if item is new or modified
-
deleteItemForFolder
void deleteItemForFolder(long siteId, String folderPath)
Delete items for site and paths- Parameters:
siteId
- site idfolderPath
- folder path to delete
-
isSystemProcessing
boolean isSystemProcessing(String site, String path)
Check if item is in system processing- Parameters:
site
- site identifierpath
- item path- Returns:
- true if item is in system processing
-
previousPathExists
boolean previousPathExists(String siteId, String path)
Check if path exists as previous path- Parameters:
siteId
- site identifierpath
- path to check- Returns:
- true if item exists with previous path as given path
-
updateCommitId
void updateCommitId(String siteId, String path, String commitId)
Update commit id for item- Parameters:
siteId
- site identifierpath
- path of the itemcommitId
- commit id
-
getMandatoryParentsForPublishing
List<String> getMandatoryParentsForPublishing(String siteId, List<String> paths)
Get mandatory parents for publishing for given site and list of paths- Parameters:
siteId
- site identifierpaths
- list of paths- Returns:
- list of mandatory parents paths
-
getExistingRenamedChildrenOfMandatoryParentsForPublishing
List<String> getExistingRenamedChildrenOfMandatoryParentsForPublishing(String siteId, List<String> parents)
Get existing renamed children of mandatory parents for publishing- Parameters:
siteId
- site identifierparents
- list of parents paths- Returns:
- list of children paths
-
getChangeSetForSubtree
List<String> getChangeSetForSubtree(String siteId, String path)
Get change set for subtree- Parameters:
siteId
- site identifierpath
- root path of the subtree- Returns:
- list of items
-
getSameCommitItems
List<String> getSameCommitItems(String siteId, String path)
Get items edited on same commit id for given item- Parameters:
siteId
- site identifierpath
- path of content item- Returns:
- list of items paths
-
updateLastPublishedOn
void updateLastPublishedOn(String siteId, String path, ZonedDateTime lastPublishedOn)
Update last published date for item- Parameters:
siteId
- site identifierpath
- path of the itemlastPublishedOn
- published date
-
updateLastPublishedOnBulk
void updateLastPublishedOnBulk(String siteId, List<String> paths, ZonedDateTime lastPublishedOn)
Update last published date for item- Parameters:
siteId
- site identifierpaths
- list of pathslastPublishedOn
- published date
-
lockItemByPath
void lockItemByPath(String siteId, String path, String username) throws UserNotFoundException, ServiceLayerException
Lock item for given lock owner- Parameters:
siteId
- site identifierpath
- item pathusername
- user that owns the lock- Throws:
UserNotFoundException
ServiceLayerException
-
lockItemsByPath
void lockItemsByPath(String siteId, List<String> paths, String username) throws UserNotFoundException, ServiceLayerException
Lock items for given lock owner- Parameters:
siteId
- site identifierpaths
- list of item pathsusername
- user that owns the lock- Throws:
UserNotFoundException
ServiceLayerException
-
unlockItemByPath
void unlockItemByPath(String siteId, String path)
Unlock item- Parameters:
siteId
- site identifierpath
- item path
-
lockItemById
void lockItemById(long itemId, String username) throws UserNotFoundException, ServiceLayerException
Lock item for given lock owner- Parameters:
itemId
- item identifierusername
- user that owns the lock- Throws:
UserNotFoundException
ServiceLayerException
-
lockItemsById
void lockItemsById(List<Long> itemIds, String username) throws UserNotFoundException, ServiceLayerException
Lock items for given lock owner- Parameters:
itemIds
- list of item identifiersusername
- user that owns the lock- Throws:
UserNotFoundException
ServiceLayerException
-
unlockItemById
void unlockItemById(long itemId)
Unlock item- Parameters:
itemId
- item identifier
-
getItemStatesTotal
int getItemStatesTotal(String siteId, String path, Long states)
Get total number of item states records for given filters by path regex and states mask- Parameters:
siteId
- site identifierpath
- path regex to filter itemsstates
- states mask to filter items by state- Returns:
- number of records
-
getItemStates
List<Item> getItemStates(String siteId, String path, Long states, int offset, int limit)
Get item states for given filters by path regex and states mask- Parameters:
siteId
- site identifierpath
- path regex to filter itemsstates
- states mask to filter items by stateoffset
- offset for the first record in result setlimit
- number of item states records to return- Returns:
- list of sandbox items
-
updateItemStates
void updateItemStates(String siteId, List<String> paths, boolean clearSystemProcessing, boolean clearUserLocked, Boolean live, Boolean staged)
Update item state flags for given items- Parameters:
siteId
- site identifierpaths
- item pathsclearSystemProcessing
- if true clear system processing flag, otherwise ignoreclearUserLocked
- if true clear user locked flag, otherwise ignorelive
- if true set live flag, otherwise reset itstaged
- if true set staged flag, otherwise reset it
-
updateItemStatesByQuery
void updateItemStatesByQuery(String siteId, String path, Long states, boolean clearSystemProcessing, boolean clearUserLocked, Boolean live, Boolean staged)
Update item state flags for given path query- Parameters:
siteId
- site identifierpath
- path regex to identify itemsclearSystemProcessing
- if true clear system processing flag, otherwise ignoreclearUserLocked
- if true clear user locked flag, otherwise ignorelive
- if true set live flag, otherwise reset itstaged
- if true set staged flag, otherwise reset it
-
getSubtreeForDelete
List<String> getSubtreeForDelete(String siteId, String path)
Get subtree for delete- Parameters:
siteId
- site identifierpath
- root path of the subtree- Returns:
- list of items
-
updateStatesForSite
void updateStatesForSite(String siteId, long onStateBitMap, long offStateBitMap)
Update states for all content in the given site- Parameters:
siteId
- site identifieronStateBitMap
- states bitmap to flip onoffStateBitMap
- states bitmap to flip off
-
-