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.prm.domain 

DomainFactoryImpl  - AS3 Project Management

Packagecom.adobe.solutions.prm.domain
Classpublic class DomainFactoryImpl
InheritanceDomainFactoryImpl Inheritance Object
Implements IDomainFactory

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The factory class to create instances of domain objects.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
The constructor for DomainFactoryImpl class.
DomainFactoryImpl
  
This method creates an instance of the asset domain object.
DomainFactoryImpl
  
This method creates an instance of the project domain object.
DomainFactoryImpl
  
This API returns a handle to the domain object for a project in the project tree.
DomainFactoryImpl
  
This API returns the handle to domain object for a workitem in the project tree.
DomainFactoryImpl
  
This method creates an instance of the team member domain object.
DomainFactoryImpl
  
This method creates an instance of the workitem domain object.
DomainFactoryImpl
 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
Constructor Detail

DomainFactoryImpl

()Constructor
public function DomainFactoryImpl()

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The constructor for DomainFactoryImpl class.

Method Detail

createAsset

()method
public function createAsset(vo:AssetVO, workItem:IWorkItem):IAsset

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This method creates an instance of the asset domain object.

Parameters

vo:AssetVO — An asset value object whose domain object is to be created.
 
workItem:IWorkItem — A workitem to which the asset is assigned.

Returns
IAsset — It returns an asset domain object.

createProject

()method 
public function createProject(vo:ProjectVO, parent:IProject, root:IProject):IProject

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This method creates an instance of the project domain object.

Parameters

vo:ProjectVO — The project value object whose domain object is to be created.
 
parent:IProject — A reference to the parent project domain object of the project value object.
 
root:IProject — A reference to the root project domain object of the project value object.

Returns
IProject — It returns a project domain object.

createProjectUsingSubProject

()method 
public function createProjectUsingSubProject(subProjectVO:ProjectVO):mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This API returns a handle to the domain object for a project in the project tree.

Parameters

subProjectVO:ProjectVO — A project value object for which a project domain object is to be searched.

Returns
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains a reference to the project domain object.

createProjectUsingWorkItem

()method 
public function createProjectUsingWorkItem(workItemVO:WorkItemVO):mx.rpc:AsyncToken

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This API returns the handle to domain object for a workitem in the project tree.

Parameters

workItemVO:WorkItemVO — A workitem value object for which the work item domain object is to be searched.

Returns
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The resulting event contains a reference to the workitem domain object.

createTeamMember

()method 
public function createTeamMember(vo:com.adobe.solutions.prm.vo:TeamMemberVO, project:IProject, workItem:IWorkItem):com.adobe.solutions.prm.domain:ITeamMember

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This method creates an instance of the team member domain object.

Parameters

vo:com.adobe.solutions.prm.vo:TeamMemberVO — The team member value object whose domain object is to be created.
 
project:IProject — A reference to the project domain object to which the team member is assigned.
 
workItem:IWorkItem — A reference to the workitem domain object to which the team member is assigned.

Returns
com.adobe.solutions.prm.domain:ITeamMember — It returns a team member domain object.

createWorkItem

()method 
public function createWorkItem(vo:WorkItemVO, parent:IProject, root:IProject):IWorkItem

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This method creates an instance of the workitem domain object.

Parameters

vo:WorkItemVO — The Workitem value object whose domain object is to be created.
 
parent:IProject — A reference to the parent project domain object to which this workitem value object is assigned.
 
root:IProject — A reference to the root project domain object of the workitem value object.

Returns
IWorkItem — It returns a workitem domain object.