Class OperationFileOrder
- java.lang.Object
-
- de.uplanet.lucy.server.dataobjects.impl.OperationFileOrder
-
- All Implemented Interfaces:
de.uplanet.lucy.server.file.action.IOperationFile
public final class OperationFileOrder extends Object implements de.uplanet.lucy.server.file.action.IOperationFile
-
-
Constructor Summary
Constructors Constructor Description OperationFileOrder(String p_strId, int p_iPosition)
OperationFileOrder(String p_strId, de.uplanet.lucy.server.file.action.FILEITEM_OPERATION p_operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
File
getFile()
String
getFileName()
String
getId()
de.uplanet.lucy.server.file.action.FILEITEM_OPERATION
getOperation()
int
getPosition()
boolean
shouldUploadFileDeleteOnRollback()
boolean
shouldUploadFileMove()
-
-
-
Constructor Detail
-
OperationFileOrder
public OperationFileOrder(String p_strId, int p_iPosition)
- Parameters:
p_strId
- The file identifier (notnull
).p_iPosition
- The position where move to, or -1 for the current position in the update stack.
-
OperationFileOrder
public OperationFileOrder(String p_strId, de.uplanet.lucy.server.file.action.FILEITEM_OPERATION p_operation)
- Parameters:
p_strId
- The file identifier (notnull
).p_operation
- The move operation.
-
-
Method Detail
-
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
-
getPosition
public int getPosition()
- Returns:
- Returns the position.
-
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
-
-