@Entity public class GenericPermissionBo extends PersistableBusinessObjectBase
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected List<PermissionAttributeBo> |
attributeDetails |
protected String |
description |
protected Map<String,String> |
details |
protected String |
detailValues |
protected String |
id |
protected String |
name |
protected String |
namespaceCode |
protected PermissionTemplateBo |
template |
protected String |
templateId |
extension, newCollectionRecord, objectId, versionNumber
Constructor and Description |
---|
GenericPermissionBo()
This constructs a ...
|
GenericPermissionBo(PermissionBo perm) |
Modifier and Type | Method and Description |
---|---|
List<PermissionAttributeBo> |
getAttributeDetails() |
String |
getDescription() |
Map<String,String> |
getDetails() |
String |
getDetailValues() |
String |
getId() |
String |
getName() |
String |
getNamespaceCode() |
PermissionTemplateBo |
getTemplate() |
String |
getTemplateId() |
boolean |
isActive() |
void |
loadFromPermission(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 |
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 |
setAttributeDetails(List<PermissionAttributeBo> attributeDetails) |
void |
setDescription(String permissionDescription) |
void |
setDetails(Map<String,String> details) |
void |
setDetailValues(Map<String,String> detailsAttribs) |
void |
setDetailValues(String detailValues) |
void |
setId(String id) |
void |
setName(String permissionName) |
void |
setNamespaceCode(String namespaceCode) |
void |
setTemplate(PermissionTemplateBo template) |
void |
setTemplateId(String templateId) |
static PermissionBo |
toPermissionBo(GenericPermissionBo bo) |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, refresh, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
toString
protected String namespaceCode
protected String description
protected boolean active
protected String templateId
protected String detailValues
protected PermissionTemplateBo template
protected List<PermissionAttributeBo> attributeDetails
public GenericPermissionBo()
public GenericPermissionBo(PermissionBo perm)
public void loadFromPermission(PermissionBo perm)
public String getDetailValues()
public void setDetailValues(String detailValues)
public void setDetailValues(Map<String,String> detailsAttribs)
public boolean isActive()
public void setActive(boolean active)
public String getDescription()
public PermissionTemplateBo getTemplate()
public void setDescription(String permissionDescription)
public void setDetails(Map<String,String> details)
public String getTemplateId()
public void setTemplateId(String templateId)
public void setTemplate(PermissionTemplateBo template)
public Map<String,String> getDetails()
public String getNamespaceCode()
public void setNamespaceCode(String namespaceCode)
public List<PermissionAttributeBo> getAttributeDetails()
public void setAttributeDetails(List<PermissionAttributeBo> attributeDetails)
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
public static PermissionBo toPermissionBo(GenericPermissionBo bo)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.