org.kuali.rice.kim.bo.role.impl
Class KimPermissionImpl

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by 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

Field Summary
protected  boolean active
           
protected  String description
           
protected  List<PermissionAttributeDataImpl> detailObjects
           
protected  org.kuali.rice.core.xml.dto.AttributeSet detailsAsAttributeSet
           
protected  String name
           
protected  String namespaceCode
           
protected  String permissionId
           
protected  List<RolePermissionImpl> rolePermissions
           
protected  KimPermissionTemplateImpl template
           
protected  String templateId
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
KimPermissionImpl()
           
 
Method Summary
protected  org.kuali.rice.kns.service.DataDictionaryService getDataDictionaryService()
           
 String getDescription()
           
 List<PermissionAttributeDataImpl> getDetailObjects()
           
 String getDetailObjectsToDisplay()
           
 String getDetailObjectsValues()
           
 org.kuali.rice.core.xml.dto.AttributeSet getDetails()
           
protected  String getKimAttributeLabelFromDD(org.kuali.rice.kim.bo.types.dto.KimTypeAttributeInfo attribute)
           
 String getName()
           
 String getNamespaceCode()
           
 String getPermissionId()
           
 List<RolePermissionImpl> getRolePermissions()
           
 KimPermissionTemplateImpl getTemplate()
           
 String getTemplateId()
           
protected  org.kuali.rice.kim.service.KimTypeInfoService getTypeInfoService()
           
 boolean hasDetails()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setDescription(String permissionDescription)
           
 void setDetailObjects(List<PermissionAttributeDataImpl> detailObjects)
           
 void setDetails(List<PermissionAttributeDataImpl> detailObjects)
           
 void setName(String permissionName)
           
 void setNamespaceCode(String namespaceCode)
           
 void setPermissionId(String permissionId)
           
 void setRolePermissions(List<RolePermissionImpl> rolePermissions)
           
 void setTemplate(KimPermissionTemplateImpl template)
           
 void setTemplateId(String templateId)
           
 org.kuali.rice.kim.bo.role.dto.KimPermissionInfo toSimpleInfo()
           
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 

Field Detail

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
Constructor Detail

KimPermissionImpl

public KimPermissionImpl()
Method Detail

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.