|
|||||||||
| Home >> All >> com >> flexstor >> common >> data >> ejb >> [ disguise overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.flexstor.common.data.ejb.disguise
Class DisguiseData

java.lang.Objectcom.flexstor.common.data.ejb.Data
com.flexstor.common.data.ejb.disguise.DisguiseData
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DisguiseDataBuild
- public class DisguiseData
- extends com.flexstor.common.data.ejb.Data
This is the dataobject used to retrieve information for a particular Disguise. It is used exclusively by the client. This object is normally created by the Bean after a user request.
- Since:
- FLEXSTOR.db 3.0
- Version:
- 1.0, 04/19/99
| Field Summary | |
protected com.flexstor.common.keys.ejb.ApplicationKey |
appKey
|
protected com.flexstor.common.data.ejb.application.ApplicationData |
application
|
protected java.lang.String |
appName
|
protected boolean |
bLoad
|
protected boolean |
classify
|
boolean |
containAssetBucket
|
boolean |
containElementBucket
|
protected java.util.Vector |
disguiseBuckets
|
protected java.util.Vector |
displays
|
protected java.util.Vector |
exports
|
protected int |
id
|
static java.lang.String |
IDENTIFIER
|
protected com.flexstor.common.keys.ejb.DisguiseKey |
key
|
protected java.lang.String |
label
|
protected java.util.Vector |
privileges
|
protected java.util.Vector |
properties
Properties of all fields |
protected java.util.Vector |
reports
|
protected boolean |
valid
|
protected java.util.Vector |
vAssetPrivileges
Holds PrivAssetData objects (Asset Privileges) for this disguise |
protected com.flexstor.common.data.ejb.where.RestrictiveWhereData |
whereData
Holds the RestrictiveWhereData object for this disguise |
| 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 | |
DisguiseData()
Constructor : Create an Empty Disguise Data Object |
|
DisguiseData(java.lang.String sLabel)
Constructor : Set the label for the Disguise |
|
| Method Summary | |
com.flexstor.common.data.ejb.application.ApplicationData |
getApplicationDataObject()
This will return an application Data Object associated with this disguise. |
com.flexstor.common.keys.ejb.ApplicationKey |
getApplicationKey()
This will return an ApplicationKey for the application associated with this disguise. |
java.lang.String |
getAppName()
Retrieve the Application Name for this Disguise |
java.util.Vector |
getAssetPrivileges()
|
java.util.Vector |
getDisguiseBucketDataObjects()
Returns a collection of DisguiseBuckets for this disguise. |
java.util.Vector |
getDisplayDataObjects()
This will return a Vector of DisplayData Objects for this disguise. |
java.util.Vector |
getExportTemplateDataObjects()
Returns a collection of Export Template Data Objects associated with this Disguise. |
int |
getId()
Retrieve the Identifier for this Disguise. |
com.flexstor.common.keys.ejb.DisguiseKey |
getKey()
Get DisguiseKey associated with this object. |
java.lang.String |
getName()
Retrieve the label for the disguise. |
java.util.Vector |
getPrivilegeDataObjects()
This will get Privilege Objects for a disguise |
java.lang.String |
getProperty(java.lang.String key)
Get property where it accepts a property String and returns the value |
java.util.Vector |
getPropertyDataObjects()
This will return a list of properties. |
java.util.Vector |
getReportTemplateDataObjects()
This will return a Vector of Report Template Data Objects associated with this Disguise. |
com.flexstor.common.data.ejb.where.RestrictiveWhereData |
getWhereData()
|
boolean |
hasAsset()
This tells if a disguise has an Asset bucket |
boolean |
hasElement()
This tells if a disguise has an element bucket |
boolean |
isClassifiedDisguise()
Check whether the classify flag is true |
boolean |
isValidDisguise()
This will let the client know whether a Disguise is valid or not. |
boolean |
loadOnStartup()
Do we load everything? Or just references. |
boolean |
setApplicationDataObject(com.flexstor.common.data.ejb.application.ApplicationData dat)
This will set an application data object for this disguise. |
void |
setAssetPrivileges(java.util.Vector vAssetPrivileges)
|
void |
setKey(com.flexstor.common.keys.ejb.DisguiseKey key)
|
void |
setWhereData(com.flexstor.common.data.ejb.where.RestrictiveWhereData whereData)
|
| 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 |
IDENTIFIER
public static final java.lang.String IDENTIFIER
- See Also:
- Constant Field Values
label
protected java.lang.String label
reports
protected java.util.Vector reports
exports
protected java.util.Vector exports
key
protected com.flexstor.common.keys.ejb.DisguiseKey key
privileges
protected java.util.Vector privileges
displays
protected java.util.Vector displays
application
protected com.flexstor.common.data.ejb.application.ApplicationData application
appKey
protected com.flexstor.common.keys.ejb.ApplicationKey appKey
appName
protected java.lang.String appName
bLoad
protected boolean bLoad
valid
protected boolean valid
id
protected int id
disguiseBuckets
protected java.util.Vector disguiseBuckets
classify
protected boolean classify
properties
protected java.util.Vector properties
- Properties of all fields
- Since:
- FlexDB 3.0
containElementBucket
public boolean containElementBucket
containAssetBucket
public boolean containAssetBucket
vAssetPrivileges
protected java.util.Vector vAssetPrivileges
- Holds PrivAssetData objects (Asset Privileges) for this disguise
whereData
protected com.flexstor.common.data.ejb.where.RestrictiveWhereData whereData
- Holds the RestrictiveWhereData object for this disguise
| Constructor Detail |
DisguiseData
public DisguiseData()
- Constructor : Create an Empty Disguise Data Object
DisguiseData
public DisguiseData(java.lang.String sLabel)
- Constructor : Set the label for the Disguise
| Method Detail |
getName
public java.lang.String getName()
- Retrieve the label for the disguise.
getAppName
public java.lang.String getAppName()
- Retrieve the Application Name for this Disguise
loadOnStartup
public boolean loadOnStartup()
- Do we load everything? Or just references.
getId
public int getId()
- Retrieve the Identifier for this Disguise.
getDisplayDataObjects
public java.util.Vector getDisplayDataObjects()
- This will return a Vector of DisplayData Objects
for this disguise.
getApplicationDataObject
public com.flexstor.common.data.ejb.application.ApplicationData getApplicationDataObject()
- This will return an application Data Object
associated with this disguise.
setApplicationDataObject
public boolean setApplicationDataObject(com.flexstor.common.data.ejb.application.ApplicationData dat)
- This will set an application data object for this disguise.
Note that if the user updates this Object, this application
will be persisted with this disguise. This means that the Application
Data Object must contain a valid ApplicationKey.
getApplicationKey
public com.flexstor.common.keys.ejb.ApplicationKey getApplicationKey()
- This will return an ApplicationKey for the application
associated with this disguise.
isValidDisguise
public boolean isValidDisguise()
- This will let the client know whether a Disguise is valid or not.
The criteria is if the DisplayField names are equal
to the fielnames the DisplayFields reference.
getPrivilegeDataObjects
public java.util.Vector getPrivilegeDataObjects()
- This will get Privilege Objects for a disguise
getReportTemplateDataObjects
public java.util.Vector getReportTemplateDataObjects()
- This will return a Vector of Report Template
Data Objects associated with this Disguise.
getExportTemplateDataObjects
public java.util.Vector getExportTemplateDataObjects()
- Returns a collection of Export Template Data Objects
associated with this Disguise.
getDisguiseBucketDataObjects
public java.util.Vector getDisguiseBucketDataObjects()
- Returns a collection of DisguiseBuckets
for this disguise.
setKey
public void setKey(com.flexstor.common.keys.ejb.DisguiseKey key)
getKey
public com.flexstor.common.keys.ejb.DisguiseKey getKey()
- Get DisguiseKey associated with this object.
In order to persist this object, key has to be valid!
isClassifiedDisguise
public boolean isClassifiedDisguise()
- Check whether the classify flag is true
hasElement
public boolean hasElement()
- This tells if a disguise has an element bucket
hasAsset
public boolean hasAsset()
- This tells if a disguise has an Asset bucket
getPropertyDataObjects
public java.util.Vector getPropertyDataObjects()
- This will return a list of properties.
getProperty
public java.lang.String getProperty(java.lang.String key)
- Get property where it accepts a property String and returns the
value
setAssetPrivileges
public void setAssetPrivileges(java.util.Vector vAssetPrivileges)
getAssetPrivileges
public java.util.Vector getAssetPrivileges()
setWhereData
public void setWhereData(com.flexstor.common.data.ejb.where.RestrictiveWhereData whereData)
getWhereData
public com.flexstor.common.data.ejb.where.RestrictiveWhereData getWhereData()
|
|||||||||
| Home >> All >> com >> flexstor >> common >> data >> ejb >> [ disguise overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC