套件 | com.adobe.solutions.prm.domain.factory |
類別 | public class DomainFactory |
繼承 | DomainFactory Object |
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
DomainFactory
class is used to get the reference of domain objects. This class provides static methods to get these objects.
Internally it invokes all the methods on the factory instance it holds.
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
factory : IDomainFactory [靜態]
This property holds a reference to an actual factory instance that creates the domain objects. | DomainFactory | ||
showDirectChildForProject : Boolean = false [靜態]
This Boolean flag determines whether a complete project tree is displayed in the Gantt chart or just the direct children of the top-level projects are displayed. | DomainFactory |
方法 | 定義自 | ||
---|---|---|---|
The constructor of DomainFactory class. | DomainFactory | ||
[靜態]
This method creates an instance of the asset domain object. | DomainFactory | ||
[靜態]
This method creates an instance of the project domain object. | DomainFactory | ||
[靜態]
This API returns a handle to the domain object for a specific project in a project tree. | DomainFactory | ||
[靜態]
This API returns a handle to the domain object for a specific workitem in a project tree. | DomainFactory | ||
createTeamMember(vo:com.adobe.solutions.prm.vo:TeamMemberVO, project:IProject = null, workItem:IWorkItem = null):com.adobe.solutions.prm.domain:ITeamMember [靜態]
This method creates an instance of the team member domain object. | DomainFactory | ||
[靜態]
This method creates an instance of the workitem domain object. | DomainFactory | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
factory | 屬性 |
factory:IDomainFactory
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This property holds a reference to an actual factory instance that creates the domain objects.
實作
public static function get factory():IDomainFactory
public static function set factory(value:IDomainFactory):void
showDirectChildForProject | 屬性 |
public static var showDirectChildForProject:Boolean = false
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This Boolean flag determines whether a complete project tree is displayed in the Gantt chart or just the direct children of the top-level projects are displayed.
If set to True
, only the direct children of top level project are displayed. By default a complete project tree is displayed in the Gantt chart.
預設值為 false。
DomainFactory | () | 建構函式 |
public function DomainFactory()
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
The constructor of DomainFactory
class.
createAsset | () | 方法 |
public static function createAsset(vo:AssetVO, workItem:IWorkItem):IAsset
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the asset domain object.
參數
vo:AssetVO — An asset value object whose domain object is to be created.
| |
workItem:IWorkItem — The workitem to which the asset is assigned.
|
IAsset — It returns an asset domain object.
|
createProject | () | 方法 |
public static function createProject(vo:ProjectVO, parent:IProject = null, root:IProject = null):IProject
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the project domain object.
參數
vo:ProjectVO — The project value object whose domain object is to be created.
| |
parent:IProject (default = null ) — A reference to the parent project domain object of the project value object.
| |
root:IProject (default = null ) — A reference to the root project domain object of the project value object.
|
IProject — It returns a project domain object.
|
createProjectUsingSubProject | () | 方法 |
public static function createProjectUsingSubProject(subProjectVO:ProjectVO):mx.rpc:AsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This API returns a handle to the domain object for a specific project in a project tree.
參數
subProjectVO:ProjectVO — A project value object for which a project 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 project domain object.
|
createProjectUsingWorkItem | () | 方法 |
public static function createProjectUsingWorkItem(workItemVO:WorkItemVO):mx.rpc:AsyncToken
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This API returns a handle to the domain object for a specific workitem in a project tree.
參數
workItemVO:WorkItemVO — A workitem value object for which a 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.
|
createTeamMember | () | 方法 |
public static function createTeamMember(vo:com.adobe.solutions.prm.vo:TeamMemberVO, project:IProject = null, workItem:IWorkItem = null):com.adobe.solutions.prm.domain:ITeamMember
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the team member domain object.
參數
vo:com.adobe.solutions.prm.vo:TeamMemberVO — The team member value object whose domain object is to be created.
| |
project:IProject (default = null ) — A reference to the project domain object to which this team member is assigned.
| |
workItem:IWorkItem (default = null ) — A reference to the workitem domain object to which this team member is assigned.
|
com.adobe.solutions.prm.domain:ITeamMember — It returns a team member domain object.
|
createWorkItem | () | 方法 |
public static function createWorkItem(vo:WorkItemVO, parent:IProject = null, root:IProject = null):IWorkItem
語言版本: | ActionScript 3.0 |
產品版本: | Project Management Building Block 10.0 |
執行階段版本: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the workitem domain object.
參數
vo:WorkItemVO — The workitem value object whose domain object is to be created.
| |
parent:IProject (default = null ) — A reference to the parent project domain object of the workitem value object.
| |
root:IProject (default = null ) — A reference to the root project domain object of the workitem value object.
|
IWorkItem — It returns a workitem domain object.
|
Tue Jun 12 2018, 03:47 PM Z