Class CLArtifactHelper
- java.lang.Object
 - 
- de.mid.innovator.srv2api.icw2class.CLArtifactHelper
 
 
- 
public abstract class CLArtifactHelper extends java.lang.ObjectAn artifact is the specification of a physical piece of information that is used or produced by a software development process or by deployment and operation of a system. Examples of artifacts include model files, source files, scripts, binary executable files, a table in a database system, a development deliverable, or a word-processing document, a mail message.- See Also:
 CLArtifact
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLArtifactcreate(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer)Create a new Artifact with template and container.static CLArtifactcreate(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer)Create a new Artifact with stereotype and container.static java.util.List<CLArtifact>createByWorkingDirectory(SrvContext srvCtx, MEHierarchyAble root, java.util.List<ARG_ExtensionStereotypeMap> seqExtStereoMap, java.util.List<java.lang.String> seqFile)Creates artifacts if they do not already exist.static ARG_CreateByWorkingDirectoryOclReqgetCreateByWorkingDirectory(SrvContext srvCtx, ELElement item)Returns the working directory and the configured extensions for the selected package.static java.util.List<ARG_CheckInOutDlgInitOclReq>getFileOpen(SrvContext srvCtx, java.util.List<? extends ADClientAble> seqSel)Returns information needed to execute the open command on artifacts. 
 - 
 
- 
- 
Method Detail
- 
getCreateByWorkingDirectory
public static ARG_CreateByWorkingDirectoryOclReq getCreateByWorkingDirectory(SrvContext srvCtx, ELElement item) throws InoNetException, SrvErrorException
Returns the working directory and the configured extensions for the selected package.- Parameters:
 srvCtx- The context of the related innovator server.item- ELElement instance- Throws:
 InoNetExceptionSrvErrorException
 
- 
getFileOpen
public static java.util.List<ARG_CheckInOutDlgInitOclReq> getFileOpen(SrvContext srvCtx, java.util.List<? extends ADClientAble> seqSel) throws InoNetException, SrvErrorException
Returns information needed to execute the open command on artifacts.- Parameters:
 srvCtx- The context of the related innovator server.seqSel-- Throws:
 InoNetExceptionSrvErrorException
 
- 
createByWorkingDirectory
public static java.util.List<CLArtifact> createByWorkingDirectory(SrvContext srvCtx, MEHierarchyAble root, java.util.List<ARG_ExtensionStereotypeMap> seqExtStereoMap, java.util.List<java.lang.String> seqFile) throws InoNetException, SrvErrorException
Creates artifacts if they do not already exist.- Parameters:
 srvCtx- The context of the related innovator server.root- root packageseqExtStereoMap- sequence of extension stereotype mapsseqFile- sequence of file names- Throws:
 InoNetExceptionSrvErrorException
 
- 
create
public static CLArtifact create(SrvContext srvCtx, MMStereotype ohStereotype, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Artifact with stereotype and container.- Parameters:
 srvCtx- The context of the related innovator server.ohStereotype- Stereotype for the new elementohContainer- Container for the new element- Throws:
 InoNetExceptionSrvErrorException
 
- 
create
public static CLArtifact create(SrvContext srvCtx, MMCreateTemplate ohTemplate, ELContainerAble ohContainer) throws InoNetException, SrvErrorException
Create a new Artifact with template and container.- Parameters:
 srvCtx- The context of the related innovator server.ohTemplate- Template for the new elementohContainer- Container for the new element- Throws:
 InoNetExceptionSrvErrorException
 
 - 
 
 -