org.kuali.rice.kim.bo.role.impl
Class KimPermissionImpl
java.lang.Object
org.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.kim.bo.role.impl.KimPermissionImpl
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.kim.bo.role.KimPermission, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.Inactivateable, org.kuali.rice.kns.bo.PersistableBusinessObject
- Direct Known Subclasses:
- PermissionImpl
@Entity
public class KimPermissionImpl
- extends org.kuali.rice.kns.bo.PersistableBusinessObjectBase
- implements org.kuali.rice.kim.bo.role.KimPermission
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
extension, versionNumber |
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase |
prepareForWorkflow, toString, toStringBuilder, toStringMapper |
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
toString |
permissionId
protected String permissionId
namespaceCode
protected String namespaceCode
name
protected String name
description
protected String description
active
protected boolean active
detailObjects
protected List<PermissionAttributeDataImpl> detailObjects
templateId
protected String templateId
template
protected KimPermissionTemplateImpl template
rolePermissions
protected List<RolePermissionImpl> rolePermissions
detailsAsAttributeSet
protected transient org.kuali.rice.core.xml.dto.AttributeSet detailsAsAttributeSet
KimPermissionImpl
public KimPermissionImpl()
isActive
public boolean isActive()
- Specified by:
isActive
in interface org.kuali.rice.kns.bo.Inactivateable
- See Also:
Inactivateable.isActive()
setActive
public void setActive(boolean active)
- Specified by:
setActive
in interface org.kuali.rice.kns.bo.Inactivateable
- See Also:
Inactivateable.setActive(boolean)
getDescription
public String getDescription()
- Specified by:
getDescription
in interface org.kuali.rice.kim.bo.role.KimPermission
- See Also:
KimPermission.getDescription()
getPermissionId
public String getPermissionId()
- Specified by:
getPermissionId
in interface org.kuali.rice.kim.bo.role.KimPermission
- See Also:
KimPermission.getPermissionId()
getName
public String getName()
- Specified by:
getName
in interface org.kuali.rice.kim.bo.role.KimPermission
- See Also:
KimPermission.getName()
setDescription
public void setDescription(String permissionDescription)
setName
public void setName(String permissionName)
toSimpleInfo
public org.kuali.rice.kim.bo.role.dto.KimPermissionInfo toSimpleInfo()
getDetailObjects
public List<PermissionAttributeDataImpl> getDetailObjects()
setDetails
public void setDetails(List<PermissionAttributeDataImpl> detailObjects)
getTemplate
public KimPermissionTemplateImpl getTemplate()
setTemplate
public void setTemplate(KimPermissionTemplateImpl template)
getTemplateId
public String getTemplateId()
- Specified by:
getTemplateId
in interface org.kuali.rice.kim.bo.role.KimPermission
setTemplateId
public void setTemplateId(String templateId)
getDetails
public org.kuali.rice.core.xml.dto.AttributeSet getDetails()
- Specified by:
getDetails
in interface org.kuali.rice.kim.bo.role.KimPermission
hasDetails
public boolean hasDetails()
- Specified by:
hasDetails
in interface org.kuali.rice.kim.bo.role.KimPermission
getNamespaceCode
public String getNamespaceCode()
- Specified by:
getNamespaceCode
in interface org.kuali.rice.kim.bo.role.KimPermission
setNamespaceCode
public void setNamespaceCode(String namespaceCode)
setPermissionId
public void setPermissionId(String permissionId)
setDetailObjects
public void setDetailObjects(List<PermissionAttributeDataImpl> detailObjects)
getRolePermissions
public List<RolePermissionImpl> getRolePermissions()
- Returns:
- the rolePermissions
setRolePermissions
public void setRolePermissions(List<RolePermissionImpl> rolePermissions)
- Parameters:
rolePermissions
- the rolePermissions to set
getDetailObjectsValues
public String getDetailObjectsValues()
getDetailObjectsToDisplay
public String getDetailObjectsToDisplay()
getKimAttributeLabelFromDD
protected String getKimAttributeLabelFromDD(org.kuali.rice.kim.bo.types.dto.KimTypeAttributeInfo attribute)
getDataDictionaryService
protected org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
getTypeInfoService
protected org.kuali.rice.kim.service.KimTypeInfoService getTypeInfoService()
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.