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
Modifier and TypeClassDescriptionstatic enum
Enumeration of the type of objects in the overviewstatic enum
Enumeration for the 'order by' settingstatic enum
Enumeration for the order directionsstatic enum
Enumeration of the selection type -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
List TypeMaximum number of itemsOrder ByOrder DirectionList of selected item IDsList of selected item IDs with node IDsSelection TypeOverview Sourceint
hashCode()
True when objects shall be fetched also from subfolders (ifselectType
isFOLDER
)void
setGlobalId
(String globalId) void
void
setListType
(Overview.ListType listType) void
setMaxItems
(Integer maxItems) void
setOrderBy
(Overview.OrderBy orderBy) void
setOrderDirection
(Overview.OrderDirection orderDirection) void
setRecursive
(Boolean recursive) void
setSelectedItemIds
(List<Integer> selectedItemIds) void
setSelectedNodeItemIds
(List<NodeIdObjectId> selectedNodeItemIds) Set the item IDs with node IDsvoid
setSelectType
(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 (ifselectType
isFOLDER
)- Returns:
- the recursive
-
setRecursive
- Parameters:
recursive
- the recursive to set
-
hashCode
public int hashCode() -
equals
-
getId
-
setId
-
getGlobalId
-
setGlobalId
-