@Entity public class PermissionBo extends PersistableBusinessObjectBase implements PermissionContract
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected List<PermissionAttributeBo> |
attributeDetails |
protected Map<String,String> |
attributes |
protected String |
description |
protected String |
id |
protected String |
name |
protected String |
namespaceCode |
protected List<RolePermissionBo> |
rolePermissions |
protected PermissionTemplateBo |
template |
protected String |
templateId |
extension, newCollectionRecord, objectId, versionNumber
Constructor and Description |
---|
PermissionBo() |
Modifier and Type | Method and Description |
---|---|
static PermissionBo |
from(Permission im)
Converts a immutable object to its mutable counterpart
|
List<PermissionAttributeBo> |
getAttributeDetails() |
Map<String,String> |
getAttributes()
Attributes for a Permission.
|
String |
getDescription()
The description of the Permission.
|
String |
getDetailObjectsToDisplay() |
String |
getDetailObjectsValues() |
Map<String,String> |
getDetails() |
String |
getId()
The unique identifier for an object.
|
String |
getName()
The name of the Permission.
|
String |
getNamespaceCode()
The namespace code that this Permission belongs too.
|
List<RolePermissionBo> |
getRolePermissions() |
PermissionTemplateBo |
getTemplate()
The Template referenced by the Permission.
|
String |
getTemplateId() |
boolean |
isActive()
The active indicator for an object.
|
void |
setActive(boolean active) |
void |
setAttributeDetails(List<PermissionAttributeBo> attributeDetails) |
void |
setAttributes(Map<String,String> attributes) |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setNamespaceCode(String namespaceCode) |
void |
setRolePermissions(List<RolePermissionBo> rolePermissions) |
void |
setTemplate(PermissionTemplateBo template) |
void |
setTemplateId(String templateId) |
static Permission |
to(PermissionBo bo)
Converts a mutable bo to its immutable counterpart
|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getVersionNumber
getObjectId
toString
protected String namespaceCode
protected String description
protected String templateId
protected boolean active
protected PermissionTemplateBo template
protected List<PermissionAttributeBo> attributeDetails
protected Map<String,String> attributes
protected List<RolePermissionBo> rolePermissions
public PermissionBo()
public Map<String,String> getAttributes()
PermissionContract
getAttributes
in interface PermissionContract
public Map<String,String> getDetails()
public String getId()
Identifiable
getId
in interface Identifiable
public String getNamespaceCode()
PermissionContract
getNamespaceCode
in interface PermissionContract
public void setNamespaceCode(String namespaceCode)
public String getName()
PermissionContract
getName
in interface PermissionContract
public String getDescription()
PermissionContract
getDescription
in interface PermissionContract
public void setDescription(String description)
public String getTemplateId()
public void setTemplateId(String templateId)
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public void setActive(boolean active)
public List<PermissionAttributeBo> getAttributeDetails()
public void setAttributeDetails(List<PermissionAttributeBo> attributeDetails)
public List<RolePermissionBo> getRolePermissions()
public void setRolePermissions(List<RolePermissionBo> rolePermissions)
public void setAttributes(Map<String,String> attributes)
public static Permission to(PermissionBo bo)
bo
- the mutable business objectpublic static PermissionBo from(Permission im)
im
- immutable objectpublic PermissionTemplateBo getTemplate()
PermissionContract
getTemplate
in interface PermissionContract
public void setTemplate(PermissionTemplateBo template)
public String getDetailObjectsValues()
public String getDetailObjectsToDisplay()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.