Package | org.vostokframework.domain.assets |
Class | public class AssetRepository |
Inheritance | AssetRepository Object |
Method | Defined By | ||
---|---|---|---|
description
| AssetRepository | ||
description
| AssetRepository | ||
clear():void
description
| AssetRepository | ||
exists(identification:VostokIdentification):Boolean
description
| AssetRepository | ||
description
| AssetRepository | ||
findAll():IList
description
| AssetRepository | ||
isEmpty():Boolean
description
| AssetRepository | ||
remove(identification:VostokIdentification):Boolean
description
| AssetRepository | ||
size():int
description
| AssetRepository | ||
toString():String
description
| AssetRepository |
AssetRepository | () | Constructor |
public function AssetRepository()
description
add | () | method |
public function add(asset:Asset):void
description
Parameters
asset:Asset |
ArgumentError — if the <codeph>asset</codeph> argument is <codeph>null</codeph>.
| |
DuplicateAssetError — if already exists an <codeph>Asset</codeph> object stored with the same <codeph>id</codeph> of the provided <codeph>asset</codeph> argument.
|
clear | () | method |
public function clear():void
description
exists | () | method |
public function exists(identification:VostokIdentification):Boolean
description
Parameters
identification:VostokIdentification — idPackageAsset
|
Boolean —
|
ArgumentError — if the <codeph>assetId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
|
find | () | method |
public function find(identification:VostokIdentification):Asset
description
Parameters
identification:VostokIdentification — idPackageAsset
|
Asset —
|
ArgumentError — if the <codeph>assetId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
|
findAll | () | method |
public function findAll():IList
description
ReturnsIList —
|
isEmpty | () | method |
public function isEmpty():Boolean
description
ReturnsBoolean —
|
remove | () | method |
public function remove(identification:VostokIdentification):Boolean
description
Parameters
identification:VostokIdentification — idAssetPackage
|
Boolean —
|
ArgumentError — if the <codeph>assetId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
|
size | () | method |
public function size():int
description
Returnsint —
|
toString | () | method |
public function toString():String
description
ReturnsString —
|