| Package | com.adobe.solutions.prm.domain | 
| Class | public class DomainUtil | 
| Inheritance | DomainUtil    Object | 
| Language Version: | ActionScript 3.0 | 
| Product Version: | Project Management Building Block 10.0 | 
| Runtime Versions: | Flash Player 10.2, AIR (unsupported) | 
Public Properties
| Property | Defined By | ||
|---|---|---|---|
![]()  | constructor : Object 
	 A reference to the class object or constructor function for a given object instance.  | Object | |
Public Methods 
| Method | Defined By | ||
|---|---|---|---|
	 The constructor for DomainUtil class.  | DomainUtil | ||
[static] 
	 This method returns a handle to the domain object for a specific project in the complete project tree.  | DomainUtil | ||
[static] 
	 This method returns a handle to a domain object for a specific workitem in the complete project tree.  | DomainUtil | ||
[static] 
	 This method returns a reference to the project domain object, corresponding to a given sub-project value object in the project domain object tree.  | DomainUtil | ||
[static] 
	 This method returns a reference to the workitem domain object, corresponding to a given workitem value object in the project domain object tree.  | DomainUtil | ||
![]()  | 
	 Indicates whether an object has a specified property defined.  | Object | |
![]()  | 
	 Indicates whether an instance of the Object class is in the prototype chain of the object specified 
	 as the parameter.  | Object | |
![]()  | 
	 Indicates whether the specified property exists and is enumerable.  | Object | |
![]()  | 
     Sets the availability of a dynamic property for loop operations.  | Object | |
![]()  | 
	 Returns the string representation of this object, formatted according to locale-specific conventions.  | Object | |
![]()  | 
	 Returns the string representation of the specified object.  | Object | |
![]()  | 
	 Returns the primitive value of the specified object.  | Object | |
Constructor Detail
DomainUtil | () | Constructor | 
public function DomainUtil()| Language Version: | ActionScript 3.0 | 
| Product Version: | Project Management Building Block 10.0 | 
| Runtime Versions: | Flash Player 10.2, AIR (unsupported) | 
	 The constructor for DomainUtil class.
	 
	 
Method Detail
createProjectUsingSubProject | () | method | 
 public static function createProjectUsingSubProject(subProjectVO:ProjectVO):mx.rpc:AsyncToken| Language Version: | ActionScript 3.0 | 
| Product Version: | Project Management Building Block 10.0 | 
| Runtime Versions: | Flash Player 10.2, AIR (unsupported) | 
This method returns a handle to the domain object for a specific project in the complete project tree.
Parameters
subProjectVO:ProjectVO — Project value object, for which the project domain object is to be searched.
	 
	  | 
mx.rpc:AsyncToken — It returns a token on which success or fault handlers can be attached. The result event contains a reference to the project domain object.
	 
	  | 
createProjectUsingWorkItem | () | method | 
 public static function createProjectUsingWorkItem(workItemVO:WorkItemVO):mx.rpc:AsyncToken| Language Version: | ActionScript 3.0 | 
| Product Version: | Project Management Building Block 10.0 | 
| Runtime Versions: | Flash Player 10.2, AIR (unsupported) | 
This method returns a handle to a domain object for a specific workitem in the complete project tree.
Parameters
workItemVO:WorkItemVO — Workitem value object for which workitem domain object is to be searched.
	 
	  | 
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.
	 
	  | 
findProject | () | method | 
 public static function findProject(project:IProject, subProjectVO:ProjectVO):IProject| Language Version: | ActionScript 3.0 | 
| Product Version: | Project Management Building Block 10.0 | 
| Runtime Versions: | Flash Player 10.2, AIR (unsupported) | 
This method returns a reference to the project domain object, corresponding to a given sub-project value object in the project domain object tree.
Parameters
project:IProject — Project domain object tree in which sub-project value object is to be searched.
	  | |
subProjectVO:ProjectVO — Sub-project value object.
	 
	  | 
IProject — It returns a reference to the project domain object corresponding to a given sub-project.
	 
	  | 
findWorkItem | () | method | 
 public static function findWorkItem(project:IProject, workItemVO:WorkItemVO):IWorkItem| Language Version: | ActionScript 3.0 | 
| Product Version: | Project Management Building Block 10.0 | 
| Runtime Versions: | Flash Player 10.2, AIR (unsupported) | 
This method returns a reference to the workitem domain object, corresponding to a given workitem value object in the project domain object tree.
Parameters
project:IProject — Project domain object tree, in which the workitem value object is to be searched.
	  | |
workItemVO:WorkItemVO — Workitem value object.
	 
	  | 
IWorkItem — It returns a reference to the workitem domain object, corresponding to a given workitem value object.
	 
	  | 
Thu Dec 4 2014, 05:50 PM -08:00
 