com.arsdigita.versioning
Class VersionedACSObject

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.versioning.VersionedACSObject
All Implemented Interfaces:
Audited

Deprecated. with no replacement. See the note in com.arsdigita.versioning.

public class VersionedACSObject
extends ACSObject
implements Audited

Versioned ACSObject

Version:
$Revision: #29 $ $Date: 2004/04/07 $
Author:
Joseph A. Bank (jbank@alum.mit.edu), Stanislav Freidin

Field Summary
static String BASE_DATA_OBJECT_TYPE
          Deprecated.  
static String IS_DELETED
          Deprecated.  
static String MASTER
          Deprecated.  
 
Fields inherited from class com.arsdigita.kernel.ACSObject
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE, versionId
 
Fields inherited from interface com.arsdigita.auditing.Audited
versionId
 
Constructor Summary
protected VersionedACSObject(DataObject data)
          Deprecated.  
  VersionedACSObject(ObjectType type)
          Deprecated.  
  VersionedACSObject(OID oid)
          Deprecated.  
protected VersionedACSObject(OID oid, boolean checkDeleted)
          Deprecated.  
  VersionedACSObject(String typeName)
          Deprecated.  
 
Method Summary
 void applyTag(String tag)
          Deprecated.  
 String applyUniqueTag(String prefix)
          Deprecated.  
 void autoPropagateMaster(VersionedACSObject master)
          Deprecated.  
protected  void beforeSave()
          Deprecated.  
protected  String getBaseDataObjectType()
          Deprecated. Returns the base data object type for this domain object class.
 Date getCreationDate()
          Deprecated. Gets the creation date of the object.
 String getCreationIP()
          Deprecated. Gets the creation IP address.
 User getCreationUser()
          Deprecated. Gets the user who created the object.
 Date getLastModifiedDate()
          Deprecated. Gets the last modified date.
 String getLastModifiedIP()
          Deprecated. Gets the last modified IP address.
 User getLastModifiedUser()
          Deprecated. Gets the user who last modified the object.
 VersionedACSObject getMaster()
          Deprecated.  
 Transaction getRolledBackTo()
          Deprecated.  
 TransactionCollection getTransactions()
          Deprecated.  
 TransactionCollection getTransactions(boolean descending)
          Deprecated.  
 boolean isMaster()
          Deprecated.  
 boolean isRolledBack()
          Deprecated.  
protected static boolean isSubtype(ObjectType subType)
          Deprecated.  
 void permanentlyDelete()
          Deprecated.  
protected  void propagateMaster(VersionedACSObject master)
          Deprecated.  
 boolean recordAttributeChange(String action, String attr, Object oldValue, Object newValue)
          Deprecated.  
 void rollBackTo(String tag)
          Deprecated.  
 void rollBackTo(Transaction trans)
          Deprecated.  
 void rollForward()
          Deprecated.  
 void save(String tag)
          Deprecated.  
 void setMaster(VersionedACSObject master)
          Deprecated.  
 boolean trackChanges()
          Deprecated.  
 
Methods inherited from class com.arsdigita.kernel.ACSObject
assertPrivilege, checkPrivilege, doCreateCheck, doWriteCheck, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, initialize, isContainerModified, setID, setID
 
Methods inherited from class com.arsdigita.domain.ObservableDomainObject
addObserver, getObservers
 
Methods inherited from class com.arsdigita.domain.DomainObject
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

BASE_DATA_OBJECT_TYPE

public static final String BASE_DATA_OBJECT_TYPE
Deprecated. 
See Also:
Constant Field Values

MASTER

public static final String MASTER
Deprecated. 
See Also:
Constant Field Values

IS_DELETED

public static final String IS_DELETED
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

VersionedACSObject

protected VersionedACSObject(DataObject data)
Deprecated.  


VersionedACSObject

public VersionedACSObject(String typeName)
Deprecated.  


VersionedACSObject

public VersionedACSObject(ObjectType type)
Deprecated.  


VersionedACSObject

protected VersionedACSObject(OID oid,
                             boolean checkDeleted)
Deprecated.  


VersionedACSObject

public VersionedACSObject(OID oid)
Deprecated.  

Method Detail

beforeSave

protected void beforeSave()
Deprecated.  

Overrides:
beforeSave in class ACSObject

getBaseDataObjectType

protected String getBaseDataObjectType()
Deprecated.  

Description copied from class: DomainObject
Returns the base data object type for this domain object class. Intended to be overrided by subclasses whenever the subclass will only work if their primary data object is of a certain base type.

Overrides:
getBaseDataObjectType in class ACSObject

recordAttributeChange

public boolean recordAttributeChange(String action,
                                     String attr,
                                     Object oldValue,
                                     Object newValue)
Deprecated.  


trackChanges

public boolean trackChanges()
Deprecated.  


propagateMaster

protected void propagateMaster(VersionedACSObject master)
Deprecated.  


getCreationUser

public User getCreationUser()
Deprecated.  

Description copied from interface: Audited
Gets the user who created the object. May be null.

Specified by:
getCreationUser in interface Audited
Returns:
the user.

getCreationDate

public Date getCreationDate()
Deprecated.  

Description copied from interface: Audited
Gets the creation date of the object.

Specified by:
getCreationDate in interface Audited
Returns:
the object's creation date.

getCreationIP

public String getCreationIP()
Deprecated.  

Description copied from interface: Audited
Gets the creation IP address. May be null.

Specified by:
getCreationIP in interface Audited
Returns:
the creation IP address.

getLastModifiedUser

public User getLastModifiedUser()
Deprecated.  

Description copied from interface: Audited
Gets the user who last modified the object. May be null.

Specified by:
getLastModifiedUser in interface Audited
Returns:
the user who last modified the object.

getLastModifiedDate

public Date getLastModifiedDate()
Deprecated.  

Description copied from interface: Audited
Gets the last modified date.

Specified by:
getLastModifiedDate in interface Audited
Returns:
the date that the object was last modified.

getLastModifiedIP

public String getLastModifiedIP()
Deprecated.  

Description copied from interface: Audited
Gets the last modified IP address. May be null.

Specified by:
getLastModifiedIP in interface Audited

getMaster

public VersionedACSObject getMaster()
Deprecated.  


setMaster

public void setMaster(VersionedACSObject master)
Deprecated.  


isMaster

public boolean isMaster()
Deprecated.  


applyUniqueTag

public String applyUniqueTag(String prefix)
Deprecated.  


applyTag

public void applyTag(String tag)
Deprecated.  


rollBackTo

public void rollBackTo(String tag)
Deprecated.  


rollBackTo

public void rollBackTo(Transaction trans)
Deprecated.  


isRolledBack

public boolean isRolledBack()
Deprecated.  


getRolledBackTo

public Transaction getRolledBackTo()
Deprecated.  


rollForward

public void rollForward()
Deprecated.  


getTransactions

public TransactionCollection getTransactions(boolean descending)
Deprecated.  


getTransactions

public TransactionCollection getTransactions()
Deprecated.  


autoPropagateMaster

public void autoPropagateMaster(VersionedACSObject master)
Deprecated.  


permanentlyDelete

public void permanentlyDelete()
Deprecated.  


save

public void save(String tag)
Deprecated.  


isSubtype

protected static boolean isSubtype(ObjectType subType)
Deprecated.  



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC