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

java.lang.Objectcom.flexstor.common.gateway.Gateway
com.flexstor.common.gateway.SearchResultGateway
- All Implemented Interfaces:
- com.flexstor.common.constants.EjbHomeInterfacesI
- public class SearchResultGateway
- extends Gateway
Retrieves additional search records.
- Version:
- 3.0
| Nested Class Summary |
| Nested classes inherited from class com.flexstor.common.gateway.Gateway |
|
| Field Summary | |
private com.flexstor.ejb.search.retrieval.SearchResultRetrieval |
bean
|
static java.lang.String |
IDENTIFIER
|
| Fields inherited from class com.flexstor.common.gateway.Gateway |
bInitialized, bLoadObjects, bSaveObjects, engine, util |
| Constructor Summary | |
SearchResultGateway()
|
|
| Method Summary | |
private java.lang.String |
arrayToString(int[] l)
Convert an int array to a string. |
private java.lang.String |
arrayToString(long[] l)
Convert a long array to a string. |
private java.lang.String |
assetInstIdToString(com.flexstor.common.data.ejb.search.AssetInstanceId id)
Convert a AssetInstanceId to a string. |
void |
connect()
|
protected com.flexstor.ejb.EjbObject |
getBeanObject()
Returns the instance of the current bean, or null if the bean has not been created. |
com.flexstor.common.data.ActionData |
getChildren(com.flexstor.common.data.AssetRecordData record)
Gets child assets for an asset. |
com.flexstor.common.data.ActionData |
getChildrenByRole(int nRole,
com.flexstor.common.data.RecordData record)
Gets child assets of one role for an asset. |
protected java.lang.String |
getHomeName()
Returns the name of the home interface. |
java.util.Hashtable |
retrieveAssetData(int[] naFieldIds,
long[] naAssetIds)
Retrieve the complete asset data from the database |
java.util.Hashtable |
retrieveAssetData(int[] naFieldIds,
long[] naAssetIds,
boolean bResolveLookups)
Retrieve the complete asset data from the database |
java.util.Hashtable |
retrieveAssetRoleData(com.flexstor.common.data.ejb.search.AssetRoleFields[] fieldIds,
com.flexstor.common.data.ejb.search.AssetRoleDataId[] assetIds)
Retrieve the asset role data from the database |
java.util.Hashtable |
retrieveAssetRoleData(com.flexstor.common.data.ejb.search.AssetRoleFields[] fieldIds,
com.flexstor.common.data.ejb.search.AssetRoleDataId[] assetIds,
boolean bResolveLookups)
Retrieve the asset role data from the database |
java.util.Hashtable |
retrieveAssetSkeleton(int[] naFieldIds,
com.flexstor.common.data.ejb.search.AssetInstanceId[] anAssetIds)
Retrieve an asset skeleton from the database |
com.flexstor.common.data.ejb.search.AssetTree |
retrieveAssetsTree(java.lang.Long[] laElementIds,
int nDisguiseId)
This method returns the traversal path (up to the element level) for every asset in the argument. |
java.util.Hashtable |
retrieveBucketData(int[] naFieldIds,
long[] naBucketIds)
Retrieve additional bucket data from a bucket table |
java.util.Hashtable |
retrieveBucketData(int[] naFieldIds,
long[] naBucketIds,
boolean bResolveLookups)
Retrieve additional bucket data from a bucket table |
java.util.Hashtable |
retrieveVersionIds(long[] naAssetIds,
boolean bGetDisplayAsset)
Get the list of version ids for the given asset ids. |
| Methods inherited from class com.flexstor.common.gateway.Gateway |
beginHeartbeats, buildException, buildException, canLoadObject, canSaveObject, dispose, EBJObjectToString, enableDebugging, getHome, isInitalized, retrieveObject, shutdown, storeObject, storeObject |
| 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
bean
private com.flexstor.ejb.search.retrieval.SearchResultRetrieval bean
| Constructor Detail |
SearchResultGateway
public SearchResultGateway()
| Method Detail |
getHomeName
protected java.lang.String getHomeName()
- Description copied from class:
Gateway - Returns the name of the home interface.
- Specified by:
getHomeNamein classGateway
getBeanObject
protected com.flexstor.ejb.EjbObject getBeanObject()
- Description copied from class:
Gateway - Returns the instance of the current bean, or null if the bean has not been created.
- Specified by:
getBeanObjectin classGateway
connect
public void connect()
throws com.flexstor.common.gateway.exceptions.TransactionFailedException
retrieveBucketData
public java.util.Hashtable retrieveBucketData(int[] naFieldIds, long[] naBucketIds) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Retrieve additional bucket data from a bucket table
retrieveBucketData
public java.util.Hashtable retrieveBucketData(int[] naFieldIds, long[] naBucketIds, boolean bResolveLookups) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Retrieve additional bucket data from a bucket table
retrieveAssetSkeleton
public java.util.Hashtable retrieveAssetSkeleton(int[] naFieldIds, com.flexstor.common.data.ejb.search.AssetInstanceId[] anAssetIds) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Retrieve an asset skeleton from the database
retrieveAssetData
public java.util.Hashtable retrieveAssetData(int[] naFieldIds, long[] naAssetIds) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Retrieve the complete asset data from the database
retrieveAssetData
public java.util.Hashtable retrieveAssetData(int[] naFieldIds, long[] naAssetIds, boolean bResolveLookups) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Retrieve the complete asset data from the database
retrieveAssetRoleData
public java.util.Hashtable retrieveAssetRoleData(com.flexstor.common.data.ejb.search.AssetRoleFields[] fieldIds, com.flexstor.common.data.ejb.search.AssetRoleDataId[] assetIds) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Retrieve the asset role data from the database
retrieveAssetRoleData
public java.util.Hashtable retrieveAssetRoleData(com.flexstor.common.data.ejb.search.AssetRoleFields[] fieldIds, com.flexstor.common.data.ejb.search.AssetRoleDataId[] assetIds, boolean bResolveLookups) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Retrieve the asset role data from the database
retrieveVersionIds
public java.util.Hashtable retrieveVersionIds(long[] naAssetIds, boolean bGetDisplayAsset) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Get the list of version ids for the given asset ids.
getChildren
public com.flexstor.common.data.ActionData getChildren(com.flexstor.common.data.AssetRecordData record) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Gets child assets for an asset.
getChildrenByRole
public com.flexstor.common.data.ActionData getChildrenByRole(int nRole, com.flexstor.common.data.RecordData record) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- Gets child assets of one role for an asset.
retrieveAssetsTree
public com.flexstor.common.data.ejb.search.AssetTree retrieveAssetsTree(java.lang.Long[] laElementIds, int nDisguiseId) throws com.flexstor.common.gateway.exceptions.TransactionFailedException
- This method returns the traversal path (up to the element level) for every
asset in the argument. This traversal path do not contain bucket
information, just element and parent asset (if any).
Transaction Attribute: Required
arrayToString
private java.lang.String arrayToString(int[] l)
- Convert an int array to a string.
arrayToString
private java.lang.String arrayToString(long[] l)
- Convert a long array to a string.
assetInstIdToString
private java.lang.String assetInstIdToString(com.flexstor.common.data.ejb.search.AssetInstanceId id)
- Convert a AssetInstanceId to a string.
|
|||||||||
| Home >> All >> com >> flexstor >> common >> [ gateway overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC