org.kuali.rice.kns.document
Class MaintenanceLock
java.lang.Object
org.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.kns.document.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.kns.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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
lockId
private String lockId
lockingRepresentation
private String lockingRepresentation
documentNumber
private String documentNumber
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 © 2004-2011 The Kuali Foundation. All Rights Reserved.