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

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.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

Field Summary
protected  boolean active
           
private  DataDictionaryService dataDictionaryService
           
protected  String description
           
protected  List<ResponsibilityAttributeDataImpl> detailObjects
           
protected  AttributeSet detailsAsAttributeSet
           
private static KimTypeInfoService kimTypeInfoService
           
protected  String name
           
protected  String namespaceCode
           
protected  String responsibilityId
           
protected  List<RoleResponsibilityImpl> roleResponsibilities
           
private static long serialVersionUID
           
protected  KimResponsibilityTemplateImpl template
           
protected  String templateId
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
KimResponsibilityImpl()
           
 
Method Summary
 DataDictionaryService getDataDictionaryService()
           
 String getDescription()
          Verbose description of the Responsibility and functionally what permissions it implies.
 List<ResponsibilityAttributeDataImpl> getDetailObjects()
           
 String getDetailObjectsToDisplay()
           
 String getDetailObjectsValues()
           
 AttributeSet getDetails()
          List of details for this role/permission relationship.
protected  String getKimAttributeLabelFromDD(KimTypeAttributeInfo attribute)
           
 String getName()
           
 String getNamespaceCode()
           
 String getNameToDisplay()
           
 String getResponsibilityId()
           
 List<RoleResponsibilityImpl> getRoleResponsibilities()
           
 KimResponsibilityTemplateImpl getTemplate()
           
 String getTemplateId()
           
protected  KimTypeInfoService getTypeInfoService()
           
 boolean hasDetails()
           
 boolean isActive()
          Indicates whether the record is active or inactive.
 void setActive(boolean active)
          Sets the record to active or inactive.
 void setDescription(String responsibilityDescription)
           
 void setDetailObjects(List<ResponsibilityAttributeDataImpl> detailObjects)
           
 void setName(String responsibilityName)
           
 void setNamespaceCode(String namespaceCode)
           
 void setResponsibilityId(String responsibilityId)
           
 void setRoleResponsibilities(List<RoleResponsibilityImpl> roleResponsibilities)
           
 void setTemplate(KimResponsibilityTemplateImpl template)
           
 void setTemplateId(String templateId)
           
 KimResponsibilityInfo toSimpleInfo()
           
protected  LinkedHashMap toStringMapper()
           
 
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
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow
 

Field Detail

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

KimResponsibilityImpl

public KimResponsibilityImpl()
Method Detail

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.