| Pacchetto | lc.procmgmt.ui.attachments |
| Classe | public class AttachmentHeaderModel |
| Ereditarietà | AttachmentHeaderModel PresentationModel EventDispatcher Object |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
AttachmentsHeaderModel class acts as the model for the
AttachmentsHeader component.
Elementi API correlati
| Proprietà | Definito da | ||
|---|---|---|---|
| allowNewAttachments : Boolean [sola lettura]
The indicator that adding Attachments is permitted. | AttachmentHeaderModel | ||
| allowNewNotes : Boolean [sola lettura]
The indicator that adding Notes is permitted. | AttachmentHeaderModel | ||
| attachmentPermissions : ArrayCollection [sola lettura]
An array of the possible combinations of the AttachmentPermissions object that
can be associated with an AttachmentHeader component. | AttachmentHeaderModel | ||
![]() | constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | |
| errorString : String [sola lettura]
The error string. | AttachmentHeaderModel | ||
| file : FileReference [sola lettura]
The FileReference object used to display the File Browse dialog box. | AttachmentHeaderModel | ||
| fileName : String [sola lettura]
The name of the attachment being added. | AttachmentHeaderModel | ||
| isIncludeAttachments : Boolean [sola lettura]
Indicator to include Attachments in the display. | AttachmentHeaderModel | ||
| isIncludeNotes : Boolean [sola lettura]
Indicator to include Notes in the display. | AttachmentHeaderModel | ||
| note : String [sola lettura]
The text contained in the note. | AttachmentHeaderModel | ||
| permissionIndex : int [sola lettura]
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 [sola lettura]
The name of the state the current view is in. | PresentationModel | |
| task : lc.procmgmt.domain:Task [sola lettura]
The process management task that the attachments are associated with. | AttachmentHeaderModel | ||
| taskACL : lc.procmgmt.domain:TaskACL [sola lettura]
The TaskACL object associated with the current task. | AttachmentHeaderModel | ||
| title : String [sola lettura]
The text contained in the note title. | AttachmentHeaderModel | ||
| Metodo | Definito da | ||
|---|---|---|---|
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 un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un 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 | ||
![]() |
Invia un evento nel flusso di eventi. | 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 per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento. | EventDispatcher | |
![]() |
Indica se per un oggetto è definita una proprietà specifica. | Object | |
![]() |
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | PresentationModel | |
![]() |
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | |
Dispatches when the taskACL property changes on the
Task object. | AttachmentHeaderModel | ||
![]() |
Indica se la proprietà specificata esiste ed è enumerabile. | Object | |
![]() |
Rimuove un listener dall'oggetto 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 | ||
![]() |
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | |
![]() |
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | |
![]() |
Restituisce il valore di base dell'oggetto specificato. | Object | |
![]() |
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato. | EventDispatcher | |
| Costante | Definito da | ||
|---|---|---|---|
| NOTE_TITLE_MAXSIZE : int = 255 [statico]
A special value that indicates the maximum number of characters for a title in a note. | AttachmentHeaderModel | ||
| STATE_ADD_ATTACHMENT : String = "addAttachmentState" [statico]
A special value that indicates that it is possible to add notes and attachments. | AttachmentHeaderModel | ||
| STATE_ADD_ATTACHMENT_ONLY : String = "addAttachmentOnlyState" [statico]
A special value that indicates that it is possible to add only attachments. | AttachmentHeaderModel | ||
| STATE_ADD_NOTE : String = "addNoteState" [statico]
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" [statico]
A special value that indicates that it is possible to add a note. | AttachmentHeaderModel | ||
allowNewAttachments | proprietà |
allowNewAttachments:Boolean [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9.0.0.1 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Attachments is permitted.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get allowNewAttachments():BooleanallowNewNotes | proprietà |
allowNewNotes:Boolean [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9.0.0.1 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Notes is permitted.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get allowNewNotes():BooleanattachmentPermissions | proprietà |
attachmentPermissions:ArrayCollection [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get attachmentPermissions():ArrayCollectionerrorString | proprietà |
errorString:String [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error string.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get errorString():Stringfile | proprietà |
file:FileReference [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The FileReference object used to display the File Browse dialog box.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get file():FileReferencefileName | proprietà |
fileName:String [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the attachment being added.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get fileName():StringisIncludeAttachments | proprietà |
isIncludeAttachments:Boolean [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Attachments in the display.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get isIncludeAttachments():BooleanisIncludeNotes | proprietà |
isIncludeNotes:Boolean [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Notes in the display.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get isIncludeNotes():Booleannote | proprietà |
note:String [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The text contained in the note.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get note():StringpermissionIndex | proprietà |
permissionIndex:int [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get permissionIndex():inttask | proprietà |
task:lc.procmgmt.domain:Task [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The process management task that the attachments are associated with.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get task():lc.procmgmt.domain:TasktaskACL | proprietà |
taskACL:lc.procmgmt.domain:TaskACL [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get taskACL():lc.procmgmt.domain:TaskACLElementi API correlati
llc.procmgmt.domain.AttachmentPermissions
title | proprietà |
title:String [sola lettura] | Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The text contained in the note title.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange .
Implementazione
public function get title():StringAttachmentHeaderModel | () | Funzione di costruzione |
public function AttachmentHeaderModel()| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
addAttachment | () | metodo |
public function addAttachment():void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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 | () | metodo |
public function addNote():void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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 | () | metodo |
public function clearFields():void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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 | () | metodo |
public function getAttachmentFile():void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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 | () | metodo |
public function onTaskChangeHandler(taskACL:lc.procmgmt.domain:TaskACL):void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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.
Parametri
taskACL:lc.procmgmt.domain:TaskACL — The ACL (access control list) associated with the current task.
|
selectLabel | () | metodo |
public function selectLabel(item:Object):String| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the label associated with the AttachmentPermissions object
that was passed in.
Parametri
item:Object — The permissions of an attachment.
|
String — The associated label of an item.
|
setAddAttachmentState | () | metodo |
public function setAddAttachmentState():void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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 | () | metodo |
public function setAddNoteState():void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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 | Costante |
public static const NOTE_TITLE_MAXSIZE:int = 255| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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 | Costante |
public static const STATE_ADD_ATTACHMENT:String = "addAttachmentState"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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 | Costante |
public static const STATE_ADD_ATTACHMENT_ONLY:String = "addAttachmentOnlyState"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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 | Costante |
public static const STATE_ADD_NOTE:String = "addNoteState"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni 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 | Costante |
public static const STATE_ADD_NOTE_ONLY:String = "addNoteOnlyState"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | 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, 02:44 PM Z
Nascondi proprietà pubbliche ereditate
Mostra proprietà pubbliche ereditate