套件 | lc.procmgmt.ui.attachments |
類別 | public class AttachmentHeaderModel |
繼承 | AttachmentHeaderModel PresentationModel EventDispatcher Object |
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
AttachmentsHeaderModel
class acts as the model for the
AttachmentsHeader
component.
相關 API 元素
屬性 | 定義自 | ||
---|---|---|---|
allowNewAttachments : Boolean [唯讀]
The indicator that adding Attachments is permitted. | AttachmentHeaderModel | ||
allowNewNotes : Boolean [唯讀]
The indicator that adding Notes is permitted. | AttachmentHeaderModel | ||
attachmentPermissions : ArrayCollection [唯讀]
An array of the possible combinations of the AttachmentPermissions object that
can be associated with an AttachmentHeader component. | AttachmentHeaderModel | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
errorString : String [唯讀]
The error string. | AttachmentHeaderModel | ||
file : FileReference [唯讀]
The FileReference object used to display the File Browse dialog box. | AttachmentHeaderModel | ||
fileName : String [唯讀]
The name of the attachment being added. | AttachmentHeaderModel | ||
isIncludeAttachments : Boolean [唯讀]
Indicator to include Attachments in the display. | AttachmentHeaderModel | ||
isIncludeNotes : Boolean [唯讀]
Indicator to include Notes in the display. | AttachmentHeaderModel | ||
note : String [唯讀]
The text contained in the note. | AttachmentHeaderModel | ||
permissionIndex : int [唯讀]
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 [唯讀]
The name of the state the current view is in. | PresentationModel | ||
task : lc.procmgmt.domain:Task [唯讀]
The process management task that the attachments are associated with. | AttachmentHeaderModel | ||
taskACL : lc.procmgmt.domain:TaskACL [唯讀]
The TaskACL object associated with the current task. | AttachmentHeaderModel | ||
title : String [唯讀]
The text contained in the note title. | AttachmentHeaderModel |
方法 | 定義自 | ||
---|---|---|---|
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
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | 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 | ||
會將事件傳送到事件流程。 | 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 | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
Initializes the presentation model after the view bindings
are processed to prevent view bindings from overriding the initial model state. | PresentationModel | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
Dispatches when the taskACL property changes on the
Task object. | AttachmentHeaderModel | ||
指出指定的屬性是否存在,以及是否可列舉。 | 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 | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
常數 | 定義自 | ||
---|---|---|---|
NOTE_TITLE_MAXSIZE : int = 255 [靜態]
A special value that indicates the maximum number of characters for a title in a note. | AttachmentHeaderModel | ||
STATE_ADD_ATTACHMENT : String = "addAttachmentState" [靜態]
A special value that indicates that it is possible to add notes and attachments. | AttachmentHeaderModel | ||
STATE_ADD_ATTACHMENT_ONLY : String = "addAttachmentOnlyState" [靜態]
A special value that indicates that it is possible to add only attachments. | AttachmentHeaderModel | ||
STATE_ADD_NOTE : String = "addNoteState" [靜態]
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" [靜態]
A special value that indicates that it is possible to add a note. | AttachmentHeaderModel |
allowNewAttachments | 屬性 |
allowNewAttachments:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Attachments is permitted.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get allowNewAttachments():Boolean
allowNewNotes | 屬性 |
allowNewNotes:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9.0.0.1 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The indicator that adding Notes is permitted.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get allowNewNotes():Boolean
attachmentPermissions | 屬性 |
attachmentPermissions:ArrayCollection
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get attachmentPermissions():ArrayCollection
errorString | 屬性 |
file | 屬性 |
file:FileReference
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The FileReference
object used to display the File Browse dialog box.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get file():FileReference
fileName | 屬性 |
isIncludeAttachments | 屬性 |
isIncludeAttachments:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Attachments in the display.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get isIncludeAttachments():Boolean
isIncludeNotes | 屬性 |
isIncludeNotes:Boolean
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Indicator to include Notes in the display.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get isIncludeNotes():Boolean
note | 屬性 |
permissionIndex | 屬性 |
permissionIndex:int
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get permissionIndex():int
task | 屬性 |
task:lc.procmgmt.domain:Task
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
The process management task that the attachments are associated with.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get task():lc.procmgmt.domain:Task
taskACL | 屬性 |
taskACL:lc.procmgmt.domain:TaskACL
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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.
此屬性可以做為資料繫結的來源。一旦修改此屬性,將傳送 propertyChange
事件。
實作
public function get taskACL():lc.procmgmt.domain:TaskACL
相關 API 元素
llc.procmgmt.domain.AttachmentPermissions
title | 屬性 |
AttachmentHeaderModel | () | 建構函式 |
public function AttachmentHeaderModel()
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
addAttachment | () | 方法 |
public function addAttachment():void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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 | () | 方法 |
public function addNote():void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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 | () | 方法 |
public function clearFields():void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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 | () | 方法 |
public function getAttachmentFile():void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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 | () | 方法 |
public function onTaskChangeHandler(taskACL:lc.procmgmt.domain:TaskACL):void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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.
參數
taskACL:lc.procmgmt.domain:TaskACL — The ACL (access control list) associated with the current task.
|
selectLabel | () | 方法 |
public function selectLabel(item:Object):String
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Retrieves the label associated with the AttachmentPermissions
object
that was passed in.
參數
item:Object — The permissions of an attachment.
|
String — The associated label of an item.
|
setAddAttachmentState | () | 方法 |
public function setAddAttachmentState():void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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 | () | 方法 |
public function setAddNoteState():void
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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 | 常數 |
public static const NOTE_TITLE_MAXSIZE:int = 255
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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 | 常數 |
public static const STATE_ADD_ATTACHMENT:String = "addAttachmentState"
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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 | 常數 |
public static const STATE_ADD_ATTACHMENT_ONLY:String = "addAttachmentOnlyState"
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that indicates that it is possible to add only attachments.
STATE_ADD_NOTE | 常數 |
public static const STATE_ADD_NOTE:String = "addNoteState"
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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 | 常數 |
public static const STATE_ADD_NOTE_ONLY:String = "addNoteOnlyState"
語言版本: | ActionScript 3.0 |
產品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
執行階段版本: | 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, 03:47 PM Z