|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.kim.impl.permission.PermissionBo
@Entity public class PermissionBo
| Field Summary | |
|---|---|
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
|
| Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
|---|
extension, newCollectionRecord, objectId, versionNumber |
| Constructor Summary | |
|---|---|
PermissionBo()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
|---|
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 |
| Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
|---|
getVersionNumber |
| Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
|---|
getObjectId |
| Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
|---|
toString |
| Field Detail |
|---|
protected String id
protected String namespaceCode
protected String name
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
| Constructor Detail |
|---|
public PermissionBo()
| Method Detail |
|---|
public Map<String,String> getAttributes()
PermissionContract
getAttributes in interface PermissionContractpublic Map<String,String> getDetails()
public String getId()
Identifiable
getId in interface Identifiablepublic void setId(String id)
public String getNamespaceCode()
PermissionContract
getNamespaceCode in interface PermissionContractpublic void setNamespaceCode(String namespaceCode)
public String getName()
PermissionContract
getName in interface PermissionContractpublic void setName(String name)
public String getDescription()
PermissionContract
getDescription in interface PermissionContractpublic void setDescription(String description)
public String getTemplateId()
public void setTemplateId(String templateId)
public boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic 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 object
public static PermissionBo from(Permission im)
im - immutable object
public PermissionTemplateBo getTemplate()
PermissionContract
getTemplate in interface PermissionContractpublic void setTemplate(PermissionTemplateBo template)
public String getDetailObjectsValues()
public String getDetailObjectsToDisplay()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||