| Pacote | lc.procmgmt.ui.attachments |
| Classe | public class AttachmentHeaderModel |
| Herança | AttachmentHeaderModel PresentationModel EventDispatcher Object |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
AttachmentsHeaderModel class acts as the model for the
AttachmentsHeader component.
Elementos da API relacionados
| Propriedade | Definido por | ||
|---|---|---|---|
| allowNewAttachments : Boolean [somente leitura]
The indicator that adding Attachments is permitted. | AttachmentHeaderModel | ||
| allowNewNotes : Boolean [somente leitura]
The indicator that adding Notes is permitted. | AttachmentHeaderModel | ||
| attachmentPermissions : ArrayCollection [somente leitura]
An array of the possible combinations of the AttachmentPermissions object that
can be associated with an AttachmentHeader component. | AttachmentHeaderModel | ||
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
| errorString : String [somente leitura]
The error string. | AttachmentHeaderModel | ||
| file : FileReference [somente leitura]
The FileReference object used to display the File Browse dialog box. | AttachmentHeaderModel | ||
| fileName : String [somente leitura]
The name of the attachment being added. | AttachmentHeaderModel | ||
| isIncludeAttachments : Boolean [somente leitura]
Indicator to include Attachments in the display. | AttachmentHeaderModel | ||
| isIncludeNotes : Boolean [somente leitura]
Indicator to include Notes in the display. | AttachmentHeaderModel | ||
| note : String [somente leitura]
The text contained in the note. | AttachmentHeaderModel | ||
| permissionIndex : int [somente leitura]
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 [somente leitura]
The name of the state the current view is in. | PresentationModel | |
| task : lc.procmgmt.domain:Task [somente leitura]
The process management task that the attachments are associated with. | AttachmentHeaderModel | ||
| taskACL : lc.procmgmt.domain:TaskACL [somente leitura]
The TaskACL object associated with the current task. | AttachmentHeaderModel | ||
| title : String [somente leitura]
The text contained in the note title. | AttachmentHeaderModel | ||
| Método | Definido por | ||
|---|---|---|---|
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
Registra um objeto de ouvinte de evento em um objeto EventDispatcher, de forma que o ouvinte receba a notificação de um evento. | 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 | ||
![]() |
Envia um evento para o fluxo de eventos. | 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 | |
![]() |
Verifica se o objeto EventDispatcher tem ouvintes registrados para um tipo específico de evento. | EventDispatcher | |
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
![]() |
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | PresentationModel | |
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
Dispatches when the taskACL property changes on the
Task object. | AttachmentHeaderModel | ||
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
![]() |
Remove um ouvinte do objeto 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 | ||
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna a representação de string do objeto especificado. | Object | |
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
![]() |
Verifica se um ouvinte de evento está registrado nesse objeto EventDispatcher ou em qualquer um de seus ancestrais para o tipo de evento especificado. | EventDispatcher | |
| Constante | Definido por | ||
|---|---|---|---|
| NOTE_TITLE_MAXSIZE : int = 255 [estático]
A special value that indicates the maximum number of characters for a title in a note. | AttachmentHeaderModel | ||
| STATE_ADD_ATTACHMENT : String = "addAttachmentState" [estático]
A special value that indicates that it is possible to add notes and attachments. | AttachmentHeaderModel | ||
| STATE_ADD_ATTACHMENT_ONLY : String = "addAttachmentOnlyState" [estático]
A special value that indicates that it is possible to add only attachments. | AttachmentHeaderModel | ||
| STATE_ADD_NOTE : String = "addNoteState" [estático]
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" [estático]
A special value that indicates that it is possible to add a note. | AttachmentHeaderModel | ||
allowNewAttachments | propriedade |
allowNewAttachments:Boolean [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Attachments is permitted.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get allowNewAttachments():BooleanallowNewNotes | propriedade |
allowNewNotes:Boolean [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Notes is permitted.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get allowNewNotes():BooleanattachmentPermissions | propriedade |
attachmentPermissions:ArrayCollection [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get attachmentPermissions():ArrayCollectionerrorString | propriedade |
errorString:String [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error string.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get errorString():Stringfile | propriedade |
file:FileReference [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The FileReference object used to display the File Browse dialog box.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get file():FileReferencefileName | propriedade |
fileName:String [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the attachment being added.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get fileName():StringisIncludeAttachments | propriedade |
isIncludeAttachments:Boolean [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Attachments in the display.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get isIncludeAttachments():BooleanisIncludeNotes | propriedade |
isIncludeNotes:Boolean [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Notes in the display.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get isIncludeNotes():Booleannote | propriedade |
note:String [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The text contained in the note.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get note():StringpermissionIndex | propriedade |
permissionIndex:int [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get permissionIndex():inttask | propriedade |
task:lc.procmgmt.domain:Task [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The process management task that the attachments are associated with.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get task():lc.procmgmt.domain:TasktaskACL | propriedade |
taskACL:lc.procmgmt.domain:TaskACL [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get taskACL():lc.procmgmt.domain:TaskACLElementos da API relacionados
llc.procmgmt.domain.AttachmentPermissions
title | propriedade |
title:String [somente leitura] | Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The text contained in the note title.
Essa propriedade pode ser usada como a origem para o vínculo de dados. Quando essa propriedade é modificada, ela despacha o evento propertyChange .
Implementação
public function get title():StringAttachmentHeaderModel | () | Construtor |
public function AttachmentHeaderModel()| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
addAttachment | () | método |
public function addAttachment():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | () | método |
public function addNote():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | () | método |
public function clearFields():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | () | método |
public function getAttachmentFile():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | () | método |
public function onTaskChangeHandler(taskACL:lc.procmgmt.domain:TaskACL):void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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.
Parâmetros
taskACL:lc.procmgmt.domain:TaskACL — The ACL (access control list) associated with the current task.
|
selectLabel | () | método |
public function selectLabel(item:Object):String| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the label associated with the AttachmentPermissions object
that was passed in.
Parâmetros
item:Object — The permissions of an attachment.
|
String — The associated label of an item.
|
setAddAttachmentState | () | método |
public function setAddAttachmentState():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | () | método |
public function setAddNoteState():void| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | Constante |
public static const NOTE_TITLE_MAXSIZE:int = 255| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | Constante |
public static const STATE_ADD_ATTACHMENT:String = "addAttachmentState"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | Constante |
public static const STATE_ADD_ATTACHMENT_ONLY:String = "addAttachmentOnlyState"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that indicates that it is possible to add only attachments.
STATE_ADD_NOTE | Constante |
public static const STATE_ADD_NOTE:String = "addNoteState"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | 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 | Constante |
public static const STATE_ADD_NOTE_ONLY:String = "addNoteOnlyState"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
| Versões de runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that indicates that it is possible to add a note.
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas