com.adobe.mosaic.om.impl

# CachePolicy - AS3 ADEP Composite Application

Package | com.adobe.mosaic.om.impl
Class | public class CachePolicy
Inheritance | CachePolicy 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

com.adobe.mosaic.om.interfaces.ICachePolicy

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | cacheURL : String [read-only] Returns the value of cacheURL | CachePolicy
|  | constructor : 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
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | CachePolicy(type:String, cacheURL:String) Constructor. | CachePolicy
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Public Constants

| Constant | Defined 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.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00