public interface TransferIF extends ImplementationIF
ImplementationIF| Modifier and Type | Method and Description |
|---|---|
void |
delete(java.lang.String name)
Delete the data associated with the given name.
|
void |
deleteForInstance(java.lang.String name,
T_LONGLONG aid,
T_LONGLONG iid)
Delete the data associated with the given name.
|
java.io.InputStream |
read(java.lang.String name)
Read the data associated with the given name.
|
java.io.InputStream |
readForInstance(java.lang.String name,
T_LONGLONG aid,
T_LONGLONG iid)
Read the data associated with the given name.
|
java.lang.String |
save(java.lang.String name,
java.lang.String subDir,
java.io.InputStream stream)
Save the data associated with the given intput stream.
|
java.lang.String |
saveForInstance(java.lang.String name,
java.lang.String subDir,
T_LONGLONG aid,
T_LONGLONG iid,
java.io.InputStream stream)
Save the data associated with the given intput stream.
|
void |
setSessionRef(java.lang.String referenceName)
Set the session reference to that this transferable belongs.
|
getContext, getDescriptor, init, setArguments, setContext, setDescriptorvoid setSessionRef(java.lang.String referenceName)
referenceName - the reference name.java.lang.String save(java.lang.String name,
java.lang.String subDir,
java.io.InputStream stream)
throws java.lang.Exception
name - the name of the file.subDir - an alternative sub directory, that can be specified, if the filename should not used to determine the destination folder.stream - the input stream, ready to read by the server.java.lang.Exceptionjava.lang.String saveForInstance(java.lang.String name,
java.lang.String subDir,
T_LONGLONG aid,
T_LONGLONG iid,
java.io.InputStream stream)
throws java.lang.Exception
name - the name of the file.subDir - an alternative sub directory, that can be specified, if the filename should not used to determine the destination folder.aid - the application element id.iid - the instance element id.stream - the input stream, ready to read by the server.java.lang.Exceptionvoid delete(java.lang.String name)
throws java.lang.Exception
name - the name of the file.java.lang.Exceptionvoid deleteForInstance(java.lang.String name,
T_LONGLONG aid,
T_LONGLONG iid)
throws java.lang.Exception
name - the name of the file.java.lang.Exceptionjava.io.InputStream read(java.lang.String name)
throws java.lang.Exception
name - the name of the file.java.lang.Exceptionjava.io.InputStream readForInstance(java.lang.String name,
T_LONGLONG aid,
T_LONGLONG iid)
throws java.lang.Exception
name - the name of the file.aid - the application element id.iid - the instance element id.java.lang.Exception