| org.kuali.core.bo.PersistableBusinessObject
All known Subclasses: org.kuali.core.bo.PersistableBusinessObjectBase,
PersistableBusinessObject | public interface PersistableBusinessObject extends BusinessObject,PersistenceBrokerAware(Code) | | Declares common methods for all persistable objects.
|
buildListOfDeletionAwareLists | public List buildListOfDeletionAwareLists()(Code) | | If this method is not implemented appropriately for PersistableBusinessObject with collections, then PersistableBusinessObject with collections will not persist deletions correctly.
Elements that have been deleted will reappear in the DB after retrieval.
List of collections which need to be monitored for changes by OJB |
deleteNote | public boolean deleteNote(Note note)(Code) | | |
getBoNotes | abstract public List getBoNotes()(Code) | | Returns the boNotes List. |
getObjectId | public String getObjectId()(Code) | | objectID, the unique identifier for the object |
getVersionNumber | public Long getVersionNumber()(Code) | | object versionm number, used by optimistic locking |
isBoNotesSupport | abstract public boolean isBoNotesSupport()(Code) | | |
isNewCollectionRecord | public boolean isNewCollectionRecord()(Code) | | Returns the boolean indicating whether this record is a new record of a maintenance document collection.
Used to determine whether the record can be deleted on the document.
|
linkEditableUserFields | public void linkEditableUserFields()(Code) | | Hook to link in any editable user fields.
|
refreshIfEmpty | abstract public void refreshIfEmpty()(Code) | | Refreshes the reference objects and non-key fields using the primitive values; only if the object is "empty" - i.e. objectId
is null or empty string.
|
refreshReferenceObject | abstract public void refreshReferenceObject(String referenceObjectName)(Code) | | 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.
Parameters: referenceObjectName - |
setNewCollectionRecord | public void setNewCollectionRecord(boolean isNewCollectionRecord)(Code) | | Sets the boolean indicating this record is a new record of a maintenance document collection.
Used to determine whether the record can be deleted on the document.
|
setObjectId | public void setObjectId(String objectId)(Code) | | Sets the unique identifer for the object
Parameters: objectId - |
setVersionNumber | public void setVersionNumber(Long versionNumber)(Code) | | Sets object's version number, used by optimistic locking
Parameters: versionNumber - |
|
|