public class DropFiles extends AbstractImplementation implements ExecutableIF
ImplementationIF
arguments, 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, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
public CORBAFileServerIF getFileServer()
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 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 ExecutableIF
TerminationException
- if termination fails.