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.factory 

RCADomainFactory  - AS3 Review, Commenting, and Approval

Packagecom.adobe.solutions.rca.domain.factory
Classpublic class RCADomainFactory
InheritanceRCADomainFactory Inheritance Object

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

The factory class is used to get the reference of domain objects. This class provide static methods to get these objects. Internally it invokes all the methods on the factory instance it holds.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  factory : IRCADomainFactory
[static] This property holds a reference to the actual factory instance which creates the domain objects.
RCADomainFactory
Public Methods
 MethodDefined By
  
[static] Creates an instance of approver domain object based on approver value object.
RCADomainFactory
  
[static] Returns an instance of audit manager domain object.
RCADomainFactory
  
[static] Creates an instance of author domain object based on author value object.
RCADomainFactory
  
[static] Returns an instance of comment manager domain object.
RCADomainFactory
  
[static] Creates an instance of initiator domain object based on initiator value object.
RCADomainFactory
  
[static] Creates an instance of moderator domain object based on moderator value object.
RCADomainFactory
  
[static] Returns an instance of process manager domain object.
RCADomainFactory
  
[static] Creates an instance of review context domain object based on review context value object.
RCADomainFactory
  
[static] Creates an instance of reviewer domain object based on reviewer value object.
RCADomainFactory
  
[static] Creates an instance of review template domain object based on review template value object.
RCADomainFactory
  
[static] Creates an instance of stage domain object based on review stage value object.
RCADomainFactory
  
[static] Creates an instance of stage template domain object based on stage template value object.
RCADomainFactory
  
[static] Creates an instance of supporting document domain object based on supporting document value object.
RCADomainFactory
  
createUser(principalName:String = null):IUser
[static] Creates an instance of user domain object.
RCADomainFactory
 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
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
Returns the primitive value of the specified object.
Object
Property Detail

factory

property
factory:IRCADomainFactory

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

This property holds a reference to the actual factory instance which creates the domain objects.



Implementation
    public static function get factory():IRCADomainFactory
    public static function set factory(value:IRCADomainFactory):void
Method Detail

createApprover

()method
public static function createApprover(vo:ApproverVO = null):IApprover

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

Creates an instance of approver domain object based on approver value object.

Parameters

vo:ApproverVO (default = null) — Approver value object.

Returns
IApprover — Approver domain object.

createAuditManager

()method 
public static function createAuditManager():IAuditManager

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

Returns an instance of audit manager domain object.

Returns
IAuditManager — Audit manager instance.

createAuthor

()method 
public static function createAuthor(vo:AuthorVO = null):IAuthor

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

Creates an instance of author domain object based on author value object.

Parameters

vo:AuthorVO (default = null) — Author value object.

Returns
IAuthor — Author domain object.

createCommentManager

()method 
public static function createCommentManager():ICommentManager

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

Returns an instance of comment manager domain object.

Returns
ICommentManager — Comment manager instance.

createInitiator

()method 
public static function createInitiator(vo:InitiatorVO = null):IInitiator

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

Creates an instance of initiator domain object based on initiator value object.

Parameters

vo:InitiatorVO (default = null) — Initiator value object.

Returns
IInitiator — Initiator domain object.

createModerator

()method 
public static function createModerator(vo:ModeratorVO = null):IModerator

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

Creates an instance of moderator domain object based on moderator value object.

Parameters

vo:ModeratorVO (default = null) — Moderator value object.

Returns
IModerator — Moderator domain object.

createProcessManager

()method 
public static function createProcessManager():IProcessManager

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

Returns an instance of process manager domain object.

Returns
IProcessManager — Process manager instance.

createReviewContext

()method 
public static function createReviewContext(vo:ReviewContextVO = null):IReviewContext

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

Creates an instance of review context domain object based on review context value object.

Parameters

vo:ReviewContextVO (default = null) — Review context value object.

Returns
IReviewContext — Review context domain object.

createReviewer

()method 
public static function createReviewer(vo:ReviewerVO = null):IReviewer

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

Creates an instance of reviewer domain object based on reviewer value object.

Parameters

vo:ReviewerVO (default = null) — Reviewer value object.

Returns
IReviewer — Reviewer domain object.

createReviewTemplate

()method 
public static function createReviewTemplate(vo:com.adobe.solutions.rca.vo:ReviewTemplateVO = null):com.adobe.solutions.rca.domain:IReviewTemplate

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

Creates an instance of review template domain object based on review template value object.

Parameters

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

Returns
com.adobe.solutions.rca.domain:IReviewTemplate — It returns a review template domain object.

createStage

()method 
public static function createStage(vo:ReviewStageVO = null):IStage

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

Creates an instance of stage domain object based on review stage value object.

Parameters

vo:ReviewStageVO (default = null) — Review stage value object.

Returns
IStage — Stage domain object.

createStageTemplate

()method 
public static function createStageTemplate(vo:com.adobe.solutions.rca.vo:StageTemplateVO = null):com.adobe.solutions.rca.domain:IStageTemplate

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

Creates an instance of stage template domain object based on stage template value object.

Parameters

vo:com.adobe.solutions.rca.vo:StageTemplateVO (default = null) — Stage template value object.

Returns
com.adobe.solutions.rca.domain:IStageTemplate — Stage template domain object.

createSupportingDocument

()method 
public static function createSupportingDocument(vo:DocumentVO = null):ISupportingDocument

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

Creates an instance of supporting document domain object based on supporting document value object.

Parameters

vo:DocumentVO (default = null) — Supporting document value object.

Returns
ISupportingDocument — Supporting document domain object.

createUser

()method 
public static function createUser(principalName:String = null):IUser

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

Creates an instance of user domain object.

Parameters

principalName:String (default = null) — Principal Name of the user.

Returns
IUser — User domain object.