org.kuali.rice.krad.maintenance
Class MaintenanceLock

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by 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

Field Summary
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
MaintenanceLock()
           
 
Method Summary
protected  void customPrePersist()
          Uses OrmUtils to set the sequence
 String getDocumentNumber()
           
 String getLockId()
           
 String getLockingRepresentation()
           
 void setDocumentNumber(String documentNumber)
           
 void setLockId(String lockId)
           
 void setLockingRepresentation(String lockingRepresentation)
           
 
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
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
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
 

Constructor Detail

MaintenanceLock

public MaintenanceLock()
Method Detail

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-2013 The Kuali Foundation. All Rights Reserved.