Pacchetto | com.adobe.solutions.prm.domain.factory |
Classe | public class DomainFactory |
Ereditarietà | DomainFactory Object |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni 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.
Proprietà | Definito da | ||
---|---|---|---|
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
factory : IDomainFactory [statico]
This property holds a reference to an actual factory instance that creates the domain objects. | DomainFactory | ||
showDirectChildForProject : Boolean = false [statico]
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 |
Metodo | Definito da | ||
---|---|---|---|
The constructor of DomainFactory class. | DomainFactory | ||
[statico]
This method creates an instance of the asset domain object. | DomainFactory | ||
[statico]
This method creates an instance of the project domain object. | DomainFactory | ||
[statico]
This API returns a handle to the domain object for a specific project in a project tree. | DomainFactory | ||
[statico]
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 [statico]
This method creates an instance of the team member domain object. | DomainFactory | ||
[statico]
This method creates an instance of the workitem domain object. | DomainFactory | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | Object | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | Object | ||
Restituisce il valore di base dell'oggetto specificato. | Object |
factory | proprietà |
factory:IDomainFactory
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This property holds a reference to an actual factory instance that creates the domain objects.
Implementazione
public static function get factory():IDomainFactory
public static function set factory(value:IDomainFactory):void
showDirectChildForProject | proprietà |
public static var showDirectChildForProject:Boolean = false
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni 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.
Il valore predefinito è false.
DomainFactory | () | Funzione di costruzione |
public function DomainFactory()
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
The constructor of DomainFactory
class.
createAsset | () | metodo |
public static function createAsset(vo:AssetVO, workItem:IWorkItem):IAsset
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the asset domain object.
Parametri
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 | () | metodo |
public static function createProject(vo:ProjectVO, parent:IProject = null, root:IProject = null):IProject
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the project domain object.
Parametri
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 | () | metodo |
public static function createProjectUsingSubProject(subProjectVO:ProjectVO):mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This API returns a handle to the domain object for a specific project in a project tree.
Parametri
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 | () | metodo |
public static function createProjectUsingWorkItem(workItemVO:WorkItemVO):mx.rpc:AsyncToken
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This API returns a handle to the domain object for a specific workitem in a project tree.
Parametri
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 | () | metodo |
public static function createTeamMember(vo:com.adobe.solutions.prm.vo:TeamMemberVO, project:IProject = null, workItem:IWorkItem = null):com.adobe.solutions.prm.domain:ITeamMember
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the team member domain object.
Parametri
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 | () | metodo |
public static function createWorkItem(vo:WorkItemVO, parent:IProject = null, root:IProject = null):IWorkItem
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Blocco costitutivo Project Management 10.0 |
Versioni runtime: | Flash Player 10.2, AIR (unsupported) |
This method creates an instance of the workitem domain object.
Parametri
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, 02:44 PM Z