public class DropFiles extends AbstractImplementation implements ExecutableIF
ImplementationIFarguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
DropFiles()
Create the using a context.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteFile(XSDContextIF ctx,
AoSession aoSession,
CORBAFileServerIF server,
T_ExternalReference ref,
boolean simulate,
java.util.logging.Logger logger)
/**
Delete files referenced by the external references.
|
void |
execute()
Execute the drop type implementation.
|
CORBAFileServerIF |
getFileServer()
Get the instance of the CORBAFileServer.
|
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, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getDescriptor, setArguments, setContext, setDescriptorpublic CORBAFileServerIF getFileServer()
public void init()
throws InitializationFailedException
init in interface ImplementationIFinit in class AbstractImplementationInitializationFailedException - if initialization fails.public void execute()
throws ExecutableException
execute in interface ExecutableIFExecutableException - if execution fails.public static void deleteFile(XSDContextIF ctx, AoSession aoSession, CORBAFileServerIF server, T_ExternalReference ref, boolean simulate, java.util.logging.Logger logger) throws java.lang.Exception
ctx - The dropper context.aoSession - the ASAM ODS session, used when corbafileserver, is available only.server - the CORBAFileServer.ref - the reference to be deleted.simulate - true if simulation mode.logger - the logger.java.lang.Exception - if something fails.public void terminate()
throws TerminationException
terminate in interface ExecutableIFTerminationException - if termination fails.