Class 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 Detail

      • OperationFileOrder

        public OperationFileOrder​(String p_strId,
                                  int p_iPosition)
        Parameters:
        p_strId - The file identifier (not null).
        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 (not null).
        p_operation - The move operation.
    • Method Detail

      • getFileName

        public String getFileName()
        Specified by:
        getFileName in interface de.uplanet.lucy.server.file.action.IOperationFile
      • getContentType

        public String getContentType()
        Specified by:
        getContentType in interface de.uplanet.lucy.server.file.action.IOperationFile
      • getFile

        public File getFile()
        Specified by:
        getFile in interface de.uplanet.lucy.server.file.action.IOperationFile
      • getId

        public String getId()
        Specified by:
        getId in interface de.uplanet.lucy.server.file.action.IOperationFile
      • getOperation

        public de.uplanet.lucy.server.file.action.FILEITEM_OPERATION getOperation()
        Specified by:
        getOperation in interface de.uplanet.lucy.server.file.action.IOperationFile
      • getPosition

        public int getPosition()
        Returns:
        Returns the position.
      • shouldUploadFileDeleteOnRollback

        public boolean shouldUploadFileDeleteOnRollback()
        Specified by:
        shouldUploadFileDeleteOnRollback in interface de.uplanet.lucy.server.file.action.IOperationFile
      • shouldUploadFileMove

        public boolean shouldUploadFileMove()
        Specified by:
        shouldUploadFileMove in interface de.uplanet.lucy.server.file.action.IOperationFile