Class ContentMaintenanceActionRequest
java.lang.Object
com.gentics.contentnode.rest.model.request.ContentMaintenanceActionRequest
- All Implemented Interfaces:
Serializable
REST Model of a content maintenance action request
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected ContentMaintenanceAction
protected Boolean
protected Integer
protected Integer
protected Set<ContentMaintenanceType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMaintenance actionAttributes for restricted dirting (only the dirted attributes will be updated)True to clear the publish cache for dirted objectsContentRepository IDs for restrictiongetEnd()
End timestamp for cdate restrictiongetNodes()
Node IDs for node restrictiongetStart()
Start timestamp for cdate restrictiongetTypes()
Object types for restricting the actionsetAction
(ContentMaintenanceAction action) Set the actionsetAttributes
(Set<String> attributes) Set attribute restrictionsetClearPublishCache
(Boolean clearPublishCache) Set clear publish flagsetContentRepositories
(Set<Integer> contentRepositories) Set CR restrictionSet end timestampSet nodes restrictionSet the start timestampsetTypes
(Set<ContentMaintenanceType> types) Set the type restriction
-
Field Details
-
action
-
types
-
clearPublishCache
-
attributes
-
nodes
-
contentRepositories
-
start
-
end
-
-
Constructor Details
-
ContentMaintenanceActionRequest
public ContentMaintenanceActionRequest()
-
-
Method Details
-
getAction
Maintenance action- Returns:
- action
-
setAction
Set the action- Parameters:
action
- action- Returns:
- fluent API
-
getTypes
Object types for restricting the action- Returns:
- type set
-
setTypes
Set the type restriction- Parameters:
types
- type set- Returns:
- fluent API
-
getClearPublishCache
True to clear the publish cache for dirted objects- Returns:
- flag
-
setClearPublishCache
Set clear publish flag- Parameters:
clearPublishCache
- flag- Returns:
- fluent API
-
getAttributes
Attributes for restricted dirting (only the dirted attributes will be updated)- Returns:
- attribute set
-
setAttributes
Set attribute restriction- Parameters:
attributes
- attribute set- Returns:
- fluent API
-
getNodes
Node IDs for node restriction- Returns:
- node ID set
-
setNodes
Set nodes restriction- Parameters:
nodes
- node ID set- Returns:
- fluent API
-
getContentRepositories
ContentRepository IDs for restriction- Returns:
- CR ID set
-
setContentRepositories
Set CR restriction- Parameters:
contentRepositories
- CR ID set- Returns:
- fluent API
-
getStart
Start timestamp for cdate restriction- Returns:
- timestamp
-
setStart
Set the start timestamp- Parameters:
start
- timestamp- Returns:
- fluent API
-
getEnd
End timestamp for cdate restriction- Returns:
- timestamp
-
setEnd
Set end timestamp- Parameters:
end
- timestamp- Returns:
- fluent API
-