Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.data.ejb.disguiserecord
Class LayoutRoleData  view LayoutRoleData download LayoutRoleData.java

java.lang.Object
  extended bycom.flexstor.common.data.ejb.Data
      extended bycom.flexstor.common.data.ejb.disguiserecord.GenericBucketRecordData
          extended bycom.flexstor.common.data.ejb.disguiserecord.AssetRoleData
              extended bycom.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.disguiserecord.AssetRoleData
bTempRole, nAssetRoleId, sAssetFileType
 
Fields inherited from class com.flexstor.common.data.ejb.disguiserecord.GenericBucketRecordData
nBucketStructId, nRecordId, sDescription, traversalInfo, vFields, vTraversalPath
 
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
 
Constructor Summary
LayoutRoleData()
           
 
Method Summary
 java.lang.Object cloneRole()
          Returns a cloned version of this LayoutRoleData object
 java.lang.String[] gatherData()
          Creates a String[] with all the values for all fields in this object
 int getNoOfPages()
           
 int getPageSize()
           
 boolean isThumbAllPages()
          Should a thumbnail be created for every page?
 boolean setNoOfPages(int pages)
           
 boolean setPageSize(int size)
           
 boolean setThumbAllPages(boolean thumbAllPages)
          Set to true if a thumbnail should be created for every page
 
Methods inherited from class com.flexstor.common.data.ejb.disguiserecord.AssetRoleData
cloneAssetRole, getAssetFileType, getAssetRoleData, getAssetRoleData, getAssetRoleId, isTempRole, setAssetFileType, setAssetRoleId, setTempRole
 
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
 

Field Detail

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

Constructor Detail

LayoutRoleData

public LayoutRoleData()
Method Detail

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