Interface AccountabilityService
- All Known Implementing Classes:
AccountabilityServiceImpl
public interface AccountabilityService
The service class for performing different operations on the Accountability Map.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptioncompare(CompareSCParams params) Compares a 'current' revision of a Smart Collection with 'previous' revision.editAccountabilityMap(AccountabilityMap accMap, AccountabilityBean accBean) This API will consume all information passed in the Accountabilitybean to edit an existing Accountability map.generateConfigurationMap(AccountabilityMap sourceAccMap) This API will create a new Accountability Map from the source.getAccountabilityMapRefs(WTSet parts) This API returns references of all Accountability maps that contain any of the input parts(as a value) as well as references of all accountability maps that have any of the input parts set as root context.This API returns references of all Accountability maps that contain the input part(as a value) as well as references of all accountability maps that have the input part set as root context.Gets list of accessible Accountability Maps for a user
Supported API: true
getAccountabilityMaps(boolean isLatestOnly) Gets list of accessible Accountability Maps for a user If isLatestOnly is set to true, only latest revisions will be returned.getAccountabilityMaps(Set<WTPart> parts) This API returns all accountability maps that contain any of the input parts(as a value) as well as all accountability maps that have any of the input parts set as root context.getAccountabilityMaps(WTPart part) This API returns all accountability maps that contain the input part(as a value) as well as all accountability maps that have the input part set as root context.populateAccountabilityContent(AccountabilityMap accMap, AccountabilityBean accountabilityBean) This API will consume all information passed in the Accountabilitybean to create a new Accountability map.
-
Method Details
-
populateAccountabilityContent
AccountabilityReport populateAccountabilityContent(AccountabilityMap accMap, AccountabilityBean accountabilityBean) throws WTException This API will consume all information passed in the Accountabilitybean to create a new Accountability map.
Supported API: true
- Parameters:
AccountabilityMap- persisted accMapAccountabilityBean- - the bean that contains all the selection of roots, NCs and paths required to create Accountability map.- Returns:
- Throws:
WTExceptionWTPropertyVetoException
-
generateConfigurationMap
This API will create a new Accountability Map from the source.
Supported API: true
- Parameters:
configBean-- Returns:
- Throws:
WTExceptionWTPropertyVetoException
-
editAccountabilityMap
AccountabilityReport editAccountabilityMap(AccountabilityMap accMap, AccountabilityBean accBean) throws WTException This API will consume all information passed in the Accountabilitybean to edit an existing Accountability map.
Supported API: true
- Parameters:
accMap- persisted accMapaccBean- - the bean that contains all the selection of roots, NCs and paths required to edit Accountability map.- Returns:
- Throws:
WTException
-
getAccountabilityMaps
This API returns all accountability maps that contain the input part(as a value) as well as all accountability maps that have the input part set as root context. All versions of an accountability map found will be returned.
Supported API: true
- Parameters:
part-- Returns:
- Set
- Throws:
WTException
-
getAccountabilityMapRefs
This API returns references of all Accountability maps that contain the input part(as a value) as well as references of all accountability maps that have the input part set as root context. All versions of an accountability map found will be returned.
Supported API: true
- Parameters:
part-- Returns:
- Set
- Throws:
WTException
-
getAccountabilityMaps
This API returns all accountability maps that contain any of the input parts(as a value) as well as all accountability maps that have any of the input parts set as root context. All versions of accountability maps found will be returned.
Supported API: true
- Parameters:
part-- Returns:
- Set
- Throws:
WTException
-
getAccountabilityMapRefs
This API returns references of all Accountability maps that contain any of the input parts(as a value) as well as references of all accountability maps that have any of the input parts set as root context. All versions of accountability maps found will be returned.
Supported API: true
- Parameters:
part-- Returns:
- Set
- Throws:
WTException
-
getAccountabilityMaps
Gets list of accessible Accountability Maps for a user
Supported API: true
- Returns:
- WTHashSet
- Throws:
WTException
-
compare
Compares a 'current' revision of a Smart Collection with 'previous' revision.
Supported API: true
- Parameters:
params- - CompareSCParams containing current and previous Smart Collection revisions- Returns:
SmartCollectionComparisonResult- Throws:
WTException
-
getAccountabilityMaps
Gets list of accessible Accountability Maps for a user If isLatestOnly is set to true, only latest revisions will be returned. *
Supported API: true
- Parameters:
isLatestOnly-- Returns:
- WTHashSet
- Throws:
WTException
-