Interface IVersionServiceMechanics
- All Superinterfaces:
IComponent
,IInitializable
,IMechanics
,ISystemHandler
Interface, which provides top level API for version service
-
Method Summary
Modifier and TypeMethodDescriptiongets admin's version service session, uses defaultIMetaContext
of version servicegets admin's version service session, overridesIMetaContext
to be used in the sessiongetSession
(String sUser, String sPassword) gets version service session, uses defaultIMetaContext
of version servicegetSession
(String sUser, String sPassword, IMetaContext mc) gets version service session, overridesIMetaContext
to be used in the sessionlistVersions
(String sBranchId, String sVersionId) lists all versions for given branchviewVersion
(String sVersionId) Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
-
Method Details
-
getSession
gets version service session, uses defaultIMetaContext
of version service- Parameters:
sUser
-sPassword
-- Returns:
- version service session
- Throws:
PortalException
-
getSession
gets version service session, overridesIMetaContext
to be used in the session- Parameters:
sUser
-sPassword
-mc
-IMetaContext
to be used in the session- Returns:
- version service session
- Throws:
PortalException
-
getAdminSession
gets admin's version service session, uses defaultIMetaContext
of version service- Returns:
- version service session
- Throws:
PortalException
-
getAdminSession
gets admin's version service session, overridesIMetaContext
to be used in the session- Parameters:
mc
-IMetaContext
to be used in the session- Returns:
- version service session
- Throws:
PortalException
-
listVersions
lists all versions for given branch- Parameters:
sBranchId
-sVersionId
-- Returns:
- Throws:
PortalException
-
viewVersion
- Parameters:
sVersionId
-- Returns:
- Throws:
PortalException
-