public interface KrmsRuleManagementCopyMethods
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.
|
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
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
int deleteReferenceObjectBindingsCascade(String referenceDiscriminatorType, String referenceObjectId) throws org.kuali.rice.core.api.exception.RiceIllegalArgumentException, org.kuali.rice.core.api.exception.RiceIllegalStateException
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 handleCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.