public interface IVersionServiceMechanics extends IMechanics
Modifier and Type | Method and Description |
---|---|
IVersionSession |
getAdminSession()
gets admin's version service session, uses default
IMetaContext of version service |
IVersionSession |
getAdminSession(IMetaContext mc)
gets admin's version service session, overrides
IMetaContext to be used in the session |
IVersionSession |
getSession(String sUser,
String sPassword)
gets version service session, uses default
IMetaContext of version service |
IVersionSession |
getSession(String sUser,
String sPassword,
IMetaContext mc)
gets version service session, overrides
IMetaContext to be used in the session |
IListView<IView> |
listVersions(String sBranchId,
String sVersionId)
lists all versions for given branch
|
IViewableVersion |
viewVersion(String sVersionId) |
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
IVersionSession getSession(String sUser, String sPassword) throws PortalException
IMetaContext
of version servicesUser
- sPassword
- PortalException
IVersionSession getSession(String sUser, String sPassword, IMetaContext mc) throws PortalException
IMetaContext
to be used in the sessionsUser
- sPassword
- mc
- IMetaContext
to be used in the sessionPortalException
IVersionSession getAdminSession() throws PortalException
IMetaContext
of version servicePortalException
IVersionSession getAdminSession(IMetaContext mc) throws PortalException
IMetaContext
to be used in the sessionmc
- IMetaContext
to be used in the sessionPortalException
IListView<IView> listVersions(String sBranchId, String sVersionId) throws PortalException
sBranchId
- sVersionId
- PortalException
IViewableVersion viewVersion(String sVersionId) throws PortalException
sVersionId
- PortalException