|
|||||||||
| 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 DisguiseDataBuild

java.lang.Objectcom.flexstor.common.data.ejb.Data
com.flexstor.common.data.ejb.disguise.DisguiseData
com.flexstor.common.data.ejb.disguise.DisguiseDataBuild
- All Implemented Interfaces:
- java.io.Serializable
- public class DisguiseDataBuild
- extends DisguiseData
This interface defines a Disguise of the FLEXSTOR.db system.
An instance of Disguise is accessed by the client to retrieve all of the user information.
Developer Notes:
- There will be a MaintenanceBean for adding, deleting, and updating Disguise objects to the database.
- A User will request a Disguise Object by the Identifier
- Since:
- FLEXSTOR.db 3.0
- Version:
- 1.0, 10/19/98
| Field Summary | |
(package private) static java.lang.String |
IDENTIFIER
|
(package private) static long |
serialVersionUID
|
| Fields inherited from class com.flexstor.common.data.ejb.disguise.DisguiseData |
appKey, application, appName, bLoad, classify, containAssetBucket, containElementBucket, disguiseBuckets, displays, exports, id, key, label, privileges, properties, reports, valid, vAssetPrivileges, whereData |
| 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 | |
DisguiseDataBuild()
Constructor |
|
DisguiseDataBuild(java.lang.String name)
Constructor |
|
| Method Summary | |
void |
addDisplayDataObject(com.flexstor.common.data.ejb.display.DisplayData disDat)
This will add a Display Object to collection |
void |
addExportObject(com.flexstor.common.data.ejb.exporttemplate.ExportTemplateData ex)
Add Export Template to collection |
void |
addReportObject(com.flexstor.common.data.ejb.reporttemplate.ReportTemplateData datDat)
Add a report template object to collection |
boolean |
orderBuckets()
This is a helper function that will take the display fields and order them by position. |
void |
setApplicationKey(com.flexstor.common.keys.ejb.ApplicationKey appDat)
This will set an ApplicationKey associated with a disguise |
void |
setAppName(java.lang.String appDat)
This will set an Application Name associated with a disguise |
boolean |
setClassify(java.lang.String classify)
Set the classify flag true or false based upon the first byte of a String 'Y' or 'N'. |
void |
setDisguiseBucketDataObjects(java.util.Vector buckThisList)
sets a collection of DisguiseBucketDataObjects |
void |
setDisplayDataObjects(java.util.Vector disDat)
This will set a DisplayData Collection |
void |
setExportDataObjects(java.util.Vector ex)
sets a collection of Keys to Export Templates |
void |
setId(int Id)
Set the ID for the application |
void |
setKey(com.flexstor.common.keys.ejb.DisguiseKey key)
sets a collection of Keys to Export Templates |
void |
setLoad(java.lang.String load)
This will set whether to Load All Classes for this disguise or just references. |
void |
setName(java.lang.String sLabel)
Set the label for the Disguise. |
void |
setPrivilegeDataObjects(java.util.Vector privDat)
This will set Privilege Object for a disguise |
void |
setPropertyDataObjects(java.util.Vector props)
This will set a list of properties. |
void |
setReportDataObjects(java.util.Vector datDat)
Set ReportTemplate Vector collection |
void |
setValid(boolean disVal)
Set disguise to a valid state This always returns true for now. |
boolean |
validateDisguise()
This will validate a disguise based on the following criteria: Does the DisplayField names match the Field name they reference?? |
| Methods inherited from class com.flexstor.common.data.ejb.disguise.DisguiseData |
getApplicationDataObject, getApplicationKey, getAppName, getAssetPrivileges, getDisguiseBucketDataObjects, getDisplayDataObjects, getExportTemplateDataObjects, getId, getKey, getName, getPrivilegeDataObjects, getProperty, getPropertyDataObjects, getReportTemplateDataObjects, getWhereData, hasAsset, hasElement, isClassifiedDisguise, isValidDisguise, loadOnStartup, setApplicationDataObject, setAssetPrivileges, setWhereData |
| 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
static final java.lang.String IDENTIFIER
- See Also:
- Constant Field Values
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
| Constructor Detail |
DisguiseDataBuild
public DisguiseDataBuild()
- Constructor
DisguiseDataBuild
public DisguiseDataBuild(java.lang.String name)
- Constructor
| Method Detail |
setId
public void setId(int Id)
- Set the ID for the application
addDisplayDataObject
public void addDisplayDataObject(com.flexstor.common.data.ejb.display.DisplayData disDat)
- This will add a Display Object to collection
setDisplayDataObjects
public void setDisplayDataObjects(java.util.Vector disDat)
- This will set a DisplayData Collection
setApplicationKey
public void setApplicationKey(com.flexstor.common.keys.ejb.ApplicationKey appDat)
- This will set an ApplicationKey associated with a disguise
setAppName
public void setAppName(java.lang.String appDat)
- This will set an Application Name associated with a disguise
setValid
public void setValid(boolean disVal)
- Set disguise to a valid state
This always returns true for now. (Not Implemented)
validateDisguise
public boolean validateDisguise()
- This will validate a disguise based on the following
criteria:
Does the DisplayField names match the Field name they reference??
setPrivilegeDataObjects
public void setPrivilegeDataObjects(java.util.Vector privDat)
- This will set Privilege Object for a disguise
setLoad
public void setLoad(java.lang.String load)
- This will set whether to Load All Classes for this disguise
or just references. At the moment it will only load references.
addReportObject
public void addReportObject(com.flexstor.common.data.ejb.reporttemplate.ReportTemplateData datDat)
- Add a report template object to collection
setReportDataObjects
public void setReportDataObjects(java.util.Vector datDat)
- Set ReportTemplate Vector collection
addExportObject
public void addExportObject(com.flexstor.common.data.ejb.exporttemplate.ExportTemplateData ex)
- Add Export Template to collection
setExportDataObjects
public void setExportDataObjects(java.util.Vector ex)
- sets a collection of Keys to Export Templates
setDisguiseBucketDataObjects
public void setDisguiseBucketDataObjects(java.util.Vector buckThisList)
- sets a collection of DisguiseBucketDataObjects
setKey
public void setKey(com.flexstor.common.keys.ejb.DisguiseKey key)
- sets a collection of Keys to Export Templates
- Overrides:
setKeyin classDisguiseData
setName
public void setName(java.lang.String sLabel)
- Set the label for the Disguise. This can be modified
by a client, but in order to be persisted has to be
passed to the update method in the bean.
orderBuckets
public boolean orderBuckets()
- This is a helper function that will
take the display fields and order them
by position. It uses a bubble sort algorithm
which is slow for large Vectors, but should be
acceptable because of the small number of
displayable fields for a layout.
- Since:
- FlexDB 3.0
setClassify
public boolean setClassify(java.lang.String classify)
- Set the classify flag true or false based upon
the first byte of a String 'Y' or 'N'.
setPropertyDataObjects
public void setPropertyDataObjects(java.util.Vector props)
- This will set a list of properties.
|
|||||||||
| 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