Paket | com.adobe.livecycle.assetmanager.client.handler |
Klass | public class PermissionBasedAssetHandler |
Arv | PermissionBasedAssetHandler EventDispatcher Object |
Implementerar | IAssetHandler |
Borttagen: Deprecated
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Publika egenskaper
Egenskap | Definieras med | ||
---|---|---|---|
assetActions : IList
Specifies the list of actions that are associated with the asset that is handled by this handler. | PermissionBasedAssetHandler | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | 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 [statisk]
Specifies a list of permissions that is associated with the current logged-in user. | PermissionBasedAssetHandler | ||
userPermissionsPrefixMap : Object [statisk]
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}. | PermissionBasedAssetHandler |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
PermissionBasedAssetHandler(targetHandler:IAssetHandler)
Constructor. | PermissionBasedAssetHandler | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Returns the asset type associated with the asset. | PermissionBasedAssetHandler | ||
Called when a user clicks an action associated with an asset type. | PermissionBasedAssetHandler | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Initializes the handler. | PermissionBasedAssetHandler | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Egenskapsdetaljer
assetActions | egenskap |
assetActions:IList
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | 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.
Implementering
public function get assetActions():IList
public function set assetActions(value:IList):void
selectedAssets | egenskap |
selectedAssets:Array
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the array of currently selected assets.
Implementering
public function get selectedAssets():Array
public function set selectedAssets(value:Array):void
target | egenskap |
public var target:IAssetHandler
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the target asset handler that is wrapped by this instance.
userPermissions | egenskap |
userPermissions:IList
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a list of permissions that is associated with the current logged-in user.
Implementering
public static function get userPermissions():IList
public static function set userPermissions(value:IList):void
userPermissionsPrefixMap | egenskap |
public static var userPermissionsPrefixMap:Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}
.
Konstruktordetaljer
PermissionBasedAssetHandler | () | Konstruktor |
public function PermissionBasedAssetHandler(targetHandler:IAssetHandler)
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
ParametrartargetHandler:IAssetHandler — The AssetHandler instance that is associated with this object.
|
Metoddetaljer
getAssetType | () | metod |
handleAction | () | metod |
public function handleAction(actionEvent:AssetActionEvent):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Called when a user clicks an action associated with an asset type.
Parametrar
actionEvent:AssetActionEvent — The event that is thrown when the user clicks an action associated with an asset type.
|
initialize | () | metod |
public function initialize():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Asset Manager Building Block 9.5 |
Körningsmiljöversioner: | AIR 1.0, Flash Player 9, Flash Player 10 |
Initializes the handler. Called when AssetHandlerRegistry starts.
Tue Jun 12 2018, 01:40 PM Z