包 | com.adobe.solutions.rca.domain.impl |
类 | public class ReviewContext |
继承 | ReviewContext Object |
实现 | IReviewContext, IEventDispatcher |
子类 | ReviewTemplate |
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
属性 | 由以下参数定义 | ||
---|---|---|---|
additionalMetadata : String
Any review-specific data can be preserved in this field. | ReviewContext | ||
allMemberList : IList [只读]
The property returns a collection of all members. | ReviewContext | ||
arsProcessName : String
Name of the process used to generate Approval Routing Sheet (ARS). | ReviewContext | ||
auditLevel : String
The level of audit associated with this review. | ReviewContext | ||
calculatedEndDate : Date
The endDate if the review has ended. | ReviewContext | ||
calculatedStartDate : Date
The startDate if the review has started. | ReviewContext | ||
changeDescription : String
This field is used to store the change desciption, if a review is revised. | ReviewContext | ||
commentServerPath : String
Server location where Adobe ® Acrobat ® stores the inline comments. | ReviewContext | ||
commentVisibility : String
Adobe Acrobat's inline comment visibility across stages. | ReviewContext | ||
complianceCode : String
Compliance code of the schedule template. | ReviewContext | ||
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
currentRevision : Boolean
A Boolean value to decide whether this is the current revision of the review or not. | ReviewContext | ||
currentStage : int
Stage number in progress for this review (starts with 1). | ReviewContext | ||
customAttributes : IList
List of custom attributes. | ReviewContext | ||
endDate : Date
End date of a review. | ReviewContext | ||
ganttItems : ArrayCollection [只读]
A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True. | ReviewContext | ||
id : String [只读]
A unique identifier for this review version. | ReviewContext | ||
initiator : IInitiator
Initiator of a review. | ReviewContext | ||
invocationId : String
The ID of the invocation request when a review is initiated. | ReviewContext | ||
itemEndDate : Date [只读]
End date of the item. | ReviewContext | ||
itemName : String [只读]
Name of the item. | ReviewContext | ||
itemStartDate : Date [只读]
Start date of the item. | ReviewContext | ||
itemState : String [只读]
State of the item. | ReviewContext | ||
itemStatus : String [只读]
Status of the item. | ReviewContext | ||
itemType : String [只读]
Type of item. | ReviewContext | ||
largeThumbnail : File
Large thumbnail image of a document under review. | ReviewContext | ||
memberList : IList [只读]
The property returns a collection of directly associated members. | ReviewContext | ||
nativeFileName : String
Path of the file, in the content repository, on which the review is initiated. | ReviewContext | ||
operationList : ArrayCollection [只读]
A collection of operations that are available to a user through the context menu in the Gantt chart. | ReviewContext | ||
purpose : String
Review purpose. | ReviewContext | ||
reviewCommentingAndApproval : IReviewCommentingAndApproval
An instance of Review Commenting and Approval service for this review. | ReviewContext | ||
reviewId : String
A unique identifier of the review. | ReviewContext | ||
reviewType : String
Type of review like Regulated or Ad-hoc. | ReviewContext | ||
revision : int
Review revision number. | ReviewContext | ||
rtsProcessName : String
Name of the process used to generate Review Tracking Sheet (RTS). | ReviewContext | ||
showChildren : Boolean
A Boolean flag to determine if the children need to be displayed. | ReviewContext | ||
showParent : Boolean
A Boolean flag to determine if the parent needs to be displayed. | ReviewContext | ||
smallThumbnail : File
Small thumbnail image of a document under review. | ReviewContext | ||
stageList : IList
List of stages in a review. | ReviewContext | ||
startDate : Date
Start date of a review. | ReviewContext | ||
status : String
Review purpose. | ReviewContext | ||
stp : Boolean
A Boolean field to enable or disable Straight Through Processing (STP). | ReviewContext | ||
supportingDocumentList : IList
List of supporting documents for a review. | ReviewContext | ||
templateAuthor : String
Name of the schedule template author. | ReviewContext | ||
templateDescription : String
Description of the schedule template used to initiate this review. | ReviewContext | ||
title : String
Review title. | ReviewContext | ||
uniqueMemberList : IList [只读]
The property returns a collection of unique members. | ReviewContext | ||
vo : ReviewContextVO
The Value Object for this review version. | ReviewContext |
方法 | 由以下参数定义 | ||
---|---|---|---|
ReviewContext(value:ReviewContextVO = null)
The constructor for ReviewContext class. | ReviewContext | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | ReviewContext | ||
This remote operation adds a member to the collection and submits the change to the server. | ReviewContext | ||
Adds stage to the review after the last stage. | ReviewContext | ||
Adds stage to the review at the specified index from the beginning. | ReviewContext | ||
Adds the supporting document at the end of the list of supportingDocuments for this review. | ReviewContext | ||
Adds the supporting document at the index in the list of supportingDocuments for this review. | ReviewContext | ||
Populates the calculatedStartDate and calculatedEndDate fields. | ReviewContext | ||
Clears ID for a reviewContext object for persisting it at another location in the repository. | ReviewContext | ||
Dispatches an event into the event flow. | ReviewContext | ||
Returns an asset archive for this review. | ReviewContext | ||
Returns largeThumbnail for this review version. | ReviewContext | ||
Returns the original file submitted for review. | ReviewContext | ||
Returns the review context value object for this review. | ReviewContext | ||
Returns the review document for this review. | ReviewContext | ||
Returns smallThumbnail for this review version. | ReviewContext | ||
A Boolean function to determine if the item has displayable children. | ReviewContext | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | ReviewContext | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
Removes all stages from a review. | ReviewContext | ||
Removes all supporting documents from the list of supportingDocuments for this review. | ReviewContext | ||
Removes a listener from the EventDispatcher object. | ReviewContext | ||
This remote operation removes a member from the collection and submits the change to the server. | ReviewContext | ||
Removes a stage at the specified index from the beginning of the review. | ReviewContext | ||
Removes a supporting document at the index from the list of supportingDocuments for this review. | ReviewContext | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
This remote operation updates the tile of a member present in collection and submits the change to the server. | ReviewContext | ||
返回指定对象的原始值。 | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | ReviewContext |
additionalMetadata | 属性 |
additionalMetadata:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Any review-specific data can be preserved in this field.
实现
public function get additionalMetadata():String
public function set additionalMetadata(value:String):void
allMemberList | 属性 |
allMemberList:IList
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The property returns a collection of all members. It takes into consideration any child objects that may be of type IMemberCollection
.
此属性可用作数据绑定的源。修改此属性后,将调度 memberListChanged
事件。
实现
public function get allMemberList():IList
arsProcessName | 属性 |
arsProcessName:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Name of the process used to generate Approval Routing Sheet (ARS).
实现
public function get arsProcessName():String
public function set arsProcessName(value:String):void
auditLevel | 属性 |
calculatedEndDate | 属性 |
calculatedEndDate:Date
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The endDate
if the review has ended. Otherwise the expected ended date.
实现
public function get calculatedEndDate():Date
public function set calculatedEndDate(value:Date):void
calculatedStartDate | 属性 |
calculatedStartDate:Date
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The startDate
if the review has started. Otherwise the expected start date.
实现
public function get calculatedStartDate():Date
public function set calculatedStartDate(value:Date):void
changeDescription | 属性 |
changeDescription:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This field is used to store the change desciption, if a review is revised.
实现
public function get changeDescription():String
public function set changeDescription(value:String):void
commentServerPath | 属性 |
commentServerPath:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Server location where Adobe ® Acrobat ® stores the inline comments.
实现
public function get commentServerPath():String
public function set commentServerPath(value:String):void
commentVisibility | 属性 |
commentVisibility:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Adobe Acrobat's inline comment visibility across stages.
实现
public function get commentVisibility():String
public function set commentVisibility(value:String):void
complianceCode | 属性 |
currentRevision | 属性 |
currentRevision:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
A Boolean value to decide whether this is the current revision of the review or not.
实现
public function get currentRevision():Boolean
public function set currentRevision(value:Boolean):void
currentStage | 属性 |
customAttributes | 属性 |
endDate | 属性 |
ganttItems | 属性 |
ganttItems:ArrayCollection
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
A collection of the displayable children that are displayed in the Gantt chart if showChildren
flag is set to True
.
此属性可用作数据绑定的源。修改此属性后,将调度 ganttItemsChanged
事件。
实现
public function get ganttItems():ArrayCollection
id | 属性 |
initiator | 属性 |
initiator:IInitiator
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Initiator of a review.
实现
public function get initiator():IInitiator
public function set initiator(value:IInitiator):void
invocationId | 属性 |
itemEndDate | 属性 |
itemName | 属性 |
itemStartDate | 属性 |
itemState | 属性 |
itemStatus | 属性 |
itemType | 属性 |
largeThumbnail | 属性 |
memberList | 属性 |
nativeFileName | 属性 |
nativeFileName:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Path of the file, in the content repository, on which the review is initiated.
实现
public function get nativeFileName():String
public function set nativeFileName(value:String):void
operationList | 属性 |
operationList:ArrayCollection
[只读] 语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
A collection of operations that are available to a user through the context menu in the Gantt chart.
实现
public function get operationList():ArrayCollection
purpose | 属性 |
reviewCommentingAndApproval | 属性 |
reviewCommentingAndApproval:IReviewCommentingAndApproval
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
An instance of Review Commenting and Approval service for this review.
实现
public function get reviewCommentingAndApproval():IReviewCommentingAndApproval
public function set reviewCommentingAndApproval(value:IReviewCommentingAndApproval):void
reviewId | 属性 |
reviewType | 属性 |
revision | 属性 |
rtsProcessName | 属性 |
rtsProcessName:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Name of the process used to generate Review Tracking Sheet (RTS).
实现
public function get rtsProcessName():String
public function set rtsProcessName(value:String):void
showChildren | 属性 |
showChildren:Boolean
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
A Boolean flag to determine if the children need to be displayed.
实现
public function get showChildren():Boolean
public function set showChildren(value:Boolean):void
showParent | 属性 |
smallThumbnail | 属性 |
stageList | 属性 |
startDate | 属性 |
status | 属性 |
stp | 属性 |
supportingDocumentList | 属性 |
supportingDocumentList:IList
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
List of supporting documents for a review.
实现
public function get supportingDocumentList():IList
public function set supportingDocumentList(value:IList):void
templateAuthor | 属性 |
templateDescription | 属性 |
templateDescription:String
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Description of the schedule template used to initiate this review.
实现
public function get templateDescription():String
public function set templateDescription(value:String):void
title | 属性 |
uniqueMemberList | 属性 |
vo | 属性 |
vo:ReviewContextVO
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The Value Object for this review version.
实现
public function get vo():ReviewContextVO
public function set vo(value:ReviewContextVO):void
ReviewContext | () | 构造函数 |
public function ReviewContext(value:ReviewContextVO = null)
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10.0 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
The constructor for ReviewContext
class.
value:ReviewContextVO (default = null ) — Review context value object.
|
addEventListener | () | 方法 |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event. You can register event listeners on all nodes in the display list for a specific type of event, phase, and priority.
After you successfully register an event listener, you cannot change its priority
through additional calls to addEventListener()
. To change a listener's priority, you
must first call removeEventListener()
. Then you can register the listener again with the new
priority level.
After the listener is registered, subsequent calls to
addEventListener()
with a different value for either type
or useCapture
result in the
creation of a separate listener registration. For example, if you first register a
listener with useCapture
set to true
, it listens only during the capture phase. If you
call addEventListener()
again using the same listener object, but with useCapture
set to
false
, you have two separate listeners: one that listens during the capture phase, and
another that listens during the target and bubbling phases.
You cannot register an event listener for only the target phase or the bubbling phase. Those phases are coupled during registration because bubbling applies only to the ancestors of the target node.
When you no longer need an event listener, remove it by calling EventDispatcher.removeEventListener()
; otherwise, memory problems might result. Objects
with registered event listeners are not automatically removed from memory because the
garbage collector does not remove objects that still have references.
Copying an EventDispatcher instance does not copy the event listeners attached to it. (If your newly created node needs an event listener, you must attach the listener after creating the node.) However, if you move an EventDispatcher instance, the event listeners attached to it move along with it.
If the event listener is being registered on a node while an event is also being processed on this node, the event listener is not triggered during the current phase but may be triggered during a later phase in the event flow, such as the bubbling phase.
If an event listener is removed from a node while an event is being processed on the node, it is still triggered by the current actions. After it is removed, the event listener is never invoked again (unless it is registered again for future processing).
参数
type:String — The type of event.
| |
listener:Function — The listener function that processes the event. This function must accept an event object
as its only parameter and must return nothing, as this example shows:
| |
useCapture:Boolean (default = false ) — Determines whether the listener works in the capture phase or the target
and bubbling phases. If useCapture is set to true , the
listener processes the event only during the capture phase and not in the target or
bubbling phase. If useCapture is false , the listener processes the event only
during the target or bubbling phase. To listen for the event in all three phases, call
addEventListener() twice, once with useCapture set to true ,
then again with useCapture set to false .
| |
priority:int (default = 0 ) — The priority level of the event listener. Priorities are designated by a 32-bit integer. The higher the number, the higher the priority. All listeners with priority n are processed before listeners of priority n-1. If two or more listeners share the same priority, they are processed in the order in which they were added. The default priority is 0.
| |
weakRef:Boolean (default = false ) — Determines whether the reference to the listener is strong or weak. A strong
reference (the default) prevents your listener from being garbage-collected. A weak
reference does not. Class-level member functions are not subject to garbage
collection, so you can set |
addMemberAndSave | () | 方法 |
public function addMemberAndSave(member:IMember):mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation adds a member to the collection and submits the change to the server.
参数
member:IMember — The member to be added to member collection.
|
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached.
|
addStage | () | 方法 |
addStageAt | () | 方法 |
public function addStageAt(stage:IStage, index:int):void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Adds stage to the review at the specified index from the beginning.
参数
stage:IStage — Stage instance that needs to be added.
| |
index:int — Index at which this stage needs to be added.
|
addSupportingDocument | () | 方法 |
public function addSupportingDocument(doc:ISupportingDocument):void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Adds the supporting document at the end of the list of supportingDocuments
for this review.
参数
doc:ISupportingDocument — Supporting document that needs to be added.
|
addSupportingDocumentAt | () | 方法 |
public function addSupportingDocumentAt(doc:ISupportingDocument, index:int):void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Adds the supporting document at the index in the list of supportingDocuments
for this review.
参数
doc:ISupportingDocument — Supporting document that needs to be added.
| |
index:int — Index at which the supporting document needs to be added.
|
calculateDates | () | 方法 |
public function calculateDates():void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Populates the calculatedStartDate
and calculatedEndDate
fields.
clearIds | () | 方法 |
public function clearIds():void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Clears ID for a reviewContext
object for persisting it at another location in the repository.
dispatchEvent | () | 方法 |
public function dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow. The event target is the
EventDispatcher object upon which dispatchEvent()
is called.
参数
event:Event — The event object dispatched into the event flow.
|
Boolean — A value of true unless preventDefault() is called on the event,
in which case it returns false .
|
fetchAssetArchive | () | 方法 |
public function fetchAssetArchive():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Returns an asset archive for this review.
返回mx.rpc:AsyncToken — It returns a token on which success on fault handlers can be attached. The resulting event contains the asset archive for this review.
|
fetchLargeThumbnail | () | 方法 |
public function fetchLargeThumbnail():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Returns largeThumbnail
for this review version.
mx.rpc:AsyncToken — It returns a token on which success on fault handlers can be attached. The resulting event contains largeThumbnail for this review version.
|
fetchNativeDocument | () | 方法 |
public function fetchNativeDocument():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Returns the original file submitted for review.
返回mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains original file submitted for review.
|
fetchReviewContext | () | 方法 |
public function fetchReviewContext():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Returns the review context value object for this review.
返回mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains review context value object for this review.
|
fetchReviewDocument | () | 方法 |
public function fetchReviewDocument():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Returns the review document for this review.
返回mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains review document for this review.
|
fetchSmallThumbnail | () | 方法 |
public function fetchSmallThumbnail():mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Returns smallThumbnail
for this review version.
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains smallThumbnail for this review version.
|
hasChildren | () | 方法 |
hasEventListener | () | 方法 |
public function hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. This allows you to determine where an EventDispatcher object has altered handling of an event type in the event flow hierarchy. To determine whether
a specific event type will actually trigger an event listener, use IEventDispatcher.willTrigger()
.
The difference between hasEventListener()
and willTrigger()
is that hasEventListener()
examines only the object to which it belongs, whereas willTrigger()
examines the entire event flow for the event specified by the type
parameter.
参数
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type is registered; false otherwise.
|
removeAllStages | () | 方法 |
public function removeAllStages():void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Removes all stages from a review.
removeAllSupportingDocument | () | 方法 |
public function removeAllSupportingDocument():void
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Removes all supporting documents from the list of supportingDocuments
for this review.
removeEventListener | () | 方法 |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object. If there is no matching listener registered with the EventDispatcher object, a call to this method has no effect.
参数
type:String — The type of event.
| |
listener:Function — The listener object to remove.
| |
useCapture:Boolean (default = false ) — Specifies whether the listener was registered for the capture phase or the target and bubbling phases. If the listener was registered for both the capture phase and the target and bubbling phases, two calls to removeEventListener() are required to remove both: one call with useCapture set to true , and another call with useCapture set to false .
|
removeMemberAndSave | () | 方法 |
public function removeMemberAndSave(member:IMember):mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation removes a member from the collection and submits the change to the server.
参数
member:IMember — The member to be removed from member collection.
|
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached.
|
removeStageAt | () | 方法 |
public function removeStageAt(index:int):IStage
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Removes a stage at the specified index from the beginning of the review. Returns the removed stage.
参数
index:int — The index of the stage that needs to be removed.
|
IStage — Stage instance that has been removed.
|
removeSupportingDocumentAt | () | 方法 |
public function removeSupportingDocumentAt(index:int):ISupportingDocument
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
Removes a supporting document at the index from the list of supportingDocuments
for this review.
参数
index:int — Index of the supporting document that needs to be removed.
|
ISupportingDocument — Supporting document that has been removed.
|
updateTitleAndSave | () | 方法 |
public function updateTitleAndSave(member:IMember, title:String):mx.rpc:AsyncToken
语言版本: | ActionScript 3.0 |
产品版本: | Review, Commenting, and Approval Building Block 10 |
运行时版本: | Flash Player 10.2, AIR (unsupported) |
This remote operation updates the tile of a member present in collection and submits the change to the server.
参数
member:IMember — The member to be removed from member collection.
| |
title:String — The title of the member.
|
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached.
|
willTrigger | () | 方法 |
public function willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. This method returns true
if an event listener is triggered during any phase of the event flow when an event of the specified type is dispatched to this EventDispatcher object or any of its descendants.
The difference between hasEventListener()
and willTrigger()
is that hasEventListener()
examines only the object to which it belongs, whereas willTrigger()
examines the entire event flow for the event specified by the type
parameter.
参数
type:String — The type of event.
|
Boolean — A value of true if a listener of the specified type will be triggered; false otherwise.
|
Tue Jun 12 2018, 11:04 AM Z