Pacote | com.adobe.solutions.prm.domain.factory |
Classe | public class DomainFactory |
Herança | DomainFactory Object |
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Project Management Building Block 10.0 |
Versões de runtime: | 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.
Propriedade | Definido por | ||
---|---|---|---|
constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | ||
factory : IDomainFactory [estático]
This property holds a reference to an actual factory instance that creates the domain objects. | DomainFactory | ||
showDirectChildForProject : Boolean = false [estático]
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 |
Método | Definido por | ||
---|---|---|---|
The constructor of DomainFactory class. | DomainFactory | ||
[estático]
This method creates an instance of the asset domain object. | DomainFactory | ||
[estático]
This method creates an instance of the project domain object. | DomainFactory | ||
[estático]
This API returns a handle to the domain object for a specific project in a project tree. | DomainFactory | ||
[estático]
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 [estático]
This method creates an instance of the team member domain object. | DomainFactory | ||
[estático]
This method creates an instance of the workitem domain object. | DomainFactory | ||
Indica se um objeto tem uma propriedade especificada definida. | Object | ||
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | ||
Indica se a propriedade especificada existe e é enumerável. | Object | ||
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | ||
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | ||
Retorna a representação de string do objeto especificado. | Object | ||
Retorna o valor primitivo do objeto especificado. | Object |
factory | propriedade |
factory:IDomainFactory
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Project Management Building Block 10.0 |
Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
This property holds a reference to an actual factory instance that creates the domain objects.
Implementação
public static function get factory():IDomainFactory
public static function set factory(value:IDomainFactory):void
showDirectChildForProject | propriedade |
public static var showDirectChildForProject:Boolean = false
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Project Management Building Block 10.0 |
Versões de runtime: | 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.
O valor padrão é false.
DomainFactory | () | Construtor |
public function DomainFactory()
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Project Management Building Block 10.0 |
Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
The constructor of DomainFactory
class.
createAsset | () | método |
public static function createAsset(vo:AssetVO, workItem:IWorkItem):IAsset
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Project Management Building Block 10.0 |
Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the asset domain object.
Parâmetros
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 | () | método |
public static function createProject(vo:ProjectVO, parent:IProject = null, root:IProject = null):IProject
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Project Management Building Block 10.0 |
Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the project domain object.
Parâmetros
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 | () | método |
public static function createProjectUsingSubProject(subProjectVO:ProjectVO):mx.rpc:AsyncToken
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Project Management Building Block 10.0 |
Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
This API returns a handle to the domain object for a specific project in a project tree.
Parâmetros
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 | () | método |
public static function createProjectUsingWorkItem(workItemVO:WorkItemVO):mx.rpc:AsyncToken
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Project Management Building Block 10.0 |
Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
This API returns a handle to the domain object for a specific workitem in a project tree.
Parâmetros
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 | () | método |
public static function createTeamMember(vo:com.adobe.solutions.prm.vo:TeamMemberVO, project:IProject = null, workItem:IWorkItem = null):com.adobe.solutions.prm.domain:ITeamMember
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Project Management Building Block 10.0 |
Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the team member domain object.
Parâmetros
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 | () | método |
public static function createWorkItem(vo:WorkItemVO, parent:IProject = null, root:IProject = null):IWorkItem
Versão da linguagem: | ActionScript 3.0 |
Versão de produto: | Project Management Building Block 10.0 |
Versões de runtime: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the workitem domain object.
Parâmetros
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.
|
Wed Jun 13 2018, 11:10 AM Z