Package com.axemble.vdoc.sdk.modules
Interface IProjectModule
- All Known Implementing Classes:
- ProjectModuleImpl
The IBaseProjectModule interface is the main entry point from where most of the methods to manipulate VDoc applications.
 
Code sample :
 
 // creation of a project module object
 IBaseProjectModule projectModule = Modules.getProjectModule();
 try
 {
 }
 finally
 {
  // uninitialize the module
        Modules.releaseModule(projectModule);
 }
 
- Author:
- vlygeros
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceEnumerates the design element namesstatic interfaceEnumerates the linked groupsstatic interfaceEnumerates the group
- 
Method SummaryModifier and TypeMethodDescriptioncompile(IContext context, IDesignForm designForm, boolean validate) compile(IContext context, IDesignWorkflow designWorkflow, boolean validate) Creates a design form object.Creates a design workflow diagram.createProject(IContext context, IOrganization organization, String name, String label) Create a new project objectgetChronoByName(String name, IProject project) find aIChronoby it's name.com.axemble.vdoc.sdk.interfaces.ui.components.IComponentsFactoryGets the user interface components factory.com.axemble.vdoc.sdk.interfaces.ui.definitions.IDefinitionsFactoryGets the component definition factory.getElementByProtocolURI(String protocolURI) Gets anIElementobject which implementsIProtocolSupportinterface.Gets a message controllergetProject(IContext context, String name, IOrganization organization) Gets a project by its name and organization.getProject(IStorageKey key) Gets a project from its identifier.Collection<? extends IProject> getProjects(IContext context) Get all projectsCollection<? extends IProject> getProjects(IContext context, IOrganization organization) Get all projects of the organizationgetSecurityController(ISecuritySupport securitySupport) Gets a security controller on a specified object.loadDesignForm(IContext context, IStorageKey storageKey) loadDesignWorkflow(IContext context, IStorageKey storageKey) Methods inherited from interface com.axemble.vdoc.sdk.modules.IModulebeginTransaction, beginTransaction, commitTransaction, commitTransaction, convertId, findNativeClass, generateSystemName, getAnonymous, getAnonymousContext, getContext, getContext, getContextByLogin, getElementFromExternalElement, getExternalElement, getExternalElement, getLoggedOnUser, getLoggedOnUserContext, getLoggedOnUserLanguage, getProtocolPath, getProtocolPath, getProtocolURI, getProtocolURI, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysadmin, getSysadminContext, getTranslation, getTranslationForLanguage, getTranslationKey, initialize, isTransactionActive, rollbackTransaction, rollbackTransaction, setTransactionTimeout, unInitialize
- 
Method Details- 
createProjectIProject createProject(IContext context, IOrganization organization, String name, String label) throws ProjectModuleException Create a new project object- Parameters:
- context- the execution context.
- organization- the- IOrganizationof the project.
- name- the system name of the project.
- label- the label of the project
- Returns:
- a IProjectobject.
- Throws:
- ProjectModuleException- default module exception.
 
- 
getProjectIProject getProject(IContext context, String name, IOrganization organization) throws ProjectModuleException Gets a project by its name and organization.- Parameters:
- context- the execution context.
- name- the system name of the project.
- organization- the- IOrganizationof the project.
- Returns:
- a IProjectobject.
- Throws:
- ProjectModuleException
 
- 
getProjectGets a project from its identifier.- Parameters:
- key- a key.
- Returns:
- a IProjectobject.
- Throws:
- ProjectModuleException
 
- 
getProjectsCollection<? extends IProject> getProjects(IContext context, IOrganization organization) throws ProjectModuleException Get all projects of the organization- Parameters:
- context- the execution context.
- organization- the- IOrganizationof the project.
- Returns:
- a java.util.Collection of IProjectobjects.
- Throws:
- ProjectModuleException
 
- 
getProjectsGet all projects- Parameters:
- context- the execution context.
- Returns:
- a java.util.Collection of IProjectobjects.
- Throws:
- ProjectModuleException
 
- 
getElementByProtocolURIGets anIElementobject which implementsIProtocolSupportinterface.- Parameters:
- protocolURI- The protocol URI as a java.lang.String.
- Returns:
- A IProtocolSupportobject.
- Throws:
- ModuleException- default module exception.
 
- 
getSecurityControllerISecurityController getSecurityController(ISecuritySupport securitySupport) throws ProjectModuleException Gets a security controller on a specified object.- Parameters:
- securitySupport- Any IElement that implements ISecuritySupport interface.
- Returns:
- The ISecurityControllerobject.
- Throws:
- ProjectModuleException- default module exception.
 
- 
getMessageControllerGets a message controller- Returns:
- The IMessageControllerobject.
- Throws:
- ProjectModuleException- default module exception.
 
- 
createDesignWorkflowCreates a design workflow diagram.- Returns:
- A IDesignWorkflowobject.
- Throws:
- ProjectModuleException- default module exception.
 
- 
loadDesignWorkflowIDesignWorkflow loadDesignWorkflow(IContext context, IStorageKey storageKey) throws ProjectModuleException - Throws:
- ProjectModuleException
 
- 
compileIReport compile(IContext context, IDesignWorkflow designWorkflow, boolean validate) throws ProjectModuleException - Throws:
- ProjectModuleException
 
- 
createDesignFormCreates a design form object.- Returns:
- A IDesignFormobject.
- Throws:
- ProjectModuleException- default module exception.
 
- 
loadDesignForm- Throws:
- ProjectModuleException
 
- 
compileIReport compile(IContext context, IDesignForm designForm, boolean validate) throws ProjectModuleException - Throws:
- ProjectModuleException
 
- 
getComponentsFactorycom.axemble.vdoc.sdk.interfaces.ui.components.IComponentsFactory getComponentsFactory()Gets the user interface components factory.- Returns:
- A IComponentsFactoryobject.
 
- 
getDefinitionsFactorycom.axemble.vdoc.sdk.interfaces.ui.definitions.IDefinitionsFactory getDefinitionsFactory()Gets the component definition factory.- Returns:
- A IDefinitionsFactoryobject.
 
- 
getChronoByNamefind aIChronoby it's name.- Parameters:
- name-
- project- the parent project
- Returns:
- the found chrono or null.
 
 
-