| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Asset
Represents the items under control of the version management system.
| Field Summary | |
|---|---|
| static java.lang.String | CLASS_VERSION | 
| Method Summary | |
|---|---|
|  java.util.List | getAllVersions()Returns all versions for this asset. | 
|  AssetVersion | getInitialVersion()Returns the first version of the asset that was imported or checked in. | 
|  AssetVersion | getInitialVersion(Branch branch)Returns the first version of an asset on a given branch. | 
|  AssetVersion | getMainVersion()Convenience method to get current version on main. | 
|  AssetVersion | getVersion(DevelopmentLine line)Gets the latest version of this asset in the given development line. | 
|  AssetVersion | getVersion(java.lang.String id)Look-up a version by local revision id. | 
|  int | getVersionCount()Get the number of versions in the history. | 
|  WorkingVersion | getWorkingVersion(VersionManagerURI workspaceURI)Get the checked-out working version for the given workspace. | 
|  WorkingVersion | getWorkingVersion(Workspace workspace)Get the checked-out working version for the given workspace. | 
|  boolean | isDeleted(DevelopmentLine codeline)Has this asset has been deleted in the given code line? | 
|  boolean | isLive(DevelopmentLine codeline)Returns true for everything except WorkingVersions since this type of version does not automatically change when other users check in new head revisions. | 
|  boolean | isLocked()Has this asset has been locked for deployment? | 
|  Workspace | lockedBy()Get the workspace that has this asset locked. | 
| Methods inherited from interface atg.versionmanager.ManagedElement | 
|---|
| getDisplayName, getName, getURI, getVersionManager | 
| Field Detail | 
|---|
static final java.lang.String CLASS_VERSION
| Method Detail | 
|---|
AssetVersion getVersion(DevelopmentLine line)
                        throws VersionException
VersionException
AssetVersion getMainVersion()
                            throws VersionException
VersionException
WorkingVersion getWorkingVersion(Workspace workspace)
                                 throws VersionException
workspace - to be searched for check-out
VersionException
WorkingVersion getWorkingVersion(VersionManagerURI workspaceURI)
                                 throws VersionException
workspaceURI - 
VersionException
java.util.List getAllVersions()
                              throws VersionException
VersionExceptionint getVersionCount()
AssetVersion getVersion(java.lang.String id)
                        throws VersionException
id - local version identifier
VersionException
AssetVersion getInitialVersion()
                               throws VersionException
VersionException
AssetVersion getInitialVersion(Branch branch)
                               throws VersionException
branch - 
VersionException
boolean isLive(DevelopmentLine codeline)
               throws VersionException
VersionException
boolean isDeleted(DevelopmentLine codeline)
                  throws VersionException
VersionException
boolean isLocked()
                 throws VersionException
VersionException
Workspace lockedBy()
                   throws VersionException
VersionException| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||