Class Overview
java.lang.Object
com.gentics.contentnode.rest.model.Overview
- All Implemented Interfaces:
Serializable
Overview object, representing an overview in GCN
- Author:
- norbert
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration of the type of objects in the overviewstatic enumEnumeration for the 'order by' settingstatic enumEnumeration for the order directionsstatic enumEnumeration of the selection type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()List TypeMaximum number of itemsOrder ByOrder DirectionList of selected item IDsList of selected item IDs with node IDsSelection TypeOverview SourceinthashCode()True when objects shall be fetched also from subfolders (ifselectTypeisFOLDER)voidsetGlobalId(String globalId) voidvoidsetListType(Overview.ListType listType) voidsetMaxItems(Integer maxItems) voidsetOrderBy(Overview.OrderBy orderBy) voidsetOrderDirection(Overview.OrderDirection orderDirection) voidsetRecursive(Boolean recursive) voidsetSelectedItemIds(List<Integer> selectedItemIds) voidsetSelectedNodeItemIds(List<NodeIdObjectId> selectedNodeItemIds) Set the item IDs with node IDsvoidsetSelectType(Overview.SelectType selectType) void
-
Constructor Details
-
Overview
public Overview()Constructor used by JAXB
-
-
Method Details
-
getListType
List Type- Returns:
- the listType
-
getSelectType
Selection Type- Returns:
- the selectType
-
getOrderDirection
Order Direction- Returns:
- the orderDirection
-
getOrderBy
Order By- Returns:
- the orderBy
-
getSelectedItemIds
List of selected item IDs- Returns:
- the selectedItemIds
-
getSelectedNodeItemIds
List of selected item IDs with node IDs- Returns:
- list of nodeId/objectId tuples
-
getSource
Overview Source- Returns:
- the source
-
setListType
- Parameters:
listType- the listType to set
-
setSelectType
- Parameters:
selectType- the selectType to set
-
setOrderDirection
- Parameters:
orderDirection- the orderDirection to set
-
setOrderBy
- Parameters:
orderBy- the orderBy to set
-
setSelectedItemIds
- Parameters:
selectedItemIds- the selectedItemIds to set
-
setSelectedNodeItemIds
Set the item IDs with node IDs- Parameters:
selectedNodeItemIds-
-
setSource
- Parameters:
source- the source to set
-
getMaxItems
Maximum number of items- Returns:
- the maxItems
-
setMaxItems
- Parameters:
maxItems- the maxItems to set
-
isRecursive
True when objects shall be fetched also from subfolders (ifselectTypeisFOLDER)- Returns:
- the recursive
-
setRecursive
- Parameters:
recursive- the recursive to set
-
hashCode
public int hashCode() -
equals
-
getId
-
setId
-
getGlobalId
-
setGlobalId
-