Class OperationFileSingle
- java.lang.Object
-
- de.uplanet.lucy.server.dataobjects.impl.OperationFileSingle
-
- All Implemented Interfaces:
de.uplanet.lucy.server.file.action.IOperationFile
public final class OperationFileSingle extends Object implements de.uplanet.lucy.server.file.action.IOperationFile
-
-
Constructor Summary
Constructors Constructor Description OperationFileSingle(de.uplanet.lucy.server.file.action.FILEITEM_OPERATION p_operation, String p_strRecId, String p_strId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationFileSingle
deleteFile(String p_strRecId, String p_strId)
String
getContentType()
File
getFile()
String
getFileName()
String
getId()
de.uplanet.lucy.server.file.action.FILEITEM_OPERATION
getOperation()
String
getRecId()
static OperationFileSingle
refreshMetaData(String p_strRecId, String p_strId)
boolean
shouldUploadFileDeleteOnRollback()
boolean
shouldUploadFileMove()
-
-
-
Method Detail
-
deleteFile
public static OperationFileSingle deleteFile(String p_strRecId, String p_strId)
-
refreshMetaData
public static OperationFileSingle refreshMetaData(String p_strRecId, String p_strId)
-
getRecId
public String getRecId()
- Returns:
- the recId
-
getFileName
public String getFileName()
- Specified by:
getFileName
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
getFile
public File getFile()
- Specified by:
getFile
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
getId
public String getId()
- Specified by:
getId
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
getOperation
public de.uplanet.lucy.server.file.action.FILEITEM_OPERATION getOperation()
- Specified by:
getOperation
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
shouldUploadFileDeleteOnRollback
public boolean shouldUploadFileDeleteOnRollback()
- Specified by:
shouldUploadFileDeleteOnRollback
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
shouldUploadFileMove
public boolean shouldUploadFileMove()
- Specified by:
shouldUploadFileMove
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
-