|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFileTransformationManager
Interface to be implemented by transformation managers.
Method Summary | |
---|---|
FileTransformation |
addFileTransformation(SessionConfig sessionConfig,
FileTransformation fileTransformation,
ITransaction transaction)
Persist a FileTransformation for a serviceInstance. |
FileTransformation |
getFileTransformation(String fileTransformationId,
ITransaction transaction)
Return a given persisted transformation. |
Collection<FileTransformation> |
getFileTransformationsByServiceInstanceId(String serviceInstanceId,
ITransaction transaction)
Returns all transformations for the given service instance. |
void |
removeFileTransformation(SessionConfig sessionConfig,
FileTransformation fileTransformation,
ITransaction transaction)
Removes the specified transformation and its related files. |
void |
updateFileTransformation(SessionConfig sessionConfig,
FileTransformation fileTransformation,
ITransaction transaction)
Updates a given transformation. |
Method Detail |
---|
FileTransformation addFileTransformation(SessionConfig sessionConfig, FileTransformation fileTransformation, ITransaction transaction) throws PortalException
sessionConfig
- the current session configuration.fileTransformation
- the transformation to be added.
PortalException
void updateFileTransformation(SessionConfig sessionConfig, FileTransformation fileTransformation, ITransaction transaction) throws PortalException
sessionConfig
- the current session configuration.fileTransformation
- the file transformation to be updatedtransaction
- the current transaction
PortalException
Collection<FileTransformation> getFileTransformationsByServiceInstanceId(String serviceInstanceId, ITransaction transaction) throws PortalException
serviceInstanceId
- the wished service instance id.
PortalException
FileTransformation getFileTransformation(String fileTransformationId, ITransaction transaction) throws PortalException
fileTransformationId
- the wished transformation id.transaction
- the transaction for persistence access.
PortalException
void removeFileTransformation(SessionConfig sessionConfig, FileTransformation fileTransformation, ITransaction transaction) throws PortalException
This method only schedules the removal, that will occur asynchrounsly. But the removal will only occur if the given transaction commits.
sessionConfig
- the current session configuration.fileTransformation
- the file transformation responsible for the file creation.transaction
- the transaction for persistence access.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |