org.kuali.student.core.bo
Class KsVersionBusinessObjectBase

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.student.core.bo.KsBusinessObjectBase
              extended by org.kuali.student.core.bo.KsMetaBusinessObjectBase
                  extended by org.kuali.student.core.bo.KsVersionBusinessObjectBase
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, BusinessObject, PersistableBusinessObject, KsBusinessObject, KsMetaBusinessObject, KsVersionBusinessObject
Direct Known Subclasses:
Clu

public abstract class KsVersionBusinessObjectBase
extends KsMetaBusinessObjectBase
implements KsVersionBusinessObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
KsVersionBusinessObjectBase()
           
 
Method Summary
 void beforeInsert(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
           
 Date getCurrentVersionEnd()
           
 Date getCurrentVersionStart()
           
 Long getSequenceNumber()
           
 Version getVersion()
          This will take properties and create a Version object to return, the value is not persisted.
 String getVersionComment()
           
 String getVersionedFromId()
           
 String getVersionIndId()
           
 void setCurrentVersionEnd(Date currentVersionEnd)
           
 void setCurrentVersionStart(Date currentVersionStart)
           
 void setSequenceNumber(Long sequenceNumber)
           
 void setVersion(Version version)
          This will set the internal properties from the incoming Version object.
 void setVersionComment(String versionComment)
           
 void setVersionedFromId(String versionedFromId)
           
 void setVersionIndId(String versionIndId)
           
 
Methods inherited from class org.kuali.student.core.bo.KsMetaBusinessObjectBase
beforeUpdate, getCreateDate, getCreateId, getMeta, getUpdateDate, getUpdateId, setCreateDate, setCreateId, setMeta, setUpdateDate, setUpdateId
 
Methods inherited from class org.kuali.student.core.bo.KsBusinessObjectBase
getId, setId, toStringMapper
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow, toString, toStringBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.student.core.bo.KsMetaBusinessObject
getCreateDate, getCreateId, getMeta, getUpdateDate, getUpdateId, setCreateDate, setCreateId, setMeta, setUpdateDate, setUpdateId
 
Methods inherited from interface org.kuali.student.core.bo.KsBusinessObject
getId, setId
 
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject
addNote, buildListOfDeletionAwareLists, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeUpdate
 

Constructor Detail

KsVersionBusinessObjectBase

public KsVersionBusinessObjectBase()
Method Detail

beforeInsert

public void beforeInsert(org.apache.ojb.broker.PersistenceBroker persistenceBroker)
                  throws org.apache.ojb.broker.PersistenceBrokerException
Specified by:
beforeInsert in interface org.apache.ojb.broker.PersistenceBrokerAware
Overrides:
beforeInsert in class KsMetaBusinessObjectBase
Throws:
org.apache.ojb.broker.PersistenceBrokerException

getVersion

public Version getVersion()
This will take properties and create a Version object to return, the value is not persisted. This is to support the KS embedded style Version object for future compatibility. OJB/KNS do not seem to support embedded entities (called Nested in OJB terms).

Specified by:
getVersion in interface KsVersionBusinessObject

setVersion

public void setVersion(Version version)
This will set the internal properties from the incoming Version object. This is to support the KS embedded style Version object for future compatibility. OJB/KNS do not seem to support embedded entities (called Nested in OJB terms). Uses setter methods to allow behavior from subclass.

Specified by:
setVersion in interface KsVersionBusinessObject

getVersionIndId

public String getVersionIndId()
Specified by:
getVersionIndId in interface KsVersionBusinessObject

setVersionIndId

public void setVersionIndId(String versionIndId)
Specified by:
setVersionIndId in interface KsVersionBusinessObject

getSequenceNumber

public Long getSequenceNumber()
Specified by:
getSequenceNumber in interface KsVersionBusinessObject

setSequenceNumber

public void setSequenceNumber(Long sequenceNumber)
Specified by:
setSequenceNumber in interface KsVersionBusinessObject

getCurrentVersionStart

public Date getCurrentVersionStart()
Specified by:
getCurrentVersionStart in interface KsVersionBusinessObject

setCurrentVersionStart

public void setCurrentVersionStart(Date currentVersionStart)
Specified by:
setCurrentVersionStart in interface KsVersionBusinessObject

getCurrentVersionEnd

public Date getCurrentVersionEnd()
Specified by:
getCurrentVersionEnd in interface KsVersionBusinessObject

setCurrentVersionEnd

public void setCurrentVersionEnd(Date currentVersionEnd)
Specified by:
setCurrentVersionEnd in interface KsVersionBusinessObject

getVersionedFromId

public String getVersionedFromId()
Specified by:
getVersionedFromId in interface KsVersionBusinessObject

setVersionedFromId

public void setVersionedFromId(String versionedFromId)
Specified by:
setVersionedFromId in interface KsVersionBusinessObject

getVersionComment

public String getVersionComment()
Specified by:
getVersionComment in interface KsVersionBusinessObject

setVersionComment

public void setVersionComment(String versionComment)
Specified by:
setVersionComment in interface KsVersionBusinessObject


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.