org.kuali.rice.kim.bo.impl
Class GenericPermission

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.impl.GenericPermission
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, org.kuali.rice.kns.bo.BusinessObject, PersistableBusinessObject

public class GenericPermission
extends PersistableBusinessObjectBase

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
protected  boolean active
           
protected  String description
           
protected  org.kuali.rice.kim.bo.types.dto.AttributeSet details
           
protected  String detailValues
           
protected  String name
           
protected  String namespaceCode
           
protected  String permissionId
           
protected  String templateId
           
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
GenericPermission()
          This constructs a ...
GenericPermission(org.kuali.rice.kim.bo.role.KimPermission perm)
           
 
Method Summary
 void beforeDelete(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
          This overridden method ...
 void beforeInsert()
          This overridden method ...
 void beforeInsert(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
          This overridden method ...
 void beforeUpdate()
          This overridden method ...
 void beforeUpdate(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
          This overridden method ...
 String getDescription()
           
 org.kuali.rice.kim.bo.types.dto.AttributeSet getDetails()
           
 String getDetailValues()
           
 String getName()
           
 String getNamespaceCode()
           
 String getPermissionId()
           
 String getTemplateId()
           
 boolean isActive()
           
 void loadFromKimPermission(org.kuali.rice.kim.bo.role.KimPermission perm)
           
 void refresh()
          getService Refreshes the reference objects from the primitive values.
 void refreshNonUpdateableReferences()
           
 void refreshReferenceObject(String referenceObjectName)
          This method is used to refresh a reference object that hangs off of a document.
 void setActive(boolean active)
           
 void setDescription(String permissionDescription)
           
 void setDetails(org.kuali.rice.kim.bo.types.dto.AttributeSet details)
           
 void setDetailValues(org.kuali.rice.kim.bo.types.dto.AttributeSet detailsAttribs)
           
 void setDetailValues(String detailValues)
           
 void setName(String permissionName)
           
 void setNamespaceCode(String namespaceCode)
           
 void setPermissionId(String permissionId)
           
 void setTemplateId(String templateId)
           
protected  LinkedHashMap toStringMapper()
           
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, 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

permissionId

protected String permissionId

namespaceCode

protected String namespaceCode

name

protected String name

description

protected String description

active

protected boolean active

templateId

protected String templateId

detailValues

protected String detailValues

details

protected org.kuali.rice.kim.bo.types.dto.AttributeSet details
Constructor Detail

GenericPermission

public GenericPermission()
This constructs a ...


GenericPermission

public GenericPermission(org.kuali.rice.kim.bo.role.KimPermission perm)
Method Detail

loadFromKimPermission

public void loadFromKimPermission(org.kuali.rice.kim.bo.role.KimPermission perm)

getDetailValues

public String getDetailValues()

setDetailValues

public void setDetailValues(String detailValues)

setDetailValues

public void setDetailValues(org.kuali.rice.kim.bo.types.dto.AttributeSet detailsAttribs)

isActive

public boolean isActive()
See Also:
Inactivateable.isActive()

setActive

public void setActive(boolean active)
See Also:
Inactivateable.setActive(boolean)

getDescription

public String getDescription()
See Also:
KimPermission.getDescription()

getPermissionId

public String getPermissionId()
See Also:
KimPermission.getPermissionId()

getName

public String getName()
See Also:
KimPermission.getName()

setDescription

public void setDescription(String permissionDescription)

setName

public void setName(String permissionName)

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()

setDetails

public void setDetails(org.kuali.rice.kim.bo.types.dto.AttributeSet details)

getTemplateId

public String getTemplateId()

setTemplateId

public void setTemplateId(String templateId)

getDetails

public org.kuali.rice.kim.bo.types.dto.AttributeSet getDetails()

getNamespaceCode

public String getNamespaceCode()

setNamespaceCode

public void setNamespaceCode(String namespaceCode)

setPermissionId

public void setPermissionId(String permissionId)

refresh

public void refresh()
Description copied from class: PersistableBusinessObjectBase
getService Refreshes the reference objects from the primitive values.

Specified by:
refresh in interface org.kuali.rice.kns.bo.BusinessObject
Overrides:
refresh in class PersistableBusinessObjectBase
See Also:
BusinessObject.refresh()

refreshNonUpdateableReferences

public void refreshNonUpdateableReferences()
Specified by:
refreshNonUpdateableReferences in interface PersistableBusinessObject
Overrides:
refreshNonUpdateableReferences in class PersistableBusinessObjectBase
See Also:
org.kuali.rice.kns.bo.BusinessObject#refreshNonUpdateableReferences()

refreshReferenceObject

public void refreshReferenceObject(String referenceObjectName)
Description copied from interface: PersistableBusinessObject
This method is used to refresh a reference object that hangs off of a document. For example, if the attribute's keys were updated for a reference object, but the reference object wasn't, this method would go out and retrieve the reference object.

Specified by:
refreshReferenceObject in interface PersistableBusinessObject
Overrides:
refreshReferenceObject in class PersistableBusinessObjectBase

beforeInsert

public void beforeInsert()
This overridden method ...

Overrides:
beforeInsert in class PersistableBusinessObjectBase
See Also:
PersistableBusinessObjectBase.beforeInsert()

beforeUpdate

public void beforeUpdate()
This overridden method ...

Overrides:
beforeUpdate in class PersistableBusinessObjectBase
See Also:
PersistableBusinessObjectBase.beforeUpdate()

beforeInsert

public void beforeInsert(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
                  throws org.apache.ojb.broker.PersistenceBrokerException
This overridden method ...

Specified by:
beforeInsert in interface org.apache.ojb.broker.PersistenceBrokerAware
Overrides:
beforeInsert in class PersistableBusinessObjectBase
Throws:
org.apache.ojb.broker.PersistenceBrokerException
See Also:
PersistableBusinessObjectBase.beforeInsert(org.apache.ojb.broker.PersistenceBroker)

beforeUpdate

public void beforeUpdate(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
This overridden method ...

Specified by:
beforeUpdate in interface org.apache.ojb.broker.PersistenceBrokerAware
Overrides:
beforeUpdate in class PersistableBusinessObjectBase
See Also:
PersistableBusinessObjectBase.beforeUpdate(org.apache.ojb.broker.PersistenceBroker)

beforeDelete

public void beforeDelete(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
                  throws org.apache.ojb.broker.PersistenceBrokerException
This overridden method ...

Specified by:
beforeDelete in interface org.apache.ojb.broker.PersistenceBrokerAware
Overrides:
beforeDelete in class PersistableBusinessObjectBase
Throws:
org.apache.ojb.broker.PersistenceBrokerException
See Also:
PersistableBusinessObjectBase.beforeDelete(org.apache.ojb.broker.PersistenceBroker)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.