Package com.soffid.iam.api
Class AbstractRole
- java.lang.Object
-
- com.soffid.iam.api.AbstractRole
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Role
public abstract class AbstractRole extends Object implements Serializable
ValueObject AbstractRole- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractRole()
AbstractRole(AbstractRole otherBean)
AbstractRole(String name, String description, String system, String informationSystemName)
AbstractRole(String name, String description, String system, String category, Boolean enableByDefault, Boolean password, String informationSystemName, Long id, String domain, Collection<RoleGrant> ownerRoles, Collection<Group> ownerGroups, Collection<RoleGrant> granteeGroups, Collection<RoleGrant> ownedRoles, Boolean bpmEnabled, Date approvalStart, Date approvalEnd, Map<String,Object> attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getApprovalEnd()
Gets value for attribute approvalEndDate
getApprovalStart()
Gets value for attribute approvalStartMap<String,Object>
getAttributes()
Gets value for attribute attributesBoolean
getBpmEnabled()
Gets value for attribute bpmEnabledBoolean
getBpmEnforced()
Gets value for attribute bpmEnabledString
getCategory()
Gets value for attribute categoryString
getDescription()
Gets value for attribute descriptionString
getDomain()
Gets value for attribute domainBoolean
getEnableByDefault()
Gets value for attribute enableByDefaultCollection<RoleGrant>
getGranteeGroups()
Gets value for attribute granteeGroupsLong
getId()
Gets value for attribute idString
getInformationSystemName()
Gets value for attribute informationSystemNameString
getName()
Gets value for attribute nameCollection<RoleGrant>
getOwnedRoles()
Gets value for attribute ownedRolesCollection<Group>
getOwnerGroups()
Gets value for attribute ownerGroupsCollection<RoleGrant>
getOwnerRoles()
Gets value for attribute ownerRolesBoolean
getPassword()
Gets value for attribute passwordString
getSystem()
Gets value for attribute systemvoid
setApprovalEnd(Date approvalEnd)
Sets value for attribute approvalEndvoid
setApprovalStart(Date approvalStart)
Sets value for attribute approvalStartvoid
setAttributes(Map<String,Object> attributes)
Sets value for attribute attributesvoid
setBpmEnabled(Boolean bpmEnabled)
Sets value for attribute bpmEnabledvoid
setBpmEnforced(Boolean bpmEnabled)
Sets value for attribute bpmEnabledvoid
setCategory(String category)
Sets value for attribute categoryvoid
setDescription(String description)
Sets value for attribute descriptionvoid
setDomain(String domain)
Sets value for attribute domainvoid
setEnableByDefault(Boolean enableByDefault)
Sets value for attribute enableByDefaultvoid
setGranteeGroups(Collection<RoleGrant> granteeGroups)
Sets value for attribute granteeGroupsvoid
setId(Long id)
Sets value for attribute idvoid
setInformationSystemName(String informationSystemName)
Sets value for attribute informationSystemNamevoid
setName(String name)
Sets value for attribute namevoid
setOwnedRoles(Collection<RoleGrant> ownedRoles)
Sets value for attribute ownedRolesvoid
setOwnerGroups(Collection<Group> ownerGroups)
Sets value for attribute ownerGroupsvoid
setOwnerRoles(Collection<RoleGrant> ownerRoles)
Sets value for attribute ownerRolesvoid
setPassword(Boolean password)
Sets value for attribute passwordvoid
setSystem(String system)
Sets value for attribute systemstatic Role
toRole(Rol vo)
Creates a Role value object based on a Rol object.static void
toRole(Rol source, AbstractRole target)
Updates a Role value object based on a Rol object.static Role[]
toRoleArray(Rol[] source)
Creates a Role array on a Rol array.static AsyncList<Role>
toRoleAsyncList(AsyncList<Rol> source)
Creates a Role asynclist on a Rol collection.static PagedResult<Role>
toRoleList(PagedResult<Rol> source)
Creates a Role pagedResult on a Rol collection.static List<Role>
toRoleList(Collection<Rol> source)
Creates a Role list on a Rol collection.String
toString()
Returns a string representation of the value object.
-
-
-
Constructor Detail
-
AbstractRole
public AbstractRole()
-
AbstractRole
public AbstractRole(String name, String description, String system, String category, Boolean enableByDefault, Boolean password, String informationSystemName, Long id, String domain, Collection<RoleGrant> ownerRoles, Collection<Group> ownerGroups, Collection<RoleGrant> granteeGroups, Collection<RoleGrant> ownedRoles, Boolean bpmEnabled, Date approvalStart, Date approvalEnd, Map<String,Object> attributes)
-
AbstractRole
public AbstractRole(String name, String description, String system, String informationSystemName)
-
AbstractRole
public AbstractRole(AbstractRole otherBean)
-
-
Method Detail
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
getDescription
public String getDescription()
Gets value for attribute description
-
setDescription
public void setDescription(String description)
Sets value for attribute description
-
getSystem
public String getSystem()
Gets value for attribute system
-
setSystem
public void setSystem(String system)
Sets value for attribute system
-
getCategory
public String getCategory()
Gets value for attribute category
-
setCategory
public void setCategory(String category)
Sets value for attribute category
-
getEnableByDefault
public Boolean getEnableByDefault()
Gets value for attribute enableByDefault
-
setEnableByDefault
public void setEnableByDefault(Boolean enableByDefault)
Sets value for attribute enableByDefault
-
getPassword
public Boolean getPassword()
Gets value for attribute password
-
setPassword
public void setPassword(Boolean password)
Sets value for attribute password
-
getInformationSystemName
public String getInformationSystemName()
Gets value for attribute informationSystemName
-
setInformationSystemName
public void setInformationSystemName(String informationSystemName)
Sets value for attribute informationSystemName
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getDomain
public String getDomain()
Gets value for attribute domain
-
setDomain
public void setDomain(String domain)
Sets value for attribute domain
-
getOwnerRoles
public Collection<RoleGrant> getOwnerRoles()
Gets value for attribute ownerRoles
-
setOwnerRoles
public void setOwnerRoles(Collection<RoleGrant> ownerRoles)
Sets value for attribute ownerRoles
-
getOwnerGroups
public Collection<Group> getOwnerGroups()
Gets value for attribute ownerGroups
-
setOwnerGroups
public void setOwnerGroups(Collection<Group> ownerGroups)
Sets value for attribute ownerGroups
-
getGranteeGroups
public Collection<RoleGrant> getGranteeGroups()
Gets value for attribute granteeGroups
-
setGranteeGroups
public void setGranteeGroups(Collection<RoleGrant> granteeGroups)
Sets value for attribute granteeGroups
-
getOwnedRoles
public Collection<RoleGrant> getOwnedRoles()
Gets value for attribute ownedRoles
-
setOwnedRoles
public void setOwnedRoles(Collection<RoleGrant> ownedRoles)
Sets value for attribute ownedRoles
-
getBpmEnabled
public Boolean getBpmEnabled()
Gets value for attribute bpmEnabled
-
setBpmEnabled
public void setBpmEnabled(Boolean bpmEnabled)
Sets value for attribute bpmEnabled
-
getBpmEnforced
public Boolean getBpmEnforced()
Gets value for attribute bpmEnabled
-
setBpmEnforced
public void setBpmEnforced(Boolean bpmEnabled)
Sets value for attribute bpmEnabled
-
getApprovalStart
public Date getApprovalStart()
Gets value for attribute approvalStart
-
setApprovalStart
public void setApprovalStart(Date approvalStart)
Sets value for attribute approvalStart
-
getApprovalEnd
public Date getApprovalEnd()
Gets value for attribute approvalEnd
-
setApprovalEnd
public void setApprovalEnd(Date approvalEnd)
Sets value for attribute approvalEnd
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
Sets value for attribute attributes
-
toString
public String toString()
Returns a string representation of the value object.
-
toRoleList
public static List<Role> toRoleList(Collection<Rol> source)
Creates a Role list on a Rol collection.
-
toRoleList
public static PagedResult<Role> toRoleList(PagedResult<Rol> source)
Creates a Role pagedResult on a Rol collection.
-
toRoleAsyncList
public static AsyncList<Role> toRoleAsyncList(AsyncList<Rol> source)
Creates a Role asynclist on a Rol collection.
-
toRole
public static void toRole(Rol source, AbstractRole target)
Updates a Role value object based on a Rol object.
-
-