Class FolderListRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.FolderListRequest
Request object for a request to list folders
- Author:
- najor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet createdBeforeintGet createdSinceGet creatorintGet editedBeforeintGet editedSinceGet editorgetId()Get idGet inheritedintGet maxItemsGet nodeIdGet recursiveIdsGet searchintGet skipCountGet sortByGet sortOrderGet staging package name to check the folder staging status uponexclude (default) to exclude deleted objects, include to include deleted objects, only to return only deleted objectsbooleanGet addPrivilegesbooleanTrue for adding privilege maps to the foldersbooleanGet recursivebooleanisTree()Get treevoidsetAddPrivileges(boolean addPrivileges) Set addPrivilegesvoidsetCreatedBefore(int createdBefore) Set createdBeforevoidsetCreatedSince(int createdSince) Set createdSincevoidsetCreator(String creator) Set creatorvoidsetEditedBefore(int editedBefore) Set editedBeforevoidsetEditedSince(int editedSince) Set editedSincevoidSet editorvoidSet idvoidsetInherited(Boolean inherited) Set inheritedvoidsetMaxItems(int maxItems) Set maxItemsvoidSet nodeIdvoidsetPrivilegeMap(boolean privilegeMap) Set true to add privilege mapsvoidsetRecursive(boolean recursive) Set recursivevoidsetRecursiveIds(List<String> recursiveIds) Set recursiveIdsvoidSet searchvoidsetSkipCount(int skipCount) Set skipCountvoidSet sortByvoidsetSortOrder(String sortOrder) Set sortOrdervoidsetStagingPackageName(String stagingPackageName) Set staging package name to check the folder staging status uponvoidsetTree(boolean tree) Set treevoidsetWastebin(WastebinSearch wastebin) Set the wastebin search option
-
Constructor Details
-
FolderListRequest
public FolderListRequest()- Parameters:
id-addPrivileges-
-
-
Method Details
-
getId
Get id- Returns:
- the id
-
setId
Set id- Parameters:
id- the id to set
-
getNodeId
Get nodeId- Returns:
- the nodeId
-
setNodeId
Set nodeId- Parameters:
nodeId- the nodeId to set
-
getSkipCount
public int getSkipCount()Get skipCount- Returns:
- the skipCount
-
setSkipCount
public void setSkipCount(int skipCount) Set skipCount- Parameters:
skipCount- the skipCount to set
-
getMaxItems
public int getMaxItems()Get maxItems- Returns:
- the maxItems
-
setMaxItems
public void setMaxItems(int maxItems) Set maxItems- Parameters:
maxItems- the maxItems to set
-
isRecursive
public boolean isRecursive()Get recursive- Returns:
- the recursive
-
setRecursive
public void setRecursive(boolean recursive) Set recursive- Parameters:
recursive- the recursive to set
-
getSortBy
Get sortBy- Returns:
- the sortBy
-
setSortBy
Set sortBy- Parameters:
sortBy- the sortBy to set
-
getSortOrder
Get sortOrder- Returns:
- the sortOrder
-
setSortOrder
Set sortOrder- Parameters:
sortOrder- the sortOrder to set
-
getInherited
Get inherited- Returns:
- the inherited
-
setInherited
Set inherited- Parameters:
inherited- the inherited to set
-
getSearch
Get search- Returns:
- the search
-
setSearch
Set search- Parameters:
search- the search to set
-
getEditor
Get editor- Returns:
- the editor
-
setEditor
Set editor- Parameters:
editor- the editor to set
-
getCreator
Get creator- Returns:
- the creator
-
setCreator
Set creator- Parameters:
creator- the creator to set
-
getEditedBefore
public int getEditedBefore()Get editedBefore- Returns:
- the editedBefore
-
setEditedBefore
public void setEditedBefore(int editedBefore) Set editedBefore- Parameters:
editedBefore- the editedBefore to set
-
getEditedSince
public int getEditedSince()Get editedSince- Returns:
- the editedSince
-
setEditedSince
public void setEditedSince(int editedSince) Set editedSince- Parameters:
editedSince- the editedSince to set
-
getCreatedBefore
public int getCreatedBefore()Get createdBefore- Returns:
- the createdBefore
-
setCreatedBefore
public void setCreatedBefore(int createdBefore) Set createdBefore- Parameters:
createdBefore- the createdBefore to set
-
getCreatedSince
public int getCreatedSince()Get createdSince- Returns:
- the createdSince
-
setCreatedSince
public void setCreatedSince(int createdSince) Set createdSince- Parameters:
createdSince- the createdSince to set
-
isTree
public boolean isTree()Get tree- Returns:
- the tree
-
setTree
public void setTree(boolean tree) Set tree- Parameters:
tree- the tree to set
-
getRecursiveIds
Get recursiveIds- Returns:
- the recursiveIds
-
setRecursiveIds
Set recursiveIds- Parameters:
recursiveIds- the recursiveIds to set
-
isAddPrivileges
public boolean isAddPrivileges()Get addPrivileges- Returns:
- the addPrivileges
-
setAddPrivileges
public void setAddPrivileges(boolean addPrivileges) Set addPrivileges- Parameters:
addPrivileges- the addPrivileges to set
-
isPrivilegeMap
public boolean isPrivilegeMap()True for adding privilege maps to the folders- Returns:
- true to add privilege maps
-
setPrivilegeMap
public void setPrivilegeMap(boolean privilegeMap) Set true to add privilege maps- Parameters:
privilegeMap-
-
getWastebin
exclude (default) to exclude deleted objects, include to include deleted objects, only to return only deleted objects- Returns:
- wastebin search option
-
setWastebin
Set the wastebin search option- Parameters:
wastebin- wastebin search option
-
getStagingPackageName
Get staging package name to check the folder staging status upon- Returns:
-
setStagingPackageName
Set staging package name to check the folder staging status upon- Parameters:
stagingPackageName-
-