public class CopyInstancesWithRelatedRule extends CopyInstancesAbstractRule
aeIdMap, checkInstElem, copyInstanceAttributes, skipId, skipValues, targetSess, useGetValueSeq, userGroupMap, withSecurityelementName, handledMap, messenger, sourceSess, useDestroyloggerName, postMethods, preMethods, sessionRefarguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
CopyInstancesWithRelatedRule() |
| Modifier and Type | Method and Description |
|---|---|
NameValueUnit[][] |
getValue()
ElementToRule, nothing to do at getValue()
|
void |
init()
The initialization of the rule.
|
protected InstanceElement |
instanceElementCopyRelated(InstanceElement ie,
ApplicationStructure sourceAs,
ApplicationStructure targetAs,
boolean copyChild,
InstanceElement ieTargetFather)
Copy an instance element from the source instance element structure to the
target instance element structure.
|
void |
setValue(NameValueUnit[][] nvu)
Set the value.
|
void |
terminate()
The terminate method, reset the local variables.
|
copyInitialRights, copyRights, createCopiedInstance, getAttributeDatatype, getAttributName, getTargetAID, getTargetUserGroup, init, linkRelated, listAttributes, listElementAttributes, loadFromTarget, terminateaddCopied, addHandledId, checkHandledId, destroy, destroy, execute, getCopiedTarget, getIds, getIds, getIdValue, getTargetApplicationRelation, setValue, stactTraceToStringexecute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, toString, toString, toStringaddAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setArguments, setContext, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContext, getDescriptor, setArguments, setContext, setDescriptorpublic NameValueUnit[][] getValue()
getValue in interface RuleIFgetValue in class CopyInstancesAbstractRuleRuleIF.getValue()protected InstanceElement instanceElementCopyRelated(InstanceElement ie, ApplicationStructure sourceAs, ApplicationStructure targetAs, boolean copyChild, InstanceElement ieTargetFather) throws AoException
ie - the instance element to be copiedsourceAs - the source application structuretargetAs - the target application structurecopyChild - copy also the child instances.ieTargetFather - the instance element with a FATHER relation to the parameter "ie"AoException - thrown when an ASAM ODS Exception occurspublic void setValue(NameValueUnit[][] nvu) throws RuleException
setValue in interface RuleIFsetValue in class AscobaAbstractRulenvu - -
the attribute values of the instances of the element of the rule.RuleExceptionRuleIF.setValue(org.asam.ods.NameValueUnit[][])public void init()
throws InitializationFailedException
init in interface ImplementationIFinit in class AbstractImplementationInitializationFailedException - if the initialization fails.AbstractImplementation.init()public void terminate()
throws TerminationException
terminate in interface ExecutableIFterminate in class AbstractRuleTerminationException - if termination fails.AbstractRule.terminate()