public static Package getAssetPackage(Long assetId) throws CachingException {
        for (Package pkg : getPackageList()) {
            if (pkg.containsAsset(assetId))
                return pkg;
        }
        return null;
    }
public static Package getAssetPackage ( Long assetId ) throws CachingException { for ( Package pkg : getPackageList ( ) ) { if ( pkg . containsAsset ( assetId ) ) return pkg ; } return null ; }
Returns the design-time package for a specified assetId
(Returns the first match so does not support the same asset in multiple packages).