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 Details

    • OperationFileSingle

      public OperationFileSingle(de.uplanet.lucy.server.file.action.FILEITEM_OPERATION p_operation, String p_strRecId, String p_strId)
      Parameters:
      p_operation - The operation.
      p_strId - The file identifier (not null).
  • Method Details

    • 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 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
    • 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
    • getNewId

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

      public void setNewId(String p_id)
      Specified by:
      setNewId in interface de.uplanet.lucy.server.file.action.IOperationFile