|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
atg.versionmanager.event.VersionEvent
public class VersionEvent
A versioning event, with various optional data members.
Field Summary | |
---|---|
static int |
CHECKIN
|
static int |
CHECKOUT
|
static java.lang.String |
CLASS_VERSION
|
static int |
NEW_ASSET
|
static int |
RESOLVE
|
static int |
REVERT
|
Fields inherited from class java.util.EventObject |
---|
source |
Method Summary | |
---|---|
AssetVersion |
getAsset()
|
java.lang.String |
getAssetRepository()
get AssetRepository |
java.lang.String |
getAssetType()
get AssetType |
Workspace |
getCheckinWorkspace()
If this is a CHECKIN event the workspace which is being checked in. |
DevelopmentLine |
getDevelopmentLine()
The DevelopmentLine for the operation. |
int |
getEventType()
Returns the code for the type of change that occurred. |
VersionManagerURI |
getOldAssetURI()
|
VersionManager |
getVersionManager()
The version manager that emitted this event. |
void |
setAssetRepository(java.lang.String pAssetRepository)
set AssetRepository |
void |
setAssetType(java.lang.String pAssetType)
set AssetType |
java.lang.String |
toString()
|
boolean |
wasCheckin()
|
boolean |
wasCheckout()
|
boolean |
wasNewAsset()
|
boolean |
wasResolve()
|
boolean |
wasRevert()
|
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
public static final int CHECKIN
public static final int CHECKOUT
public static final int NEW_ASSET
public static final int RESOLVE
public static final int REVERT
Constructor Detail |
---|
public VersionEvent(java.lang.Object source)
public VersionEvent(int type, VersionManager vm)
public VersionEvent(int type, VersionManager vm, DevelopmentLine line)
public VersionEvent(int type, VersionManager vm, AssetVersion asset)
public VersionEvent(int type, VersionManager vm, AssetVersion asset, VersionManagerURI oldAssetURI)
public VersionEvent(int type, VersionManager vm, DevelopmentLine line, AssetVersion asset)
public VersionEvent(int type, VersionManager vm, DevelopmentLine line, AssetVersion asset, VersionManagerURI oldAssetURI)
public VersionEvent(int type, VersionManager vm, DevelopmentLine line, VersionManagerURI asset)
public VersionEvent(int type, VersionManager vm, DevelopmentLine line, VersionManagerURI asset, Workspace checkinWorkspace)
public VersionEvent(int type, VersionManager vm, DevelopmentLine line, VersionManagerURI asset, VersionManagerURI oldAssetURI)
public VersionEvent(int type, VersionManager vm, VersionManagerURI devLine, VersionManagerURI asset)
public VersionEvent(int type, VersionManager vm, VersionManagerURI devLine, VersionManagerURI asset, VersionManagerURI oldAssetURI)
public VersionEvent(int type, VersionManager vm, java.lang.String devLine, VersionManagerURI asset)
public VersionEvent(int type, VersionManager vm, java.lang.String devLine, VersionManagerURI asset, VersionManagerURI oldAssetURI)
Method Detail |
---|
public int getEventType()
public boolean wasCheckin()
public boolean wasCheckout()
public boolean wasNewAsset()
public boolean wasResolve()
public boolean wasRevert()
public VersionManager getVersionManager()
public DevelopmentLine getDevelopmentLine() throws VersionException
VersionException
public Workspace getCheckinWorkspace()
public AssetVersion getAsset() throws VersionException
VersionException
public VersionManagerURI getOldAssetURI()
public void setAssetType(java.lang.String pAssetType)
pAssetType
- the AssetTypepublic java.lang.String getAssetType()
public void setAssetRepository(java.lang.String pAssetRepository)
pAssetRepository
- the AssetRepositorypublic java.lang.String getAssetRepository()
public java.lang.String toString()
toString
in class java.util.EventObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |