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 String
key
site-filename keyprotected ZonedDateTime
lastUpdated
configuration time stampprotected org.dom4j.Document
mapping
mappings Document object containing either permissions or role mapping detailsprotected Map<String,Map<String,List<org.dom4j.Node>>>
permissions
protected Map<String,List<String>>
roles
-
Constructor Summary
Constructors Constructor Description PermissionsConfigTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getKey()
ZonedDateTime
getLastUpdated()
get the last updated dateorg.dom4j.Document
getMapping()
Map<String,Map<String,List<org.dom4j.Node>>>
getPermissions()
Map<String,List<String>>
getRoles()
void
setKey(String key)
void
setLastUpdated(ZonedDateTime lastUpdated)
set the last updated datevoid
setMapping(org.dom4j.Document mapping)
void
setPermissions(Map<String,Map<String,List<org.dom4j.Node>>> permissions)
void
setRoles(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:TimeStamped
set the last updated date- Specified by:
setLastUpdated
in interfaceTimeStamped
- Parameters:
lastUpdated
- last updated date
-
getLastUpdated
public ZonedDateTime getLastUpdated()
Description copied from interface:TimeStamped
get the last updated date- Specified by:
getLastUpdated
in 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)
-
-