org.kuali.rice.kim.bo.role.impl
Class KimResponsibilityImpl
java.lang.Object
org.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.kim.bo.role.impl.KimResponsibilityImpl
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, KimResponsibility, ResponsibilityDetails, BusinessObject, Inactivateable, PersistableBusinessObject
- Direct Known Subclasses:
- ResponsibilityImpl
public class KimResponsibilityImpl
- extends PersistableBusinessObjectBase
- implements KimResponsibility
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
responsibilityId
protected String responsibilityId
namespaceCode
protected String namespaceCode
name
protected String name
description
protected String description
active
protected boolean active
detailObjects
protected List<ResponsibilityAttributeDataImpl> detailObjects
templateId
protected String templateId
template
protected KimResponsibilityTemplateImpl template
roleResponsibilities
protected List<RoleResponsibilityImpl> roleResponsibilities
detailsAsAttributeSet
protected transient AttributeSet detailsAsAttributeSet
dataDictionaryService
private transient DataDictionaryService dataDictionaryService
kimTypeInfoService
private static transient KimTypeInfoService kimTypeInfoService
KimResponsibilityImpl
public KimResponsibilityImpl()
isActive
public boolean isActive()
- Description copied from interface:
Inactivateable
- Indicates whether the record is active or inactive.
- Specified by:
isActive
in interface Inactivateable
- See Also:
Inactivateable.isActive()
setActive
public void setActive(boolean active)
- Description copied from interface:
Inactivateable
- Sets the record to active or inactive.
- Specified by:
setActive
in interface Inactivateable
- See Also:
Inactivateable.setActive(boolean)
getDescription
public String getDescription()
- Description copied from interface:
KimResponsibility
- Verbose description of the Responsibility and functionally what permissions it implies.
- Specified by:
getDescription
in interface KimResponsibility
- See Also:
KimResponsibility.getDescription()
getResponsibilityId
public String getResponsibilityId()
- Specified by:
getResponsibilityId
in interface ResponsibilityDetails
- See Also:
ResponsibilityDetails.getResponsibilityId()
getName
public String getName()
- Specified by:
getName
in interface KimResponsibility
- See Also:
KimResponsibility.getName()
getNameToDisplay
public String getNameToDisplay()
- See Also:
KimResponsibility.getName()
setDescription
public void setDescription(String responsibilityDescription)
setName
public void setName(String responsibilityName)
toStringMapper
protected LinkedHashMap toStringMapper()
- Specified by:
toStringMapper
in class BusinessObjectBase
- Returns:
- Map containing the fieldValues of the key fields for this class, indexed by fieldName
- See Also:
BusinessObjectBase.toStringMapper()
toSimpleInfo
public KimResponsibilityInfo toSimpleInfo()
getDetailObjects
public List<ResponsibilityAttributeDataImpl> getDetailObjects()
setDetailObjects
public void setDetailObjects(List<ResponsibilityAttributeDataImpl> detailObjects)
hasDetails
public boolean hasDetails()
- Specified by:
hasDetails
in interface ResponsibilityDetails
getDetails
public AttributeSet getDetails()
- Description copied from interface:
ResponsibilityDetails
- List of details for this role/permission relationship. See the class comment for more information.
- Specified by:
getDetails
in interface ResponsibilityDetails
getTemplate
public KimResponsibilityTemplateImpl getTemplate()
setTemplate
public void setTemplate(KimResponsibilityTemplateImpl template)
getNamespaceCode
public String getNamespaceCode()
- Specified by:
getNamespaceCode
in interface KimResponsibility
setNamespaceCode
public void setNamespaceCode(String namespaceCode)
getTemplateId
public String getTemplateId()
setTemplateId
public void setTemplateId(String templateId)
setResponsibilityId
public void setResponsibilityId(String responsibilityId)
getRoleResponsibilities
public List<RoleResponsibilityImpl> getRoleResponsibilities()
- Returns:
- the roleResponsibilities
setRoleResponsibilities
public void setRoleResponsibilities(List<RoleResponsibilityImpl> roleResponsibilities)
- Parameters:
roleResponsibilities
- the roleResponsibilities to set
getDetailObjectsValues
public String getDetailObjectsValues()
getDetailObjectsToDisplay
public String getDetailObjectsToDisplay()
getKimAttributeLabelFromDD
protected String getKimAttributeLabelFromDD(KimTypeAttributeInfo attribute)
getDataDictionaryService
public DataDictionaryService getDataDictionaryService()
getTypeInfoService
protected KimTypeInfoService getTypeInfoService()
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.