Package | org.vostokframework.application.services |
Class | public class AssetPackageService |
Inheritance | AssetPackageService Object |
Method | Defined By | ||
---|---|---|---|
description
| AssetPackageService | ||
assetPackageExists(assetPackageId:String, locale:String = null):Boolean
description
| AssetPackageService | ||
createAssetPackage(assetPackageId:String, locale:String = null):AssetPackage
description
| AssetPackageService | ||
getAllAssetPackages():IList
description
| AssetPackageService | ||
getAssetPackage(assetPackageId:String, locale:String = null):AssetPackage
description
| AssetPackageService | ||
removeAllAssetPackages():void
description
| AssetPackageService | ||
removeAssetPackage(assetPackageId:String, locale:String = null):Boolean
description
| AssetPackageService |
AssetPackageService | () | Constructor |
public function AssetPackageService()
description
assetPackageExists | () | method |
public function assetPackageExists(assetPackageId:String, locale:String = null):Boolean
description
Parameters
assetPackageId:String | |
locale:String (default = null )
|
Boolean —
|
ArgumentError — if the <codeph>assetPackageId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
|
createAssetPackage | () | method |
public function createAssetPackage(assetPackageId:String, locale:String = null):AssetPackage
description
Parameters
assetPackageId:String | |
locale:String (default = null )
|
AssetPackage —
|
ArgumentError — if the <codeph>assetPackageId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
| |
org.vostokframework.assetmanagement.errors:DuplicateAssetPackageError — if already exists an <codeph>AssetPackage</codeph> object stored with the provided <codeph>assetPackageId</codeph> and <codeph>locale</codeph>.
|
getAllAssetPackages | () | method |
public function getAllAssetPackages():IList
description
ReturnsIList —
|
getAssetPackage | () | method |
public function getAssetPackage(assetPackageId:String, locale:String = null):AssetPackage
description
Parameters
assetPackageId:String | |
locale:String (default = null )
|
AssetPackage —
|
ArgumentError — if the <codeph>assetPackageId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
|
removeAllAssetPackages | () | method |
public function removeAllAssetPackages():void
description
removeAssetPackage | () | method |
public function removeAssetPackage(assetPackageId:String, locale:String = null):Boolean
description
Parameters
assetPackageId:String | |
locale:String (default = null )
|
Boolean —
|
ArgumentError — if the <codeph>assetPackageId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
|