mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/asset/AssetImageService.java
public String tryGetAssetImage(final UUID assetUuid)
    {
        if (activeController.isActiveControllerSet()) //need to ensure that an active controller is set
        {
            final AssetModel model = 
                assetMgr.getAssetModelByUuid(assetUuid, activeController.getActiveController().getId());
            if (model != null)
            {
                return model.getImage();
            }
        }
        return ImageDisplayInterface.DEFAULT_IMAGE;
    }
/**
     * Get the image belonging to the given asset. from the system with the given
     * Id.
     * @param assetUuid
     *      the string representation of an asset's UUID
     * @return
     *      string representation of the image of the asset
     */
Get the image belonging to the given asset. from the system with the given
Id.
@param assetUuid
the string representation of an asset's UUID
@return
string representation of the image of the asset
Get the image belonging to the given asset . from the system with the given Id . @param assetUuid the string representation of an asset ' s UUID @return string representation of the image of the asset
public String tryGetAssetImage(final UUID assetUuid)
    {
        if (activeController.isActiveControllerSet()) 
        {
            final AssetModel model = 
                assetMgr.getAssetModelByUuid(assetUuid, activeController.getActiveController().getId());
            if (model != null)
            {
                return model.getImage();
            }
        }
        return ImageDisplayInterface.DEFAULT_IMAGE;
    }
public String tryGetAssetImage ( final UUID assetUuid ) { if ( activeController . isActiveControllerSet ( ) ) { final AssetModel model = assetMgr . getAssetModelByUuid ( assetUuid , activeController . getActiveController ( ) . getId ( ) ) ; if ( model != null ) { return model . getImage ( ) ; } } return ImageDisplayInterface . DEFAULT_IMAGE ; }
Get the image belonging to the given asset.
Get the image belonging to the given asset .
//need to ensure that an active controller is set