public class KrmsRuleManagementCopyMethodsImpl extends Object implements KrmsRuleManagementCopyMethods
Constructor and Description |
---|
KrmsRuleManagementCopyMethodsImpl() |
Modifier and Type | Method and Description |
---|---|
List<ReferenceObjectBinding> |
deepCopyReferenceObjectBindingsFromTo(String fromReferenceDiscriminatorType,
String fromReferenceObjectId,
String toReferenceDiscriminatorType,
String toReferenceObjectId,
List<String> optionKeys)
Does a deep copy of all the bindings and rules associated with those
bindings.
|
int |
deleteReferenceObjectBindingsCascade(String referenceDiscriminatorType,
String referenceObjectId)
Delete the rules associated with the specified reference object.
|
CluService |
getCluService() |
RuleManagementService |
getRuleManagementService() |
TermRepositoryService |
getTermRepositoryService() |
void |
setCluService(CluService cluService) |
void |
setRuleManagementService(RuleManagementService ruleManagementService) |
void |
setTermRepositoryService(TermRepositoryService termRepositoryService) |
public KrmsRuleManagementCopyMethodsImpl()
public List<ReferenceObjectBinding> deepCopyReferenceObjectBindingsFromTo(String fromReferenceDiscriminatorType, String fromReferenceObjectId, String toReferenceDiscriminatorType, String toReferenceObjectId, List<String> optionKeys) throws RiceIllegalArgumentException, RiceIllegalStateException, PermissionDeniedException, MissingParameterException, InvalidParameterException, OperationFailedException
KrmsRuleManagementCopyMethods
deepCopyReferenceObjectBindingsFromTo
in interface KrmsRuleManagementCopyMethods
fromReferenceDiscriminatorType
- the ref object uri of the existing reference objectfromReferenceObjectId
- the id of the reference objecttoReferenceDiscriminatorType
- the simple class name of the new reference objecttoReferenceObjectId
- the id of the reference objectoptionKeys
- configuration defined keys that control details of the copyingRiceIllegalArgumentException
- if any of the parameters are null or invalidRiceIllegalStateException
- if they copy run into a data condition that it cannot handlePermissionDeniedException
MissingParameterException
InvalidParameterException
OperationFailedException
public int deleteReferenceObjectBindingsCascade(String referenceDiscriminatorType, String referenceObjectId) throws RiceIllegalArgumentException, RiceIllegalStateException
KrmsRuleManagementCopyMethods
deleteReferenceObjectBindingsCascade
in interface KrmsRuleManagementCopyMethods
referenceDiscriminatorType
- the ref object uri of the reference object who's rules are to be deletedreferenceObjectId
- the id of the reference objectRiceIllegalArgumentException
- if any of the parameters are null or invalidRiceIllegalStateException
- if the delete runs into a data condition that it cannot handlepublic RuleManagementService getRuleManagementService()
public void setRuleManagementService(RuleManagementService ruleManagementService)
public TermRepositoryService getTermRepositoryService()
public void setTermRepositoryService(TermRepositoryService termRepositoryService)
public CluService getCluService()
public void setCluService(CluService cluService)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.