|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectde.mid.innovator.srv2api.icw2meta.ADRevisionHelper
public abstract class ADRevisionHelper
This is a utility class for ADRevision that provides static methods for creation or other purposes.
ADRevision| Method Summary | |
|---|---|
static ARG_RevisionRepositoriesList |
checkOutModel(SrvContext srvCtx,
String locationRepository,
String revisionReference,
String locationCheckOut,
boolean readOnly,
String sectionName)
Copies the specified revision from the revision repository to the given location and starts a repository server. |
static void |
createRevisionRepository(SrvContext srvCtx,
String locationRepository,
String uuid)
Creates a revision repository at the specified location. |
static void |
deleteRevision(SrvContext srvCtx,
String locationRepository,
String revisionReference)
Deletes the revision from the revision repository at the specified location. |
static void |
deleteRevisionRepository(SrvContext srvCtx,
String locationRepository)
Deletes the revision repository at the specified location. |
static ARG_RevisionRepositoriesList |
getListRevisionRepositories(SrvContext srvCtx,
String uuid)
List all known revision repositories. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ARG_RevisionRepositoriesList checkOutModel(SrvContext srvCtx,
String locationRepository,
String revisionReference,
String locationCheckOut,
boolean readOnly,
String sectionName)
throws InoNetException,
SrvErrorException
srvCtx - The context of the related innovator server.locationRepository - location of the revision repositoryrevisionReference - branch/tag name of the revision to be checked outlocationCheckOut - target direcotry relative to inoprj for check outreadOnly - start server in read only mode and delete repository at server shutdownsectionName - name of primary section
InoNetException
SrvErrorException
public static void createRevisionRepository(SrvContext srvCtx,
String locationRepository,
String uuid)
throws InoNetException,
SrvErrorException
srvCtx - The context of the related innovator server.locationRepository - location of the revision repositoryuuid - uuid of the model whose revision are stored in the repository
InoNetException
SrvErrorException
public static void deleteRevision(SrvContext srvCtx,
String locationRepository,
String revisionReference)
throws InoNetException,
SrvErrorException
srvCtx - The context of the related innovator server.locationRepository - location of the revision repositoryrevisionReference - branch/tag name of the revision
InoNetException
SrvErrorException
public static void deleteRevisionRepository(SrvContext srvCtx,
String locationRepository)
throws InoNetException,
SrvErrorException
srvCtx - The context of the related innovator server.locationRepository - location of the revision repository
InoNetException
SrvErrorException
public static ARG_RevisionRepositoriesList getListRevisionRepositories(SrvContext srvCtx,
String uuid)
throws InoNetException,
SrvErrorException
srvCtx - The context of the related innovator server.uuid - restrict result by this uuid
InoNetException
SrvErrorException
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||