Class CmsReplaceInfo

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.IsSerializable

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

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected CmsReplaceInfo()
      Constructor.
        CmsReplaceInfo​(CmsListInfoBean fileInfo, java.lang.String sitepath, boolean isLockable, long maxFileSize)
      Constructor.
    • Constructor Detail

      • CmsReplaceInfo

        public CmsReplaceInfo​(CmsListInfoBean fileInfo,
                              java.lang.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 Detail

      • getMaxFileSize

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

        Returns:
        the maximum file upload size
      • getSitepath

        public java.lang.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