Class OperationFileRename

java.lang.Object
de.uplanet.lucy.server.dataobjects.impl.OperationFileRename
All Implemented Interfaces:
de.uplanet.lucy.server.file.action.IOperationFile

public class OperationFileRename extends Object implements de.uplanet.lucy.server.file.action.IOperationFile
  • Constructor Details

    • OperationFileRename

      public OperationFileRename(String p_strId, String p_strName)
      Parameters:
      p_strId - The file identifier (not null).
      p_strName - The new file name.
  • Method Details

    • getNewName

      public String getNewName()
      Returns:
      Returns the newName.
    • 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