ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.mosaic.om.impl 

CachePolicy  - AS3 ADEP Composite Application

Packagecom.adobe.mosaic.om.impl
Classpublic class CachePolicy
InheritanceCachePolicy Inheritance Object
Implements ICachePolicy

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Runtime Versions: AIR 2.6, Flash Player 10.2

CachePolicy provides some specific implementations of ICachePolicy.

Related API Elements



Public Properties
 PropertyDefined By
  cacheURL : String
[read-only] Returns the value of cacheURL
CachePolicy
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  type : String
[read-only] Returns the value of type
CachePolicy
Public Methods
 MethodDefined By
  
CachePolicy(type:String, cacheURL:String)
Constructor.
CachePolicy
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  AIR_LOCAL_STORAGE_ALL : CachePolicy
[static] For AIR applications, cache all content that supports caching in application storage.
CachePolicy
  AIR_LOCAL_STORAGE_CATALOGS : CachePolicy
[static] For AIR applications, cache catalogs in application storage.
CachePolicy
  NONE : CachePolicy
[static] Cache nothing.
CachePolicy
Property Detail

cacheURL

property
cacheURL:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Returns the value of cacheURL



Implementation
    public function get cacheURL():String

type

property 
type:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Returns the value of type



Implementation
    public function get type():String
Constructor Detail

CachePolicy

()Constructor
public function CachePolicy(type:String, cacheURL:String)

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Constructor.

Parameters
type:String — The type of CachePolicy (see constant CachePolicy's in this class)
 
cacheURL:String — The cache storage location
Constant Detail

AIR_LOCAL_STORAGE_ALL

Constant
public static const AIR_LOCAL_STORAGE_ALL:CachePolicy

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Runtime Versions: AIR 2.6, Flash Player 10.2

For AIR applications, cache all content that supports caching in application storage.

AIR_LOCAL_STORAGE_CATALOGS

Constant 
public static const AIR_LOCAL_STORAGE_CATALOGS:CachePolicy

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Runtime Versions: AIR 2.6, Flash Player 10.2

For AIR applications, cache catalogs in application storage.

NONE

Constant 
public static const NONE:CachePolicy

Language Version: ActionScript 3.0
Product Version: Adobe Digital Enterprise Platform Experience Services - Composite Application Framework 10
Runtime Versions: AIR 2.6, Flash Player 10.2

Cache nothing.