public class KrmsRuleManagementCopyMethodsImpl extends Object implements KrmsRuleManagementCopyMethods
Constructor and Description |
---|
KrmsRuleManagementCopyMethodsImpl() |
Modifier and Type | Method and Description |
---|---|
List<org.kuali.rice.krms.api.repository.reference.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() |
org.kuali.rice.krms.api.repository.RuleManagementService |
getRuleManagementService() |
org.kuali.rice.krms.api.repository.term.TermRepositoryService |
getTermRepositoryService() |
void |
setCluService(CluService cluService) |
void |
setRuleManagementService(org.kuali.rice.krms.api.repository.RuleManagementService ruleManagementService) |
void |
setTermRepositoryService(org.kuali.rice.krms.api.repository.term.TermRepositoryService termRepositoryService) |
public KrmsRuleManagementCopyMethodsImpl()
public List<org.kuali.rice.krms.api.repository.reference.ReferenceObjectBinding> deepCopyReferenceObjectBindingsFromTo(String fromReferenceDiscriminatorType, String fromReferenceObjectId, String toReferenceDiscriminatorType, String toReferenceObjectId, List<String> optionKeys) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.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 copyingorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if any of the parameters are null or invalidorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if they copy run into a data condition that it cannot handlePermissionDeniedException
MissingParameterException
InvalidParameterException
OperationFailedException
public int deleteReferenceObjectBindingsCascade(String referenceDiscriminatorType, String referenceObjectId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.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 objectorg.kuali.rice.core.api.exception.RiceIllegalArgumentException
- if any of the parameters are null or invalidorg.kuali.rice.core.api.exception.RiceIllegalStateException
- if the delete runs into a data condition that it cannot handlepublic org.kuali.rice.krms.api.repository.RuleManagementService getRuleManagementService()
public void setRuleManagementService(org.kuali.rice.krms.api.repository.RuleManagementService ruleManagementService)
public org.kuali.rice.krms.api.repository.term.TermRepositoryService getTermRepositoryService()
public void setTermRepositoryService(org.kuali.rice.krms.api.repository.term.TermRepositoryService termRepositoryService)
public CluService getCluService()
public void setCluService(CluService cluService)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.