ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.solutions.rca.domain.impl 

ReviewTemplate  - AS3 Review, Commenting, and Approval

Packagecom.adobe.solutions.rca.domain.impl
Classpublic class ReviewTemplate
InheritanceReviewTemplate Inheritance ReviewContext Inheritance Object
Implements IReviewTemplate

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This class defines a template that can be used to initiate a review.



Public Properties
 PropertyDefined By
  active : Boolean
A Boolean flag to determine if a template is active.
ReviewTemplate
 InheritedadditionalMetadata : String
Any review-specific data can be preserved in this field.
ReviewContext
 InheritedallMemberList : IList
[read-only] The property returns a collection of all members.
ReviewContext
  appName : String
Name of the application that created a template.
ReviewTemplate
 InheritedarsProcessName : String
Name of the process used to generate Approval Routing Sheet (ARS).
ReviewContext
 InheritedauditLevel : String
The level of audit associated with this review.
ReviewContext
  author : String
Author of a template.
ReviewTemplate
 InheritedcalculatedEndDate : Date
The endDate if the review has ended.
ReviewContext
 InheritedcalculatedStartDate : Date
The startDate if the review has started.
ReviewContext
 InheritedchangeDescription : String
This field is used to store the change desciption, if a review is revised.
ReviewContext
 InheritedcommentServerPath : String
Server location where Adobe ® Acrobat ® stores the inline comments.
ReviewContext
 InheritedcommentVisibility : String
Adobe Acrobat's inline comment visibility across stages.
ReviewContext
 InheritedcomplianceCode : String
Compliance code of the schedule template.
ReviewContext
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  createdOn : Date
[read-only] The date on which a template was created.
ReviewTemplate
 InheritedcurrentRevision : Boolean
A Boolean value to decide whether this is the current revision of the review or not.
ReviewContext
 InheritedcurrentStage : int
Stage number in progress for this review (starts with 1).
ReviewContext
 InheritedcustomAttributes : IList
List of custom attributes.
ReviewContext
  description : String
Description of a template.
ReviewTemplate
  duration : Number
[read-only] Duration of a schedule template in miliseconds.
ReviewTemplate
 InheritedendDate : Date
End date of a review.
ReviewContext
 InheritedganttItems : ArrayCollection
[read-only] A collection of the displayable children that are displayed in the Gantt chart if showChildren flag is set to True.
ReviewContext
 Inheritedid : String
[read-only] A unique identifier for this review version.
ReviewContext
 Inheritedinitiator : IInitiator
Initiator of a review.
ReviewContext
 InheritedinvocationId : String
The ID of the invocation request when a review is initiated.
ReviewContext
 InheriteditemEndDate : Date
[read-only] End date of the item.
ReviewContext
  itemName : String
[override] [read-only] Name of the item.
ReviewTemplate
 InheriteditemStartDate : Date
[read-only] Start date of the item.
ReviewContext
 InheriteditemState : String
[read-only] State of the item.
ReviewContext
 InheriteditemStatus : String
[read-only] Status of the item.
ReviewContext
 InheriteditemType : String
[read-only] Type of item.
ReviewContext
 InheritedlargeThumbnail : File
Large thumbnail image of a document under review.
ReviewContext
  lastModifiedBy : String
[read-only] Name of the user who last modified a template.
ReviewTemplate
  lastModifiedOn : Date
[read-only] The date on which a template was last modified.
ReviewTemplate
 InheritedmemberList : IList
[read-only] The property returns a collection of directly associated members.
ReviewContext
  name : String
Name of a template.
ReviewTemplate
 InheritednativeFileName : String
Path of the file, in the content repository, on which the review is initiated.
ReviewContext
 InheritedoperationList : ArrayCollection
[read-only] A collection of operations that are available to a user through the context menu in the Gantt chart.
ReviewContext
 Inheritedpurpose : String
Review purpose.
ReviewContext
 InheritedreviewCommentingAndApproval : IReviewCommentingAndApproval
An instance of Review Commenting and Approval service for this review.
ReviewContext
 InheritedreviewId : String
A unique identifier of the review.
ReviewContext
 InheritedreviewType : String
Type of review like Regulated or Ad-hoc.
ReviewContext
 Inheritedrevision : int
Review revision number.
ReviewContext
 InheritedrtsProcessName : String
Name of the process used to generate Review Tracking Sheet (RTS).
ReviewContext
 InheritedshowChildren : Boolean
A Boolean flag to determine if the children need to be displayed.
ReviewContext
 InheritedshowParent : Boolean
A Boolean flag to determine if the parent needs to be displayed.
ReviewContext
 InheritedsmallThumbnail : File
Small thumbnail image of a document under review.
ReviewContext
 InheritedstageList : IList
List of stages in a review.
ReviewContext
 InheritedstartDate : Date
Start date of a review.
ReviewContext
 Inheritedstatus : String
Review purpose.
ReviewContext
 Inheritedstp : Boolean
A Boolean field to enable or disable Straight Through Processing (STP).
ReviewContext
 InheritedsupportingDocumentList : IList
List of supporting documents for a review.
ReviewContext
 InheritedtemplateAuthor : String
Name of the schedule template author.
ReviewContext
 InheritedtemplateDescription : String
Description of the schedule template used to initiate this review.
ReviewContext
 Inheritedtitle : String
Review title.
ReviewContext
 InheriteduniqueMemberList : IList
[read-only] The property returns a collection of unique members.
ReviewContext
 Inheritedvo : ReviewContextVO
The Value Object for this review version.
ReviewContext
Public Methods
 MethodDefined By
  
The constructor for ReviewTemplate class.
ReviewTemplate
 Inherited
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
 Inherited
This remote operation adds a member to the collection and submits the change to the server.
ReviewContext
 Inherited
Adds stage to the review after the last stage.
ReviewContext
 Inherited
addStageAt(stage:IStage, index:int):void
Adds stage to the review at the specified index from the beginning.
ReviewContext
 Inherited
Adds the supporting document at the end of the list of supportingDocuments for this review.
ReviewContext
 Inherited
Adds the supporting document at the index in the list of supportingDocuments for this review.
ReviewContext
 Inherited
Populates the calculatedStartDate and calculatedEndDate fields.
ReviewContext
 Inherited
Clears ID for a reviewContext object for persisting it at another location in the repository.
ReviewContext
 Inherited
Dispatches an event into the event flow.
ReviewContext
 Inherited
Returns an asset archive for this review.
ReviewContext
 Inherited
Returns largeThumbnail for this review version.
ReviewContext
 Inherited
Returns the original file submitted for review.
ReviewContext
 Inherited
Returns the review context value object for this review.
ReviewContext
 Inherited
Returns the review document for this review.
ReviewContext
 Inherited
Returns smallThumbnail for this review version.
ReviewContext
  
Returns a schedule template.
ReviewTemplate
 Inherited
A Boolean function to determine if the item has displayable children.
ReviewContext
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
ReviewContext
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Removes all stages from a review.
ReviewContext
 Inherited
Removes all supporting documents from the list of supportingDocuments for this review.
ReviewContext
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
ReviewContext
 Inherited
This remote operation removes a member from the collection and submits the change to the server.
ReviewContext
 Inherited
Removes a stage at the specified index from the beginning of the review.
ReviewContext
 Inherited
Removes a supporting document at the index from the list of supportingDocuments for this review.
ReviewContext
  
Persists the schedule template.
ReviewTemplate
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
This remote operation updates the tile of a member present in collection and submits the change to the server.
ReviewContext
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
ReviewContext
Property Detail

active

property
active:Boolean

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

A Boolean flag to determine if a template is active.



Implementation
    public function get active():Boolean
    public function set active(value:Boolean):void

appName

property 
appName:String

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Name of the application that created a template.



Implementation
    public function get appName():String
    public function set appName(value:String):void

author

property 
author:String

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Author of a template.



Implementation
    public function get author():String
    public function set author(value:String):void

createdOn

property 
createdOn:Date  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The date on which a template was created.



Implementation
    public function get createdOn():Date

description

property 
description:String

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Description of a template.



Implementation
    public function get description():String
    public function set description(value:String):void

duration

property 
duration:Number  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Duration of a schedule template in miliseconds. It is the sum of durations of the contained stages.



Implementation
    public function get duration():Number

itemName

property 
itemName:String  [read-only] [override]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Name of the item.



Implementation
    override public function get itemName():String

lastModifiedBy

property 
lastModifiedBy:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Name of the user who last modified a template.



Implementation
    public function get lastModifiedBy():String

lastModifiedOn

property 
lastModifiedOn:Date  [read-only]

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The date on which a template was last modified.



Implementation
    public function get lastModifiedOn():Date

name

property 
name:String

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Name of a template.



Implementation
    public function get name():String
    public function set name(value:String):void
Constructor Detail

ReviewTemplate

()Constructor
public function ReviewTemplate(value:com.adobe.solutions.rca.vo:ReviewTemplateVO = null)

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The constructor for ReviewTemplate class.

Parameters
value:com.adobe.solutions.rca.vo:ReviewTemplateVO (default = null) — Review template value object.
Method Detail

fetchTemplate

()method
public function fetchTemplate():mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Returns a schedule template. The function tries to fetch the template value object based on a template name, and refreshes current object with new value object returned from the server.

Returns
mx.rpc:AsyncToken — It returns a token on which success or failure handlers can be attached. The resulting event contains the ReviewTemplateVO.

save

()method 
public function save():mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Persists the schedule template. If save is successful, it refreshes current object with new value object returned from server.

Returns
mx.rpc:AsyncToken — It returns a token on which success or failure handlers can be attached. The resulting event contains the saved ReviewTemplateVO.