public class DropType extends AbstractImplementation implements ExecutableIF
ImplementationIF
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
DropType()
Create the using a context.
|
Modifier and Type | Method and Description |
---|---|
protected void |
evaluateDrop(Dropper dropper,
OdsCacheIF cache,
ApplicationStructure asObj,
ApplElemAccess aea,
AsamOdsFactoryIF factory,
Drop drop)
Evaluate the drop descriptor.
|
protected void |
evaluateResultSet(Dropper dropper,
OdsCacheIF cache,
boolean recursive,
boolean delete,
boolean deletefiles,
boolean deleterefs,
ResultSetExt[] res)
Evaluate the result set.
|
void |
execute()
Execute the drop type implementation.
|
void |
init()
Initialize the object.
|
void |
terminate()
Terminate the drop type implementation
|
addAttributesToNameValueUnitArray, 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, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
public void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- if initialization fails.public void execute() throws ExecutableException
execute
in interface ExecutableIF
ExecutableException
- if excution fails.protected void evaluateResultSet(Dropper dropper, OdsCacheIF cache, boolean recursive, boolean delete, boolean deletefiles, boolean deleterefs, ResultSetExt[] res) throws AoException, java.text.ParseException
dropper
- the dropper instance.cache
- the ASAM ODS cache.recursive
- the recursive flag.delete
- true, if element should be deleted.
If the recursive flag is AUTO, this flag will be set to
true automatically.deletefiles
- true, if referenced files should be deleted.deleterefs
- true, if cold references should be deleted.res
- the result.AoException
- if ASAM ODS fails.java.text.ParseException
- if a parser problem occurs.protected void evaluateDrop(Dropper dropper, OdsCacheIF cache, ApplicationStructure asObj, ApplElemAccess aea, AsamOdsFactoryIF factory, Drop drop) throws java.text.ParseException, AoException
dropper
- the dropper object.cache
- the ASAM ODS cahce.asObj
- the application structure.aea
- the application element access.factory
- the ASAM ODS factory implementation.drop
- the drop descriptor.java.text.ParseException
- if parser failsAoException
- if ASAM ODS fails.public void terminate() throws TerminationException
terminate
in interface ExecutableIF
TerminationException
- if termination fails.