org.opencms.gwt.shared
Class CmsReplaceInfo

java.lang.Object
  extended by org.opencms.gwt.shared.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
protected CmsReplaceInfo()
          Constructor.
  CmsReplaceInfo(CmsListInfoBean fileInfo, java.lang.String sitepath, boolean isLockable, long maxFileSize)
          Constructor.
 
Method Summary
 CmsListInfoBean getFileInfo()
          Returns the file info.
 long getMaxFileSize()
          Returns the maximum file upload size.
 java.lang.String getSitepath()
          Returns the resource site path.
 boolean isLockable()
          Returns if the file is lockable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

getFileInfo

public CmsListInfoBean 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 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