java.lang.Object
com.flexstor.common.data.ejb.Data
com.flexstor.common.data.ejb.disguiserecord.GenericBucketRecordData
com.flexstor.common.data.ejb.disguiserecord.AssetRoleData
com.flexstor.common.data.ejb.disguiserecord.LayoutRoleData
- All Implemented Interfaces:
- java.io.Serializable
- public class LayoutRoleData
- extends AssetRoleData
The AssetRoleData object specific for Layout assets.
|
Field Summary |
protected boolean |
bThumbAllPages
True if a thumbnail of every page within a layout should be created. |
protected int |
nNumOfPages
The number of pages within this layout |
protected int |
nPageSize
Size of the current page |
(package private) static long |
serialVersionUID
|
| Fields inherited from class com.flexstor.common.data.ejb.Data |
DELETE, DELETED, derived, htModifiedStates, htOptions, MODIFY, modTime, NEW_ENTRY, presentState, prevState, UNCHANGED, UPDATED, WARN_BEFORE_DELETE |
| Methods inherited from class com.flexstor.common.data.ejb.disguiserecord.GenericBucketRecordData |
addValue, cloneRecord, getBucketStructId, getDescription, getRecordId, getTraversalInfo, getTraversalPath, getValues, setBucketStructId, setDescription, setRecordId, setTraversalInfo, setTraversalInfo, setTraversalPath, setValues |
| Methods inherited from class com.flexstor.common.data.ejb.Data |
assertEquals, changed, fillCloneInfo, getDateModTime, getModTime, getPresentState, getPreviousState, initializeState, isDeleted, isDerived, isModified, isModified, isObjectPersist, isOptionAllowed, resetModifiedStates, rollBackState, setDeleted, setDerived, setModifiedState, setModTime, setModTime, setNewEntry, setOption, setPerisistState, setPreviousState, setState, setUpdated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
nNumOfPages
protected int nNumOfPages
- The number of pages within this layout
bThumbAllPages
protected boolean bThumbAllPages
- True if a thumbnail of every page within a layout should be created.
nPageSize
protected int nPageSize
- Size of the current page
LayoutRoleData
public LayoutRoleData()
getNoOfPages
public int getNoOfPages()
setNoOfPages
public boolean setNoOfPages(int pages)
isThumbAllPages
public boolean isThumbAllPages()
- Should a thumbnail be created for every page?
setThumbAllPages
public boolean setThumbAllPages(boolean thumbAllPages)
- Set to true if a thumbnail should be created for every page
getPageSize
public int getPageSize()
setPageSize
public boolean setPageSize(int size)
gatherData
public java.lang.String[] gatherData()
- Creates a String[] with all the values for all fields in this object
- Overrides:
gatherData in class AssetRoleData
cloneRole
public java.lang.Object cloneRole()
- Returns a cloned version of this LayoutRoleData object
- Overrides:
cloneRole in class AssetRoleData