| Pakiet | com.adobe.livecycle.assetmanager.client.handler |
| Klasa | public class PermissionBasedAssetHandler |
| Dziedziczenie | PermissionBasedAssetHandler EventDispatcher Object |
| Implementuje | IAssetHandler |
Przestarzałe: Deprecated
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Asset Manager Building Block 9.5 |
| Wersje środowiska wykonawczego: | AIR 1.0, Flash Player 9, Flash Player 10 |
Właściwości publiczne
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
| assetActions : IList
Specifies the list of actions that are associated with the asset that is handled by this handler. | PermissionBasedAssetHandler | ||
![]() | constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | 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 [statyczny]
Specifies a list of permissions that is associated with the current logged-in user. | PermissionBasedAssetHandler | ||
| userPermissionsPrefixMap : Object [statyczny]
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}. | PermissionBasedAssetHandler | ||
Metody publiczne
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
PermissionBasedAssetHandler(targetHandler:IAssetHandler)
Constructor. | PermissionBasedAssetHandler | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu. | EventDispatcher | |
![]() |
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń. | EventDispatcher | |
Returns the asset type associated with the asset. | PermissionBasedAssetHandler | ||
Called when a user clicks an action associated with an asset type. | PermissionBasedAssetHandler | ||
![]() |
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń. | EventDispatcher | |
![]() |
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | |
Initializes the handler. | PermissionBasedAssetHandler | ||
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
![]() |
Usuwa detektor z obiektu EventDispatcher. | EventDispatcher | |
![]() |
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | |
![]() |
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | |
![]() |
Zwraca ciąg reprezentujący określony obiekt. | Object | |
![]() |
Zwraca pierwotną wartość dla określonego obiektu. | Object | |
![]() |
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych. | EventDispatcher | |
Zdarzenia
Szczegół właściwości
assetActions | właściwość |
assetActions:IList| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Asset Manager Building Block 9.5 |
| Wersje środowiska wykonawczego: | 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.
Implementacja
public function get assetActions():IList public function set assetActions(value:IList):voidselectedAssets | właściwość |
selectedAssets:Array| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Asset Manager Building Block 9.5 |
| Wersje środowiska wykonawczego: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the array of currently selected assets.
Implementacja
public function get selectedAssets():Array public function set selectedAssets(value:Array):voidtarget | właściwość |
public var target:IAssetHandler| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Asset Manager Building Block 9.5 |
| Wersje środowiska wykonawczego: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the target asset handler that is wrapped by this instance.
userPermissions | właściwość |
userPermissions:IList| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Asset Manager Building Block 9.5 |
| Wersje środowiska wykonawczego: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a list of permissions that is associated with the current logged-in user.
Implementacja
public static function get userPermissions():IList public static function set userPermissions(value:IList):voiduserPermissionsPrefixMap | właściwość |
public static var userPermissionsPrefixMap:Object| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Asset Manager Building Block 9.5 |
| Wersje środowiska wykonawczego: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}.
Konstruktor Szczegół
PermissionBasedAssetHandler | () | Konstruktor |
public function PermissionBasedAssetHandler(targetHandler:IAssetHandler)| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Asset Manager Building Block 9.5 |
| Wersje środowiska wykonawczego: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
ParametrytargetHandler:IAssetHandler — The AssetHandler instance that is associated with this object.
|
Szczegół metody
getAssetType | () | metoda |
handleAction | () | metoda |
public function handleAction(actionEvent:AssetActionEvent):void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Asset Manager Building Block 9.5 |
| Wersje środowiska wykonawczego: | AIR 1.0, Flash Player 9, Flash Player 10 |
Called when a user clicks an action associated with an asset type.
Parametry
actionEvent:AssetActionEvent — The event that is thrown when the user clicks an action associated with an asset type.
|
initialize | () | metoda |
public function initialize():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Asset Manager Building Block 9.5 |
| Wersje środowiska wykonawczego: | AIR 1.0, Flash Player 9, Flash Player 10 |
Initializes the handler. Called when AssetHandlerRegistry starts.
Tue Jun 12 2018, 12:06 PM Z
Ukryj dziedziczone właściwości publiczne
Pokaż dziedziczone właściwości publiczne