Class ContentMaintenanceActionRequest
- java.lang.Object
-
- com.gentics.contentnode.rest.model.request.ContentMaintenanceActionRequest
-
- All Implemented Interfaces:
Serializable
public class ContentMaintenanceActionRequest extends Object implements Serializable
REST Model of a content maintenance action request- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ContentMaintenanceAction
action
protected Set<String>
attributes
protected Boolean
clearPublishCache
protected Set<Integer>
contentRepositories
protected Integer
end
protected Set<Integer>
nodes
protected Integer
start
protected Set<ContentMaintenanceType>
types
-
Constructor Summary
Constructors Constructor Description ContentMaintenanceActionRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentMaintenanceAction
getAction()
Maintenance actionSet<String>
getAttributes()
Attributes for restricted dirting (only the dirted attributes will be updated)Boolean
getClearPublishCache()
True to clear the publish cache for dirted objectsSet<Integer>
getContentRepositories()
ContentRepository IDs for restrictionInteger
getEnd()
End timestamp for cdate restrictionSet<Integer>
getNodes()
Node IDs for node restrictionInteger
getStart()
Start timestamp for cdate restrictionSet<ContentMaintenanceType>
getTypes()
Object types for restricting the actionContentMaintenanceActionRequest
setAction(ContentMaintenanceAction action)
Set the actionContentMaintenanceActionRequest
setAttributes(Set<String> attributes)
Set attribute restrictionContentMaintenanceActionRequest
setClearPublishCache(Boolean clearPublishCache)
Set clear publish flagContentMaintenanceActionRequest
setContentRepositories(Set<Integer> contentRepositories)
Set CR restrictionContentMaintenanceActionRequest
setEnd(Integer end)
Set end timestampContentMaintenanceActionRequest
setNodes(Set<Integer> nodes)
Set nodes restrictionContentMaintenanceActionRequest
setStart(Integer start)
Set the start timestampContentMaintenanceActionRequest
setTypes(Set<ContentMaintenanceType> types)
Set the type restriction
-
-
-
Field Detail
-
action
protected ContentMaintenanceAction action
-
types
protected Set<ContentMaintenanceType> types
-
clearPublishCache
protected Boolean clearPublishCache
-
start
protected Integer start
-
end
protected Integer end
-
-
Method Detail
-
getAction
public ContentMaintenanceAction getAction()
Maintenance action- Returns:
- action
-
setAction
public ContentMaintenanceActionRequest setAction(ContentMaintenanceAction action)
Set the action- Parameters:
action
- action- Returns:
- fluent API
-
getTypes
public Set<ContentMaintenanceType> getTypes()
Object types for restricting the action- Returns:
- type set
-
setTypes
public ContentMaintenanceActionRequest setTypes(Set<ContentMaintenanceType> types)
Set the type restriction- Parameters:
types
- type set- Returns:
- fluent API
-
getClearPublishCache
public Boolean getClearPublishCache()
True to clear the publish cache for dirted objects- Returns:
- flag
-
setClearPublishCache
public ContentMaintenanceActionRequest setClearPublishCache(Boolean clearPublishCache)
Set clear publish flag- Parameters:
clearPublishCache
- flag- Returns:
- fluent API
-
getAttributes
public Set<String> getAttributes()
Attributes for restricted dirting (only the dirted attributes will be updated)- Returns:
- attribute set
-
setAttributes
public ContentMaintenanceActionRequest setAttributes(Set<String> attributes)
Set attribute restriction- Parameters:
attributes
- attribute set- Returns:
- fluent API
-
setNodes
public ContentMaintenanceActionRequest setNodes(Set<Integer> nodes)
Set nodes restriction- Parameters:
nodes
- node ID set- Returns:
- fluent API
-
getContentRepositories
public Set<Integer> getContentRepositories()
ContentRepository IDs for restriction- Returns:
- CR ID set
-
setContentRepositories
public ContentMaintenanceActionRequest setContentRepositories(Set<Integer> contentRepositories)
Set CR restriction- Parameters:
contentRepositories
- CR ID set- Returns:
- fluent API
-
getStart
public Integer getStart()
Start timestamp for cdate restriction- Returns:
- timestamp
-
setStart
public ContentMaintenanceActionRequest setStart(Integer start)
Set the start timestamp- Parameters:
start
- timestamp- Returns:
- fluent API
-
getEnd
public Integer getEnd()
End timestamp for cdate restriction- Returns:
- timestamp
-
setEnd
public ContentMaintenanceActionRequest setEnd(Integer end)
Set end timestamp- Parameters:
end
- timestamp- Returns:
- fluent API
-
-