Pakket | lc.procmgmt.ui.attachments |
Klasse | public class AttachmentHeaderModel |
Overerving | AttachmentHeaderModel PresentationModel EventDispatcher Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
AttachmentsHeaderModel
class acts as the model for the
AttachmentsHeader
component.
Verwante API-elementen
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
allowNewAttachments : Boolean [alleen-lezen]
The indicator that adding Attachments is permitted. | AttachmentHeaderModel | ||
allowNewNotes : Boolean [alleen-lezen]
The indicator that adding Notes is permitted. | AttachmentHeaderModel | ||
attachmentPermissions : ArrayCollection [alleen-lezen]
An array of the possible combinations of the AttachmentPermissions object that
can be associated with an AttachmentHeader component. | AttachmentHeaderModel | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
errorString : String [alleen-lezen]
The error string. | AttachmentHeaderModel | ||
file : FileReference [alleen-lezen]
The FileReference object used to display the File Browse dialog box. | AttachmentHeaderModel | ||
fileName : String [alleen-lezen]
The name of the attachment being added. | AttachmentHeaderModel | ||
isIncludeAttachments : Boolean [alleen-lezen]
Indicator to include Attachments in the display. | AttachmentHeaderModel | ||
isIncludeNotes : Boolean [alleen-lezen]
Indicator to include Notes in the display. | AttachmentHeaderModel | ||
note : String [alleen-lezen]
The text contained in the note. | AttachmentHeaderModel | ||
permissionIndex : int [alleen-lezen]
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 [alleen-lezen]
The name of the state the current view is in. | PresentationModel | ||
task : lc.procmgmt.domain:Task [alleen-lezen]
The process management task that the attachments are associated with. | AttachmentHeaderModel | ||
taskACL : lc.procmgmt.domain:TaskACL [alleen-lezen]
The TaskACL object associated with the current task. | AttachmentHeaderModel | ||
title : String [alleen-lezen]
The text contained in the note title. | AttachmentHeaderModel |
Methode | Gedefinieerd door | ||
---|---|---|---|
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
Registreert een gebeurtenislistenerobject bij een object EventDispatcher, zodat de listener een melding van een gebeurtenis ontvangt. | 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 | ||
Verzendt een gebeurtenis naar de gebeurtenisstroom. | 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 | ||
Controleert of het object EventDispatcher listeners heeft geregistreerd voor een specifiek type gebeurtenis. | EventDispatcher | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | PresentationModel | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Dispatches when the taskACL property changes on the
Task object. | AttachmentHeaderModel | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Verwijdert een listener uit het object 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 | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object | ||
Controleert of een gebeurtenislistener is geregistreerd bij dit object EventDispatcher of een van de voorouders voor het opgegeven type gebeurtenis. | EventDispatcher |
Constante | Gedefinieerd door | ||
---|---|---|---|
NOTE_TITLE_MAXSIZE : int = 255 [statisch]
A special value that indicates the maximum number of characters for a title in a note. | AttachmentHeaderModel | ||
STATE_ADD_ATTACHMENT : String = "addAttachmentState" [statisch]
A special value that indicates that it is possible to add notes and attachments. | AttachmentHeaderModel | ||
STATE_ADD_ATTACHMENT_ONLY : String = "addAttachmentOnlyState" [statisch]
A special value that indicates that it is possible to add only attachments. | AttachmentHeaderModel | ||
STATE_ADD_NOTE : String = "addNoteState" [statisch]
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" [statisch]
A special value that indicates that it is possible to add a note. | AttachmentHeaderModel |
allowNewAttachments | eigenschap |
allowNewAttachments:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Attachments is permitted.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get allowNewAttachments():Boolean
allowNewNotes | eigenschap |
allowNewNotes:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Notes is permitted.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get allowNewNotes():Boolean
attachmentPermissions | eigenschap |
attachmentPermissions:ArrayCollection
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get attachmentPermissions():ArrayCollection
errorString | eigenschap |
errorString:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error string.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get errorString():String
file | eigenschap |
file:FileReference
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The FileReference
object used to display the File Browse dialog box.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get file():FileReference
fileName | eigenschap |
fileName:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the attachment being added.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get fileName():String
isIncludeAttachments | eigenschap |
isIncludeAttachments:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Attachments in the display.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get isIncludeAttachments():Boolean
isIncludeNotes | eigenschap |
isIncludeNotes:Boolean
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Notes in the display.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get isIncludeNotes():Boolean
note | eigenschap |
note:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The text contained in the note.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get note():String
permissionIndex | eigenschap |
permissionIndex:int
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get permissionIndex():int
task | eigenschap |
task:lc.procmgmt.domain:Task
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The process management task that the attachments are associated with.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get task():lc.procmgmt.domain:Task
taskACL | eigenschap |
taskACL:lc.procmgmt.domain:TaskACL
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get taskACL():lc.procmgmt.domain:TaskACL
Verwante API-elementen
llc.procmgmt.domain.AttachmentPermissions
title | eigenschap |
title:String
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The text contained in the note title.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get title():String
AttachmentHeaderModel | () | Constructor |
public function AttachmentHeaderModel()
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
addAttachment | () | methode |
public function addAttachment():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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 | () | methode |
public function addNote():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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 | () | methode |
public function clearFields():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Reinitializes the model's properties. The following properties are reinitialized:
- The
file
property is set to a value ofnull
. - The
note
,title
,fileName
, anderrorString
properties are set to an empty string. - The
permissionIndex
property is set to a value ofzero
.
getAttachmentFile | () | methode |
public function getAttachmentFile():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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 | () | methode |
public function onTaskChangeHandler(taskACL:lc.procmgmt.domain:TaskACL):void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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.
Parameters
taskACL:lc.procmgmt.domain:TaskACL — The ACL (access control list) associated with the current task.
|
selectLabel | () | methode |
public function selectLabel(item:Object):String
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the label associated with the AttachmentPermissions
object
that was passed in.
Parameters
item:Object — The permissions of an attachment.
|
String — The associated label of an item.
|
setAddAttachmentState | () | methode |
public function setAddAttachmentState():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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 | () | methode |
public function setAddNoteState():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtimeversies: | 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:42 AM Z