Package | com.adobe.livecycle.assetmanager.client.handler |
Class | public class PermissionBasedAssetHandler |
Inheritance | PermissionBasedAssetHandler EventDispatcher Object |
Implements | IAssetHandler |
Deprecated: Deprecated
Language Version: | ActionScript 3.0 |
Product Version: | Asset Manager Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Public Properties
Property | Defined By | ||
---|---|---|---|
assetActions : IList
Specifies the list of actions that are associated with the asset that is handled by this handler. | PermissionBasedAssetHandler | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
selectedAssets : Array
Specifies the array of currently selected assets. | PermissionBasedAssetHandler | ||
target : IAssetHandler
Specifies the target asset handler that is wrapped by this instance. | PermissionBasedAssetHandler | ||
userPermissions : IList [static]
Specifies a list of permissions that is associated with the current logged-in user. | PermissionBasedAssetHandler | ||
userPermissionsPrefixMap : Object [static]
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}. | PermissionBasedAssetHandler |
Public Methods
Method | Defined By | ||
---|---|---|---|
PermissionBasedAssetHandler(targetHandler:IAssetHandler)
Constructor. | PermissionBasedAssetHandler | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | EventDispatcher | ||
Dispatches an event into the event flow. | EventDispatcher | ||
Returns the asset type associated with the asset. | PermissionBasedAssetHandler | ||
Called when a user clicks an action associated with an asset type. | PermissionBasedAssetHandler | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | EventDispatcher | ||
Indicates whether an object has a specified property defined. | Object | ||
Initializes the handler. | PermissionBasedAssetHandler | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Removes a listener from the EventDispatcher object. | EventDispatcher | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type. | EventDispatcher |
Property Detail
assetActions | property |
assetActions:IList
Language Version: | ActionScript 3.0 |
Product Version: | Asset Manager Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the list of actions that are associated with the asset that is handled by this handler.
Implementation
public function get assetActions():IList
public function set assetActions(value:IList):void
selectedAssets | property |
selectedAssets:Array
Language Version: | ActionScript 3.0 |
Product Version: | Asset Manager Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the array of currently selected assets.
Implementation
public function get selectedAssets():Array
public function set selectedAssets(value:Array):void
target | property |
public var target:IAssetHandler
Language Version: | ActionScript 3.0 |
Product Version: | Asset Manager Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the target asset handler that is wrapped by this instance.
userPermissions | property |
userPermissions:IList
Language Version: | ActionScript 3.0 |
Product Version: | Asset Manager Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a list of permissions that is associated with the current logged-in user.
Implementation
public static function get userPermissions():IList
public static function set userPermissions(value:IList):void
userPermissionsPrefixMap | property |
public static var userPermissionsPrefixMap:Object
Language Version: | ActionScript 3.0 |
Product Version: | Asset Manager Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}
.
Constructor Detail
PermissionBasedAssetHandler | () | Constructor |
public function PermissionBasedAssetHandler(targetHandler:IAssetHandler)
Language Version: | ActionScript 3.0 |
Product Version: | Asset Manager Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
ParameterstargetHandler:IAssetHandler — The AssetHandler instance that is associated with this object.
|
Method Detail
getAssetType | () | method |
handleAction | () | method |
public function handleAction(actionEvent:AssetActionEvent):void
Language Version: | ActionScript 3.0 |
Product Version: | Asset Manager Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Called when a user clicks an action associated with an asset type.
Parameters
actionEvent:AssetActionEvent — The event that is thrown when the user clicks an action associated with an asset type.
|
initialize | () | method |
public function initialize():void
Language Version: | ActionScript 3.0 |
Product Version: | Asset Manager Building Block 9.5 |
Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Initializes the handler. Called when AssetHandlerRegistry starts.
Mon Nov 28 2011, 06:48 AM -08:00