public interface IVersionService extends IComponent
Modifier and Type | Field and Description |
---|---|
static String |
LOG_CATEGORY_NAME |
static int |
VERSION_UPDATE_TYPE_BRANCH |
static int |
VERSION_UPDATE_TYPE_EDITABLE |
static int |
VERSION_UPDATE_TYPE_FIXED |
static String |
VERSION_URI |
Modifier and Type | Method and Description |
---|---|
IVersionURI |
acquireURI(String uri)
acquires version uri
|
boolean |
allowSystemSession()
Does this implementation of a versioning system provide a system session or user
|
IThingID |
getServiceID()
gets the service ID (for acl)
|
IVersionSession |
getSession()
Get the default session
|
IVersionSession |
getSession(IMetaContext mc)
Get the default session
|
IVersionSession |
getSession(String userId,
String password)
Get a session for the version control system
|
IVersionSession |
getSession(String userId,
String password,
IMetaContext mc)
Get a session for the version control system
|
IVersion |
lookup(IURI uri)
lookups a version by its uri
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
static final int VERSION_UPDATE_TYPE_BRANCH
static final int VERSION_UPDATE_TYPE_FIXED
static final int VERSION_UPDATE_TYPE_EDITABLE
static final String LOG_CATEGORY_NAME
static final String VERSION_URI
boolean allowSystemSession() throws VersionException
VersionException
IVersionSession getSession(String userId, String password) throws VersionException
userId
- the user to login aspassword
- the users passwordVersionException
IVersionSession getSession(String userId, String password, IMetaContext mc) throws VersionException
userId
- the user to login aspassword
- the users passwordmc
- overrides IMetaContext
to be used for sessionVersionException
IVersionSession getSession() throws VersionException
VersionException
IVersionSession getSession(IMetaContext mc) throws VersionException
mc
- overrides IMetaContext
to be used for sessionVersionException
IThingID getServiceID() throws VersionException
VersionException
IVersionURI acquireURI(String uri)
uri
- IVersion lookup(IURI uri) throws VersionException
uri
- VersionException