org.kuali.rice.krad.maintenance
Class MaintenanceLock
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.krad.maintenance.MaintenanceLock
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject
@Entity
@Sequence(name="KRNS_MAINT_LOCK_S",
property="lockId")
public class MaintenanceLock
- extends PersistableBusinessObjectBase
List of business objects that this maintenance document is locking (prevents two documents from being routed trying to update the same object)
Most maintenance documents have only one lock, but globals have many
- See Also:
- Serialized Form
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, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
MaintenanceLock
public MaintenanceLock()
getLockId
public String getLockId()
setLockId
public void setLockId(String lockId)
getLockingRepresentation
public String getLockingRepresentation()
setLockingRepresentation
public void setLockingRepresentation(String lockingRepresentation)
getDocumentNumber
public String getDocumentNumber()
setDocumentNumber
public void setDocumentNumber(String documentNumber)
customPrePersist
protected void customPrePersist()
- Uses OrmUtils to set the sequence
- See Also:
PersistableBusinessObjectBase.prePersist()
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.