Packageorg.vostokframework.application
Classpublic class LoadingSettingsRepository
InheritanceLoadingSettingsRepository Inheritance Object

description



Public Methods
 MethodDefined By
  
description
LoadingSettingsRepository
  
add(asset:Asset, settings:LoadingSettings):void
description
LoadingSettingsRepository
  
clear():void
description
LoadingSettingsRepository
  
exists(asset:Asset):Boolean
description
LoadingSettingsRepository
  
description
LoadingSettingsRepository
  
isEmpty():Boolean
description
LoadingSettingsRepository
  
remove(asset:Asset):Boolean
description
LoadingSettingsRepository
  
size():int
description
LoadingSettingsRepository
  
toString():String
description
LoadingSettingsRepository
Constructor Detail
LoadingSettingsRepository()Constructor
public function LoadingSettingsRepository()

description

Method Detail
add()method
public function add(asset:Asset, settings:LoadingSettings):void

description

Parameters

asset:Asset
 
settings:LoadingSettings


Throws
ArgumentError — if the <codeph>loader</codeph> argument is <codeph>null</codeph>.
 
org.vostokframework.loadermanagement.errors:DuplicateLoaderError — if already exists an <codeph>ILoader</codeph> object stored with the same <codeph>id</codeph> of the provided <codeph>loader</codeph> argument.
clear()method 
public function clear():void

description

exists()method 
public function exists(asset:Asset):Boolean

description

Parameters

asset:Asset

Returns
Boolean

Throws
ArgumentError — if the <codeph>loaderId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
find()method 
public function find(asset:Asset):LoadingSettings

description

Parameters

asset:Asset

Returns
LoadingSettings

Throws
ArgumentError — if the <codeph>loaderId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
isEmpty()method 
public function isEmpty():Boolean

description

Returns
Boolean
remove()method 
public function remove(asset:Asset):Boolean

description

Parameters

asset:Asset

Returns
Boolean

Throws
ArgumentError — if the <codeph>loaderId</codeph> argument is <codeph>null</codeph> or <codeph>empty</codeph>.
size()method 
public function size():int

description

Returns
int
toString()method 
public function toString():String

description

Returns
String