Package org.opencms.gwt.shared
Class CmsReplaceInfo
- java.lang.Object
-
- 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
Constructors Modifier Constructor Description protected
CmsReplaceInfo()
Constructor.CmsReplaceInfo(CmsListInfoBean fileInfo, java.lang.String sitepath, boolean isLockable, long maxFileSize)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
CmsReplaceInfo
public CmsReplaceInfo(CmsListInfoBean fileInfo, java.lang.String sitepath, boolean isLockable, long maxFileSize)
Constructor.- Parameters:
fileInfo
- the file infositepath
- the resource site pathisLockable
- if the file is lockablemaxFileSize
- 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
-
-