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

      • OperationFileRename

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

      • 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