Package org.craftercms.studio.api.v1.to
Class PermissionsConfigTO
java.lang.Object
org.craftercms.studio.api.v1.to.PermissionsConfigTO
- All Implemented Interfaces:
Serializable,TimeStamped
Transfer object for containing the Document object for the file in question.
- Author:
- Sandra O'Keeffe, Sweta Chalasani
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringsite-filename keyprotected ZonedDateTimeconfiguration time stampprotected org.dom4j.Documentmappings Document object containing either permissions or role mapping details -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()get the last updated dateorg.dom4j.DocumentgetRoles()voidvoidsetLastUpdated(ZonedDateTime lastUpdated) set the last updated datevoidsetMapping(org.dom4j.Document mapping) voidvoid
-
Field Details
-
key
site-filename key -
mapping
protected org.dom4j.Document mappingmappings Document object containing either permissions or role mapping details -
lastUpdated
configuration time stamp -
roles
-
permissions
-
-
Constructor Details
-
PermissionsConfigTO
public PermissionsConfigTO()
-
-
Method Details
-
setLastUpdated
Description copied from interface:TimeStampedset the last updated date- Specified by:
setLastUpdatedin interfaceTimeStamped- Parameters:
lastUpdated- last updated date
-
getLastUpdated
Description copied from interface:TimeStampedget the last updated date- Specified by:
getLastUpdatedin interfaceTimeStamped- Returns:
- last updated date
-
getKey
-
setKey
-
getMapping
public org.dom4j.Document getMapping() -
getRoles
-
setMapping
public void setMapping(org.dom4j.Document mapping) -
setRoles
-
getPermissions
-
setPermissions
-