com.ibm.premises.reusable.assetmgmt
Interface AssetMgmt
public interface AssetMgmt
Remote interface for Enterprise Bean: Asset
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
int |
addAsset(Asset asset,
java.lang.Integer userId)
|
int |
addAssetType(AssetType assetType,
java.lang.Integer userId)
|
boolean |
assetWithPrimaryKeyExists(Asset asset)
|
boolean |
assignTag(int assetId,
java.lang.String tagId)
|
boolean |
deleteAsset(int assetId,
java.sql.Timestamp updateTime)
|
boolean |
deleteAssetType(java.lang.String assetTypeName,
java.sql.Timestamp updateTime)
|
boolean |
editAsset(Asset asset,
java.lang.Integer userId)
|
boolean |
editAssets(java.util.List<Asset> assets,
java.lang.Integer userId)
|
boolean |
editAssetType(AssetType assetType,
java.lang.Integer userId)
|
java.util.List<com.ibm.premises.reusable.assets.Asset> |
findAssets(java.lang.String assetTypeName,
boolean allAssetTypeDescendants,
java.util.List<java.lang.String> tagId,
java.util.Map<java.lang.String,java.lang.Object> assetProperties,
java.lang.Integer parentAssetId,
boolean allParentAssetDescendants)
|
java.util.List<java.lang.Integer> |
findAssetsByAssetTypeName(java.lang.String assetTypeName,
boolean allAssetTypeDescendants)
|
java.util.List<java.lang.Integer> |
findAssetsByParentId(java.lang.Integer parentAssetId)
|
java.util.List<java.lang.Integer> |
findAssetsByProperties(java.util.Map<java.lang.String,java.lang.Object> assetProperties)
|
java.util.List<java.lang.Integer> |
findAssetsByTagId(java.util.List<java.lang.String> tagId)
|
java.util.List<java.lang.String> |
getAllAssetTypeNames()
|
java.util.List<AssetType> |
getAllAssetTypes()
|
java.util.Map<java.lang.Integer,java.lang.String> |
getAllDataTypes()
|
com.ibm.premises.reusable.assets.Asset |
getAssetById(int assetId)
|
AssetType |
getAssetType(int assetTypeId)
|
AssetType |
getAssetType(java.lang.String assetTypeName)
|
int |
getAssetTypeId(java.lang.String assetTypeName)
|
java.lang.String |
getAssetTypeName(int assetTypeId)
|
java.util.List<java.lang.String> |
getPrimaryKeyName(java.lang.String assetTypeName)
|
boolean |
unassignTag(int assetId,
java.lang.String tagId)
|
boolean |
updateAssetProperty(int assetId,
java.lang.String propName,
java.lang.Object propValue)
|
COPYRIGHT
static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
getAssetById
com.ibm.premises.reusable.assets.Asset getAssetById(int assetId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
findAssetsByParentId
java.util.List<java.lang.Integer> findAssetsByParentId(java.lang.Integer parentAssetId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
findAssetsByProperties
java.util.List<java.lang.Integer> findAssetsByProperties(java.util.Map<java.lang.String,java.lang.Object> assetProperties)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
findAssetsByTagId
java.util.List<java.lang.Integer> findAssetsByTagId(java.util.List<java.lang.String> tagId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
findAssetsByAssetTypeName
java.util.List<java.lang.Integer> findAssetsByAssetTypeName(java.lang.String assetTypeName,
boolean allAssetTypeDescendants)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
findAssets
java.util.List<com.ibm.premises.reusable.assets.Asset> findAssets(java.lang.String assetTypeName,
boolean allAssetTypeDescendants,
java.util.List<java.lang.String> tagId,
java.util.Map<java.lang.String,java.lang.Object> assetProperties,
java.lang.Integer parentAssetId,
boolean allParentAssetDescendants)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
assignTag
boolean assignTag(int assetId,
java.lang.String tagId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
unassignTag
boolean unassignTag(int assetId,
java.lang.String tagId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
deleteAsset
boolean deleteAsset(int assetId,
java.sql.Timestamp updateTime)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
editAsset
boolean editAsset(Asset asset,
java.lang.Integer userId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
editAssets
boolean editAssets(java.util.List<Asset> assets,
java.lang.Integer userId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
addAsset
int addAsset(Asset asset,
java.lang.Integer userId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
assetWithPrimaryKeyExists
boolean assetWithPrimaryKeyExists(Asset asset)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
updateAssetProperty
boolean updateAssetProperty(int assetId,
java.lang.String propName,
java.lang.Object propValue)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
getAllDataTypes
java.util.Map<java.lang.Integer,java.lang.String> getAllDataTypes()
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
getAllAssetTypeNames
java.util.List<java.lang.String> getAllAssetTypeNames()
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
getAllAssetTypes
java.util.List<AssetType> getAllAssetTypes()
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
getAssetTypeName
java.lang.String getAssetTypeName(int assetTypeId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
getPrimaryKeyName
java.util.List<java.lang.String> getPrimaryKeyName(java.lang.String assetTypeName)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
getAssetTypeId
int getAssetTypeId(java.lang.String assetTypeName)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
getAssetType
AssetType getAssetType(java.lang.String assetTypeName)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
getAssetType
AssetType getAssetType(int assetTypeId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
deleteAssetType
boolean deleteAssetType(java.lang.String assetTypeName,
java.sql.Timestamp updateTime)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
editAssetType
boolean editAssetType(AssetType assetType,
java.lang.Integer userId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
addAssetType
int addAssetType(AssetType assetType,
java.lang.Integer userId)
throws ReusableComponentException,
java.rmi.RemoteException
- Throws:
ReusableComponentException
java.rmi.RemoteException
Copyright © 2005 - 2009 IBM Corp. All Rights Reserved.