Paket | lc.procmgmt.ui.attachments |
Klass | public class AttachmentHeaderModel |
Arv | AttachmentHeaderModel PresentationModel EventDispatcher Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
AttachmentsHeaderModel
class acts as the model for the
AttachmentsHeader
component.
Relaterade API-element
Egenskap | Definieras med | ||
---|---|---|---|
allowNewAttachments : Boolean [skrivskyddad]
The indicator that adding Attachments is permitted. | AttachmentHeaderModel | ||
allowNewNotes : Boolean [skrivskyddad]
The indicator that adding Notes is permitted. | AttachmentHeaderModel | ||
attachmentPermissions : ArrayCollection [skrivskyddad]
An array of the possible combinations of the AttachmentPermissions object that
can be associated with an AttachmentHeader component. | AttachmentHeaderModel | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
errorString : String [skrivskyddad]
The error string. | AttachmentHeaderModel | ||
file : FileReference [skrivskyddad]
The FileReference object used to display the File Browse dialog box. | AttachmentHeaderModel | ||
fileName : String [skrivskyddad]
The name of the attachment being added. | AttachmentHeaderModel | ||
isIncludeAttachments : Boolean [skrivskyddad]
Indicator to include Attachments in the display. | AttachmentHeaderModel | ||
isIncludeNotes : Boolean [skrivskyddad]
Indicator to include Notes in the display. | AttachmentHeaderModel | ||
note : String [skrivskyddad]
The text contained in the note. | AttachmentHeaderModel | ||
permissionIndex : int [skrivskyddad]
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 [skrivskyddad]
The name of the state the current view is in. | PresentationModel | ||
task : lc.procmgmt.domain:Task [skrivskyddad]
The process management task that the attachments are associated with. | AttachmentHeaderModel | ||
taskACL : lc.procmgmt.domain:TaskACL [skrivskyddad]
The TaskACL object associated with the current task. | AttachmentHeaderModel | ||
title : String [skrivskyddad]
The text contained in the note title. | AttachmentHeaderModel |
Metod | Definieras med | ||
---|---|---|---|
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
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | 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 | ||
Skickar en händelse till händelseflödet. | 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 | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | PresentationModel | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Dispatches when the taskACL property changes on the
Task object. | AttachmentHeaderModel | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | 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 | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Konstant | Definieras med | ||
---|---|---|---|
NOTE_TITLE_MAXSIZE : int = 255 [statisk]
A special value that indicates the maximum number of characters for a title in a note. | AttachmentHeaderModel | ||
STATE_ADD_ATTACHMENT : String = "addAttachmentState" [statisk]
A special value that indicates that it is possible to add notes and attachments. | AttachmentHeaderModel | ||
STATE_ADD_ATTACHMENT_ONLY : String = "addAttachmentOnlyState" [statisk]
A special value that indicates that it is possible to add only attachments. | AttachmentHeaderModel | ||
STATE_ADD_NOTE : String = "addNoteState" [statisk]
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" [statisk]
A special value that indicates that it is possible to add a note. | AttachmentHeaderModel |
allowNewAttachments | egenskap |
allowNewAttachments:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Attachments is permitted.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get allowNewAttachments():Boolean
allowNewNotes | egenskap |
allowNewNotes:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Notes is permitted.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get allowNewNotes():Boolean
attachmentPermissions | egenskap |
attachmentPermissions:ArrayCollection
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get attachmentPermissions():ArrayCollection
errorString | egenskap |
errorString:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The error string.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get errorString():String
file | egenskap |
file:FileReference
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The FileReference
object used to display the File Browse dialog box.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get file():FileReference
fileName | egenskap |
fileName:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The name of the attachment being added.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get fileName():String
isIncludeAttachments | egenskap |
isIncludeAttachments:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Attachments in the display.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get isIncludeAttachments():Boolean
isIncludeNotes | egenskap |
isIncludeNotes:Boolean
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Notes in the display.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get isIncludeNotes():Boolean
note | egenskap |
note:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The text contained in the note.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get note():String
permissionIndex | egenskap |
permissionIndex:int
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get permissionIndex():int
task | egenskap |
task:lc.procmgmt.domain:Task
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The process management task that the attachments are associated with.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get task():lc.procmgmt.domain:Task
taskACL | egenskap |
taskACL:lc.procmgmt.domain:TaskACL
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get taskACL():lc.procmgmt.domain:TaskACL
Relaterade API-element
llc.procmgmt.domain.AttachmentPermissions
title | egenskap |
title:String
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The text contained in the note title.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen propertyChange
.
Implementering
public function get title():String
AttachmentHeaderModel | () | Konstruktor |
public function AttachmentHeaderModel()
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
addAttachment | () | metod |
public function addAttachment():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | () | metod |
public function addNote():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | () | metod |
public function clearFields():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | () | metod |
public function getAttachmentFile():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | () | metod |
public function onTaskChangeHandler(taskACL:lc.procmgmt.domain:TaskACL):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Parametrar
taskACL:lc.procmgmt.domain:TaskACL — The ACL (access control list) associated with the current task.
|
selectLabel | () | metod |
public function selectLabel(item:Object):String
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the label associated with the AttachmentPermissions
object
that was passed in.
Parametrar
item:Object — The permissions of an attachment.
|
String — The associated label of an item.
|
setAddAttachmentState | () | metod |
public function setAddAttachmentState():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | () | metod |
public function setAddNoteState():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | Konstant |
public static const NOTE_TITLE_MAXSIZE:int = 255
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | Konstant |
public static const STATE_ADD_ATTACHMENT:String = "addAttachmentState"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | Konstant |
public static const STATE_ADD_ATTACHMENT_ONLY:String = "addAttachmentOnlyState"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that indicates that it is possible to add only attachments.
STATE_ADD_NOTE | Konstant |
public static const STATE_ADD_NOTE:String = "addNoteState"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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 | Konstant |
public static const STATE_ADD_NOTE_ONLY:String = "addNoteOnlyState"
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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, 01:40 PM Z