Package org.craftercms.studio.api.v1.to
Class PermissionsConfigTO
- java.lang.Object
-
- org.craftercms.studio.api.v1.to.PermissionsConfigTO
-
- All Implemented Interfaces:
Serializable,TimeStamped
public class PermissionsConfigTO extends Object implements TimeStamped, Serializable
Transfer object for containing the Document object for the file in question.- Author:
- Sandra O'Keeffe, Sweta Chalasani
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringkeysite-filename keyprotected ZonedDateTimelastUpdatedconfiguration time stampprotected org.dom4j.Documentmappingmappings Document object containing either permissions or role mapping detailsprotected Map<String,Map<String,List<org.dom4j.Node>>>permissionsprotected Map<String,List<String>>roles
-
Constructor Summary
Constructors Constructor Description PermissionsConfigTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKey()ZonedDateTimegetLastUpdated()get the last updated dateorg.dom4j.DocumentgetMapping()Map<String,Map<String,List<org.dom4j.Node>>>getPermissions()Map<String,List<String>>getRoles()voidsetKey(String key)voidsetLastUpdated(ZonedDateTime lastUpdated)set the last updated datevoidsetMapping(org.dom4j.Document mapping)voidsetPermissions(Map<String,Map<String,List<org.dom4j.Node>>> permissions)voidsetRoles(Map<String,List<String>> roles)
-
-
-
Field Detail
-
key
protected String key
site-filename key
-
mapping
protected org.dom4j.Document mapping
mappings Document object containing either permissions or role mapping details
-
lastUpdated
protected ZonedDateTime lastUpdated
configuration time stamp
-
-
Method Detail
-
setLastUpdated
public void setLastUpdated(ZonedDateTime lastUpdated)
Description copied from interface:TimeStampedset the last updated date- Specified by:
setLastUpdatedin interfaceTimeStamped- Parameters:
lastUpdated- last updated date
-
getLastUpdated
public ZonedDateTime getLastUpdated()
Description copied from interface:TimeStampedget the last updated date- Specified by:
getLastUpdatedin interfaceTimeStamped- Returns:
- last updated date
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
getMapping
public org.dom4j.Document getMapping()
-
setMapping
public void setMapping(org.dom4j.Document mapping)
-
-