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
ConstructorDescriptionOperationFileOrder
(String p_strId, int p_iPosition) OperationFileOrder
(String p_strId, de.uplanet.lucy.server.file.action.FILEITEM_OPERATION p_operation) -
Method Summary
-
Constructor Details
-
OperationFileOrder
- 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 Details
-
getNewId
- Specified by:
getNewId
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
setNewId
- Specified by:
setNewId
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
getFileName
- Specified by:
getFileName
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
getContentType
- Specified by:
getContentType
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
getFile
- Specified by:
getFile
in interfacede.uplanet.lucy.server.file.action.IOperationFile
-
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
-