|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.bo.BusinessObjectBase org.kuali.rice.krad.bo.PersistableBusinessObjectBase org.kuali.rice.kim.bo.impl.GenericPermission
@Entity public class GenericPermission
Field Summary | |
---|---|
protected boolean |
active
|
protected String |
description
|
protected Map<String,String> |
details
|
protected String |
detailValues
|
protected String |
name
|
protected String |
namespaceCode
|
protected String |
permissionId
|
private static long |
serialVersionUID
|
protected String |
templateId
|
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
extension, versionNumber |
Constructor Summary | |
---|---|
GenericPermission()
This constructs a ... |
|
GenericPermission(org.kuali.rice.kim.impl.permission.PermissionBo perm)
|
Method Summary | |
---|---|
String |
getDescription()
|
Map<String,String> |
getDetails()
|
String |
getDetailValues()
|
String |
getName()
|
String |
getNamespaceCode()
|
String |
getPermissionId()
|
String |
getTemplateId()
|
boolean |
isActive()
|
void |
loadFromKimPermission(org.kuali.rice.kim.impl.permission.PermissionBo perm)
|
protected void |
prePersist()
Default implementation of the JPA PrePersist hook which generates the unique objectId for this
persistable business object if it does not already have one. |
protected void |
preRemove()
Default implementation of the JPA PreRemove hook. |
protected void |
preUpdate()
Default implementation of the JPA PreUpdate hook which generates the unique objectId for this
persistable business object if it does not already have one. |
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(Map<String,String> details)
|
void |
setDetailValues(Map<String,String> detailsAttribs)
|
void |
setDetailValues(String detailValues)
|
void |
setName(String permissionName)
|
void |
setNamespaceCode(String namespaceCode)
|
void |
setPermissionId(String permissionId)
|
void |
setTemplateId(String templateId)
|
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
---|
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
Methods inherited from class org.kuali.rice.krad.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 |
---|
private static final long serialVersionUID
protected String permissionId
protected String namespaceCode
protected String name
protected String description
protected boolean active
protected String templateId
protected String detailValues
protected Map<String,String> details
Constructor Detail |
---|
public GenericPermission()
public GenericPermission(org.kuali.rice.kim.impl.permission.PermissionBo perm)
Method Detail |
---|
public void loadFromKimPermission(org.kuali.rice.kim.impl.permission.PermissionBo perm)
public String getDetailValues()
public void setDetailValues(String detailValues)
public void setDetailValues(Map<String,String> detailsAttribs)
public boolean isActive()
Inactivatable.isActive()
public void setActive(boolean active)
MutableInactivatable.setActive(boolean)
public String getDescription()
KimPermission.getDescription()
public String getPermissionId()
KimPermission.getPermissionId()
public String getName()
KimPermission.getName()
public void setDescription(String permissionDescription)
public void setName(String permissionName)
public void setDetails(Map<String,String> details)
public String getTemplateId()
public void setTemplateId(String templateId)
public Map<String,String> getDetails()
public String getNamespaceCode()
public void setNamespaceCode(String namespaceCode)
public void setPermissionId(String permissionId)
public void refresh()
PersistableBusinessObjectBase
refresh
in interface BusinessObject
refresh
in class PersistableBusinessObjectBase
org.kuali.rice.kns.bo.BusinessObject#refresh()
public void refreshNonUpdateableReferences()
refreshNonUpdateableReferences
in interface PersistableBusinessObject
refreshNonUpdateableReferences
in class PersistableBusinessObjectBase
BusinessObject.refresh()
public void refreshReferenceObject(String referenceObjectName)
PersistableBusinessObject
refreshReferenceObject
in interface PersistableBusinessObject
refreshReferenceObject
in class PersistableBusinessObjectBase
protected void prePersist()
PersistableBusinessObjectBase
PrePersist
hook which generates the unique objectId for this
persistable business object if it does not already have one. Any sub-class which overrides this method
should take care to invoke super.prePersist to ensure that the objectId for this persistable
business object is generated properly.
This method is currently invoked by the corresponding OJB PersistableBusinessObjectBase.beforeInsert(PersistenceBroker)
hook.
prePersist
in class PersistableBusinessObjectBase
protected void preUpdate()
PersistableBusinessObjectBase
PreUpdate
hook which generates the unique objectId for this
persistable business object if it does not already have one. Any sub-class which overrides this method
should take care to invoke super.preUpdate to ensure that the objectId for this persistable
business object is generated properly.
This method is currently invoked by the corresponding OJB PersistableBusinessObjectBase.beforeUpdate(PersistenceBroker)
hook.
preUpdate
in class PersistableBusinessObjectBase
protected void preRemove()
PersistableBusinessObjectBase
PreRemove
hook. This implementation currently does nothing,
however sub-classes can implement this method if needed.
This method is currently invoked by the corresponding OJB PersistableBusinessObjectBase.beforeDelete(PersistenceBroker)
hook.
preRemove
in class PersistableBusinessObjectBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |