| Pakiet | lc.procmgmt.ui.attachments |
| Klasa | public class AttachmentHeaderModel |
| Dziedziczenie | AttachmentHeaderModel PresentationModel EventDispatcher Object |
| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
AttachmentsHeaderModel class acts as the model for the
AttachmentsHeader component.
Powiązane elementy interfejsu API
| Właściwość | Zdefiniowane przez | ||
|---|---|---|---|
| allowNewAttachments : Boolean [tylko do odczytu]
The indicator that adding Attachments is permitted. | AttachmentHeaderModel | ||
| allowNewNotes : Boolean [tylko do odczytu]
The indicator that adding Notes is permitted. | AttachmentHeaderModel | ||
| attachmentPermissions : ArrayCollection [tylko do odczytu]
An array of the possible combinations of the AttachmentPermissions object that
can be associated with an AttachmentHeader component. | AttachmentHeaderModel | ||
![]() | constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object | |
| errorString : String [tylko do odczytu]
The error string. | AttachmentHeaderModel | ||
| file : FileReference [tylko do odczytu]
The FileReference object used to display the File Browse dialog box. | AttachmentHeaderModel | ||
| fileName : String [tylko do odczytu]
The name of the attachment being added. | AttachmentHeaderModel | ||
| isIncludeAttachments : Boolean [tylko do odczytu]
Indicator to include Attachments in the display. | AttachmentHeaderModel | ||
| isIncludeNotes : Boolean [tylko do odczytu]
Indicator to include Notes in the display. | AttachmentHeaderModel | ||
| note : String [tylko do odczytu]
The text contained in the note. | AttachmentHeaderModel | ||
| permissionIndex : int [tylko do odczytu]
The index of the AttachmentPermissions object associated with the current
Task object in the model's attachmentPermissions array. | AttachmentHeaderModel | ||
![]() | session : SessionMap
A SessionMap object that stores information relating to the server session. | PresentationModel | |
![]() | state : String [tylko do odczytu]
The name of the state the current view is in. | PresentationModel | |
| task : lc.procmgmt.domain:Task [tylko do odczytu]
The process management task that the attachments are associated with. | AttachmentHeaderModel | ||
| taskACL : lc.procmgmt.domain:TaskACL [tylko do odczytu]
The TaskACL object associated with the current task. | AttachmentHeaderModel | ||
| title : String [tylko do odczytu]
The text contained in the note title. | AttachmentHeaderModel | ||
| Metoda | Zdefiniowane przez | ||
|---|---|---|---|
Constructor. | AttachmentHeaderModel | ||
Adds the file property to the current
Task object, with the specified AttachmentPermissions
object set. | AttachmentHeaderModel | ||
![]() | 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 | |
Adds the title and note properties to the current
Task object, with the specified AttachmentPermissions object
set. | AttachmentHeaderModel | ||
![]() | bindProperty(destination:Object, destinationProperty:String, source:Object, sourceChain:Object, commitOnly:Boolean = false):ChangeWatcher
Binds a public property on the destination object from a property or
property chain on the source object. | PresentationModel | |
Reinitializes the model's properties. | AttachmentHeaderModel | ||
![]() |
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń. | EventDispatcher | |
Deprecated Since LiveCycle ES Update 1 (8.2): getAttachmentFile() is no longer used. | AttachmentHeaderModel | ||
![]() |
Returns the corresponding cascading style sheet (CSS) property to use based on the specified parameters. | PresentationModel | |
![]() |
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 presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | PresentationModel | |
![]() |
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | |
Dispatches when the taskACL property changes on the
Task object. | AttachmentHeaderModel | ||
![]() |
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | |
![]() |
Usuwa detektor z obiektu EventDispatcher. | EventDispatcher | |
Retrieves the label associated with the AttachmentPermissions object
that was passed in. | AttachmentHeaderModel | ||
Changes the state of this component to the AttachmentHeaderModel.STATE_ADD_ATTACHMENT state. | AttachmentHeaderModel | ||
Changes the state of this component to the AttachmentHeaderModel.STATE_ADD_NOTE state. | AttachmentHeaderModel | ||
![]() |
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 | |
| Stała | Zdefiniowane przez | ||
|---|---|---|---|
| NOTE_TITLE_MAXSIZE : int = 255 [statyczny]
A special value that indicates the maximum number of characters for a title in a note. | AttachmentHeaderModel | ||
| STATE_ADD_ATTACHMENT : String = "addAttachmentState" [statyczny]
A special value that indicates that it is possible to add notes and attachments. | AttachmentHeaderModel | ||
| STATE_ADD_ATTACHMENT_ONLY : String = "addAttachmentOnlyState" [statyczny]
A special value that indicates that it is possible to add only attachments. | AttachmentHeaderModel | ||
| STATE_ADD_NOTE : String = "addNoteState" [statyczny]
A special value that indicates that the STATE_ADD_ATTACHMENT state set set; however,
the user tried add a note. | AttachmentHeaderModel | ||
| STATE_ADD_NOTE_ONLY : String = "addNoteOnlyState" [statyczny]
A special value that indicates that it is possible to add a note. | AttachmentHeaderModel | ||
allowNewAttachments | właściwość |
allowNewAttachments:Boolean [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Attachments is permitted.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get allowNewAttachments():BooleanallowNewNotes | właściwość |
allowNewNotes:Boolean [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Notes is permitted.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get allowNewNotes():BooleanattachmentPermissions | właściwość |
attachmentPermissions:ArrayCollection [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
An array of the possible combinations of the AttachmentPermissions object that
can be associated with an AttachmentHeader component.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get attachmentPermissions():ArrayCollectionerrorString | właściwość |
errorString:String [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error string.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get errorString():Stringfile | właściwość |
file:FileReference [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The FileReference object used to display the File Browse dialog box.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get file():FileReferencefileName | właściwość |
fileName:String [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the attachment being added.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get fileName():StringisIncludeAttachments | właściwość |
isIncludeAttachments:Boolean [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Attachments in the display.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get isIncludeAttachments():BooleanisIncludeNotes | właściwość |
isIncludeNotes:Boolean [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Notes in the display.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get isIncludeNotes():Booleannote | właściwość |
note:String [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The text contained in the note.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get note():StringpermissionIndex | właściwość |
permissionIndex:int [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The index of the AttachmentPermissions object associated with the current
Task object in the model's attachmentPermissions array.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get permissionIndex():inttask | właściwość |
task:lc.procmgmt.domain:Task [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The process management task that the attachments are associated with.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get task():lc.procmgmt.domain:TasktaskACL | właściwość |
taskACL:lc.procmgmt.domain:TaskACL [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The TaskACL object associated with the current task.
The TaskACL object contains the settings from an
AttachmentPermissions object associated with the current
task and controls the state in which this component is viewed.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get taskACL():lc.procmgmt.domain:TaskACLPowiązane elementy interfejsu API
llc.procmgmt.domain.AttachmentPermissions
title | właściwość |
title:String [tylko do odczytu] | Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The text contained in the note title.
Ta właściwość może być używana jako źródło dla tworzenia powiązań danych. Jeśli ta właściwość zostanie zmodyfikowana, zostanie wywołane zdarzenie propertyChange .
Implementacja
public function get title():StringAttachmentHeaderModel | () | Konstruktor |
public function AttachmentHeaderModel()| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
addAttachment | () | metoda |
public function addAttachment():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds the file property to the current
Task object, with the specified AttachmentPermissions
object set.
Views typically call this method when the user clicks the OK button to add an attachment.
addNote | () | metoda |
public function addNote():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Adds the title and note properties to the current
Task object, with the specified AttachmentPermissions object
set.
Views typically call this method when the user clicks the OK button to add a note.
clearFields | () | metoda |
public function clearFields():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Reinitializes the model's properties. The following properties are reinitialized:
- The
fileproperty is set to a value ofnull. - The
note,title,fileName, anderrorStringproperties are set to an empty string. - The
permissionIndexproperty is set to a value ofzero.
getAttachmentFile | () | metoda |
public function getAttachmentFile():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Deprecated Since LiveCycle ES Update 1 (8.2): getAttachmentFile() is no longer used.
This method is no longer available. It remains exposed so that you can compile applications using earlier versions of the API. In earlier releases of Workspace, this method displayed a File Browse dialog box from which a user can select the attachment file to add.
onTaskChangeHandler | () | metoda |
public function onTaskChangeHandler(taskACL:lc.procmgmt.domain:TaskACL):void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Dispatches when the taskACL property changes on the
Task object.
It is used to properly set the state of the AttachmentHeader component
based on the value of the taskACL object.
Parametry
taskACL:lc.procmgmt.domain:TaskACL — The ACL (access control list) associated with the current task.
|
selectLabel | () | metoda |
public function selectLabel(item:Object):String| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the label associated with the AttachmentPermissions object
that was passed in.
Parametry
item:Object — The permissions of an attachment.
|
String — The associated label of an item.
|
setAddAttachmentState | () | metoda |
public function setAddAttachmentState():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Changes the state of this component to the AttachmentHeaderModel.STATE_ADD_ATTACHMENT state.
This state allows the user to add an attachment through this component.
setAddNoteState | () | metoda |
public function setAddNoteState():void| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Changes the state of this component to the AttachmentHeaderModel.STATE_ADD_NOTE state.
This state allows the user to add a note through the AttachmentHeader
component.
NOTE_TITLE_MAXSIZE | Stała |
public static const NOTE_TITLE_MAXSIZE:int = 255| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that indicates the maximum number of characters for a title in a note.
STATE_ADD_ATTACHMENT | Stała |
public static const STATE_ADD_ATTACHMENT:String = "addAttachmentState"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that indicates that it is possible to add notes and attachments.
STATE_ADD_ATTACHMENT_ONLY | Stała |
public static const STATE_ADD_ATTACHMENT_ONLY:String = "addAttachmentOnlyState"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that indicates that it is possible to add only attachments.
STATE_ADD_NOTE | Stała |
public static const STATE_ADD_NOTE:String = "addNoteState"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that indicates that the STATE_ADD_ATTACHMENT state set set; however,
the user tried add a note.
STATE_ADD_NOTE_ONLY | Stała |
public static const STATE_ADD_NOTE_ONLY:String = "addNoteOnlyState"| Wersja języka: | ActionScript 3.0 |
| Wersja produktu: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Wersje środowiska wykonawczego: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that indicates that it is possible to add a note.
Tue Jun 12 2018, 12:06 PM Z
Ukryj dziedziczone właściwości publiczne
Pokaż dziedziczone właściwości publiczne