Class ADXModelHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADXModelHelper
Represents an InoX model.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddMigrationVersion(SrvContext srvCtx, String version, List<? extends ADVersionAble> seqSel) Adds a migration version to the selected elements.static voiddeleteMigration(SrvContext srvCtx, String name, String lang) delete a migration filestatic voiddeleteMigrationVersion(SrvContext srvCtx, String version, List<? extends ADVersionAble> seqSel) Delete a migration version for the selected elements.static ARG_MigrationgetMigration(SrvContext srvCtx, ELElement ohSel, boolean all) Request for profile migration purposes.static voidrenameMigrationVersion(SrvContext srvCtx, String oldVersion, String newVersion, List<? extends ADVersionAble> seqSel) Rename a migration version for the selected elements.
-
Method Details
-
getMigration
public static ARG_Migration getMigration(SrvContext srvCtx, ELElement ohSel, boolean all) throws InoNetException, SrvErrorException Request for profile migration purposes.- Parameters:
srvCtx- The context of the related innovator server.ohSel- selected elementall- isTrue, if all migration profiles are returned- Throws:
InoNetExceptionSrvErrorException
-
addMigrationVersion
public static void addMigrationVersion(SrvContext srvCtx, String version, List<? extends ADVersionAble> seqSel) throws InoNetException, SrvErrorException Adds a migration version to the selected elements.- Parameters:
srvCtx- The context of the related innovator server.version- name of the versionseqSel- sequence of elements to be used- Throws:
InoNetExceptionSrvErrorException
-
deleteMigration
public static void deleteMigration(SrvContext srvCtx, String name, String lang) throws InoNetException, SrvErrorException delete a migration file- Parameters:
srvCtx- The context of the related innovator server.name- name of the migration filelang- de | en- Throws:
InoNetExceptionSrvErrorException
-
deleteMigrationVersion
public static void deleteMigrationVersion(SrvContext srvCtx, String version, List<? extends ADVersionAble> seqSel) throws InoNetException, SrvErrorException Delete a migration version for the selected elements. Without a selection all references of the version will be removed.- Parameters:
srvCtx- The context of the related innovator server.version- name of the versionseqSel- sequence of elements to be used, if empty all references will be used- Throws:
InoNetExceptionSrvErrorException
-
renameMigrationVersion
public static void renameMigrationVersion(SrvContext srvCtx, String oldVersion, String newVersion, List<? extends ADVersionAble> seqSel) throws InoNetException, SrvErrorException Rename a migration version for the selected elements. Without a selection all references of the version will be renamed.- Parameters:
srvCtx- The context of the related innovator server.oldVersion- old name of the versionnewVersion- new name of the versionseqSel- sequence of elements to be used, if empty all references will be used- Throws:
InoNetExceptionSrvErrorException
-