Class CmsReplaceInfo

java.lang.Object
org.opencms.gwt.shared.CmsReplaceInfo
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable

public class CmsReplaceInfo extends Object implements com.google.gwt.user.client.rpc.IsSerializable
File replace dialog info.

  • Constructor Details

    • CmsReplaceInfo

      public CmsReplaceInfo(CmsListInfoBean fileInfo, String sitepath, boolean isLockable, long maxFileSize)
      Constructor.

      Parameters:
      fileInfo - the file info
      sitepath - the resource site path
      isLockable - if the file is lockable
      maxFileSize - the maximum file upload size
    • CmsReplaceInfo

      protected CmsReplaceInfo()
      Constructor. For serialization only.

  • Method Details

    • getFileInfo

      Returns the file info.

      Returns:
      the file info
    • getMaxFileSize

      public long getMaxFileSize()
      Returns the maximum file upload size.

      Returns:
      the maximum file upload size
    • getSitepath

      public String getSitepath()
      Returns the resource site path.

      Returns:
      the resource site path
    • isLockable

      public boolean isLockable()
      Returns if the file is lockable.

      Returns:
      true if the file is lockable