java.lang.Object
com.flexstor.common.data.ejb.Data
com.flexstor.common.data.ejb.disguiserecord.GenericBucketRecordData
com.flexstor.common.data.ejb.disguiserecord.DisguiseElementRecordData
- All Implemented Interfaces:
- java.io.Serializable
- public class DisguiseElementRecordData
- extends GenericBucketRecordData
DisguiseElementRecordData is a class that encapsulates
data for the initialization of PreIdxService.
- Since:
- FLEXSTOR.db 3.0
Revision History Description of Change
---------------- ---------------------------------------------------
WT 05/11/99 Creation
- Version:
- 1.0, 05/11/99
| 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 |
|
Method Summary |
java.lang.Object |
cloneElement(boolean bFullClone)
Clones the element. |
boolean |
deleteAsset(DisguiseAssetRecordData assetToDelete,
int[] nAssetsDeleted)
Will delete an assets that meet the criteria of the argument asset. |
boolean |
deleteAssets(java.lang.String sRole,
java.lang.String sType,
java.lang.String sFlag)
This method will return true only if there is a parentAsset and if it was deleted;
this way we will allow the insert of empty elements in the database without fear of
removing them beforehands because they didn't have any assets. |
void |
getAssets(java.util.Vector vAssets,
java.lang.String sRole,
java.lang.String sType,
java.lang.String sFlag)
|
(package private) void |
getAssets(java.util.Vector vTraversalPath,
java.util.Vector vAssets,
java.lang.String sRole,
java.lang.String sType,
java.lang.String sFlag)
|
DisguiseAssetRecordData |
getParentAsset()
|
void |
getPrimaryAssets(java.util.Vector vAssets)
|
boolean |
hasAssets()
|
boolean |
removePrimaryAssetsNotInRoleType(java.lang.String sRole,
java.lang.String sType)
If the role and type of the primary asset don't match the arguments, return true
so the caller can remove this element from the list. |
boolean |
setParentAsset(DisguiseAssetRecordData parent)
|
| 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 |
parentAsset
protected DisguiseAssetRecordData parentAsset
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
DisguiseElementRecordData
public DisguiseElementRecordData()
getParentAsset
public DisguiseAssetRecordData getParentAsset()
setParentAsset
public boolean setParentAsset(DisguiseAssetRecordData parent)
getAssets
public void getAssets(java.util.Vector vAssets,
java.lang.String sRole,
java.lang.String sType,
java.lang.String sFlag)
getAssets
void getAssets(java.util.Vector vTraversalPath,
java.util.Vector vAssets,
java.lang.String sRole,
java.lang.String sType,
java.lang.String sFlag)
getPrimaryAssets
public void getPrimaryAssets(java.util.Vector vAssets)
removePrimaryAssetsNotInRoleType
public boolean removePrimaryAssetsNotInRoleType(java.lang.String sRole,
java.lang.String sType)
- If the role and type of the primary asset don't match the arguments, return true
so the caller can remove this element from the list.
deleteAssets
public boolean deleteAssets(java.lang.String sRole,
java.lang.String sType,
java.lang.String sFlag)
- This method will return true only if there is a parentAsset and if it was deleted;
this way we will allow the insert of empty elements in the database without fear of
removing them beforehands because they didn't have any assets.
deleteAsset
public boolean deleteAsset(DisguiseAssetRecordData assetToDelete,
int[] nAssetsDeleted)
- Will delete an assets that meet the criteria of the argument asset.
hasAssets
public boolean hasAssets()
cloneElement
public java.lang.Object cloneElement(boolean bFullClone)
- Clones the element. The bFullClone argument determines if this clone will
include a clone copy of the primary asset, or not. This provides for
creating lite clones of the object.