diff --git a/.gitignore b/.gitignore index 26f207b6a0..643e1df6c1 100644 --- a/.gitignore +++ b/.gitignore @@ -217,4 +217,9 @@ nbdist/ ## Joget ################# -wflow-consoleweb/src/main/webapp/wro/ \ No newline at end of file +wflow-consoleweb/src/main/webapp/wro/ + + +## NPM +*/node_modules/ +*/package-lock.json diff --git a/README.md b/README.md index 79f9200e9d..36f3e95c31 100644 --- a/README.md +++ b/README.md @@ -1,55 +1,3 @@ -# Joget +# Kecak -**Joget** is a next generation **open source no-code / low-code application platform** for faster, simpler digital transformation (DX). - -Joget combines the best of **rapid application development**, **business process automation** and **workflow management** in a simple, flexible and open platform. Business and technical teams can collaborate to rapidly build full-fledged enterprise applications visually, anywhere, anytime. - -- Web-based visual approach empowers non-coders to build and maintain apps anytime, anywhere -- Reduces time to market, from months to weeks or days -- Apps built are mobile ready, cloud ready -- APIs for integration and plugin architecture for extensibility -- "App Store" for enterprise apps – Joget Marketplace - - -## Licensing - -- Joget Community Edition (CE) is licensed under the [GNU General Public License version 3](https://opensource.org/licenses/gpl-3.0). -- Joget Professional Edition (PE), Enterprise Edition (EE) and Large Enterprise Edition (LEE) are licensed under a [commercial EULA](https://www.joget.org/product/enterprise-eula). - - -## Getting Started - -One of the key principles of the Joget platform is its flexibility. Many deployments options are available: -On-Premise, On-Demand Cloud, Docker, Kubernetes, Cloud Foundry, Certified OpenShift Operator, Red Hat Marketplace, Google Workspace Marketplace, AWS Marketplace, Azure Marketplace, Google Cloud Marketplace. - -- [Get Started with Joget](https://www.joget.org/get-started) - - -## Resources - -- [Community Q&A](https://answers.joget.org) - Ask questions, get answers, and help others. -- [Knowledge Base](https://community.joget.org) - User and developer reference, samples and other documentation. -- [Video Tutorials](https://www.joget.org/tutorials) - Quick overview and build your first app. -- [Joget Academy](https://academy.joget.org) - Self-paced online learning and certification. -- [Joget Marketplace](https://marketplace.joget.org) - Download ready made apps, plugins, templates and more. -- [Language Translations](https://translate.joget.org) - Translations for more than 20 languages. -- [Events](https://www.joget.com/events) - Upcoming and past Joget events & webinars. -- [Press](https://www.joget.com/press) - Joget press releases. -- [Reviews](https://www.joget.com/reviews) - Joget reviews and customer testimonials. - -Follow us for the latest news and updates - -- [Twitter](https://www.twitter.com/jogetworkflow) -- [LinkedIn](https://www.linkedin.com/company/joget) -- [Facebook](https://www.facebook.com/jogetworkflow) -- [YouTube](https://www.youtube.com/jogetworkflow) - - -## Building from Source - -To build from source, please refer to [Build Source Code](https://dev.joget.org/community/display/DX7/Joget+Open+Source). - - -## Contributing - -Joget is an open source project and if you would like to contribute, please refer to [How to Contribute](https://dev.joget.org/community/display/DX7/How-to+Contribute). +Forked from Joget Community Edition diff --git a/wflow-app/pom.xml b/wflow-app/pom.xml index a007c173f4..291e335c49 100755 --- a/wflow-app/pom.xml +++ b/wflow-app/pom.xml @@ -2,14 +2,14 @@ 4.0.0 org.joget wflow-app - 7.0.36 + 7.0-SNAPSHOT pom wflow-app - http://www.joget.org + http://kecak.org - scm:git:ssh://git@repo.joget.org:2224/joget/jw-community.git - scm:git:ssh://git@repo.joget.org:2224/joget/jw-community.git - ssh://git@repo.joget.org:2224/joget/jw-community.git + scm:git:ssh://git@github.com:kinnara-digital-studio/kecak-workflow-v3.git + scm:git:ssh://git@github.com:kinnara-digital-studio/kecak-workflow-v3.git + ssh://git@github.com:kinnara-digital-studio/kecak-workflow-v3.git 7.0.36 diff --git a/wflow-commons/pom.xml b/wflow-commons/pom.xml index 0f09ce8d15..c87ebdb847 100755 --- a/wflow-commons/pom.xml +++ b/wflow-commons/pom.xml @@ -4,17 +4,17 @@ org.joget wflow-commons jar - 7.0.36 + 7.0-SNAPSHOT wflow-commons - http://www.joget.org + http://kecak.org maven-compiler-plugin - 2.0.2 + 3.6.1 - 1.7 - 1.7 + 1.8 + 1.8 @@ -186,7 +186,7 @@ javax.servlet javax.servlet-api - 3.0.1 + 4.0.1 provided @@ -265,7 +265,7 @@ commons-dbcp commons-dbcp - 1.3 + 1.4 org.apache.commons @@ -349,6 +349,22 @@ org.apache.httpcomponents httpmime 4.5.1 + + + com.atomikos + transactions-jta + 3.8.0 + + + com.google.code.findbugs + jsr305 + 3.0.2 + + + org.json + json + 20080701 + compile com.drewnoakes @@ -356,6 +372,12 @@ 2.18.0 jar + + org.jasypt + jasypt + 1.9.2 + compile + diff --git a/wflow-commons/src/main/java/org/joget/commons/spring/model/AbstractSpringDao.java b/wflow-commons/src/main/java/org/joget/commons/spring/model/AbstractSpringDao.java index 816345056f..42030d71c8 100755 --- a/wflow-commons/src/main/java/org/joget/commons/spring/model/AbstractSpringDao.java +++ b/wflow-commons/src/main/java/org/joget/commons/spring/model/AbstractSpringDao.java @@ -63,7 +63,7 @@ protected List findByExample(String entityName, Object object) { protected Collection find(final String entityName, final String condition, final Object[] params, final String sort, final Boolean desc, final Integer start, final Integer rows) { Session session = findSession(); - String query = "SELECT e FROM " + entityName + " e " + condition; + String query = "SELECT e FROM " + entityName + " e " + (condition == null ? "" : condition); if (sort != null && !sort.equals("")) { String filteredSort = filterSpace(sort); @@ -126,6 +126,11 @@ protected String filterSpace(String str) { } } return str; - } + } + + public List find(String entityName){ + Session session = findSession(); + return session.createQuery( "FROM " + entityName).list(); + } } diff --git a/wflow-commons/src/main/java/org/joget/commons/util/DynamicDataSource.java b/wflow-commons/src/main/java/org/joget/commons/util/DynamicDataSource.java index 5baa645ad1..5b347578ff 100755 --- a/wflow-commons/src/main/java/org/joget/commons/util/DynamicDataSource.java +++ b/wflow-commons/src/main/java/org/joget/commons/util/DynamicDataSource.java @@ -5,27 +5,34 @@ import java.util.Map; import java.util.Properties; import org.apache.commons.beanutils.BeanUtils; +import org.apache.commons.dbcp.managed.BasicManagedDataSource; import org.apache.tomcat.jdbc.pool.XADataSource; -public class DynamicDataSource extends XADataSource { +import javax.sql.DataSource; + +public class DynamicDataSource extends BasicManagedDataSource { public static final String URL = "Url"; + public static final String USER = "User"; public static final String PASSWORD = "Password"; public static final String DRIVER = "Driver"; private String datasourceName; - + @Override - public Connection getConnection() throws SQLException { + protected synchronized DataSource createDataSource() throws SQLException { + Properties properties = DynamicDataSourceManager.getProperties(); String tempDriver = properties.getProperty(getDatasourceName() + DRIVER); String tempUrl = properties.getProperty(getDatasourceName() + URL); String tempUser = properties.getProperty(getDatasourceName() + USER); String tempPassword = properties.getProperty(getDatasourceName() + PASSWORD); - + ; if (tempDriver == null || tempDriver.length() == 0 || tempUrl == null || tempUrl.length() == 0 || tempUser == null || tempUser.length() == 0) { + + LogUtil.info(DynamicDataSource.class.getName(), "tempDriver [" + tempDriver + "] tempUrl [" + tempUrl + "] tempUser [" + tempUser + "]"); throw new SQLException("No database profile configured"); } @@ -33,26 +40,26 @@ public Connection getConnection() throws SQLException { tempPassword = ""; } - if (!getUrl().equals(tempUrl)) { + if (!this.url.equals(tempUrl)) { //close old datasource super.close(); + super.closed = false; // set new settings - setDriverClassName(tempDriver); - setUrl(tempUrl); - setUsername(tempUser); - setPassword(tempPassword); - setProperties(properties); - LogUtil.info(getClass().getName(), "profileName=" + HostManager.getCurrentProfile() + ", url=" + getUrl() + ", user=" + getUsername()); + this.driverClassName = tempDriver; + this.url = tempUrl; + this.username = tempUser; + this.password = tempPassword; + LogUtil.info(getClass().getName(), "datasourceName=" + getDatasourceName() + ", url=" + url + ", user=" + username); } - return super.getConnection(); + return super.createDataSource(); } protected void setProperties(Properties properties) { for (Map.Entry e : properties.entrySet()) { String key = (String) e.getKey(); String value = (String) e.getValue(); - + if (key.endsWith(DRIVER) || key.endsWith(URL) || key.endsWith(USER) || key.endsWith(PASSWORD) || key.endsWith("profileName") || key.endsWith("encryption")) { continue; } diff --git a/wflow-commons/src/main/java/org/joget/commons/util/DynamicDataSourceManager.java b/wflow-commons/src/main/java/org/joget/commons/util/DynamicDataSourceManager.java index f8013c08b0..305a459dab 100755 --- a/wflow-commons/src/main/java/org/joget/commons/util/DynamicDataSourceManager.java +++ b/wflow-commons/src/main/java/org/joget/commons/util/DynamicDataSourceManager.java @@ -352,7 +352,7 @@ protected static void createDefaultProfile() { writeProperty("workflowUser", "root"); writeProperty("workflowPassword", ""); - writeProperty("workflowDriver", "com.mysql.jdbc.Driver"); + writeProperty("workflowDriver", "com.mysql.cj.jdbc.Driver"); writeProperty("workflowUrl", "jdbc:mysql://localhost:3306/jwdb?characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true"); writeProperty("profileName", ""); } catch (Exception e) { diff --git a/wflow-commons/src/main/java/org/joget/commons/util/SecurityUtil.java b/wflow-commons/src/main/java/org/joget/commons/util/SecurityUtil.java index 161b358550..f2c1fd54f2 100644 --- a/wflow-commons/src/main/java/org/joget/commons/util/SecurityUtil.java +++ b/wflow-commons/src/main/java/org/joget/commons/util/SecurityUtil.java @@ -4,6 +4,7 @@ import java.net.URLDecoder; import java.text.Normalizer; import java.util.List; +import java.util.Random; import java.util.regex.Pattern; import javax.servlet.http.HttpServletRequest; import org.owasp.csrfguard.CsrfGuard; @@ -338,4 +339,31 @@ public static String normalizedFileName(String filename) { } return normalizedFileName; } + + /** + * @param targetStringLength expected result characters length + * @param lower includes lower case characters + * @param upper includes upper case characters + * @param numeric includes numeric characters + * @param space includes space character + * @param special includes special characters + * @return + */ + public static String generateRandomString(int targetStringLength, boolean lower, boolean upper, boolean numeric, boolean space, boolean special) { + int leftLimit = 32; // letter + int rightLimit = 126; // letter '~' + Random random = new Random(); + + String generatedString = random.ints(leftLimit, rightLimit + 1) + .filter(i -> (lower && 97 <= i && i <= 122) + || (upper && 65 <= i && i <= 90) + || (numeric && 48 <= i && i <= 57) + || (space && i == 32) + || (special && (33 <= i && i <= 47 || 58 <= i && i <= 64 || 91 <= i && i <= 96 || 123 <= i && i <= 126))) + .limit(targetStringLength) + .collect(StringBuilder::new, StringBuilder::appendCodePoint, StringBuilder::append) + .toString(); + + return generatedString; + } } diff --git a/wflow-commons/src/main/java/org/joget/commons/util/SetupDao.java b/wflow-commons/src/main/java/org/joget/commons/util/SetupDao.java index 3fa49bb7db..4e8c649e69 100755 --- a/wflow-commons/src/main/java/org/joget/commons/util/SetupDao.java +++ b/wflow-commons/src/main/java/org/joget/commons/util/SetupDao.java @@ -18,7 +18,7 @@ public void delete(Object obj) { super.delete(ENTITY_NAME, obj); } - public Object find(String id) { + public Object load(String id) { return super.find(ENTITY_NAME, id); } diff --git a/wflow-commons/src/main/java/org/joget/commons/util/SetupManager.java b/wflow-commons/src/main/java/org/joget/commons/util/SetupManager.java index cd03b53ce3..f542b2bd81 100755 --- a/wflow-commons/src/main/java/org/joget/commons/util/SetupManager.java +++ b/wflow-commons/src/main/java/org/joget/commons/util/SetupManager.java @@ -17,7 +17,11 @@ public class SetupManager { public static final String SYSTEM_PROPERTY_WFLOW_HOME = "wflow.home"; public static final String SYSTEM_PROPERTY_WFLOW_SECURE = "wflow.secure"; public static final String DIRECTORY_PROFILES = "app_profiles"; + public static final String MASTER_LOGIN_USERNAME = "masterLoginUsername"; public static final String MASTER_LOGIN_PASSWORD = "masterLoginPassword"; + public final static String PROPERTY_SETUP_SECURITY_SALT = "securitySalt"; + public final static String PROPERTY_SETUP_SECURITY_KEY = "securityKey"; + public static final String SMTP_PASSWORD = "smtpPassword"; public static final String SECURE_VALUE = "****SECURE VALUE*****"; diff --git a/wflow-commons/src/main/java/org/kecak/commons/security/NonceGeneratorImpl.java b/wflow-commons/src/main/java/org/kecak/commons/security/NonceGeneratorImpl.java new file mode 100644 index 0000000000..6946606a56 --- /dev/null +++ b/wflow-commons/src/main/java/org/kecak/commons/security/NonceGeneratorImpl.java @@ -0,0 +1,85 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package org.kecak.commons.security; + + +import net.sf.ehcache.Cache; +import net.sf.ehcache.Element; +import org.jasypt.salt.RandomSaltGenerator; +import org.joget.commons.util.DynamicDataSourceManager; +import org.joget.commons.util.NonceGenerator; +import org.springframework.web.context.request.RequestContextHolder; +import org.springframework.web.context.request.ServletRequestAttributes; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpSession; +import java.net.URLEncoder; + + +public class NonceGeneratorImpl implements NonceGenerator { + + private Cache cache; + + public Cache getCache() { + return this.cache; + } + + public void setCache(Cache cache) { + this.cache = cache; + } + + public String generateNonce(String[] attributes, int lifepanHour) { + String nonce = this.getRandomNonce(); + String cacheKey = this.getCacheKey(nonce); + Element element = new Element(cacheKey, attributes); + element.setEternal(false); + element.setTimeToLive(lifepanHour * 60 * 60); + this.cache.put(element); + return nonce; + } + + public boolean verifyNonce(String nonce, String[] attributes) { + String cacheKey = this.getCacheKey(nonce); + Element element = this.cache.get(cacheKey); + if (element != null) { + String[] cacheAttributes = (String[]) element.getObjectValue(); + boolean valid = true; + if (cacheAttributes != null && attributes != null && cacheAttributes.length == attributes.length) { + for (int i = 0; i < cacheAttributes.length; ++i) { + if (cacheAttributes[i].equals(attributes[i])) continue; + valid = false; + break; + } + } + return valid; + } + return false; + } + + protected String getRandomNonce() { + RandomSaltGenerator g = new RandomSaltGenerator(); + byte[] b = g.generateSalt(10); + try { + String nonce = new String(b, "UTF-8"); + nonce = URLEncoder.encode(nonce, "UTF-8"); + return nonce; + } catch (Exception e) { + return ""; + } + } + + protected String getCacheKey(String nonce) { + HttpSession session; + HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.currentRequestAttributes()).getRequest(); + String sessionId = ""; + if (request != null && (session = request.getSession()) != null) { + sessionId = session.getId(); + } + String cacheKey = DynamicDataSourceManager.getCurrentProfile() + "_NonceGenerator_" + nonce + "_" + sessionId; + return cacheKey; + } + +} diff --git a/wflow-commons/src/main/java/org/kecak/commons/security/SecureDataEncryptionImpl.java b/wflow-commons/src/main/java/org/kecak/commons/security/SecureDataEncryptionImpl.java new file mode 100644 index 0000000000..2e005c6e90 --- /dev/null +++ b/wflow-commons/src/main/java/org/kecak/commons/security/SecureDataEncryptionImpl.java @@ -0,0 +1,122 @@ +package org.kecak.commons.security; + +import org.jasypt.digest.StandardStringDigester; +import org.jasypt.salt.RandomSaltGenerator; +import org.jasypt.salt.SaltGenerator; +import org.jasypt.salt.ZeroSaltGenerator; +import org.jasypt.util.text.BasicTextEncryptor; +import org.joget.commons.util.DataEncryption; +import org.joget.commons.util.SetupManager; + +import javax.sql.DataSource; +import java.util.HashMap; +import java.util.Map; + +public class SecureDataEncryptionImpl implements DataEncryption { + private SetupManager setupManager; + + private static Map cache = new HashMap(); + + public void setSetupManager(SetupManager setupManager) { + this.setupManager = setupManager; + } + public String getSalt() { + return setupManager.getSettingValue(SetupManager.PROPERTY_SETUP_SECURITY_SALT); + } + + public String getKey() { + return setupManager.getSettingValue(SetupManager.PROPERTY_SETUP_SECURITY_KEY); + } + + public String encrypt(String rawContent) { + String k = getKey(); + if (rawContent != null && k != null && !k.isEmpty()) { + BasicTextEncryptor encryptor = new BasicTextEncryptor(); + encryptor.setPassword(k); + return encryptor.encrypt(rawContent); + } + return rawContent; + } + + public String decrypt(String protectedContent) { + String k = getKey(); + if (k != null && !k.isEmpty() && protectedContent != null && !protectedContent.isEmpty()) { + String decryptedString = cache.get(protectedContent); + if (decryptedString == null) { + BasicTextEncryptor encryptor = new BasicTextEncryptor(); + encryptor.setPassword(k); + decryptedString = encryptor.decrypt(protectedContent); + cache.put(protectedContent, decryptedString); + } + return decryptedString; + } + return protectedContent; + } + + public String computeHash(String rawContent, String randomSalt) { + if (rawContent != null && !rawContent.isEmpty()) { + try { + String content = this.contentWithSalt(rawContent, randomSalt); + StandardStringDigester digester = new StandardStringDigester(); + digester.setAlgorithm("SHA-256"); + digester.setSaltGenerator((SaltGenerator)new ZeroSaltGenerator()); + digester.setIterations(10); + return digester.digest(content); + } + catch (Exception e) { + // empty catch block + } + } + return rawContent; + } + + public Boolean verifyHash(String hash, String randomSalt, String rawContent) { + try { + return hash.equals(this.computeHash(rawContent, randomSalt)); + } + catch (Exception e) { + return false; + } + } + + public String generateRandomSalt() { + RandomSaltGenerator g = new RandomSaltGenerator(); + byte[] b = g.generateSalt(24); + try { + return new String(b, "UTF-8"); + } + catch (Exception e) { + return ""; + } + } + + protected String contentWithSalt(String rawContent, String salt) { + String s = getSalt(); + String content = ""; + int numOfChar = rawContent.charAt(0) % 6 + 1; + while (!(rawContent.isEmpty() && s.isEmpty() && salt.isEmpty())) { + if (salt.length() > numOfChar) { + content = content + salt.substring(0, numOfChar); + salt = salt.substring(numOfChar); + } else { + content = content + salt; + salt = ""; + } + if (rawContent.length() > numOfChar) { + content = content + rawContent.substring(0, numOfChar); + rawContent = rawContent.substring(numOfChar); + } else { + content = content + rawContent; + rawContent = ""; + } + if (s.length() > numOfChar) { + content = content + s.substring(0, numOfChar); + s = s.substring(numOfChar); + continue; + } + content = content + s; + s = ""; + } + return content; + } +} diff --git a/wflow-commons/src/main/java/org/kecak/commons/util/AtomikosJtaPlatform.java b/wflow-commons/src/main/java/org/kecak/commons/util/AtomikosJtaPlatform.java new file mode 100644 index 0000000000..c90e43d55b --- /dev/null +++ b/wflow-commons/src/main/java/org/kecak/commons/util/AtomikosJtaPlatform.java @@ -0,0 +1,27 @@ +package org.kecak.commons.util; + +import com.atomikos.icatch.jta.UserTransactionManager; +import org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform; + +import javax.transaction.TransactionManager; +import javax.transaction.UserTransaction; + +public class AtomikosJtaPlatform extends AbstractJtaPlatform { + + private static final long serialVersionUID = 1L; + private UserTransactionManager utm; + + public AtomikosJtaPlatform() { + utm = new UserTransactionManager(); + } + + @Override + protected TransactionManager locateTransactionManager() { + return utm; + } + + @Override + protected UserTransaction locateUserTransaction() { + return utm; + } +} diff --git a/wflow-commons/src/main/resources/commonsApplicationContext.xml b/wflow-commons/src/main/resources/commonsApplicationContext.xml index 859a7f7e9c..eaf94a94fc 100755 --- a/wflow-commons/src/main/resources/commonsApplicationContext.xml +++ b/wflow-commons/src/main/resources/commonsApplicationContext.xml @@ -22,7 +22,7 @@ - + @@ -30,19 +30,17 @@ - - - - - - + + + - + + + - - + + @@ -71,7 +69,8 @@ - + + @@ -83,7 +82,6 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wflow-consoleweb/src/main/resources/conf/quartz-setup.properties b/wflow-consoleweb/src/main/resources/conf/quartz-setup.properties new file mode 100644 index 0000000000..bd530a8822 --- /dev/null +++ b/wflow-consoleweb/src/main/resources/conf/quartz-setup.properties @@ -0,0 +1,27 @@ +#This script will be overwritten by setup.sh + +#List of driverDelegateClass +#org.quartz.impl.jdbcjobstore.StdJDBCDelegate (for fully JDBC-compliant drivers) +#org.quartz.impl.jdbcjobstore.MSSQLDelegate (for Microsoft SQL Server, and Sybase) +#org.quartz.impl.jdbcjobstore.PostgreSQLDelegate +#org.quartz.impl.jdbcjobstore.WebLogicDelegate (for WebLogic drivers) +#org.quartz.impl.jdbcjobstore.oracle.OracleDelegate +#org.quartz.impl.jdbcjobstore.oracle.WebLogicOracleDelegate (for Oracle drivers used within Weblogic) +#org.quartz.impl.jdbcjobstore.oracle.weblogic.WebLogicOracleDelegate (for Oracle drivers used within Weblogic) +#org.quartz.impl.jdbcjobstore.CloudscapeDelegate +#org.quartz.impl.jdbcjobstore.DB2v6Delegate +#org.quartz.impl.jdbcjobstore.DB2v7Delegate +#org.quartz.impl.jdbcjobstore.DB2v8Delegate +#org.quartz.impl.jdbcjobstore.HSQLDBDelegate +#org.quartz.impl.jdbcjobstore.PointbaseDelegate +#org.quartz.impl.jdbcjobstore.SybaseDelegate +#quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.MSSQLDelegate +quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate + +quartzDS.jndiURL=jwdb +#quartzDS.URL=jdbc:mysql://localhost:3306/kecakdb?characterEncoding=UTF-8 +#quartzDS.driver=com.mysql.cj.jdbc.Driver +#quartzDS.user=root +#quartzDS.password= +#quartzDS.maxConnections=5 +#quartzDS.validationQuery=select 0 diff --git a/wflow-consoleweb/src/main/resources/console.properties b/wflow-consoleweb/src/main/resources/console.properties index 29b5dfc106..6ef9f590c0 100755 --- a/wflow-consoleweb/src/main/resources/console.properties +++ b/wflow-consoleweb/src/main/resources/console.properties @@ -48,9 +48,9 @@ general.error.date=Date general.error.errorDetails=
  • Description of the steps needed to reproduce the issue
  • Copy of the relevant log files which are stored in the logs directory
  • Screenshot(s) showing the problem if possible
  • Sample app that produces the issue if possible
  • # Header Labels -console.header.browser.title=Joget DX -console.header.top.title=Joget DX -console.header.top.logo=DX +console.header.browser.title=Kecak Workflow +console.header.top.title=Kecak Workflow +console.header.top.logo=K console.header.top.subtitle=Community console.header.top.label.settings=System Settings console.header.top.label.profile=Profile @@ -73,6 +73,7 @@ console.header.submenu.label.groups=Setup Groups console.header.submenu.description.groups=Manage Groups console.header.submenu.label.users=Setup Users console.header.submenu.description.users=Manage Users +console.header.submenu.label.scheduler=Scheduler Logs console.header.menu.label.apps=Design Apps console.header.menu.description.apps=Workflow, Forms, etc @@ -111,6 +112,8 @@ console.header.submenu.label.setting.datasource=Datasource & Profile Settings console.header.submenu.label.setting.directory=Directory Manager Settings console.header.submenu.label.setting.plugin=Manage Plugins console.header.submenu.label.setting.message=Manage Messages +console.header.submenu.label.setting.scheduler=Manage Scheduler +console.header.submenu.label.setting.incomingEmail=Manage Incoming Email # Footer Label console.footer.label.revision=Version: ${project.version} - build ${buildNumber} @@ -541,7 +544,7 @@ console.builder.create.label.saved={0} Saved console.builder.create.label.details={0} Details # Builder -console.builder.footer=© Joget DX - Joget Inc. All Rights Reserved. +console.builder.footer=© Kecak Workflow - Joget Inc. All Rights Reserved. console.builder.update=Update console.builder.advanced=ADVANCED: JSON Definition @@ -571,6 +574,7 @@ console.process.config.label.mapParticipants.performer=Map to the Performer console.process.config.label.mapParticipants.performer.performer=Performer console.process.config.label.mapParticipants.performer.hod=Performer's HOD console.process.config.label.mapParticipants.performer.hod.ignoreReportTo=Performer's HOD (Ignore Report To) +console.process.config.label.mapParticipants.performer.reportTo=Performer's Report To console.process.config.label.mapParticipants.performer.subordinate=Performer's Subordinates console.process.config.label.mapParticipants.performer.department=Performer's Department console.process.config.label.mapParticipants.performer.activity=Where the performer executed: @@ -582,6 +586,7 @@ console.process.config.label.mapParticipants.type.user=User console.process.config.label.mapParticipants.type.requester=Performer console.process.config.label.mapParticipants.type.requesterHod=Performer's HOD console.process.config.label.mapParticipants.type.requesterHodIgnoreReportTo=Performer's HOD (Ignore Report To) +console.process.config.label.mapParticipants.type.requesterReportTo=Performer's Report To console.process.config.label.mapParticipants.type.requesterSubordinates=Performer's Subordinates console.process.config.label.mapParticipants.type.requesterDepartment=Performer's Department console.process.config.label.mapParticipants.type.hod=HOD (Head Of Department) @@ -749,6 +754,48 @@ console.setting.plugin.unintall.label.confirmation=Are you sure you want to unin console.setting.plugin.common.label.installed=Installed Plugins console.setting.plugin.common.label.allplugins=All Plugins +#Setting scheduler +console.setting.scheduler.create.label=Add Process Scheduler +console.setting.scheduler.common.label.id=ID +console.setting.scheduler.common.label.jobName=Job Name +console.setting.scheduler.common.label.groupJobName=Group-Job Name +console.setting.scheduler.common.label.triggerName=Trigger Name +console.setting.scheduler.common.label.groupTriggerName=Group-Trigger Name +console.setting.scheduler.common.label.jobClassName=Job-Class Name +console.setting.scheduler.common.label.cronExpression=CRON Expression +console.setting.scheduler.common.label.processDefId=Process Definition ID +console.setting.scheduler.common.label.modifiedate=Modified Date +console.setting.scheduler.edit.label.title=Edit Process Scheduler +console.setting.scheduler.create.label.title=Add Process Scheduler +console.setting.scheduler.delete.label.confirmation=Are you sure want to delete this scheduler(s) ? +console.setting.scheduler.common.label.details=Scheduler Details +console.setting.scheduler.error.label.jobNameInvalid=Job Name Invalid +console.setting.scheduler.error.label.groupJobNameInvalid=Group Job Name Invalid +console.setting.scheduler.error.label.triggerNameInvalid=Trigger Name Invalid +console.setting.scheduler.error.label.groupTriggerNameInvalid=Group Trigger Name Invalid +console.setting.scheduler.common.label.fireNow=Fire Now +console.setting.scheduler.fireNow.label.confirmation=Are you sure want to run selected Job?++ + +#Setting Incoming Email +console.setting.incomingEmail.create.label.title=Create Incoming Email +console.setting.incomingEmail.edit.label.title=Edit Incoming Email +console.setting.incomingEmail.common.label.details=Incoming Email Details +console.setting.incomingEmail.common.label.priority=Priority +console.setting.incomingEmail.common.label.username=Username +console.setting.incomingEmail.common.label.password=Password +console.setting.incomingEmail.common.label.protocol=Protocol +console.setting.incomingEmail.common.label.host=Host +console.setting.incomingEmail.common.label.port=Port +console.setting.incomingEmail.common.label.folder=Folder +console.setting.incomingEmail.error.label.priorityInvalid=Priority Invalid +console.setting.incomingEmail.error.label.usernameInvalid=Username Invalid +console.setting.incomingEmail.error.label.protocolInvalid=Protocol Invalid +console.setting.incomingEmail.error.label.hostInvalid=Host Invalid +console.setting.incomingEmail.error.label.portInvalid=Port Invalid +console.setting.incomingEmail.error.label.folderInvalid=Folder Invalid +console.setting.incomingEmail.create.label=Create New +console.setting.incomingEmail.common.label.active=Active + #Plugin console.plugin.label.name=Plugin Name console.plugin.label.version=Plugin Version @@ -805,6 +852,15 @@ console.monitoring.running.label.reassign.error=Reassign user failed. Please try console.monitoring.running.label.complete=Complete console.monitoring.running.label.viewForm=View Form +#Scheduler Log +console.monitor.scheduler.view.label.title=Scheduler Log View +console.monitor.scheduler.common.label.details=Scheduler Log Details +console.monitor.scheduler.common.label.jobName=Job Name +console.monitor.scheduler.common.label.jobClassName=Class Name +console.monitor.scheduler.common.label.finishTime=Finish Time +console.monitor.scheduler.common.label.jobStatus=Status +console.monitor.scheduler.common.label.message=Message + # Inbox Protlet client.protlet.inbox.label.page=Page: client.protlet.inbox.label.oldest=Oldest: @@ -839,7 +895,7 @@ AbstractUserDetailsAuthenticationProvider.badCredentials=Incorrect Username and/ authentication.failed.sessionTimeOut=Session timeout. Please login again # App Center -appCenter.label.title=Joget DX +appCenter.label.title=Kecak Workflow appCenter.label.publishedApps=Published Apps appCenter.label.unpublishedApps=Unpublished Apps appCenter.label.marketplace=Marketplace @@ -898,11 +954,11 @@ mobile.setting.viewLogoAlign=Mobile View Logo Alignment mobile.setting.viewCustomCss=Mobile View Custom CSS # Mobile View -mobile.offline.title=Joget DX - Offline +mobile.offline.title=Kecak Workflow - Offline mobile.offline.connection=Connection Offline mobile.offline.unavailable=Sorry, this page is not available offline mobile.offline.retry=Retry Connection -mobile.apps.title=Joget DX +mobile.apps.title=Kecak Workflow mobile.apps.desktop=Desktop mobile.apps.loading=Loading mobile.apps.allApps=Apps @@ -994,6 +1050,10 @@ setting.plugin.TensorFlowPlugin=Tensorflow setting.plugin.DecisionPlugin=Decision Tool setting.plugin.processFormModifier=Process Form Modifier setting.plugin.startProcessFormModifier=Start Process Form Modifier +setting.plugin.EmailProcessorPlugin=Email Processor +setting.plugin.SchedulerPlugin=Scheduler + +setting.plugin.webSocket=Web Socket userview.cache.performance=Performance & Offline userview.cache.cache=Cache Settings diff --git a/wflow-consoleweb/src/main/resources/console_ar.properties b/wflow-consoleweb/src/main/resources/console_ar.properties index 021deedb59..6c8eefae41 100644 --- a/wflow-consoleweb/src/main/resources/console_ar.properties +++ b/wflow-consoleweb/src/main/resources/console_ar.properties @@ -45,9 +45,9 @@ general.error.date=\u0627\u0644\u062a\u0627\u0631\u064a\u062e general.error.errorDetails=
  • Description of the steps needed to reproduce the issue
  • Copy of the relevant log files which are stored in the logs directory
  • Screenshot(s) showing the problem if possible
  • Sample app that produces the issue if possible
  • # Header Labels -console.header.browser.title=Joget DX -console.header.top.title=Joget DX -console.header.top.logo=DX +console.header.browser.title=Kecak Workflow +console.header.top.title=Kecak Workflow +console.header.top.logo=K console.header.top.subtitle=Community console.header.top.label.settings=\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u0646\u0638\u0627\u0645 console.header.top.label.profile=\u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0634\u062e\u0635\u064a @@ -518,7 +518,7 @@ FormDefinition.name[not.blank]=\u0627\u0633\u0645 \u0627\u0644\u0646\u0645\u0648 FormDefinition.tableName[not.blank]=\u0645\u0637\u0644\u0648\u0628 \u0627\u0633\u0645 \u062c\u062f\u0648\u0644 \u0627\u0644\u0646\u0645\u0648\u0630\u062c # Builder -console.builder.footer=\u0627\u0644\u0646&\u0633\u062e\u061b Joget DX - Joget Inc. \u0643\u0644 \u062d\u0642\u0648\u0642 \u0627\u0644\u0637\u0628\u0639 \u0645\u062d\u0641\u0648\u0638\u0629. +console.builder.footer=\u0627\u0644\u0646&\u0633\u062e\u061b Kecak Workflow - Joget Inc. \u0643\u0644 \u062d\u0642\u0648\u0642 \u0627\u0644\u0637\u0628\u0639 \u0645\u062d\u0641\u0648\u0638\u0629. console.builder.update=\u062a\u062d\u062f\u064a\u062b console.builder.advanced=\u0645\u062a\u0642\u062f\u0645: \u062a\u0639\u0631\u064a\u0641 JSON diff --git a/wflow-consoleweb/src/main/resources/console_hu.properties b/wflow-consoleweb/src/main/resources/console_hu.properties index 4f10d9041f..bb3d34c3eb 100644 --- a/wflow-consoleweb/src/main/resources/console_hu.properties +++ b/wflow-consoleweb/src/main/resources/console_hu.properties @@ -34,9 +34,9 @@ general.label.assignmentUnavailable=Nincs hozz\u00e1rendel\u00e9s general.error.fileSizeTooLarge=A f\u00e1jlm\u00e9ret t\u00fal nagy, {0}MB a maximum # Header Labels -console.header.browser.title=Joget DX -console.header.top.title=Joget DX -console.header.top.logo=DX +console.header.browser.title=Kecak Workflow +console.header.top.title=Kecak Workflow +console.header.top.logo=K console.header.top.subtitle=K\u00f6z\u00f6ss\u00e9g console.header.top.label.settings=Rendszerbe\u00e1ll\u00edt\u00e1sok console.header.top.label.profile=Profil @@ -479,7 +479,7 @@ FormDefinition.name[not.blank]=\u0170ralp n\u00e9v sz\u00fcks\u00e9ges FormDefinition.tableName[not.blank]=\u0170rlap lat\u00e1b n\u00e9v sz\u00fcks\u00e9ges # Builder -console.builder.footer=© Joget DX - Joget Inc. Minden jog fenntartva. +console.builder.footer=© Kecak Workflow - Joget Inc. Minden jog fenntartva. console.builder.update=Friss\u00edt\u00e9s console.builder.advanced=HALAD\u00d3: JSON defin\u00edci\u00f3 @@ -742,7 +742,7 @@ AbstractUserDetailsAuthenticationProvider.badCredentials=Nem megfelel\u0151 felh authentication.failed.sessionTimeOut=Session id\u0151t\u00fall\u00e9p\u00e9s. Jelentkezzen be \u00fajra # App Center -appCenter.label.title=Joget DX +appCenter.label.title=Kecak Workflow appCenter.label.publishedApps=Publik\u00e1lt alkalmaz\u00e1sok appCenter.label.unpublishedApps=Nem publik\u00e1lt alkalmaz\u00e1sok appCenter.label.marketplace=Piact\u00e9r @@ -790,11 +790,11 @@ mobile.setting.viewLogoAlign=Mobil n\u00e9zet logo helyzet mobile.setting.viewCustomCss=Mobil n\u00e9zet saj\u00e1t CSS # Mobile View -mobile.offline.title=Joget DX - Offline +mobile.offline.title=Kecak Workflow - Offline mobile.offline.connection=Nincs kapcsolat mobile.offline.unavailable=Sajnos ez az oldal nem \u00e9rhet\u0151 el offline m\u00f3dban mobile.offline.retry=\u00dajra kapcsol\u00f3dik -mobile.apps.title=Joget DX +mobile.apps.title=Kecak Workflow mobile.apps.desktop=Asztal mobile.apps.loading=Bet\u00f6lt\u00e9s mobile.apps.allApps=Alkalmaz\u00e1sok diff --git a/wflow-consoleweb/src/main/resources/console_ko.properties b/wflow-consoleweb/src/main/resources/console_ko.properties index 582c6c652b..45be416c1b 100644 --- a/wflow-consoleweb/src/main/resources/console_ko.properties +++ b/wflow-consoleweb/src/main/resources/console_ko.properties @@ -32,8 +32,8 @@ general.content.unauthorized=\uc8c4\uc1a1\ud569\ub2c8\ub2e4, \uc774 \ud398\uc774 # Header Labels -console.header.browser.title=Joget DX -console.header.top.title=Joget DX +console.header.browser.title=Kecak Workflow +console.header.top.title=Kecak Workflow console.header.top.label.settings=\uc2dc\uc2a4\ud15c \uc124\uc815 console.header.top.label.profile=\ud504\ub85c\ud544 console.header.top.label.userProfile=\ud504\ub85c\ud544 @@ -440,7 +440,7 @@ FormDefinition.name[not.blank]=\uc11c\uc2dd \uc774\ub984\uc774 \uc694\uad6c\ub41 FormDefinition.tableName[not.blank]=\uc11c\uc2dd \ud14c\uc774\ube14 \uc774\ub984\uc774 \uc694\uad6c\ub41c\ub2e4. # Builder -console.builder.footer=&\ubcf5\uc0ac; Joget DX - Joget Inc. \ubb34\ub2e8 \uc804\uc7ac\uc640 \ubb34\ub2e8 \ubcf5\uc81c\ub97c \uae08\ud568 +console.builder.footer=&\ubcf5\uc0ac; Kecak Workflow - Joget Inc. \ubb34\ub2e8 \uc804\uc7ac\uc640 \ubb34\ub2e8 \ubcf5\uc81c\ub97c \uae08\ud568 console.builder.update=\uc5c5\ub370\uc774\ud2b8 console.builder.advanced=\uc120\uc9c4\uc758: JSON \uc815\uc758 diff --git a/wflow-consoleweb/src/main/resources/console_th.properties b/wflow-consoleweb/src/main/resources/console_th.properties index ff1ebc9060..9a32734458 100644 --- a/wflow-consoleweb/src/main/resources/console_th.properties +++ b/wflow-consoleweb/src/main/resources/console_th.properties @@ -33,8 +33,8 @@ general.content.unauthorized=\u0e02\u0e2d\u0e2d\u0e20\u0e31\u0e22 \u0e04\u0e38\u general.label.assignmentUnavailable=Assignment Unavailable # Header Labels -console.header.browser.title=Joget DX -console.header.top.title=Joget DX +console.header.browser.title=Kecak Workflow +console.header.top.title=Kecak Workflow console.header.top.logo=DX console.header.top.subtitle=Community console.header.top.label.settings=\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32\u0e23\u0e30\u0e1a\u0e1a @@ -457,7 +457,7 @@ FormDefinition.name[not.blank]=\u0e15\u0e49\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e38\ FormDefinition.tableName[not.blank]=\u0e15\u0e49\u0e2d\u0e07\u0e23\u0e30\u0e1a\u0e38\u0e0a\u0e37\u0e48\u0e2d\u0e15\u0e32\u0e23\u0e32\u0e07\u0e41\u0e1a\u0e1a\u0e1f\u0e2d\u0e23\u0e4c\u0e21 # Builder -console.builder.footer=© Joget DX - Joget Inc. \u0e2a\u0e07\u0e27\u0e19\u0e25\u0e34\u0e02\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c +console.builder.footer=© Kecak Workflow - Joget Inc. \u0e2a\u0e07\u0e27\u0e19\u0e25\u0e34\u0e02\u0e2a\u0e34\u0e17\u0e18\u0e34\u0e4c console.builder.update=\u0e2d\u0e31\u0e1e\u0e40\u0e14\u0e15 console.builder.advanced=\u0e02\u0e31\u0e49\u0e19\u0e2a\u0e39\u0e07: \u0e04\u0e33\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e02\u0e2d\u0e07 JSON diff --git a/wflow-consoleweb/src/main/resources/console_zh_CN.properties b/wflow-consoleweb/src/main/resources/console_zh_CN.properties index e064ed79e2..1890ed2de4 100644 --- a/wflow-consoleweb/src/main/resources/console_zh_CN.properties +++ b/wflow-consoleweb/src/main/resources/console_zh_CN.properties @@ -538,7 +538,7 @@ console.builder.create.label.saved={0}\u5df2\u4fdd\u5b58 console.builder.create.label.details={0}\u8be6\u7ec6\u4fe1\u606f # Builder -console.builder.footer=© Joget DX - Joget Inc \u7248\u6743\u6240\u6709. +console.builder.footer=© Kecak Workflow - Joget Inc \u7248\u6743\u6240\u6709. console.builder.update=\u66f4\u65b0 console.builder.advanced=\u9ad8\u7ea7\uff1aJSON\u4ee3\u7801 @@ -836,7 +836,7 @@ AbstractUserDetailsAuthenticationProvider.badCredentials=\u7528\u6237\u540d\u5bc authentication.failed.sessionTimeOut=\u4f1a\u8bdd\u8d85\u65f6\uff0c\u8bf7\u91cd\u65b0\u767b\u5f55 # App Center -appCenter.label.title=Joget DX +appCenter.label.title=Kecak Workflow appCenter.label.publishedApps=\u672c\u5730\u5df2\u53d1\u5e03 appCenter.label.unpublishedApps=\u672a\u53d1\u5e03\u7684\u5e94\u7528 appCenter.label.marketplace=\u5e94\u7528\u5e02\u573a @@ -892,11 +892,11 @@ mobile.setting.viewLogoAlign=\u79fb\u52a8\u754c\u9762Logo\u5bf9\u9f50 mobile.setting.viewCustomCss=\u79fb\u52a8\u754c\u9762\u5ba2\u6237\u5316CSS # Mobile View -mobile.offline.title=Joget DX - \u79bb\u7ebf +mobile.offline.title=Kecak Workflow - \u79bb\u7ebf mobile.offline.connection=Connection Offline mobile.offline.unavailable=\u5bf9\u4e0d\u8d77\uff0c\u672c\u9875\u9762\u79bb\u7ebf\u4e0d\u53ef\u7528 mobile.offline.retry=\u5c1d\u8bd5\u518d\u8fde\u63a5 -mobile.apps.title=Joget DX +mobile.apps.title=Kecak Workflow mobile.apps.desktop=PC\u754c\u9762 mobile.apps.loading=\u52a0\u8f7d mobile.apps.allApps=\u5e94\u7528 diff --git a/wflow-consoleweb/src/main/resources/console_zh_TW.properties b/wflow-consoleweb/src/main/resources/console_zh_TW.properties index e95ece2d39..c22798af37 100644 --- a/wflow-consoleweb/src/main/resources/console_zh_TW.properties +++ b/wflow-consoleweb/src/main/resources/console_zh_TW.properties @@ -538,7 +538,7 @@ console.builder.create.label.saved={0}\u5df2\u4fdd\u5b58 console.builder.create.label.details={0}\u8a73\u7d30\u4fe1\u606f # Builder -console.builder.footer=© Joget DX - Joget Inc \u7248\u6b0a\u6240\u6709. +console.builder.footer=© Kecak Workflow - Joget Inc \u7248\u6b0a\u6240\u6709. console.builder.update=\u66f4\u65b0 console.builder.advanced=\u9ad8\u7d1a\uff1aJSON\u4ee3\u78bc @@ -836,7 +836,7 @@ AbstractUserDetailsAuthenticationProvider.badCredentials=\u7528\u6236\u540d\u5bc authentication.failed.sessionTimeOut=\u6703\u8a71\u8d85\u6642\uff0c\u8acb\u91cd\u65b0\u767b\u9304 # App Center -appCenter.label.title=Joget DX +appCenter.label.title=Kecak Workflow appCenter.label.publishedApps=\u672c\u5730\u5df2\u767c\u5e03 appCenter.label.unpublishedApps=\u672a\u767c\u5e03\u7684\u61c9\u7528 appCenter.label.marketplace=\u61c9\u7528\u5e02\u5834 @@ -892,11 +892,11 @@ mobile.setting.viewLogoAlign=\u79fb\u52d5\u754c\u9762Logo\u5c0d\u9f4a mobile.setting.viewCustomCss=\u79fb\u52d5\u754c\u9762\u5ba2\u6236\u5316CSS # Mobile View -mobile.offline.title=Joget DX - \u96e2\u7dda +mobile.offline.title=Kecak Workflow - \u96e2\u7dda mobile.offline.connection=Connection Offline mobile.offline.unavailable=\u5c0d\u4e0d\u8d77\uff0c\u672c\u9801\u9762\u96e2\u7dda\u4e0d\u53ef\u7528 mobile.offline.retry=\u5617\u8a66\u518d\u9023\u63a5 -mobile.apps.title=Joget DX +mobile.apps.title=Kecak Workflow mobile.apps.desktop=PC\u754c\u9762 mobile.apps.loading=\u52a0\u8f09 mobile.apps.allApps=\u61c9\u7528 diff --git a/wflow-consoleweb/src/main/resources/help.properties b/wflow-consoleweb/src/main/resources/help.properties index 392516cee7..2bd9679bdb 100755 --- a/wflow-consoleweb/src/main/resources/help.properties +++ b/wflow-consoleweb/src/main/resources/help.properties @@ -4,13 +4,13 @@ help.label.cancel=Cancel help.label.hide=Hide Hints help.label.disable=Disable Hints -help.web.appcenter.title=Welcome to Joget DX. +help.web.appcenter.title=Welcome to Kecak Workflow. help.web.appcenter.description=Click this icon to enable hints at any time.

    Get started with Video Tutorials



    help.web.adminBar.title=Admin Bar help.web.adminBar.description=Click this button to enable Design Mode and access the Admin Bar to manage apps, users and settings. -help.web.login.title=Welcome to Joget DX. +help.web.login.title=Welcome to Kecak Workflow. help.web.login.description=Click this icon to enable hints at any time.

    Get started with Video Tutorials



    help.web.console.home.user.title=Run Apps diff --git a/wflow-consoleweb/src/main/resources/help_ar.properties b/wflow-consoleweb/src/main/resources/help_ar.properties index b60ed1cf84..fd8bd5bc6b 100644 --- a/wflow-consoleweb/src/main/resources/help_ar.properties +++ b/wflow-consoleweb/src/main/resources/help_ar.properties @@ -4,10 +4,10 @@ help.label.cancel=\u0625\u0644\u063a\u0627\u0621 help.label.hide=\u0625\u062e\u0641\u0627\u0621 \u062a\u0644\u0645\u064a\u062d\u0627\u062a help.label.disable=\u062a\u0639\u0637\u064a\u0644 \u0627\u0644\u062a\u0644\u0645\u064a\u062d\u0627\u062a -help.web.appcenter.title=\u0645\u0631\u062d\u0628\u0627\u064b \u0645\u0639 Joget DX. +help.web.appcenter.title=\u0645\u0631\u062d\u0628\u0627\u064b \u0645\u0639 Kecak Workflow. help.web.appcenter.description=\u0627\u0646\u0642\u0631 \u0641\u0648\u0642 \u0647\u0630\u0627 \u0627\u0644\u0631\u0645\u0632 \u0644\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u062a\u0644\u0645\u064a\u062d\u0627\u062a \u0641\u064a \u0623\u064a \u0648\u0642\u062a. -help.web.login.title=\u0645\u0631\u062d\u0628\u0627\u064b \u0645\u0639 Joget DX. +help.web.login.title=\u0645\u0631\u062d\u0628\u0627\u064b \u0645\u0639 Kecak Workflow. help.web.login.description=\u0627\u0646\u0642\u0631 \u0641\u0648\u0642 \u0647\u0630\u0627 \u0627\u0644\u0631\u0645\u0632 \u0644\u062a\u0645\u0643\u064a\u0646 \u0627\u0644\u062a\u0644\u0645\u064a\u062d\u0627\u062a \u0641\u064a \u0623\u064a \u0648\u0642\u062a. help.web.console.home.user.title=\u062a\u0634\u063a\u064a\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a diff --git a/wflow-consoleweb/src/main/resources/help_hu.properties b/wflow-consoleweb/src/main/resources/help_hu.properties index 9f3c260488..dd155a5e69 100644 --- a/wflow-consoleweb/src/main/resources/help_hu.properties +++ b/wflow-consoleweb/src/main/resources/help_hu.properties @@ -4,10 +4,10 @@ help.label.cancel=M\u00e9gsem help.label.hide=Tippek elrejt\u00e9se help.label.disable=Tippek letilt\u00e1sa -help.web.appcenter.title=\u00dcdv\u00f6zli a Joget DX. +help.web.appcenter.title=\u00dcdv\u00f6zli a Kecak Workflow. help.web.appcenter.description=Kattintson erre az ikonra a tippek enged\u00e9lyez\u00e9s\u00e9hez. -help.web.login.title=\u00dcdv\u00f6zli a Joget DX. +help.web.login.title=\u00dcdv\u00f6zli a Kecak Workflow. help.web.login.description=Kattintson erre az ikonra a tippek enged\u00e9lyez\u00e9s\u00e9hez. help.web.console.home.user.title=Alkalmaz\u00e1sok futtat\u00e1sa diff --git a/wflow-consoleweb/src/main/resources/help_ko.properties b/wflow-consoleweb/src/main/resources/help_ko.properties index 7eeb0cc685..f1e827a657 100644 --- a/wflow-consoleweb/src/main/resources/help_ko.properties +++ b/wflow-consoleweb/src/main/resources/help_ko.properties @@ -4,10 +4,10 @@ help.label.cancel=\ucde8\uc18c\ud558\ub2e4 help.label.hide=\ud78c\ud2b8\ub97c \uac10\ucd94\ub2e4 help.label.disable=\ud78c\ud2b8\ub97c \uc5b5\uc81c\ud558\ub2e4 -help.web.appcenter.title=Joget DX\uc5d0 \uc624\uc2e0 \uac83\uc744 \ud658\uc601 \ud569\ub2c8\ub2e4. +help.web.appcenter.title=Kecak Workflow\uc5d0 \uc624\uc2e0 \uac83\uc744 \ud658\uc601 \ud569\ub2c8\ub2e4. help.web.appcenter.description=\ud78c\ud2b8\ub97c \uc0ac\uc6a9 \ud558\ub824\uba74\uc774 \uc544\uc774\ucf58\uc744 \ud074\ub9ad\ud558\ub2e4. -help.web.login.title=Joget DX\uc5d0 \uc624\uc2e0 \uac83\uc744 \ud658\uc601 \ud569\ub2c8\ub2e4. +help.web.login.title=Kecak Workflow\uc5d0 \uc624\uc2e0 \uac83\uc744 \ud658\uc601 \ud569\ub2c8\ub2e4. help.web.login.description=\ud78c\ud2b8\ub97c \uc0ac\uc6a9 \ud558\ub824\uba74\uc774 \uc544\uc774\ucf58\uc744 \ud074\ub9ad\ud558\ub2e4. help.web.console.home.user.title=\uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc2e4\ud589\ud558\ub2e4 diff --git a/wflow-consoleweb/src/main/resources/help_th.properties b/wflow-consoleweb/src/main/resources/help_th.properties index 94d5889416..2b3e837907 100644 --- a/wflow-consoleweb/src/main/resources/help_th.properties +++ b/wflow-consoleweb/src/main/resources/help_th.properties @@ -4,10 +4,10 @@ help.label.cancel=\u0e22\u0e01\u0e40\u0e25\u0e34\u0e01 help.label.hide=\u0e0b\u0e48\u0e2d\u0e19\u0e40\u0e04\u0e25\u0e47\u0e14\u0e25\u0e31\u0e1a help.label.disable=\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e40\u0e04\u0e25\u0e47\u0e14\u0e25\u0e31\u0e1a -help.web.appcenter.title=\u0e02\u0e2d\u0e15\u0e49\u0e2d\u0e19\u0e23\u0e31\u0e1a\u0e2a\u0e39\u0e48 Joget DX +help.web.appcenter.title=\u0e02\u0e2d\u0e15\u0e49\u0e2d\u0e19\u0e23\u0e31\u0e1a\u0e2a\u0e39\u0e48 Kecak Workflow help.web.appcenter.description=\u0e04\u0e25\u0e34\u0e01\u0e44\u0e2d\u0e04\u0e2d\u0e19\u0e19\u0e35\u0e49\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e40\u0e04\u0e25\u0e47\u0e14\u0e25\u0e31\u0e1a\u0e44\u0e14\u0e49\u0e17\u0e38\u0e01\u0e40\u0e21\u0e37\u0e48\u0e2d -help.web.login.title=\u0e02\u0e2d\u0e15\u0e49\u0e2d\u0e19\u0e23\u0e31\u0e1a\u0e2a\u0e39\u0e48 Joget DX +help.web.login.title=\u0e02\u0e2d\u0e15\u0e49\u0e2d\u0e19\u0e23\u0e31\u0e1a\u0e2a\u0e39\u0e48 Kecak Workflow help.web.login.description=\u0e04\u0e25\u0e34\u0e01\u0e44\u0e2d\u0e04\u0e2d\u0e19\u0e19\u0e35\u0e49\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e1b\u0e34\u0e14\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e40\u0e04\u0e25\u0e47\u0e14\u0e25\u0e31\u0e1a\u0e44\u0e14\u0e49\u0e17\u0e38\u0e01\u0e40\u0e21\u0e37\u0e48\u0e2d help.web.console.home.user.title=\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49\u0e41\u0e2d\u0e1e diff --git a/wflow-consoleweb/src/main/resources/help_zh_CN.properties b/wflow-consoleweb/src/main/resources/help_zh_CN.properties index 1decdd0c7b..981b7091a8 100644 --- a/wflow-consoleweb/src/main/resources/help_zh_CN.properties +++ b/wflow-consoleweb/src/main/resources/help_zh_CN.properties @@ -4,13 +4,13 @@ help.label.cancel=\u53d6\u6d88 help.label.hide=\u9690\u85cf\u63d0\u793a help.label.disable=\u53d6\u6d88\u63d0\u793a -help.web.appcenter.title=\u6b22\u8fce\u4f7f\u7528Joget DX! +help.web.appcenter.title=\u6b22\u8fce\u4f7f\u7528Kecak Workflow! help.web.appcenter.description=\u70b9\u51fb\u6b64\u6807\u5fd7\u542f\u7528\u63d0\u793a\u3002 help.web.adminBar.title=\u524d\u7aef\u7ba1\u7406\u5458\u9762\u677f help.web.adminBar.description=\u5355\u51fb\u6b64\u6309\u94ae\u53ef\u542f\u7528\u8bbe\u8ba1\u6a21\u5f0f\u548c\u901a\u8fc7\u524d\u7aef\u7ba1\u7406\u5458\u9762\u677f\u7ba1\u7406\u5e94\u7528\uff0c\u7528\u6237\u548c\u8bbe\u7f6e\u3002 -help.web.login.title=\u6b22\u8fce\u4f7f\u7528Joget DX! +help.web.login.title=\u6b22\u8fce\u4f7f\u7528Kecak Workflow! help.web.login.description=\u70b9\u51fb\u6b64\u6807\u5fd7\u542f\u7528\u63d0\u793a\u3002 help.web.console.home.user.title=\u8fd0\u884c\u5e94\u7528 diff --git a/wflow-consoleweb/src/main/resources/help_zh_TW.properties b/wflow-consoleweb/src/main/resources/help_zh_TW.properties index 50cfcd9537..83cf669450 100644 --- a/wflow-consoleweb/src/main/resources/help_zh_TW.properties +++ b/wflow-consoleweb/src/main/resources/help_zh_TW.properties @@ -4,13 +4,13 @@ help.label.cancel=\u53d6\u6d88 help.label.hide=\u96b1\u85cf\u63d0\u793a help.label.disable=\u53d6\u6d88\u63d0\u793a -help.web.appcenter.title=\u6b61\u8fce\u4f7f\u7528Joget DX! +help.web.appcenter.title=\u6b61\u8fce\u4f7f\u7528Kecak Workflow! help.web.appcenter.description=\u9ede\u64ca\u6b64\u6a19\u8a8c\u555f\u7528\u63d0\u793a\u3002 help.web.adminBar.title=\u524d\u7aef\u7ba1\u7406\u54e1\u9762\u677f help.web.adminBar.description=\u55ae\u64ca\u6b64\u6309\u9215\u53ef\u555f\u7528\u8a2d\u8a08\u6a21\u5f0f\u548c\u901a\u904e\u524d\u7aef\u7ba1\u7406\u54e1\u9762\u677f\u7ba1\u7406\u61c9\u7528\uff0c\u7528\u6236\u548c\u8a2d\u7f6e\u3002 -help.web.login.title=\u6b61\u8fce\u4f7f\u7528Joget DX! +help.web.login.title=\u6b61\u8fce\u4f7f\u7528Kecak Workflow! help.web.login.description=\u9ede\u64ca\u6b64\u6a19\u8a8c\u555f\u7528\u63d0\u793a\u3002 help.web.console.home.user.title=\u904b\u884c\u61c9\u7528 diff --git a/wflow-consoleweb/src/main/resources/log4j2.xml b/wflow-consoleweb/src/main/resources/log4j2.xml index 0b790cf861..1d0dfdc6ea 100644 --- a/wflow-consoleweb/src/main/resources/log4j2.xml +++ b/wflow-consoleweb/src/main/resources/log4j2.xml @@ -48,6 +48,8 @@ + + diff --git a/wflow-consoleweb/src/main/resources/plugin.properties b/wflow-consoleweb/src/main/resources/plugin.properties index e26c29294c..723a70c79a 100644 --- a/wflow-consoleweb/src/main/resources/plugin.properties +++ b/wflow-consoleweb/src/main/resources/plugin.properties @@ -17,7 +17,7 @@ app.databaseupdatetool.datasource=Datasource app.databaseupdatetool.datasource.desc=If the default datasource is selected, the custom JDBC settings below will be ignored app.databaseupdatetool.defaultDatasource=Default Datasource app.databaseupdatetool.customDatasource=Custom Datasource -app.databaseupdatetool.driver.desc=Eg. com.mysql.jdbc.Driver (MySQL), oracle.jdbc.driver.OracleDriver (Oracle), com.microsoft.sqlserver.jdbc.SQLServerDriver (Microsoft SQL Server) +app.databaseupdatetool.driver.desc=Eg. com.mysql.cj.jdbc.Driver (MySQL), oracle.jdbc.driver.OracleDriver (Oracle), com.microsoft.sqlserver.jdbc.SQLServerDriver (Microsoft SQL Server) #EmailTool @@ -174,6 +174,8 @@ datalist.formrowdatalistbinder.modifiedBy=Modified By datalist.formrowdatalistbinder.createdBy=Created By datalist.formrowdatalistbinder.modifiedByName=Modified By Name datalist.formrowdatalistbinder.createdByName=Created By Name +datalist.formrowdatalistbinder.orgId=Organization +datalist.formrowdatalistbinder.deleted=Deleted #FormRowDeleteDataListAction datalist.formrowdeletedatalistaction.editDeleteAction=Edit Delete Action @@ -191,6 +193,7 @@ datalist.formrowdeletedatalistaction.abortRelatedRunningProcesses.desc=If checke datalist.formrowdeletedatalistaction.deleteFiles=Delete Files? datalist.formrowdeletedatalistaction.deleteFiles.desc=If the record contains file upload element, this option will delete the actual uploaded file(s). datalist.formrowdeletedatalistaction.pleaseConfirm=Please Confirm? +datalist.formrowdeletedatalistaction.hardDelete=Hard Delete? #hyperlinkDataListAction datalist.hyperlinkdatalistaction.configureLink=Configure Link @@ -462,6 +465,11 @@ form.idgeneratorfield.hidden=Hidden? form.idgeneratorfield.advancedOptions=Advanced Options form.idgeneratorfield.ui=UI form.idgeneratorfield.workflow=Workflow +form.idgeneratorfield.environmentVariableScope=Environment Variable Scope +form.idgeneratorfield.environmentVariableScope.desc=Use environment variable in published or latest app version instead of the current app version +form.idgeneratorfield.useCurrentAppVersion=Use Current App Version +form.idgeneratorfield.usePublishedAppVersion=Use Published App Version +form.idgeneratorfield.useLatestAppVersion=Use Latest App Version #Radio form.radio.editRadio=Edit Radio @@ -513,7 +521,7 @@ form.selectbox.editSelectBox=Edit Select Box form.selectbox.id=ID form.selectbox.invalidId=Only alpha-numeric and underscore characters allowed form.selectbox.label=Label -form.selectbox.size=Size (Rows) +form.selectbox.size=Size (%) form.selectbox.multipleSelection=Multiple Selection form.selectbox.readonly=Readonly form.selectbox.readonlyLabel=Display Field as Label When Readonly? @@ -531,6 +539,19 @@ form.selectbox.data=Data form.selectbox.dependency=Dependency form.selectbox.ui=UI form.selectbox.workflow=Workflow +form.selectbox.select2Options=Additional Options +form.selectbox.lazyLoading=Lazy Loading +form.selectbox.placeholder=Placeholder +form.selectbox.messageSearching=Searching Message +form.selectbox.messageLoadingMore=Loading More Message +form.selectbox.messageNoResults=No Results Message +form.selectbox.messageErrorLoading=Error Loading Message +form.selectbox.placeholder.value=Please Select +form.selectbox.messageSearching.value=Searching... +form.selectbox.messageLoadingMore.value=Loading... +form.selectbox.messageNoResults.value=No Results +form.selectbox.messageErrorLoading.value=Error Loading + #SubForm form.subform.editSubform=Edit Subform @@ -776,7 +797,7 @@ userview.organizationpermission.selectOrgs=Select Organizations userview.beanshellpermission.config=Configure Bean Shell Permission userview.beanshellpermission.script=Script -#RunProcess +`#RunProcess userview.runprocess.editRunProcess=Edit Run Process userview.runprocess.customId=Custom ID userview.runprocess.invalidId=Only alpha-numeric and underscore characters allowed @@ -835,7 +856,7 @@ userviewmenu.corporatiTheme.collapsibleMenu=Collapsible Menu? #Generate Userview generator.userview.welcomeMessage=#date.EEE, d MMM yyyy# generator.userview.logout=Logout -generator.userview.footer=Powered by Joget +generator.userview.footer=Powered by Kecak generator.userview.home=<\/i> Home generator.userview.welcome.id=welcome generator.userview.welcome.label=Welcome @@ -1451,5 +1472,4 @@ org.joget.apps.app.lib.SimpleTensorFlowAITool.pluginLabel=Simple TensorFlow AI T org.joget.apps.app.lib.SimpleTensorFlowAITool.pluginDesc=Run TensorFlow session and store the output into form data table or workflow variable. org.joget.plugin.enterprise.XadminTheme.pluginLabel=DX X-Admin Theme org.joget.plugin.enterprise.XadminTheme.pluginDesc=A universal responsive Userview Theme based on open source X-Admin template -org.joget.apps.app.lib.MultiTools.pluginLabel=Multi Tools org.joget.apps.app.lib.MultiTools.pluginDesc=Enable the use of multiple tools \ No newline at end of file diff --git a/wflow-consoleweb/src/main/resources/plugin_ar.properties b/wflow-consoleweb/src/main/resources/plugin_ar.properties index 0f0ef45333..c18c7aca87 100644 --- a/wflow-consoleweb/src/main/resources/plugin_ar.properties +++ b/wflow-consoleweb/src/main/resources/plugin_ar.properties @@ -13,7 +13,7 @@ app.databaseupdatetool.datasource=\u0645\u0635\u062f\u0631 \u0627\u0644\u0628\u0 app.databaseupdatetool.datasource.desc=\u0625\u0630\u0627 \u062a\u0645 \u062a\u062d\u062f\u064a\u062f \u0645\u0635\u062f\u0631 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a \u060c \u0641\u0633\u064a\u062a\u0645 \u062a\u062c\u0627\u0647\u0644 \u0625\u0639\u062f\u0627\u062f\u0627\u062a JDBC \u0627\u0644\u0645\u062e\u0635\u0635\u0629 \u0623\u062f\u0646\u0627\u0647 app.databaseupdatetool.defaultDatasource=\u0645\u0635\u062f\u0631 \u0627\u0644\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0627\u0641\u062a\u0631\u0627\u0636\u064a app.databaseupdatetool.customDatasource=\u0645\u0635\u062f\u0631 \u0628\u064a\u0627\u0646\u0627\u062a \u0645\u062e\u0635\u0635 -app.databaseupdatetool.driver.desc=Eg. com.mysql.jdbc.Driver (MySQL), oracle.jdbc.driver.OracleDriver (Oracle), com.microsoft.sqlserver.jdbc.SQLServerDriver (Microsoft SQL Server) +app.databaseupdatetool.driver.desc=Eg. com.mysql.cj.jdbc.Driver (MySQL), oracle.jdbc.driver.OracleDriver (Oracle), com.microsoft.sqlserver.jdbc.SQLServerDriver (Microsoft SQL Server) #EmailTool @@ -788,7 +788,7 @@ userviewmenu.corporatiTheme.collapsibleMenu=\u0642\u0627\u0626\u0645\u0629 \u064 #Generate Userview generator.userview.welcomeMessage=#date.EEE, d MMM yyyy# generator.userview.logout=\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062e\u0631\u0648\u062c -generator.userview.footer=Powered by Joget +generator.userview.footer=Powered by Kecak generator.userview.home= Home generator.userview.welcome.id=\u0623\u0647\u0644\u0627 \u0628\u0643 generator.userview.welcome.label=Welcome diff --git a/wflow-consoleweb/src/main/resources/plugin_hu.properties b/wflow-consoleweb/src/main/resources/plugin_hu.properties index 65e996455c..6eb386cfa5 100644 --- a/wflow-consoleweb/src/main/resources/plugin_hu.properties +++ b/wflow-consoleweb/src/main/resources/plugin_hu.properties @@ -13,7 +13,7 @@ app.databaseupdatetool.datasource=Adatforr\u00e1s app.databaseupdatetool.datasource.desc=Ha za alap\u00e9rtelmezett adatforr\u00e1s van kiv\u00e1lasztva, a saj\u00e1t JDBC be\u00e1ll\u00edt\u00e1sokat a rendszer nem veszi figyelembe app.databaseupdatetool.defaultDatasource=Alap\u00e9rtelmezett adatforr\u00e1s app.databaseupdatetool.customDatasource=Saj\u00e1t adatforr\u00e1s -app.databaseupdatetool.driver.desc=P\u00e9ld\u00e1ul: com.mysql.jdbc.Driver (MySQL), oracle.jdbc.driver.OracleDriver (Oracle), com.microsoft.sqlserver.jdbc.SQLServerDriver (Microsoft SQL Server) +app.databaseupdatetool.driver.desc=P\u00e9ld\u00e1ul: com.mysql.cj.jdbc.Driver (MySQL), oracle.jdbc.driver.OracleDriver (Oracle), com.microsoft.sqlserver.jdbc.SQLServerDriver (Microsoft SQL Server) #EmailTool diff --git a/wflow-consoleweb/src/main/resources/plugin_zh_CN.properties b/wflow-consoleweb/src/main/resources/plugin_zh_CN.properties index 2a8f194ffc..7b4052b11a 100644 --- a/wflow-consoleweb/src/main/resources/plugin_zh_CN.properties +++ b/wflow-consoleweb/src/main/resources/plugin_zh_CN.properties @@ -17,7 +17,7 @@ app.databaseupdatetool.datasource=\u6570\u636e\u6e90 app.databaseupdatetool.datasource.desc=\u5982\u679c\u9009\u62e9\u9ed8\u8ba4\u6570\u636e\u6e90,\u4ee5\u4e0b\u5ba2\u6237\u5316JDBC\u8bbe\u7f6e\u4f1a\u88ab\u5ffd\u7565 app.databaseupdatetool.defaultDatasource=\u9ed8\u8ba4\u6570\u636e\u6e90 app.databaseupdatetool.customDatasource=\u5ba2\u6237\u5316\u6570\u636e\u6e90 -app.databaseupdatetool.driver.desc=\u4f8b\u5982\uff1acom.mysql.jdbc.Driver (MySQL), oracle.jdbc.driver.OracleDriver (Oracle), com.microsoft.sqlserver.jdbc.SQLServerDriver (Microsoft SQL Server) +app.databaseupdatetool.driver.desc=\u4f8b\u5982\uff1acom.mysql.cj.jdbc.Driver (MySQL), oracle.jdbc.driver.OracleDriver (Oracle), com.microsoft.sqlserver.jdbc.SQLServerDriver (Microsoft SQL Server) #EmailTool @@ -818,7 +818,7 @@ userviewmenu.corporatiTheme.collapsibleMenu=\u83dc\u5355\u53ef\u6536\u7f29 #Generate Userview generator.userview.welcomeMessage=#date.yyyy\u5e74MM\u6708dd\u65e5# generator.userview.logout=\u9000\u51fa -generator.userview.footer=\u7531Joget\u63d0\u4f9b\u6280\u672f\u652f\u6301 +generator.userview.footer=\u7531Kecak\u63d0\u4f9b\u6280\u672f\u652f\u6301 generator.userview.home= \u9996\u9875 generator.userview.welcome.id=welcome generator.userview.welcome.label=\u6b22\u8fce diff --git a/wflow-consoleweb/src/main/resources/plugin_zh_TW.properties b/wflow-consoleweb/src/main/resources/plugin_zh_TW.properties index 1f3ea00cfa..52e1ff631f 100644 --- a/wflow-consoleweb/src/main/resources/plugin_zh_TW.properties +++ b/wflow-consoleweb/src/main/resources/plugin_zh_TW.properties @@ -17,7 +17,7 @@ app.databaseupdatetool.datasource=\u6578\u64da\u6e90 app.databaseupdatetool.datasource.desc=\u5982\u679c\u9078\u64c7\u9ed8\u8a8d\u6578\u64da\u6e90,\u4ee5\u4e0b\u5ba2\u6236\u5316JDBC\u8a2d\u7f6e\u6703\u88ab\u5ffd\u7565 app.databaseupdatetool.defaultDatasource=\u9ed8\u8a8d\u6578\u64da\u6e90 app.databaseupdatetool.customDatasource=\u5ba2\u6236\u5316\u6578\u64da\u6e90 -app.databaseupdatetool.driver.desc=\u4f8b\u5982\uff1acom.mysql.jdbc.Driver (MySQL), oracle.jdbc.driver.OracleDriver (Oracle), com.microsoft.sqlserver.jdbc.SQLServerDriver (Microsoft SQL Server) +app.databaseupdatetool.driver.desc=\u4f8b\u5982\uff1acom.mysql.cj.jdbc.Driver (MySQL), oracle.jdbc.driver.OracleDriver (Oracle), com.microsoft.sqlserver.jdbc.SQLServerDriver (Microsoft SQL Server) #EmailTool @@ -817,7 +817,7 @@ userviewmenu.corporatiTheme.collapsibleMenu=\u83dc\u55ae\u53ef\u6536\u7e2e #Generate Userview generator.userview.welcomeMessage=#date.yyyy\u5e74MM\u6708dd\u65e5# generator.userview.logout=\u9000\u51fa -generator.userview.footer=\u7531Joget\u63d0\u4f9b\u6280\u8853\u652f\u6301 +generator.userview.footer=\u7531Kecak\u63d0\u4f9b\u6280\u8853\u652f\u6301 generator.userview.home= \u9996\u9801 generator.userview.welcome.id=welcome generator.userview.welcome.label=\u6b61\u8fce diff --git a/wflow-consoleweb/src/main/resources/setup/apps/APP_appcenter7-1.zip b/wflow-consoleweb/src/main/resources/setup/apps/APP_appcenter7-1.zip index 76f6d70051..bf3c843ed9 100644 Binary files a/wflow-consoleweb/src/main/resources/setup/apps/APP_appcenter7-1.zip and b/wflow-consoleweb/src/main/resources/setup/apps/APP_appcenter7-1.zip differ diff --git a/wflow-consoleweb/src/main/resources/setup/sql/jwdb-mssql.sql b/wflow-consoleweb/src/main/resources/setup/sql/jwdb-mssql.sql index bcbffde9e4..c8911b12f1 100644 --- a/wflow-consoleweb/src/main/resources/setup/sql/jwdb-mssql.sql +++ b/wflow-consoleweb/src/main/resources/setup/sql/jwdb-mssql.sql @@ -1,3411 +1,3411 @@ -/****** Object: Table [app_app] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_app]( - [appId] [nvarchar](255) NOT NULL, - [appVersion] [numeric](19, 0) NOT NULL, - [name] [nvarchar](255) NULL, - [license] [ntext] NULL, - [published] [tinyint] NULL, - [dateCreated] [datetime] NULL, - [dateModified] [datetime] NULL, - [description] [nvarchar](max) NULL, - [meta] [nvarchar](max) NULL, -PRIMARY KEY CLUSTERED -( - [appId] ASC, - [appVersion] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_builder] ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_builder]( - [appId] [nvarchar](255) NOT NULL, - [appVersion] [numeric](19, 0) NOT NULL, - [id] [nvarchar](255) NOT NULL, - [name] [nvarchar](255) NULL, - [type] [nvarchar](255) NULL, - [description] [ntext] NULL, - [json] [ntext] NULL, - [dateCreated] [datetime] NULL, - [dateModified] [datetime] NULL, -PRIMARY KEY CLUSTERED -( - [appId] ASC, - [appVersion] ASC, - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_datalist] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_datalist]( - [appId] [nvarchar](255) NOT NULL, - [appVersion] [numeric](19, 0) NOT NULL, - [id] [nvarchar](255) NOT NULL, - [name] [nvarchar](255) NULL, - [description] [ntext] NULL, - [json] [ntext] NULL, - [dateCreated] [datetime] NULL, - [dateModified] [datetime] NULL, -PRIMARY KEY CLUSTERED -( - [appId] ASC, - [appVersion] ASC, - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_env_variable] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_env_variable]( - [appId] [nvarchar](255) NOT NULL, - [appVersion] [numeric](19, 0) NOT NULL, - [id] [nvarchar](255) NOT NULL, - [value] [ntext] NULL, - [remarks] [ntext] NULL, -PRIMARY KEY CLUSTERED -( - [appId] ASC, - [appVersion] ASC, - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_fd] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_fd]( - [id] [nvarchar](255) NOT NULL, - [dateCreated] [datetime] NULL, - [dateModified] [datetime] NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [app_form] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_form]( - [appId] [nvarchar](255) NOT NULL, - [appVersion] [numeric](19, 0) NOT NULL, - [formId] [nvarchar](255) NOT NULL, - [name] [nvarchar](255) NULL, - [dateCreated] [datetime] NULL, - [dateModified] [datetime] NULL, - [tableName] [nvarchar](255) NULL, - [json] [ntext] NULL, - [description] [nvarchar](max) NULL, -PRIMARY KEY CLUSTERED -( - [appId] ASC, - [appVersion] ASC, - [formId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_form_data_audit_trail] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_form_data_audit_trail]( - [id] [varchar](255) NOT NULL, - [appId] [varchar](255) NULL, - [appVersion] [varchar](255) NULL, - [formId] [varchar](255) NULL, - [tableName] [varchar](255) NULL, - [username] [varchar](255) NULL, - [action] [varchar](255) NULL, - [data] [nvarchar](max) NULL, - [datetime] [datetime] NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_message] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_message]( - [appId] [nvarchar](255) NOT NULL, - [appVersion] [numeric](19, 0) NOT NULL, - [ouid] [nvarchar](255) NOT NULL, - [messageKey] [nvarchar](255) NULL, - [locale] [nvarchar](255) NULL, - [message] [ntext] NULL, -PRIMARY KEY CLUSTERED -( - [appId] ASC, - [appVersion] ASC, - [ouid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_package] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_package]( - [packageId] [nvarchar](255) NOT NULL, - [packageVersion] [numeric](19, 0) NOT NULL, - [name] [nvarchar](255) NULL, - [dateCreated] [datetime] NULL, - [dateModified] [datetime] NULL, - [appId] [nvarchar](255) NULL, - [appVersion] [numeric](19, 0) NULL, -PRIMARY KEY CLUSTERED -( - [packageId] ASC, - [packageVersion] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [app_package_activity_form] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_package_activity_form]( - [processDefId] [nvarchar](255) NOT NULL, - [activityDefId] [nvarchar](255) NOT NULL, - [packageId] [nvarchar](255) NOT NULL, - [packageVersion] [numeric](19, 0) NOT NULL, - [ouid] [nvarchar](255) NULL, - [type] [nvarchar](255) NULL, - [formId] [nvarchar](255) NULL, - [formUrl] [nvarchar](255) NULL, - [formIFrameStyle] [nvarchar](255) NULL, - [autoContinue] [tinyint] NULL, - [disableSaveAsDraft] [bit] NULL, -PRIMARY KEY CLUSTERED -( - [processDefId] ASC, - [activityDefId] ASC, - [packageId] ASC, - [packageVersion] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [app_package_activity_plugin] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_package_activity_plugin]( - [processDefId] [nvarchar](255) NOT NULL, - [activityDefId] [nvarchar](255) NOT NULL, - [packageId] [nvarchar](255) NOT NULL, - [packageVersion] [numeric](19, 0) NOT NULL, - [ouid] [nvarchar](255) NULL, - [pluginName] [nvarchar](255) NULL, - [pluginProperties] [ntext] NULL, -PRIMARY KEY CLUSTERED -( - [processDefId] ASC, - [activityDefId] ASC, - [packageId] ASC, - [packageVersion] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_package_participant] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_package_participant]( - [processDefId] [nvarchar](255) NOT NULL, - [participantId] [nvarchar](255) NOT NULL, - [packageId] [nvarchar](255) NOT NULL, - [packageVersion] [numeric](19, 0) NOT NULL, - [ouid] [nvarchar](255) NULL, - [type] [nvarchar](255) NULL, - [value] [ntext] NULL, - [pluginProperties] [ntext] NULL, -PRIMARY KEY CLUSTERED -( - [processDefId] ASC, - [participantId] ASC, - [packageId] ASC, - [packageVersion] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_plugin_default] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_plugin_default]( - [appId] [nvarchar](255) NOT NULL, - [appVersion] [numeric](19, 0) NOT NULL, - [id] [nvarchar](255) NOT NULL, - [pluginName] [nvarchar](255) NULL, - [pluginDescription] [ntext] NULL, - [pluginProperties] [ntext] NULL, -PRIMARY KEY CLUSTERED -( - [appId] ASC, - [appVersion] ASC, - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_report_activity] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_report_activity]( - [uuid] [nvarchar](255) NOT NULL, - [activityDefId] [nvarchar](255) NULL, - [activityName] [nvarchar](255) NULL, - [processUid] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [uuid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [app_report_activity_instance] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_report_activity_instance]( - [instanceId] [nvarchar](255) NOT NULL, - [performer] [nvarchar](255) NULL, - [state] [nvarchar](255) NULL, - [status] [nvarchar](255) NULL, - [nameOfAcceptedUser] [nvarchar](255) NULL, - [assignmentUsers] [ntext] NULL, - [due] [datetime] NULL, - [createdTime] [datetime] NULL, - [startedTime] [datetime] NULL, - [finishTime] [datetime] NULL, - [delay] [numeric](19, 0) NULL, - [timeConsumingFromCreatedTime] [numeric](19, 0) NULL, - [timeConsumingFromStartedTime] [numeric](19, 0) NULL, - [activityUid] [nvarchar](255) NULL, - [processInstanceId] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [instanceId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_report_app] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_report_app]( - [uuid] [nvarchar](255) NOT NULL, - [appId] [nvarchar](255) NULL, - [appVersion] [nvarchar](255) NULL, - [appName] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [uuid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [app_report_package] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_report_package]( - [uuid] [nvarchar](255) NOT NULL, - [packageId] [nvarchar](255) NULL, - [packageName] [nvarchar](255) NULL, - [packageVersion] [nvarchar](255) NULL, - [appUid] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [uuid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [app_report_process] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_report_process]( - [uuid] [nvarchar](255) NOT NULL, - [processDefId] [nvarchar](255) NULL, - [processName] [nvarchar](255) NULL, - [packageUid] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [uuid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [app_report_process_instance] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_report_process_instance]( - [instanceId] [nvarchar](255) NOT NULL, - [requester] [nvarchar](255) NULL, - [state] [nvarchar](255) NULL, - [due] [datetime] NULL, - [startedTime] [datetime] NULL, - [finishTime] [datetime] NULL, - [delay] [numeric](19, 0) NULL, - [timeConsumingFromStartedTime] [numeric](19, 0) NULL, - [processUid] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [instanceId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [app_resource] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_resource]( - [appId] [varchar](255) NOT NULL, - [appVersion] [numeric](19, 0) NOT NULL, - [id] [varchar](255) NOT NULL, - [filesize] [numeric](19, 0) NULL, - [permissionClass] [varchar](255) NULL, - [permissionProperties] [nvarchar](max) NULL, -PRIMARY KEY CLUSTERED -( - [appId] ASC, - [appVersion] ASC, - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [app_userview] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [app_userview]( - [appId] [nvarchar](255) NOT NULL, - [appVersion] [numeric](19, 0) NOT NULL, - [id] [nvarchar](255) NOT NULL, - [name] [nvarchar](255) NULL, - [description] [ntext] NULL, - [json] [ntext] NULL, - [dateCreated] [datetime] NULL, - [dateModified] [datetime] NULL, -PRIMARY KEY CLUSTERED -( - [appId] ASC, - [appVersion] ASC, - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [dir_department] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_department]( - [id] [nvarchar](255) NOT NULL, - [name] [nvarchar](255) NULL, - [description] [nvarchar](255) NULL, - [organizationId] [nvarchar](255) NULL, - [hod] [nvarchar](255) NULL, - [parentId] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_employment] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_employment]( - [id] [nvarchar](255) NOT NULL, - [userId] [nvarchar](255) NULL, - [startDate] [datetime] NULL, - [endDate] [datetime] NULL, - [employeeCode] [nvarchar](255) NULL, - [role] [nvarchar](255) NULL, - [gradeId] [nvarchar](255) NULL, - [departmentId] [nvarchar](255) NULL, - [organizationId] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_employment_report_to] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_employment_report_to]( - [id] [nvarchar](255) NOT NULL, - [employmentId] [nvarchar](255) NULL, - [reportToId] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_grade] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_grade]( - [id] [nvarchar](255) NOT NULL, - [name] [nvarchar](255) NULL, - [description] [nvarchar](255) NULL, - [organizationId] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_group] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_group]( - [id] [nvarchar](255) NOT NULL, - [name] [nvarchar](255) NULL, - [description] [nvarchar](255) NULL, - [organizationId] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_organization] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_organization]( - [id] [nvarchar](255) NOT NULL, - [name] [nvarchar](255) NULL, - [description] [nvarchar](255) NULL, - [parentId] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_role] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_role]( - [id] [nvarchar](255) NOT NULL, - [name] [nvarchar](255) NULL, - [description] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_user] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_user]( - [id] [nvarchar](255) NOT NULL, - [username] [nvarchar](255) NULL, - [password] [nvarchar](255) NULL, - [firstName] [nvarchar](255) NULL, - [lastName] [nvarchar](255) NULL, - [email] [nvarchar](255) NULL, - [timeZone] [nvarchar](255) NULL, - [locale] [nvarchar](255) NULL, - [active] [int] NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_user_extra] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_user_extra]( - [username] [varchar](255) NOT NULL, - [algorithm] [varchar](255) NULL, - [loginAttempt] [int] NULL, - [failedloginAttempt] [int] NULL, - [lastLogedInDate] [datetime] NULL, - [lockOutDate] [datetime] NULL, - [lastPasswordChangeDate] [datetime] NULL, - [requiredPasswordChange] [bit] NULL, - [noPasswordExpiration] [bit] NULL, -PRIMARY KEY CLUSTERED -( - [username] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_user_group] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_user_group]( - [groupId] [nvarchar](255) NOT NULL, - [userId] [nvarchar](255) NOT NULL, -PRIMARY KEY CLUSTERED -( - [userId] ASC, - [groupId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_user_meta] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_user_meta]( - [username] [varchar](255) NOT NULL, - [meta_key] [varchar](255) NOT NULL, - [meta_value] [nvarchar](max) NULL, -PRIMARY KEY CLUSTERED -( - [username] ASC, - [meta_key] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [dir_user_password_history] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_user_password_history]( - [id] [varchar](255) NOT NULL, - [username] [varchar](255) NULL, - [salt] [varchar](255) NULL, - [password] [varchar](255) NULL, - [updatedDate] [datetime] NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_user_replacement] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_user_replacement]( - [id] [varchar](255) NOT NULL, - [username] [varchar](255) NULL, - [replacementUser] [varchar](255) NULL, - [appId] [varchar](255) NULL, - [processIds] [varchar](255) NULL, - [startDate] [datetime] NULL, - [endDate] [datetime] NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [dir_user_role] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [dir_user_role]( - [roleId] [nvarchar](255) NOT NULL, - [userId] [nvarchar](255) NOT NULL, -PRIMARY KEY CLUSTERED -( - [userId] ASC, - [roleId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [ObjectId] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [ObjectId]( - [nextoid] [decimal](19, 0) NOT NULL, - CONSTRAINT [PK__ObjectId__44CA3770] PRIMARY KEY CLUSTERED -( - [nextoid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKActivities] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKActivities]( - [Id] [nvarchar](100) NOT NULL, - [ActivitySetDefinitionId] [nvarchar](90) NULL, - [ActivityDefinitionId] [nvarchar](90) NOT NULL, - [Process] [decimal](19, 0) NOT NULL, - [TheResource] [decimal](19, 0) NULL, - [PDefName] [nvarchar](200) NOT NULL, - [ProcessId] [nvarchar](200) NOT NULL, - [ResourceId] [nvarchar](100) NULL, - [State] [decimal](19, 0) NOT NULL, - [BlockActivityId] [nvarchar](100) NULL, - [Performer] [nvarchar](100) NULL, - [IsPerformerAsynchronous] [tinyint] NULL, - [Priority] [int] NULL, - [Name] [nvarchar](254) NULL, - [Activated] [bigint] NOT NULL, - [ActivatedTZO] [bigint] NOT NULL, - [Accepted] [bigint] NULL, - [AcceptedTZO] [bigint] NULL, - [LastStateTime] [bigint] NOT NULL, - [LastStateTimeTZO] [bigint] NOT NULL, - [LimitTime] [bigint] NOT NULL, - [LimitTimeTZO] [bigint] NOT NULL, - [Description] [nvarchar](254) NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKActivities_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKActivityData] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKActivityData]( - [Activity] [decimal](19, 0) NOT NULL, - [VariableDefinitionId] [nvarchar](100) NOT NULL, - [VariableType] [int] NOT NULL, - [VariableValue] [image] NULL, - [VariableValueXML] [xml] NULL, - [VariableValueVCHAR] [nvarchar](4000) NULL, - [VariableValueDBL] [real] NULL, - [VariableValueLONG] [bigint] NULL, - [VariableValueDATE] [datetime] NULL, - [VariableValueBOOL] [tinyint] NULL, - [IsResult] [tinyint] NOT NULL, - [OrdNo] [int] NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKActivityData_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKActivityDataBLOBs] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKActivityDataBLOBs]( - [ActivityDataWOB] [decimal](19, 0) NOT NULL, - [VariableValue] [image] NULL, - [OrdNo] [int] NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKActivityDataBLOBs_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKActivityDataWOB] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKActivityDataWOB]( - [Activity] [decimal](19, 0) NOT NULL, - [VariableDefinitionId] [nvarchar](100) NOT NULL, - [VariableType] [int] NOT NULL, - [VariableValueXML] [xml] NULL, - [VariableValueVCHAR] [nvarchar](4000) NULL, - [VariableValueDBL] [real] NULL, - [VariableValueLONG] [bigint] NULL, - [VariableValueDATE] [datetime] NULL, - [VariableValueBOOL] [tinyint] NULL, - [IsResult] [tinyint] NOT NULL, - [OrdNo] [int] NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKActivityDataWOB_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKActivityStateEventAudits] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKActivityStateEventAudits]( - [KeyValue] [nvarchar](30) NOT NULL, - [Name] [nvarchar](50) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKActivityStateEventAudits_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKActivityStates] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKActivityStates]( - [KeyValue] [nvarchar](30) NOT NULL, - [Name] [nvarchar](50) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKActivityStates_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKAndJoinTable] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKAndJoinTable]( - [Process] [decimal](19, 0) NOT NULL, - [BlockActivity] [decimal](19, 0) NULL, - [ActivityDefinitionId] [nvarchar](90) NOT NULL, - [Activity] [decimal](19, 0) NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKAndJoinTable_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKAssignmentEventAudits] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKAssignmentEventAudits]( - [RecordedTime] [bigint] NOT NULL, - [RecordedTimeTZO] [bigint] NOT NULL, - [TheUsername] [nvarchar](100) NOT NULL, - [TheType] [decimal](19, 0) NOT NULL, - [ActivityId] [nvarchar](100) NOT NULL, - [ActivityName] [nvarchar](254) NULL, - [ProcessId] [nvarchar](100) NOT NULL, - [ProcessName] [nvarchar](254) NULL, - [ProcessFactoryName] [nvarchar](200) NOT NULL, - [ProcessFactoryVersion] [nvarchar](20) NOT NULL, - [ActivityDefinitionId] [nvarchar](90) NOT NULL, - [ActivityDefinitionName] [nvarchar](90) NULL, - [ActivityDefinitionType] [int] NOT NULL, - [ProcessDefinitionId] [nvarchar](90) NOT NULL, - [ProcessDefinitionName] [nvarchar](90) NULL, - [PackageId] [nvarchar](90) NOT NULL, - [OldResourceUsername] [nvarchar](100) NULL, - [OldResourceName] [nvarchar](100) NULL, - [NewResourceUsername] [nvarchar](100) NOT NULL, - [NewResourceName] [nvarchar](100) NULL, - [IsAccepted] [tinyint] NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKAssignmentEventAudits_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKAssignmentsTable] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKAssignmentsTable]( - [Activity] [decimal](19, 0) NOT NULL, - [TheResource] [decimal](19, 0) NOT NULL, - [ActivityId] [nvarchar](100) NOT NULL, - [ActivityProcessId] [nvarchar](100) NOT NULL, - [ActivityProcessDefName] [nvarchar](200) NOT NULL, - [ResourceId] [nvarchar](100) NOT NULL, - [IsAccepted] [tinyint] NOT NULL, - [IsValid] [tinyint] NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKAssignmentsTable_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKCounters] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKCounters]( - [name] [nvarchar](100) NOT NULL, - [the_number] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKCounters_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKCreateProcessEventAudits] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKCreateProcessEventAudits]( - [RecordedTime] [bigint] NOT NULL, - [RecordedTimeTZO] [bigint] NOT NULL, - [TheUsername] [nvarchar](100) NOT NULL, - [TheType] [decimal](19, 0) NOT NULL, - [ProcessId] [nvarchar](100) NOT NULL, - [ProcessName] [nvarchar](254) NULL, - [ProcessFactoryName] [nvarchar](200) NOT NULL, - [ProcessFactoryVersion] [nvarchar](20) NOT NULL, - [ProcessDefinitionId] [nvarchar](90) NOT NULL, - [ProcessDefinitionName] [nvarchar](90) NULL, - [PackageId] [nvarchar](90) NOT NULL, - [PActivityId] [nvarchar](100) NULL, - [PProcessId] [nvarchar](100) NULL, - [PProcessName] [nvarchar](254) NULL, - [PProcessFactoryName] [nvarchar](200) NULL, - [PProcessFactoryVersion] [nvarchar](20) NULL, - [PActivityDefinitionId] [nvarchar](90) NULL, - [PActivityDefinitionName] [nvarchar](90) NULL, - [PProcessDefinitionId] [nvarchar](90) NULL, - [PProcessDefinitionName] [nvarchar](90) NULL, - [PPackageId] [nvarchar](90) NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKCreateProcessEventAudits_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKDataEventAudits] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKDataEventAudits]( - [RecordedTime] [bigint] NOT NULL, - [RecordedTimeTZO] [bigint] NOT NULL, - [TheUsername] [nvarchar](100) NOT NULL, - [TheType] [decimal](19, 0) NOT NULL, - [ActivityId] [nvarchar](100) NULL, - [ActivityName] [nvarchar](254) NULL, - [ProcessId] [nvarchar](100) NOT NULL, - [ProcessName] [nvarchar](254) NULL, - [ProcessFactoryName] [nvarchar](200) NOT NULL, - [ProcessFactoryVersion] [nvarchar](20) NOT NULL, - [ActivityDefinitionId] [nvarchar](90) NULL, - [ActivityDefinitionName] [nvarchar](90) NULL, - [ActivityDefinitionType] [int] NULL, - [ProcessDefinitionId] [nvarchar](90) NOT NULL, - [ProcessDefinitionName] [nvarchar](90) NULL, - [PackageId] [nvarchar](90) NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKDataEventAudits_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKDeadlines] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKDeadlines]( - [Process] [decimal](19, 0) NOT NULL, - [Activity] [decimal](19, 0) NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [TimeLimit] [bigint] NOT NULL, - [TimeLimitTZO] [bigint] NOT NULL, - [ExceptionName] [nvarchar](100) NOT NULL, - [IsSynchronous] [tinyint] NOT NULL, - [IsExecuted] [tinyint] NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKDeadlines_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKEventTypes] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKEventTypes]( - [KeyValue] [nvarchar](30) NOT NULL, - [Name] [nvarchar](50) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKEventTypes_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKGroupGroupTable] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKGroupGroupTable]( - [sub_gid] [decimal](19, 0) NOT NULL, - [groupid] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKGroupGroupTable_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKGroupTable] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKGroupTable]( - [groupid] [nvarchar](100) NOT NULL, - [description] [nvarchar](254) NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKGroupTable_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKGroupUser] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKGroupUser]( - [USERNAME] [nvarchar](100) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKGroupUser_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKGroupUserPackLevelPart] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKGroupUserPackLevelPart]( - [PARTICIPANTOID] [decimal](19, 0) NOT NULL, - [USEROID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKGroupUserPackLevelPart_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKGroupUserProcLevelPart] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKGroupUserProcLevelPart]( - [PARTICIPANTOID] [decimal](19, 0) NOT NULL, - [USEROID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKGroupUserProcLevelPart_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKNewEventAuditData] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKNewEventAuditData]( - [DataEventAudit] [decimal](19, 0) NOT NULL, - [VariableDefinitionId] [nvarchar](100) NOT NULL, - [VariableType] [int] NOT NULL, - [VariableValue] [image] NULL, - [VariableValueXML] [xml] NULL, - [VariableValueVCHAR] [nvarchar](4000) NULL, - [VariableValueDBL] [float] NULL, - [VariableValueLONG] [bigint] NULL, - [VariableValueDATE] [datetime] NULL, - [VariableValueBOOL] [tinyint] NULL, - [OrdNo] [int] NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKNewEventAuditData_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKNewEventAuditDataBLOBs] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKNewEventAuditDataBLOBs]( - [NewEventAuditDataWOB] [decimal](19, 0) NOT NULL, - [VariableValue] [image] NULL, - [OrdNo] [int] NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKNewEventAuditDataBLOBs_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKNewEventAuditDataWOB] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKNewEventAuditDataWOB]( - [DataEventAudit] [decimal](19, 0) NOT NULL, - [VariableDefinitionId] [nvarchar](100) NOT NULL, - [VariableType] [int] NOT NULL, - [VariableValueXML] [xml] NULL, - [VariableValueVCHAR] [nvarchar](4000) NULL, - [VariableValueDBL] [float] NULL, - [VariableValueLONG] [bigint] NULL, - [VariableValueDATE] [datetime] NULL, - [VariableValueBOOL] [tinyint] NULL, - [OrdNo] [int] NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKNewEventAuditDataWOB_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKNextXPDLVersions] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKNextXPDLVersions]( - [XPDLId] [nvarchar](90) NOT NULL, - [NextVersion] [nvarchar](20) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKNextXPDLVersions_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKNormalUser] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKNormalUser]( - [USERNAME] [nvarchar](100) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKNormalUser_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKOldEventAuditData] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKOldEventAuditData]( - [DataEventAudit] [decimal](19, 0) NOT NULL, - [VariableDefinitionId] [nvarchar](100) NOT NULL, - [VariableType] [int] NOT NULL, - [VariableValue] [image] NULL, - [VariableValueXML] [xml] NULL, - [VariableValueVCHAR] [nvarchar](4000) NULL, - [VariableValueDBL] [float] NULL, - [VariableValueLONG] [bigint] NULL, - [VariableValueDATE] [datetime] NULL, - [VariableValueBOOL] [tinyint] NULL, - [OrdNo] [int] NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKOldEventAuditData_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKOldEventAuditDataBLOBs] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKOldEventAuditDataBLOBs]( - [OldEventAuditDataWOB] [decimal](19, 0) NOT NULL, - [VariableValue] [image] NULL, - [OrdNo] [int] NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKOldEventAuditDataBLOBs_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKOldEventAuditDataWOB] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKOldEventAuditDataWOB]( - [DataEventAudit] [decimal](19, 0) NOT NULL, - [VariableDefinitionId] [nvarchar](100) NOT NULL, - [VariableType] [int] NOT NULL, - [VariableValueXML] [xml] NULL, - [VariableValueVCHAR] [nvarchar](4000) NULL, - [VariableValueDBL] [float] NULL, - [VariableValueLONG] [bigint] NULL, - [VariableValueDATE] [datetime] NULL, - [VariableValueBOOL] [tinyint] NULL, - [OrdNo] [int] NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKOldEventAuditDataWOB_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKPackLevelParticipant] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKPackLevelParticipant]( - [PARTICIPANT_ID] [nvarchar](90) NOT NULL, - [PACKAGEOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKPackLevelParticipant_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKPackLevelXPDLApp] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKPackLevelXPDLApp]( - [APPLICATION_ID] [nvarchar](90) NOT NULL, - [PACKAGEOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKPackLevelXPDLApp_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKPackLevelXPDLAppTAAppDetail] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKPackLevelXPDLAppTAAppDetail]( - [XPDL_APPOID] [decimal](19, 0) NOT NULL, - [TOOLAGENTOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKPackLevelXPDLAppTAAppDetail_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKPackLevelXPDLAppTAAppDetUsr] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKPackLevelXPDLAppTAAppDetUsr]( - [XPDL_APPOID] [decimal](19, 0) NOT NULL, - [TOOLAGENTOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKPackLevelXPDLAppTAAppDetUsr_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKPackLevelXPDLAppTAAppUser] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKPackLevelXPDLAppTAAppUser]( - [XPDL_APPOID] [decimal](19, 0) NOT NULL, - [TOOLAGENTOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKPackLevelXPDLAppTAAppUser_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKPackLevelXPDLAppToolAgntApp] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKPackLevelXPDLAppToolAgntApp]( - [XPDL_APPOID] [decimal](19, 0) NOT NULL, - [TOOLAGENTOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKPackLevelXPDLAppToolAgntApp_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcessData] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcessData]( - [Process] [decimal](19, 0) NOT NULL, - [VariableDefinitionId] [nvarchar](100) NOT NULL, - [VariableType] [int] NOT NULL, - [VariableValue] [image] NULL, - [VariableValueXML] [xml] NULL, - [VariableValueVCHAR] [nvarchar](4000) NULL, - [VariableValueDBL] [real] NULL, - [VariableValueLONG] [bigint] NULL, - [VariableValueDATE] [datetime] NULL, - [VariableValueBOOL] [tinyint] NULL, - [OrdNo] [int] NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcessData_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKProcessDataBLOBs] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcessDataBLOBs]( - [ProcessDataWOB] [decimal](19, 0) NOT NULL, - [VariableValue] [image] NULL, - [OrdNo] [int] NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcessDataBLOBs_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKProcessDataWOB] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcessDataWOB]( - [Process] [decimal](19, 0) NOT NULL, - [VariableDefinitionId] [nvarchar](100) NOT NULL, - [VariableType] [int] NOT NULL, - [VariableValueXML] [xml] NULL, - [VariableValueVCHAR] [nvarchar](4000) NULL, - [VariableValueDBL] [real] NULL, - [VariableValueLONG] [bigint] NULL, - [VariableValueDATE] [datetime] NULL, - [VariableValueBOOL] [tinyint] NULL, - [OrdNo] [int] NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcessDataWOB_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKProcessDefinitions] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcessDefinitions]( - [Name] [nvarchar](200) NOT NULL, - [PackageId] [nvarchar](90) NOT NULL, - [ProcessDefinitionId] [nvarchar](90) NOT NULL, - [ProcessDefinitionCreated] [bigint] NOT NULL, - [ProcessDefinitionVersion] [nvarchar](20) NOT NULL, - [State] [int] NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcessDefinitions_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcesses] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcesses]( - [SyncVersion] [bigint] NOT NULL, - [Id] [nvarchar](100) NOT NULL, - [ProcessDefinition] [decimal](19, 0) NOT NULL, - [PDefName] [nvarchar](200) NOT NULL, - [ActivityRequesterId] [nvarchar](100) NULL, - [ActivityRequesterProcessId] [nvarchar](100) NULL, - [ResourceRequesterId] [nvarchar](100) NOT NULL, - [ExternalRequesterClassName] [nvarchar](254) NULL, - [State] [decimal](19, 0) NOT NULL, - [Priority] [int] NULL, - [Name] [nvarchar](254) NULL, - [Created] [bigint] NOT NULL, - [CreatedTZO] [bigint] NOT NULL, - [Started] [bigint] NULL, - [StartedTZO] [bigint] NULL, - [LastStateTime] [bigint] NOT NULL, - [LastStateTimeTZO] [bigint] NOT NULL, - [LimitTime] [bigint] NOT NULL, - [LimitTimeTZO] [bigint] NOT NULL, - [Description] [nvarchar](254) NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcesses_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcessRequesters] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcessRequesters]( - [Id] [nvarchar](100) NOT NULL, - [ActivityRequester] [decimal](19, 0) NULL, - [ResourceRequester] [decimal](19, 0) NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcessRequesters_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcessStateEventAudits] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcessStateEventAudits]( - [KeyValue] [nvarchar](30) NOT NULL, - [Name] [nvarchar](50) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcessStateEventAudits_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcessStates] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcessStates]( - [KeyValue] [nvarchar](30) NOT NULL, - [Name] [nvarchar](50) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcessStates_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcLevelParticipant] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcLevelParticipant]( - [PARTICIPANT_ID] [nvarchar](90) NOT NULL, - [PROCESSOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcLevelParticipant_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcLevelXPDLApp] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcLevelXPDLApp]( - [APPLICATION_ID] [nvarchar](90) NOT NULL, - [PROCESSOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcLevelXPDLApp_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcLevelXPDLAppTAAppDetail] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcLevelXPDLAppTAAppDetail]( - [XPDL_APPOID] [decimal](19, 0) NOT NULL, - [TOOLAGENTOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcLevelXPDLAppTAAppDetail_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcLevelXPDLAppTAAppDetUsr] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcLevelXPDLAppTAAppDetUsr]( - [XPDL_APPOID] [decimal](19, 0) NOT NULL, - [TOOLAGENTOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcLevelXPDLAppTAAppDetUsr_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcLevelXPDLAppTAAppUser] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcLevelXPDLAppTAAppUser]( - [XPDL_APPOID] [decimal](19, 0) NOT NULL, - [TOOLAGENTOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcLevelXPDLAppTAAppUser_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKProcLevelXPDLAppToolAgntApp] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKProcLevelXPDLAppToolAgntApp]( - [XPDL_APPOID] [decimal](19, 0) NOT NULL, - [TOOLAGENTOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKProcLevelXPDLAppToolAgntApp_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKResourcesTable] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKResourcesTable]( - [Username] [nvarchar](100) NOT NULL, - [Name] [nvarchar](100) NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKResourcesTable_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKStateEventAudits] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKStateEventAudits]( - [RecordedTime] [bigint] NOT NULL, - [RecordedTimeTZO] [bigint] NOT NULL, - [TheUsername] [nvarchar](100) NOT NULL, - [TheType] [decimal](19, 0) NOT NULL, - [ActivityId] [nvarchar](100) NULL, - [ActivityName] [nvarchar](254) NULL, - [ProcessId] [nvarchar](100) NOT NULL, - [ProcessName] [nvarchar](254) NULL, - [ProcessFactoryName] [nvarchar](200) NOT NULL, - [ProcessFactoryVersion] [nvarchar](20) NOT NULL, - [ActivityDefinitionId] [nvarchar](90) NULL, - [ActivityDefinitionName] [nvarchar](90) NULL, - [ActivityDefinitionType] [int] NULL, - [ProcessDefinitionId] [nvarchar](90) NOT NULL, - [ProcessDefinitionName] [nvarchar](90) NULL, - [PackageId] [nvarchar](90) NOT NULL, - [OldProcessState] [decimal](19, 0) NULL, - [NewProcessState] [decimal](19, 0) NULL, - [OldActivityState] [decimal](19, 0) NULL, - [NewActivityState] [decimal](19, 0) NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKStateEventAudits_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKToolAgentApp] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKToolAgentApp]( - [TOOL_AGENT_NAME] [nvarchar](250) NOT NULL, - [APP_NAME] [nvarchar](90) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKToolAgentApp_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKToolAgentAppDetail] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKToolAgentAppDetail]( - [APP_MODE] [decimal](10, 0) NOT NULL, - [TOOLAGENT_APPOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKToolAgentAppDetail_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKToolAgentAppDetailUser] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKToolAgentAppDetailUser]( - [TOOLAGENT_APPOID] [decimal](19, 0) NOT NULL, - [USEROID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKToolAgentAppDetailUser_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKToolAgentAppUser] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKToolAgentAppUser]( - [TOOLAGENT_APPOID] [decimal](19, 0) NOT NULL, - [USEROID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKToolAgentAppUser_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKToolAgentUser] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKToolAgentUser]( - [USERNAME] [nvarchar](100) NOT NULL, - [PWD] [nvarchar](100) NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKToolAgentUser_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKUserGroupTable] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKUserGroupTable]( - [userid] [decimal](19, 0) NOT NULL, - [groupid] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKUserGroupTable_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKUserPackLevelPart] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKUserPackLevelPart]( - [PARTICIPANTOID] [decimal](19, 0) NOT NULL, - [USEROID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKUserPackLevelPart_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKUserProcLevelParticipant] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKUserProcLevelParticipant]( - [PARTICIPANTOID] [decimal](19, 0) NOT NULL, - [USEROID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKUserProcLevelParticipant_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKUserTable] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKUserTable]( - [userid] [nvarchar](100) NOT NULL, - [firstname] [nvarchar](50) NULL, - [lastname] [nvarchar](50) NULL, - [passwd] [nvarchar](50) NOT NULL, - [email] [nvarchar](254) NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKUserTable_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKXPDLApplicationPackage] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKXPDLApplicationPackage]( - [PACKAGE_ID] [nvarchar](90) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKXPDLApplicationPackage_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKXPDLApplicationProcess] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKXPDLApplicationProcess]( - [PROCESS_ID] [nvarchar](90) NOT NULL, - [PACKAGEOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKXPDLApplicationProcess_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKXPDLData] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKXPDLData]( - [XPDLContent] [image] NOT NULL, - [XPDLClassContent] [image] NOT NULL, - [XPDL] [decimal](19, 0) NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKXPDLData_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKXPDLHistory] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKXPDLHistory]( - [XPDLId] [nvarchar](90) NOT NULL, - [XPDLVersion] [nvarchar](20) NOT NULL, - [XPDLClassVersion] [bigint] NOT NULL, - [XPDLUploadTime] [datetime] NOT NULL, - [XPDLHistoryUploadTime] [datetime] NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKXPDLHistory_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKXPDLHistoryData] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKXPDLHistoryData]( - [XPDLContent] [image] NOT NULL, - [XPDLClassContent] [image] NOT NULL, - [XPDLHistory] [decimal](19, 0) NOT NULL, - [CNT] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKXPDLHistoryData_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [SHKXPDLParticipantPackage] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKXPDLParticipantPackage]( - [PACKAGE_ID] [nvarchar](90) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKXPDLParticipantPackage_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKXPDLParticipantProcess] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKXPDLParticipantProcess]( - [PROCESS_ID] [nvarchar](90) NOT NULL, - [PACKAGEOID] [decimal](19, 0) NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKXPDLParticipantProcess_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKXPDLReferences] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKXPDLReferences]( - [ReferredXPDLId] [nvarchar](90) NOT NULL, - [ReferringXPDL] [decimal](19, 0) NOT NULL, - [ReferredXPDLNumber] [int] NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKXPDLReferences_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [SHKXPDLS] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [SHKXPDLS]( - [XPDLId] [nvarchar](90) NOT NULL, - [XPDLVersion] [nvarchar](20) NOT NULL, - [XPDLClassVersion] [bigint] NOT NULL, - [XPDLUploadTime] [datetime] NOT NULL, - [oid] [decimal](19, 0) NOT NULL, - [version] [int] NOT NULL, - CONSTRAINT [SHKXPDLS_oid] PRIMARY KEY CLUSTERED -( - [oid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [wf_audit_trail] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [wf_audit_trail]( - [id] [nvarchar](255) NOT NULL, - [username] [nvarchar](255) NULL, - [appId] [nvarchar](255) NULL, - [appVersion] [nvarchar](255) NULL, - [clazz] [nvarchar](255) NULL, - [method] [nvarchar](255) NULL, - [message] [ntext] NULL, - [timestamp] [datetime] NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [wf_process_link] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [wf_process_link]( - [processId] [nvarchar](255) NOT NULL, - [parentProcessId] [nvarchar](255) NULL, - [originProcessId] [nvarchar](255) NULL, -PRIMARY KEY CLUSTERED -( - [processId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -; -/****** Object: Table [wf_resource_bundle_message] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [wf_resource_bundle_message]( - [id] [nvarchar](255) NOT NULL, - [messageKey] [nvarchar](255) NULL, - [locale] [nvarchar](255) NULL, - [message] [ntext] NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -/****** Object: Table [wf_setup] Script Date: 05/29/2019 10:16:22 ******/ -SET ANSI_NULLS ON -; -SET QUOTED_IDENTIFIER ON -; -CREATE TABLE [wf_setup]( - [id] [nvarchar](255) NOT NULL, - [property] [nvarchar](255) NULL, - [value] [ntext] NULL, - [ordering] [int] NULL, -PRIMARY KEY CLUSTERED -( - [id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -; -INSERT [dir_role] ([id], [name], [description]) VALUES (N'ROLE_ADMIN', N'Admin', N'Administrator') -INSERT [dir_role] ([id], [name], [description]) VALUES (N'ROLE_USER', N'User', N'Normal User') -INSERT [dir_user] ([id], [username], [password], [firstName], [lastName], [email], [timeZone], [locale], [active]) VALUES (N'admin', N'admin', N'admin', N'Admin', N'admin', N'admin@email.domain', N'0', NULL, 1) -INSERT [dir_user_role] ([roleId], [userId]) VALUES (N'ROLE_ADMIN', N'admin') -INSERT [ObjectId] ([nextoid]) VALUES (CAST(1000200 AS Decimal(19, 0))) -INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.running', N'open.running', CAST(1000001 AS Decimal(19, 0)), 0) -INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.not_running.not_started', N'open.not_running.not_started', CAST(1000003 AS Decimal(19, 0)), 0) -INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.not_running.suspended', N'open.not_running.suspended', CAST(1000005 AS Decimal(19, 0)), 0) -INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.completed', N'closed.completed', CAST(1000007 AS Decimal(19, 0)), 0) -INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.terminated', N'closed.terminated', CAST(1000009 AS Decimal(19, 0)), 0) -INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.aborted', N'closed.aborted', CAST(1000011 AS Decimal(19, 0)), 0) -INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.running', N'open.running', CAST(1000000 AS Decimal(19, 0)), 0) -INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.not_running.not_started', N'open.not_running.not_started', CAST(1000002 AS Decimal(19, 0)), 0) -INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.not_running.suspended', N'open.not_running.suspended', CAST(1000004 AS Decimal(19, 0)), 0) -INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.completed', N'closed.completed', CAST(1000006 AS Decimal(19, 0)), 0) -INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.terminated', N'closed.terminated', CAST(1000008 AS Decimal(19, 0)), 0) -INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.aborted', N'closed.aborted', CAST(1000010 AS Decimal(19, 0)), 0) -SET ANSI_PADDING ON -; -/****** Object: Index [idx_name] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [idx_name] ON [app_app] -( - [name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [idx_name] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [idx_name] ON [app_builder] -( - [name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [idx_type] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [idx_type] ON [app_builder] -( - [type] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [idx_name] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [idx_name] ON [app_datalist] -( - [name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [idx_name] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [idx_name] ON [app_form] -( - [name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [idx_name] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [idx_name] ON [app_userview] -( - [name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [UQ__dir_empl__92CF207DC2B26038] Script Date: 05/29/2019 10:16:23 ******/ -ALTER TABLE [dir_employment_report_to] ADD UNIQUE NONCLUSTERED -( - [employmentId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKActivities] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivities] ON [SHKActivities] -( - [Id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKActivities] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I2_SHKActivities] ON [SHKActivities] -( - [Process] ASC, - [ActivitySetDefinitionId] ASC, - [ActivityDefinitionId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I3_SHKActivities] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I3_SHKActivities] ON [SHKActivities] -( - [Process] ASC, - [State] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKActivityData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivityData] ON [SHKActivityData] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKActivityData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKActivityData] ON [SHKActivityData] -( - [Activity] ASC, - [VariableDefinitionId] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKActivityDataBLOBs] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivityDataBLOBs] ON [SHKActivityDataBLOBs] -( - [ActivityDataWOB] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKActivityDataWOB] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivityDataWOB] ON [SHKActivityDataWOB] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKActivityDataWOB] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKActivityDataWOB] ON [SHKActivityDataWOB] -( - [Activity] ASC, - [VariableDefinitionId] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKActivityStateEventAudits] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivityStateEventAudits] ON [SHKActivityStateEventAudits] -( - [KeyValue] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKActivityStateEventAudits] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKActivityStateEventAudits] ON [SHKActivityStateEventAudits] -( - [Name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKActivityStates] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivityStates] ON [SHKActivityStates] -( - [KeyValue] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKActivityStates] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKActivityStates] ON [SHKActivityStates] -( - [Name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKAndJoinTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKAndJoinTable] ON [SHKAndJoinTable] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKAndJoinTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I2_SHKAndJoinTable] ON [SHKAndJoinTable] -( - [Process] ASC, - [BlockActivity] ASC, - [ActivityDefinitionId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I3_SHKAndJoinTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I3_SHKAndJoinTable] ON [SHKAndJoinTable] -( - [Activity] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKAssignmentEventAudits] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKAssignmentEventAudits] ON [SHKAssignmentEventAudits] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKAssignmentsTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKAssignmentsTable] ON [SHKAssignmentsTable] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I2_SHKAssignmentsTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKAssignmentsTable] ON [SHKAssignmentsTable] -( - [Activity] ASC, - [TheResource] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I3_SHKAssignmentsTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I3_SHKAssignmentsTable] ON [SHKAssignmentsTable] -( - [TheResource] ASC, - [IsValid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I4_SHKAssignmentsTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I4_SHKAssignmentsTable] ON [SHKAssignmentsTable] -( - [ActivityId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I5_SHKAssignmentsTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I5_SHKAssignmentsTable] ON [SHKAssignmentsTable] -( - [ResourceId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKCounters] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKCounters] ON [SHKCounters] -( - [name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKCreateProcessEventAudits] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKCreateProcessEventAudits] ON [SHKCreateProcessEventAudits] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKDataEventAudits] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKDataEventAudits] ON [SHKDataEventAudits] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKDeadlines] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKDeadlines] ON [SHKDeadlines] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I2_SHKDeadlines] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I2_SHKDeadlines] ON [SHKDeadlines] -( - [Process] ASC, - [TimeLimit] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I3_SHKDeadlines] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I3_SHKDeadlines] ON [SHKDeadlines] -( - [Activity] ASC, - [TimeLimit] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKEventTypes] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKEventTypes] ON [SHKEventTypes] -( - [KeyValue] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKEventTypes] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKEventTypes] ON [SHKEventTypes] -( - [Name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKGroupGroupTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKGroupGroupTable] ON [SHKGroupGroupTable] -( - [sub_gid] ASC, - [groupid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I2_SHKGroupGroupTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I2_SHKGroupGroupTable] ON [SHKGroupGroupTable] -( - [groupid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKGroupTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKGroupTable] ON [SHKGroupTable] -( - [groupid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKGroupUser] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKGroupUser] ON [SHKGroupUser] -( - [USERNAME] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKGroupUserPackLevelPart] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKGroupUserPackLevelPart] ON [SHKGroupUserPackLevelPart] -( - [PARTICIPANTOID] ASC, - [USEROID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKGroupUserProcLevelPart] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKGroupUserProcLevelPart] ON [SHKGroupUserProcLevelPart] -( - [PARTICIPANTOID] ASC, - [USEROID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKNewEventAuditData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKNewEventAuditData] ON [SHKNewEventAuditData] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKNewEventAuditData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKNewEventAuditData] ON [SHKNewEventAuditData] -( - [DataEventAudit] ASC, - [VariableDefinitionId] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKNewEventAuditDataBLOBs] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKNewEventAuditDataBLOBs] ON [SHKNewEventAuditDataBLOBs] -( - [NewEventAuditDataWOB] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKNewEventAuditDataWOB] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKNewEventAuditDataWOB] ON [SHKNewEventAuditDataWOB] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKNewEventAuditDataWOB] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKNewEventAuditDataWOB] ON [SHKNewEventAuditDataWOB] -( - [DataEventAudit] ASC, - [VariableDefinitionId] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKNextXPDLVersions] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKNextXPDLVersions] ON [SHKNextXPDLVersions] -( - [XPDLId] ASC, - [NextVersion] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKNormalUser] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKNormalUser] ON [SHKNormalUser] -( - [USERNAME] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKOldEventAuditData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKOldEventAuditData] ON [SHKOldEventAuditData] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKOldEventAuditData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKOldEventAuditData] ON [SHKOldEventAuditData] -( - [DataEventAudit] ASC, - [VariableDefinitionId] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKOldEventAuditDataBLOBs] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKOldEventAuditDataBLOBs] ON [SHKOldEventAuditDataBLOBs] -( - [OldEventAuditDataWOB] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKOldEventAuditDataWOB] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKOldEventAuditDataWOB] ON [SHKOldEventAuditDataWOB] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKOldEventAuditDataWOB] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKOldEventAuditDataWOB] ON [SHKOldEventAuditDataWOB] -( - [DataEventAudit] ASC, - [VariableDefinitionId] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKPackLevelParticipant] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelParticipant] ON [SHKPackLevelParticipant] -( - [PARTICIPANT_ID] ASC, - [PACKAGEOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKPackLevelXPDLApp] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelXPDLApp] ON [SHKPackLevelXPDLApp] -( - [APPLICATION_ID] ASC, - [PACKAGEOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKPackLevelXPDLAppTAAppDetail] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelXPDLAppTAAppDetail] ON [SHKPackLevelXPDLAppTAAppDetail] -( - [XPDL_APPOID] ASC, - [TOOLAGENTOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKPackLevelXPDLAppTAAppDetUsr] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelXPDLAppTAAppDetUsr] ON [SHKPackLevelXPDLAppTAAppDetUsr] -( - [XPDL_APPOID] ASC, - [TOOLAGENTOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKPackLevelXPDLAppTAAppUser] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelXPDLAppTAAppUser] ON [SHKPackLevelXPDLAppTAAppUser] -( - [XPDL_APPOID] ASC, - [TOOLAGENTOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKPackLevelXPDLAppToolAgntApp] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelXPDLAppToolAgntApp] ON [SHKPackLevelXPDLAppToolAgntApp] -( - [XPDL_APPOID] ASC, - [TOOLAGENTOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKProcessData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessData] ON [SHKProcessData] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKProcessData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKProcessData] ON [SHKProcessData] -( - [Process] ASC, - [VariableDefinitionId] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKProcessDataBLOBs] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessDataBLOBs] ON [SHKProcessDataBLOBs] -( - [ProcessDataWOB] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKProcessDataWOB] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessDataWOB] ON [SHKProcessDataWOB] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKProcessDataWOB] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKProcessDataWOB] ON [SHKProcessDataWOB] -( - [Process] ASC, - [VariableDefinitionId] ASC, - [OrdNo] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKProcessDefinitions] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessDefinitions] ON [SHKProcessDefinitions] -( - [Name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKProcesses] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcesses] ON [SHKProcesses] -( - [Id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I2_SHKProcesses] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I2_SHKProcesses] ON [SHKProcesses] -( - [ProcessDefinition] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I3_SHKProcesses] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I3_SHKProcesses] ON [SHKProcesses] -( - [State] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I4_SHKProcesses] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I4_SHKProcesses] ON [SHKProcesses] -( - [ActivityRequesterId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I5_SHKProcesses] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I5_SHKProcesses] ON [SHKProcesses] -( - [ResourceRequesterId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKProcessRequesters] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessRequesters] ON [SHKProcessRequesters] -( - [Id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I2_SHKProcessRequesters] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I2_SHKProcessRequesters] ON [SHKProcessRequesters] -( - [ActivityRequester] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I3_SHKProcessRequesters] Script Date: 05/29/2019 10:16:23 ******/ -CREATE NONCLUSTERED INDEX [I3_SHKProcessRequesters] ON [SHKProcessRequesters] -( - [ResourceRequester] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKProcessStateEventAudits] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessStateEventAudits] ON [SHKProcessStateEventAudits] -( - [KeyValue] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKProcessStateEventAudits] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKProcessStateEventAudits] ON [SHKProcessStateEventAudits] -( - [Name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKProcessStates] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessStates] ON [SHKProcessStates] -( - [KeyValue] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I2_SHKProcessStates] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKProcessStates] ON [SHKProcessStates] -( - [Name] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKProcLevelParticipant] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelParticipant] ON [SHKProcLevelParticipant] -( - [PARTICIPANT_ID] ASC, - [PROCESSOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKProcLevelXPDLApp] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelXPDLApp] ON [SHKProcLevelXPDLApp] -( - [APPLICATION_ID] ASC, - [PROCESSOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKProcLevelXPDLAppTAAppDetail] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelXPDLAppTAAppDetail] ON [SHKProcLevelXPDLAppTAAppDetail] -( - [XPDL_APPOID] ASC, - [TOOLAGENTOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKProcLevelXPDLAppTAAppDetUsr] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelXPDLAppTAAppDetUsr] ON [SHKProcLevelXPDLAppTAAppDetUsr] -( - [XPDL_APPOID] ASC, - [TOOLAGENTOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKProcLevelXPDLAppTAAppUser] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelXPDLAppTAAppUser] ON [SHKProcLevelXPDLAppTAAppUser] -( - [XPDL_APPOID] ASC, - [TOOLAGENTOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKProcLevelXPDLAppToolAgntApp] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelXPDLAppToolAgntApp] ON [SHKProcLevelXPDLAppToolAgntApp] -( - [XPDL_APPOID] ASC, - [TOOLAGENTOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKResourcesTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKResourcesTable] ON [SHKResourcesTable] -( - [Username] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKStateEventAudits] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKStateEventAudits] ON [SHKStateEventAudits] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKToolAgentApp] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKToolAgentApp] ON [SHKToolAgentApp] -( - [TOOL_AGENT_NAME] ASC, - [APP_NAME] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKToolAgentAppDetail] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKToolAgentAppDetail] ON [SHKToolAgentAppDetail] -( - [APP_MODE] ASC, - [TOOLAGENT_APPOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKToolAgentAppDetailUser] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKToolAgentAppDetailUser] ON [SHKToolAgentAppDetailUser] -( - [TOOLAGENT_APPOID] ASC, - [USEROID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKToolAgentAppUser] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKToolAgentAppUser] ON [SHKToolAgentAppUser] -( - [TOOLAGENT_APPOID] ASC, - [USEROID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKToolAgentUser] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKToolAgentUser] ON [SHKToolAgentUser] -( - [USERNAME] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKUserGroupTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKUserGroupTable] ON [SHKUserGroupTable] -( - [userid] ASC, - [groupid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKUserPackLevelPart] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKUserPackLevelPart] ON [SHKUserPackLevelPart] -( - [PARTICIPANTOID] ASC, - [USEROID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKUserProcLevelParticipant] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKUserProcLevelParticipant] ON [SHKUserProcLevelParticipant] -( - [PARTICIPANTOID] ASC, - [USEROID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKUserTable] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKUserTable] ON [SHKUserTable] -( - [userid] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKXPDLApplicationPackage] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLApplicationPackage] ON [SHKXPDLApplicationPackage] -( - [PACKAGE_ID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKXPDLApplicationProcess] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLApplicationProcess] ON [SHKXPDLApplicationProcess] -( - [PROCESS_ID] ASC, - [PACKAGEOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKXPDLData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLData] ON [SHKXPDLData] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I2_SHKXPDLData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKXPDLData] ON [SHKXPDLData] -( - [XPDL] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKXPDLHistory] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLHistory] ON [SHKXPDLHistory] -( - [XPDLId] ASC, - [XPDLVersion] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -/****** Object: Index [I1_SHKXPDLHistoryData] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLHistoryData] ON [SHKXPDLHistoryData] -( - [CNT] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKXPDLParticipantPackage] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLParticipantPackage] ON [SHKXPDLParticipantPackage] -( - [PACKAGE_ID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKXPDLParticipantProcess] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLParticipantProcess] ON [SHKXPDLParticipantProcess] -( - [PROCESS_ID] ASC, - [PACKAGEOID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKXPDLReferences] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLReferences] ON [SHKXPDLReferences] -( - [ReferredXPDLId] ASC, - [ReferringXPDL] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -SET ANSI_PADDING ON -; -/****** Object: Index [I1_SHKXPDLS] Script Date: 05/29/2019 10:16:23 ******/ -CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLS] ON [SHKXPDLS] -( - [XPDLId] ASC, - [XPDLVersion] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -; -ALTER TABLE [app_builder] WITH CHECK ADD CONSTRAINT [FK5F9347A6462EF4C7] FOREIGN KEY([appId], [appVersion]) -REFERENCES [app_app] ([appId], [appVersion]) -; -ALTER TABLE [app_builder] CHECK CONSTRAINT [FK5F9347A6462EF4C7] -; -ALTER TABLE [app_datalist] WITH CHECK ADD CONSTRAINT [FK5E9247A6462EF4C7] FOREIGN KEY([appId], [appVersion]) -REFERENCES [app_app] ([appId], [appVersion]) -; -ALTER TABLE [app_datalist] CHECK CONSTRAINT [FK5E9247A6462EF4C7] -; -ALTER TABLE [app_env_variable] WITH CHECK ADD CONSTRAINT [FK740A62EC462EF4C7] FOREIGN KEY([appId], [appVersion]) -REFERENCES [app_app] ([appId], [appVersion]) -; -ALTER TABLE [app_env_variable] CHECK CONSTRAINT [FK740A62EC462EF4C7] -; -ALTER TABLE [app_form] WITH CHECK ADD CONSTRAINT [FK45957822462EF4C7] FOREIGN KEY([appId], [appVersion]) -REFERENCES [app_app] ([appId], [appVersion]) -; -ALTER TABLE [app_form] CHECK CONSTRAINT [FK45957822462EF4C7] -; -ALTER TABLE [app_message] WITH CHECK ADD CONSTRAINT [FKEE346FE9462EF4C7] FOREIGN KEY([appId], [appVersion]) -REFERENCES [app_app] ([appId], [appVersion]) -; -ALTER TABLE [app_message] CHECK CONSTRAINT [FKEE346FE9462EF4C7] -; -ALTER TABLE [app_package] WITH CHECK ADD CONSTRAINT [FK852EA428462EF4C7] FOREIGN KEY([appId], [appVersion]) -REFERENCES [app_app] ([appId], [appVersion]) -; -ALTER TABLE [app_package] CHECK CONSTRAINT [FK852EA428462EF4C7] -; -ALTER TABLE [app_package_activity_form] WITH CHECK ADD CONSTRAINT [FKA8D741D5F255BCC] FOREIGN KEY([packageId], [packageVersion]) -REFERENCES [app_package] ([packageId], [packageVersion]) -; -ALTER TABLE [app_package_activity_form] CHECK CONSTRAINT [FKA8D741D5F255BCC] -; -ALTER TABLE [app_package_activity_plugin] WITH CHECK ADD CONSTRAINT [FKADE8644C5F255BCC] FOREIGN KEY([packageId], [packageVersion]) -REFERENCES [app_package] ([packageId], [packageVersion]) -; -ALTER TABLE [app_package_activity_plugin] CHECK CONSTRAINT [FKADE8644C5F255BCC] -; -ALTER TABLE [app_package_participant] WITH CHECK ADD CONSTRAINT [FK6D7BF59C5F255BCC] FOREIGN KEY([packageId], [packageVersion]) -REFERENCES [app_package] ([packageId], [packageVersion]) -; -ALTER TABLE [app_package_participant] CHECK CONSTRAINT [FK6D7BF59C5F255BCC] -; -ALTER TABLE [app_plugin_default] WITH CHECK ADD CONSTRAINT [FK7A835713462EF4C7] FOREIGN KEY([appId], [appVersion]) -REFERENCES [app_app] ([appId], [appVersion]) -; -ALTER TABLE [app_plugin_default] CHECK CONSTRAINT [FK7A835713462EF4C7] -; -ALTER TABLE [app_report_activity] WITH CHECK ADD CONSTRAINT [FK5E33D79C918F93D] FOREIGN KEY([processUid]) -REFERENCES [app_report_process] ([uuid]) -; -ALTER TABLE [app_report_activity] CHECK CONSTRAINT [FK5E33D79C918F93D] -; -ALTER TABLE [app_report_activity_instance] WITH CHECK ADD CONSTRAINT [FK9C6ABDD8B06E2043] FOREIGN KEY([activityUid]) -REFERENCES [app_report_activity] ([uuid]) -; -ALTER TABLE [app_report_activity_instance] CHECK CONSTRAINT [FK9C6ABDD8B06E2043] -; -ALTER TABLE [app_report_activity_instance] WITH CHECK ADD CONSTRAINT [FK9C6ABDD8D4610A90] FOREIGN KEY([processInstanceId]) -REFERENCES [app_report_process_instance] ([instanceId]) -; -ALTER TABLE [app_report_activity_instance] CHECK CONSTRAINT [FK9C6ABDD8D4610A90] -; -ALTER TABLE [app_report_package] WITH CHECK ADD CONSTRAINT [FKBD580A19E475ABC] FOREIGN KEY([appUid]) -REFERENCES [app_report_app] ([uuid]) -; -ALTER TABLE [app_report_package] CHECK CONSTRAINT [FKBD580A19E475ABC] -; -ALTER TABLE [app_report_process] WITH CHECK ADD CONSTRAINT [FKDAFFF442D40695DD] FOREIGN KEY([packageUid]) -REFERENCES [app_report_package] ([uuid]) -; -ALTER TABLE [app_report_process] CHECK CONSTRAINT [FKDAFFF442D40695DD] -; -ALTER TABLE [app_report_process_instance] WITH CHECK ADD CONSTRAINT [FK351D7BF2918F93D] FOREIGN KEY([processUid]) -REFERENCES [app_report_process] ([uuid]) -; -ALTER TABLE [app_report_process_instance] CHECK CONSTRAINT [FK351D7BF2918F93D] -; -ALTER TABLE [app_userview] WITH CHECK ADD CONSTRAINT [FKE411D54E462EF4C7] FOREIGN KEY([appId], [appVersion]) -REFERENCES [app_app] ([appId], [appVersion]) -; -ALTER TABLE [app_userview] CHECK CONSTRAINT [FKE411D54E462EF4C7] -; -ALTER TABLE [dir_department] WITH CHECK ADD CONSTRAINT [FKEEE8AA4418CEBAE1] FOREIGN KEY([organizationId]) -REFERENCES [dir_organization] ([id]) -ON DELETE CASCADE -; -ALTER TABLE [dir_department] CHECK CONSTRAINT [FKEEE8AA4418CEBAE1] -; -ALTER TABLE [dir_department] WITH CHECK ADD CONSTRAINT [FKEEE8AA4480DB1449] FOREIGN KEY([hod]) -REFERENCES [dir_employment] ([id]) -; -ALTER TABLE [dir_department] CHECK CONSTRAINT [FKEEE8AA4480DB1449] -; -ALTER TABLE [dir_department] WITH CHECK ADD CONSTRAINT [FKEEE8AA44EF6BB2B7] FOREIGN KEY([parentId]) -REFERENCES [dir_department] ([id]) -; -ALTER TABLE [dir_department] CHECK CONSTRAINT [FKEEE8AA44EF6BB2B7] -; -ALTER TABLE [dir_employment] WITH CHECK ADD CONSTRAINT [FKC6620ADE14CE02E9] FOREIGN KEY([gradeId]) -REFERENCES [dir_grade] ([id]) -; -ALTER TABLE [dir_employment] CHECK CONSTRAINT [FKC6620ADE14CE02E9] -; -ALTER TABLE [dir_employment] WITH CHECK ADD CONSTRAINT [FKC6620ADE18CEBAE1] FOREIGN KEY([organizationId]) -REFERENCES [dir_organization] ([id]) -ON DELETE CASCADE -; -ALTER TABLE [dir_employment] CHECK CONSTRAINT [FKC6620ADE18CEBAE1] -; -ALTER TABLE [dir_employment] WITH CHECK ADD CONSTRAINT [FKC6620ADE716AE35F] FOREIGN KEY([departmentId]) -REFERENCES [dir_department] ([id]) -; -ALTER TABLE [dir_employment] CHECK CONSTRAINT [FKC6620ADE716AE35F] -; -ALTER TABLE [dir_employment] WITH CHECK ADD CONSTRAINT [FKC6620ADECE539211] FOREIGN KEY([userId]) -REFERENCES [dir_user] ([id]) -; -ALTER TABLE [dir_employment] CHECK CONSTRAINT [FKC6620ADECE539211] -; -ALTER TABLE [dir_employment_report_to] WITH CHECK ADD CONSTRAINT [FK536229452787E613] FOREIGN KEY([employmentId]) -REFERENCES [dir_employment] ([id]) -; -ALTER TABLE [dir_employment_report_to] CHECK CONSTRAINT [FK536229452787E613] -; -ALTER TABLE [dir_employment_report_to] WITH CHECK ADD CONSTRAINT [FK53622945F4068416] FOREIGN KEY([reportToId]) -REFERENCES [dir_employment] ([id]) -; -ALTER TABLE [dir_employment_report_to] CHECK CONSTRAINT [FK53622945F4068416] -; -ALTER TABLE [dir_grade] WITH CHECK ADD CONSTRAINT [FKBC9A49A518CEBAE1] FOREIGN KEY([organizationId]) -REFERENCES [dir_organization] ([id]) -ON DELETE CASCADE -; -ALTER TABLE [dir_grade] CHECK CONSTRAINT [FKBC9A49A518CEBAE1] -; -ALTER TABLE [dir_group] WITH CHECK ADD CONSTRAINT [FKBC9A804D18CEBAE1] FOREIGN KEY([organizationId]) -REFERENCES [dir_organization] ([id]) -; -ALTER TABLE [dir_group] CHECK CONSTRAINT [FKBC9A804D18CEBAE1] -; -ALTER TABLE [dir_organization] WITH CHECK ADD CONSTRAINT [FK55A15FA5961BD498] FOREIGN KEY([parentId]) -REFERENCES [dir_organization] ([id]) -; -ALTER TABLE [dir_organization] CHECK CONSTRAINT [FK55A15FA5961BD498] -; -ALTER TABLE [dir_user_group] WITH CHECK ADD CONSTRAINT [FK2F0367FD159B6639] FOREIGN KEY([groupId]) -REFERENCES [dir_group] ([id]) -; -ALTER TABLE [dir_user_group] CHECK CONSTRAINT [FK2F0367FD159B6639] -; -ALTER TABLE [dir_user_group] WITH CHECK ADD CONSTRAINT [FK2F0367FDCE539211] FOREIGN KEY([userId]) -REFERENCES [dir_user] ([id]) -; -ALTER TABLE [dir_user_group] CHECK CONSTRAINT [FK2F0367FDCE539211] -; -ALTER TABLE [dir_user_role] WITH CHECK ADD CONSTRAINT [FK5C5FE738C8FE3CA7] FOREIGN KEY([roleId]) -REFERENCES [dir_role] ([id]) -; -ALTER TABLE [dir_user_role] CHECK CONSTRAINT [FK5C5FE738C8FE3CA7] -; -ALTER TABLE [dir_user_role] WITH CHECK ADD CONSTRAINT [FK5C5FE738CE539211] FOREIGN KEY([userId]) -REFERENCES [dir_user] ([id]) -; -ALTER TABLE [dir_user_role] CHECK CONSTRAINT [FK5C5FE738CE539211] -; -ALTER TABLE [SHKActivities] WITH CHECK ADD CONSTRAINT [SHKActivities_Process] FOREIGN KEY([Process]) -REFERENCES [SHKProcesses] ([oid]) -; -ALTER TABLE [SHKActivities] CHECK CONSTRAINT [SHKActivities_Process] -; -ALTER TABLE [SHKActivities] WITH CHECK ADD CONSTRAINT [SHKActivities_State] FOREIGN KEY([State]) -REFERENCES [SHKActivityStates] ([oid]) -; -ALTER TABLE [SHKActivities] CHECK CONSTRAINT [SHKActivities_State] -; -ALTER TABLE [SHKActivities] WITH CHECK ADD CONSTRAINT [SHKActivities_TheResource] FOREIGN KEY([TheResource]) -REFERENCES [SHKResourcesTable] ([oid]) -; -ALTER TABLE [SHKActivities] CHECK CONSTRAINT [SHKActivities_TheResource] -; -ALTER TABLE [SHKActivityData] WITH CHECK ADD CONSTRAINT [SHKActivityData_Activity] FOREIGN KEY([Activity]) -REFERENCES [SHKActivities] ([oid]) -; -ALTER TABLE [SHKActivityData] CHECK CONSTRAINT [SHKActivityData_Activity] -; -ALTER TABLE [SHKActivityDataBLOBs] WITH CHECK ADD CONSTRAINT [SHKActivityDataBLOBs_ActivityDataWOB] FOREIGN KEY([ActivityDataWOB]) -REFERENCES [SHKActivityDataWOB] ([oid]) -; -ALTER TABLE [SHKActivityDataBLOBs] CHECK CONSTRAINT [SHKActivityDataBLOBs_ActivityDataWOB] -; -ALTER TABLE [SHKActivityDataWOB] WITH CHECK ADD CONSTRAINT [SHKActivityDataWOB_Activity] FOREIGN KEY([Activity]) -REFERENCES [SHKActivities] ([oid]) -; -ALTER TABLE [SHKActivityDataWOB] CHECK CONSTRAINT [SHKActivityDataWOB_Activity] -; -ALTER TABLE [SHKAndJoinTable] WITH CHECK ADD CONSTRAINT [SHKAndJoinTable_Activity] FOREIGN KEY([Activity]) -REFERENCES [SHKActivities] ([oid]) -; -ALTER TABLE [SHKAndJoinTable] CHECK CONSTRAINT [SHKAndJoinTable_Activity] -; -ALTER TABLE [SHKAndJoinTable] WITH CHECK ADD CONSTRAINT [SHKAndJoinTable_BlockActivity] FOREIGN KEY([BlockActivity]) -REFERENCES [SHKActivities] ([oid]) -; -ALTER TABLE [SHKAndJoinTable] CHECK CONSTRAINT [SHKAndJoinTable_BlockActivity] -; -ALTER TABLE [SHKAndJoinTable] WITH CHECK ADD CONSTRAINT [SHKAndJoinTable_Process] FOREIGN KEY([Process]) -REFERENCES [SHKProcesses] ([oid]) -; -ALTER TABLE [SHKAndJoinTable] CHECK CONSTRAINT [SHKAndJoinTable_Process] -; -ALTER TABLE [SHKAssignmentEventAudits] WITH CHECK ADD CONSTRAINT [SHKAssignmentEventAudits_TheType] FOREIGN KEY([TheType]) -REFERENCES [SHKEventTypes] ([oid]) -; -ALTER TABLE [SHKAssignmentEventAudits] CHECK CONSTRAINT [SHKAssignmentEventAudits_TheType] -; -ALTER TABLE [SHKAssignmentsTable] WITH CHECK ADD CONSTRAINT [SHKAssignmentsTable_Activity] FOREIGN KEY([Activity]) -REFERENCES [SHKActivities] ([oid]) -; -ALTER TABLE [SHKAssignmentsTable] CHECK CONSTRAINT [SHKAssignmentsTable_Activity] -; -ALTER TABLE [SHKAssignmentsTable] WITH CHECK ADD CONSTRAINT [SHKAssignmentsTable_TheResource] FOREIGN KEY([TheResource]) -REFERENCES [SHKResourcesTable] ([oid]) -; -ALTER TABLE [SHKAssignmentsTable] CHECK CONSTRAINT [SHKAssignmentsTable_TheResource] -; -ALTER TABLE [SHKCreateProcessEventAudits] WITH CHECK ADD CONSTRAINT [SHKCreateProcessEventAudits_TheType] FOREIGN KEY([TheType]) -REFERENCES [SHKEventTypes] ([oid]) -; -ALTER TABLE [SHKCreateProcessEventAudits] CHECK CONSTRAINT [SHKCreateProcessEventAudits_TheType] -; -ALTER TABLE [SHKDataEventAudits] WITH CHECK ADD CONSTRAINT [SHKDataEventAudits_TheType] FOREIGN KEY([TheType]) -REFERENCES [SHKEventTypes] ([oid]) -; -ALTER TABLE [SHKDataEventAudits] CHECK CONSTRAINT [SHKDataEventAudits_TheType] -; -ALTER TABLE [SHKDeadlines] WITH CHECK ADD CONSTRAINT [SHKDeadlines_Activity] FOREIGN KEY([Activity]) -REFERENCES [SHKActivities] ([oid]) -; -ALTER TABLE [SHKDeadlines] CHECK CONSTRAINT [SHKDeadlines_Activity] -; -ALTER TABLE [SHKDeadlines] WITH CHECK ADD CONSTRAINT [SHKDeadlines_Process] FOREIGN KEY([Process]) -REFERENCES [SHKProcesses] ([oid]) -; -ALTER TABLE [SHKDeadlines] CHECK CONSTRAINT [SHKDeadlines_Process] -; -ALTER TABLE [SHKGroupGroupTable] WITH CHECK ADD CONSTRAINT [SHKGroupGroupTable_groupid] FOREIGN KEY([groupid]) -REFERENCES [SHKGroupTable] ([oid]) -; -ALTER TABLE [SHKGroupGroupTable] CHECK CONSTRAINT [SHKGroupGroupTable_groupid] -; -ALTER TABLE [SHKGroupGroupTable] WITH CHECK ADD CONSTRAINT [SHKGroupGroupTable_sub_gid] FOREIGN KEY([sub_gid]) -REFERENCES [SHKGroupTable] ([oid]) -; -ALTER TABLE [SHKGroupGroupTable] CHECK CONSTRAINT [SHKGroupGroupTable_sub_gid] -; -ALTER TABLE [SHKGroupUserPackLevelPart] WITH CHECK ADD CONSTRAINT [SHKGroupUserPackLevelPart_PARTICIPANTOID] FOREIGN KEY([PARTICIPANTOID]) -REFERENCES [SHKPackLevelParticipant] ([oid]) -; -ALTER TABLE [SHKGroupUserPackLevelPart] CHECK CONSTRAINT [SHKGroupUserPackLevelPart_PARTICIPANTOID] -; -ALTER TABLE [SHKGroupUserPackLevelPart] WITH CHECK ADD CONSTRAINT [SHKGroupUserPackLevelPart_USEROID] FOREIGN KEY([USEROID]) -REFERENCES [SHKGroupUser] ([oid]) -; -ALTER TABLE [SHKGroupUserPackLevelPart] CHECK CONSTRAINT [SHKGroupUserPackLevelPart_USEROID] -; -ALTER TABLE [SHKGroupUserProcLevelPart] WITH CHECK ADD CONSTRAINT [SHKGroupUserProcLevelPart_PARTICIPANTOID] FOREIGN KEY([PARTICIPANTOID]) -REFERENCES [SHKProcLevelParticipant] ([oid]) -; -ALTER TABLE [SHKGroupUserProcLevelPart] CHECK CONSTRAINT [SHKGroupUserProcLevelPart_PARTICIPANTOID] -; -ALTER TABLE [SHKGroupUserProcLevelPart] WITH CHECK ADD CONSTRAINT [SHKGroupUserProcLevelPart_USEROID] FOREIGN KEY([USEROID]) -REFERENCES [SHKGroupUser] ([oid]) -; -ALTER TABLE [SHKGroupUserProcLevelPart] CHECK CONSTRAINT [SHKGroupUserProcLevelPart_USEROID] -; -ALTER TABLE [SHKNewEventAuditData] WITH CHECK ADD CONSTRAINT [SHKNewEventAuditData_DataEventAudit] FOREIGN KEY([DataEventAudit]) -REFERENCES [SHKDataEventAudits] ([oid]) -; -ALTER TABLE [SHKNewEventAuditData] CHECK CONSTRAINT [SHKNewEventAuditData_DataEventAudit] -; -ALTER TABLE [SHKNewEventAuditDataBLOBs] WITH CHECK ADD CONSTRAINT [SHKNewEventAuditDataBLOBs_NewEventAuditDataWOB] FOREIGN KEY([NewEventAuditDataWOB]) -REFERENCES [SHKNewEventAuditDataWOB] ([oid]) -; -ALTER TABLE [SHKNewEventAuditDataBLOBs] CHECK CONSTRAINT [SHKNewEventAuditDataBLOBs_NewEventAuditDataWOB] -; -ALTER TABLE [SHKNewEventAuditDataWOB] WITH CHECK ADD CONSTRAINT [SHKNewEventAuditDataWOB_DataEventAudit] FOREIGN KEY([DataEventAudit]) -REFERENCES [SHKDataEventAudits] ([oid]) -; -ALTER TABLE [SHKNewEventAuditDataWOB] CHECK CONSTRAINT [SHKNewEventAuditDataWOB_DataEventAudit] -; -ALTER TABLE [SHKOldEventAuditData] WITH CHECK ADD CONSTRAINT [SHKOldEventAuditData_DataEventAudit] FOREIGN KEY([DataEventAudit]) -REFERENCES [SHKDataEventAudits] ([oid]) -; -ALTER TABLE [SHKOldEventAuditData] CHECK CONSTRAINT [SHKOldEventAuditData_DataEventAudit] -; -ALTER TABLE [SHKOldEventAuditDataBLOBs] WITH CHECK ADD CONSTRAINT [SHKOldEventAuditDataBLOBs_OldEventAuditDataWOB] FOREIGN KEY([OldEventAuditDataWOB]) -REFERENCES [SHKOldEventAuditDataWOB] ([oid]) -; -ALTER TABLE [SHKOldEventAuditDataBLOBs] CHECK CONSTRAINT [SHKOldEventAuditDataBLOBs_OldEventAuditDataWOB] -; -ALTER TABLE [SHKOldEventAuditDataWOB] WITH CHECK ADD CONSTRAINT [SHKOldEventAuditDataWOB_DataEventAudit] FOREIGN KEY([DataEventAudit]) -REFERENCES [SHKDataEventAudits] ([oid]) -; -ALTER TABLE [SHKOldEventAuditDataWOB] CHECK CONSTRAINT [SHKOldEventAuditDataWOB_DataEventAudit] -; -ALTER TABLE [SHKPackLevelParticipant] WITH CHECK ADD CONSTRAINT [SHKPackLevelParticipant_PACKAGEOID] FOREIGN KEY([PACKAGEOID]) -REFERENCES [SHKXPDLParticipantPackage] ([oid]) -; -ALTER TABLE [SHKPackLevelParticipant] CHECK CONSTRAINT [SHKPackLevelParticipant_PACKAGEOID] -; -ALTER TABLE [SHKPackLevelXPDLApp] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLApp_PACKAGEOID] FOREIGN KEY([PACKAGEOID]) -REFERENCES [SHKXPDLApplicationPackage] ([oid]) -; -ALTER TABLE [SHKPackLevelXPDLApp] CHECK CONSTRAINT [SHKPackLevelXPDLApp_PACKAGEOID] -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppDetail] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppDetail_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) -REFERENCES [SHKToolAgentAppDetail] ([oid]) -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppDetail] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppDetail_TOOLAGENTOID] -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppDetail] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppDetail_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) -REFERENCES [SHKPackLevelXPDLApp] ([oid]) -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppDetail] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppDetail_XPDL_APPOID] -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppDetUsr] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppDetUsr_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) -REFERENCES [SHKToolAgentAppDetailUser] ([oid]) -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppDetUsr] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppDetUsr_TOOLAGENTOID] -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppDetUsr] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppDetUsr_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) -REFERENCES [SHKPackLevelXPDLApp] ([oid]) -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppDetUsr] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppDetUsr_XPDL_APPOID] -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppUser] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppUser_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) -REFERENCES [SHKToolAgentAppUser] ([oid]) -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppUser] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppUser_TOOLAGENTOID] -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppUser] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppUser_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) -REFERENCES [SHKPackLevelXPDLApp] ([oid]) -; -ALTER TABLE [SHKPackLevelXPDLAppTAAppUser] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppUser_XPDL_APPOID] -; -ALTER TABLE [SHKPackLevelXPDLAppToolAgntApp] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppToolAgntApp_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) -REFERENCES [SHKToolAgentApp] ([oid]) -; -ALTER TABLE [SHKPackLevelXPDLAppToolAgntApp] CHECK CONSTRAINT [SHKPackLevelXPDLAppToolAgntApp_TOOLAGENTOID] -; -ALTER TABLE [SHKPackLevelXPDLAppToolAgntApp] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppToolAgntApp_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) -REFERENCES [SHKPackLevelXPDLApp] ([oid]) -; -ALTER TABLE [SHKPackLevelXPDLAppToolAgntApp] CHECK CONSTRAINT [SHKPackLevelXPDLAppToolAgntApp_XPDL_APPOID] -; -ALTER TABLE [SHKProcessData] WITH CHECK ADD CONSTRAINT [SHKProcessData_Process] FOREIGN KEY([Process]) -REFERENCES [SHKProcesses] ([oid]) -; -ALTER TABLE [SHKProcessData] CHECK CONSTRAINT [SHKProcessData_Process] -; -ALTER TABLE [SHKProcessDataBLOBs] WITH CHECK ADD CONSTRAINT [SHKProcessDataBLOBs_ProcessDataWOB] FOREIGN KEY([ProcessDataWOB]) -REFERENCES [SHKProcessDataWOB] ([oid]) -; -ALTER TABLE [SHKProcessDataBLOBs] CHECK CONSTRAINT [SHKProcessDataBLOBs_ProcessDataWOB] -; -ALTER TABLE [SHKProcessDataWOB] WITH CHECK ADD CONSTRAINT [SHKProcessDataWOB_Process] FOREIGN KEY([Process]) -REFERENCES [SHKProcesses] ([oid]) -; -ALTER TABLE [SHKProcessDataWOB] CHECK CONSTRAINT [SHKProcessDataWOB_Process] -; -ALTER TABLE [SHKProcesses] WITH CHECK ADD CONSTRAINT [SHKProcesses_ProcessDefinition] FOREIGN KEY([ProcessDefinition]) -REFERENCES [SHKProcessDefinitions] ([oid]) -; -ALTER TABLE [SHKProcesses] CHECK CONSTRAINT [SHKProcesses_ProcessDefinition] -; -ALTER TABLE [SHKProcesses] WITH CHECK ADD CONSTRAINT [SHKProcesses_State] FOREIGN KEY([State]) -REFERENCES [SHKProcessStates] ([oid]) -; -ALTER TABLE [SHKProcesses] CHECK CONSTRAINT [SHKProcesses_State] -; -ALTER TABLE [SHKProcessRequesters] WITH CHECK ADD CONSTRAINT [SHKProcessRequesters_ActivityRequester] FOREIGN KEY([ActivityRequester]) -REFERENCES [SHKActivities] ([oid]) -; -ALTER TABLE [SHKProcessRequesters] CHECK CONSTRAINT [SHKProcessRequesters_ActivityRequester] -; -ALTER TABLE [SHKProcessRequesters] WITH CHECK ADD CONSTRAINT [SHKProcessRequesters_ResourceRequester] FOREIGN KEY([ResourceRequester]) -REFERENCES [SHKResourcesTable] ([oid]) -; -ALTER TABLE [SHKProcessRequesters] CHECK CONSTRAINT [SHKProcessRequesters_ResourceRequester] -; -ALTER TABLE [SHKProcLevelParticipant] WITH CHECK ADD CONSTRAINT [SHKProcLevelParticipant_PROCESSOID] FOREIGN KEY([PROCESSOID]) -REFERENCES [SHKXPDLParticipantProcess] ([oid]) -; -ALTER TABLE [SHKProcLevelParticipant] CHECK CONSTRAINT [SHKProcLevelParticipant_PROCESSOID] -; -ALTER TABLE [SHKProcLevelXPDLApp] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLApp_PROCESSOID] FOREIGN KEY([PROCESSOID]) -REFERENCES [SHKXPDLApplicationProcess] ([oid]) -; -ALTER TABLE [SHKProcLevelXPDLApp] CHECK CONSTRAINT [SHKProcLevelXPDLApp_PROCESSOID] -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppDetail] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppDetail_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) -REFERENCES [SHKToolAgentAppDetail] ([oid]) -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppDetail] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppDetail_TOOLAGENTOID] -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppDetail] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppDetail_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) -REFERENCES [SHKProcLevelXPDLApp] ([oid]) -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppDetail] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppDetail_XPDL_APPOID] -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppDetUsr] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppDetUsr_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) -REFERENCES [SHKToolAgentAppDetailUser] ([oid]) -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppDetUsr] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppDetUsr_TOOLAGENTOID] -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppDetUsr] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppDetUsr_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) -REFERENCES [SHKProcLevelXPDLApp] ([oid]) -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppDetUsr] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppDetUsr_XPDL_APPOID] -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppUser] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppUser_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) -REFERENCES [SHKToolAgentAppUser] ([oid]) -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppUser] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppUser_TOOLAGENTOID] -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppUser] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppUser_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) -REFERENCES [SHKProcLevelXPDLApp] ([oid]) -; -ALTER TABLE [SHKProcLevelXPDLAppTAAppUser] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppUser_XPDL_APPOID] -; -ALTER TABLE [SHKProcLevelXPDLAppToolAgntApp] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppToolAgntApp_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) -REFERENCES [SHKToolAgentApp] ([oid]) -; -ALTER TABLE [SHKProcLevelXPDLAppToolAgntApp] CHECK CONSTRAINT [SHKProcLevelXPDLAppToolAgntApp_TOOLAGENTOID] -; -ALTER TABLE [SHKProcLevelXPDLAppToolAgntApp] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppToolAgntApp_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) -REFERENCES [SHKProcLevelXPDLApp] ([oid]) -; -ALTER TABLE [SHKProcLevelXPDLAppToolAgntApp] CHECK CONSTRAINT [SHKProcLevelXPDLAppToolAgntApp_XPDL_APPOID] -; -ALTER TABLE [SHKStateEventAudits] WITH CHECK ADD CONSTRAINT [SHKStateEventAudits_NewActivityState] FOREIGN KEY([NewActivityState]) -REFERENCES [SHKActivityStateEventAudits] ([oid]) -; -ALTER TABLE [SHKStateEventAudits] CHECK CONSTRAINT [SHKStateEventAudits_NewActivityState] -; -ALTER TABLE [SHKStateEventAudits] WITH CHECK ADD CONSTRAINT [SHKStateEventAudits_NewProcessState] FOREIGN KEY([NewProcessState]) -REFERENCES [SHKProcessStateEventAudits] ([oid]) -; -ALTER TABLE [SHKStateEventAudits] CHECK CONSTRAINT [SHKStateEventAudits_NewProcessState] -; -ALTER TABLE [SHKStateEventAudits] WITH CHECK ADD CONSTRAINT [SHKStateEventAudits_OldActivityState] FOREIGN KEY([OldActivityState]) -REFERENCES [SHKActivityStateEventAudits] ([oid]) -; -ALTER TABLE [SHKStateEventAudits] CHECK CONSTRAINT [SHKStateEventAudits_OldActivityState] -; -ALTER TABLE [SHKStateEventAudits] WITH CHECK ADD CONSTRAINT [SHKStateEventAudits_OldProcessState] FOREIGN KEY([OldProcessState]) -REFERENCES [SHKProcessStateEventAudits] ([oid]) -; -ALTER TABLE [SHKStateEventAudits] CHECK CONSTRAINT [SHKStateEventAudits_OldProcessState] -; -ALTER TABLE [SHKStateEventAudits] WITH CHECK ADD CONSTRAINT [SHKStateEventAudits_TheType] FOREIGN KEY([TheType]) -REFERENCES [SHKEventTypes] ([oid]) -; -ALTER TABLE [SHKStateEventAudits] CHECK CONSTRAINT [SHKStateEventAudits_TheType] -; -ALTER TABLE [SHKToolAgentAppDetail] WITH CHECK ADD CONSTRAINT [SHKToolAgentAppDetail_TOOLAGENT_APPOID] FOREIGN KEY([TOOLAGENT_APPOID]) -REFERENCES [SHKToolAgentApp] ([oid]) -; -ALTER TABLE [SHKToolAgentAppDetail] CHECK CONSTRAINT [SHKToolAgentAppDetail_TOOLAGENT_APPOID] -; -ALTER TABLE [SHKToolAgentAppDetailUser] WITH CHECK ADD CONSTRAINT [SHKToolAgentAppDetailUser_TOOLAGENT_APPOID] FOREIGN KEY([TOOLAGENT_APPOID]) -REFERENCES [SHKToolAgentAppDetail] ([oid]) -; -ALTER TABLE [SHKToolAgentAppDetailUser] CHECK CONSTRAINT [SHKToolAgentAppDetailUser_TOOLAGENT_APPOID] -; -ALTER TABLE [SHKToolAgentAppDetailUser] WITH CHECK ADD CONSTRAINT [SHKToolAgentAppDetailUser_USEROID] FOREIGN KEY([USEROID]) -REFERENCES [SHKToolAgentUser] ([oid]) -; -ALTER TABLE [SHKToolAgentAppDetailUser] CHECK CONSTRAINT [SHKToolAgentAppDetailUser_USEROID] -; -ALTER TABLE [SHKToolAgentAppUser] WITH CHECK ADD CONSTRAINT [SHKToolAgentAppUser_TOOLAGENT_APPOID] FOREIGN KEY([TOOLAGENT_APPOID]) -REFERENCES [SHKToolAgentApp] ([oid]) -; -ALTER TABLE [SHKToolAgentAppUser] CHECK CONSTRAINT [SHKToolAgentAppUser_TOOLAGENT_APPOID] -; -ALTER TABLE [SHKToolAgentAppUser] WITH CHECK ADD CONSTRAINT [SHKToolAgentAppUser_USEROID] FOREIGN KEY([USEROID]) -REFERENCES [SHKToolAgentUser] ([oid]) -; -ALTER TABLE [SHKToolAgentAppUser] CHECK CONSTRAINT [SHKToolAgentAppUser_USEROID] -; -ALTER TABLE [SHKUserGroupTable] WITH CHECK ADD CONSTRAINT [SHKUserGroupTable_groupid] FOREIGN KEY([groupid]) -REFERENCES [SHKGroupTable] ([oid]) -; -ALTER TABLE [SHKUserGroupTable] CHECK CONSTRAINT [SHKUserGroupTable_groupid] -; -ALTER TABLE [SHKUserGroupTable] WITH CHECK ADD CONSTRAINT [SHKUserGroupTable_userid] FOREIGN KEY([userid]) -REFERENCES [SHKUserTable] ([oid]) -; -ALTER TABLE [SHKUserGroupTable] CHECK CONSTRAINT [SHKUserGroupTable_userid] -; -ALTER TABLE [SHKUserPackLevelPart] WITH CHECK ADD CONSTRAINT [SHKUserPackLevelPart_PARTICIPANTOID] FOREIGN KEY([PARTICIPANTOID]) -REFERENCES [SHKPackLevelParticipant] ([oid]) -; -ALTER TABLE [SHKUserPackLevelPart] CHECK CONSTRAINT [SHKUserPackLevelPart_PARTICIPANTOID] -; -ALTER TABLE [SHKUserPackLevelPart] WITH CHECK ADD CONSTRAINT [SHKUserPackLevelPart_USEROID] FOREIGN KEY([USEROID]) -REFERENCES [SHKNormalUser] ([oid]) -; -ALTER TABLE [SHKUserPackLevelPart] CHECK CONSTRAINT [SHKUserPackLevelPart_USEROID] -; -ALTER TABLE [SHKUserProcLevelParticipant] WITH CHECK ADD CONSTRAINT [SHKUserProcLevelParticipant_PARTICIPANTOID] FOREIGN KEY([PARTICIPANTOID]) -REFERENCES [SHKProcLevelParticipant] ([oid]) -; -ALTER TABLE [SHKUserProcLevelParticipant] CHECK CONSTRAINT [SHKUserProcLevelParticipant_PARTICIPANTOID] -; -ALTER TABLE [SHKUserProcLevelParticipant] WITH CHECK ADD CONSTRAINT [SHKUserProcLevelParticipant_USEROID] FOREIGN KEY([USEROID]) -REFERENCES [SHKNormalUser] ([oid]) -; -ALTER TABLE [SHKUserProcLevelParticipant] CHECK CONSTRAINT [SHKUserProcLevelParticipant_USEROID] -; -ALTER TABLE [SHKXPDLApplicationProcess] WITH CHECK ADD CONSTRAINT [SHKXPDLApplicationProcess_PACKAGEOID] FOREIGN KEY([PACKAGEOID]) -REFERENCES [SHKXPDLApplicationPackage] ([oid]) -; -ALTER TABLE [SHKXPDLApplicationProcess] CHECK CONSTRAINT [SHKXPDLApplicationProcess_PACKAGEOID] -; -ALTER TABLE [SHKXPDLData] WITH CHECK ADD CONSTRAINT [SHKXPDLData_XPDL] FOREIGN KEY([XPDL]) -REFERENCES [SHKXPDLS] ([oid]) -; -ALTER TABLE [SHKXPDLData] CHECK CONSTRAINT [SHKXPDLData_XPDL] -; -ALTER TABLE [SHKXPDLHistoryData] WITH CHECK ADD CONSTRAINT [SHKXPDLHistoryData_XPDLHistory] FOREIGN KEY([XPDLHistory]) -REFERENCES [SHKXPDLHistory] ([oid]) -; -ALTER TABLE [SHKXPDLHistoryData] CHECK CONSTRAINT [SHKXPDLHistoryData_XPDLHistory] -; -ALTER TABLE [SHKXPDLParticipantProcess] WITH CHECK ADD CONSTRAINT [SHKXPDLParticipantProcess_PACKAGEOID] FOREIGN KEY([PACKAGEOID]) -REFERENCES [SHKXPDLParticipantPackage] ([oid]) -; -ALTER TABLE [SHKXPDLParticipantProcess] CHECK CONSTRAINT [SHKXPDLParticipantProcess_PACKAGEOID] -; -ALTER TABLE [SHKXPDLReferences] WITH CHECK ADD CONSTRAINT [SHKXPDLReferences_ReferringXPDL] FOREIGN KEY([ReferringXPDL]) -REFERENCES [SHKXPDLS] ([oid]) -; -ALTER TABLE [SHKXPDLReferences] CHECK CONSTRAINT [SHKXPDLReferences_ReferringXPDL] -; +/****** Object: Table [app_app] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_app]( + [appId] [nvarchar](255) NOT NULL, + [appVersion] [numeric](19, 0) NOT NULL, + [name] [nvarchar](255) NULL, + [license] [ntext] NULL, + [published] [tinyint] NULL, + [dateCreated] [datetime] NULL, + [dateModified] [datetime] NULL, + [description] [nvarchar](max) NULL, + [meta] [nvarchar](max) NULL, +PRIMARY KEY CLUSTERED +( + [appId] ASC, + [appVersion] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_builder] ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_builder]( + [appId] [nvarchar](255) NOT NULL, + [appVersion] [numeric](19, 0) NOT NULL, + [id] [nvarchar](255) NOT NULL, + [name] [nvarchar](255) NULL, + [type] [nvarchar](255) NULL, + [description] [ntext] NULL, + [json] [ntext] NULL, + [dateCreated] [datetime] NULL, + [dateModified] [datetime] NULL, +PRIMARY KEY CLUSTERED +( + [appId] ASC, + [appVersion] ASC, + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_datalist] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_datalist]( + [appId] [nvarchar](255) NOT NULL, + [appVersion] [numeric](19, 0) NOT NULL, + [id] [nvarchar](255) NOT NULL, + [name] [nvarchar](255) NULL, + [description] [ntext] NULL, + [json] [ntext] NULL, + [dateCreated] [datetime] NULL, + [dateModified] [datetime] NULL, +PRIMARY KEY CLUSTERED +( + [appId] ASC, + [appVersion] ASC, + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_env_variable] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_env_variable]( + [appId] [nvarchar](255) NOT NULL, + [appVersion] [numeric](19, 0) NOT NULL, + [id] [nvarchar](255) NOT NULL, + [value] [ntext] NULL, + [remarks] [ntext] NULL, +PRIMARY KEY CLUSTERED +( + [appId] ASC, + [appVersion] ASC, + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_fd] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_fd]( + [id] [nvarchar](255) NOT NULL, + [dateCreated] [datetime] NULL, + [dateModified] [datetime] NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [app_form] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_form]( + [appId] [nvarchar](255) NOT NULL, + [appVersion] [numeric](19, 0) NOT NULL, + [formId] [nvarchar](255) NOT NULL, + [name] [nvarchar](255) NULL, + [dateCreated] [datetime] NULL, + [dateModified] [datetime] NULL, + [tableName] [nvarchar](255) NULL, + [json] [ntext] NULL, + [description] [nvarchar](max) NULL, +PRIMARY KEY CLUSTERED +( + [appId] ASC, + [appVersion] ASC, + [formId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_form_data_audit_trail] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_form_data_audit_trail]( + [id] [varchar](255) NOT NULL, + [appId] [varchar](255) NULL, + [appVersion] [varchar](255) NULL, + [formId] [varchar](255) NULL, + [tableName] [varchar](255) NULL, + [username] [varchar](255) NULL, + [action] [varchar](255) NULL, + [data] [nvarchar](max) NULL, + [datetime] [datetime] NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_message] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_message]( + [appId] [nvarchar](255) NOT NULL, + [appVersion] [numeric](19, 0) NOT NULL, + [ouid] [nvarchar](255) NOT NULL, + [messageKey] [nvarchar](255) NULL, + [locale] [nvarchar](255) NULL, + [message] [ntext] NULL, +PRIMARY KEY CLUSTERED +( + [appId] ASC, + [appVersion] ASC, + [ouid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_package] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_package]( + [packageId] [nvarchar](255) NOT NULL, + [packageVersion] [numeric](19, 0) NOT NULL, + [name] [nvarchar](255) NULL, + [dateCreated] [datetime] NULL, + [dateModified] [datetime] NULL, + [appId] [nvarchar](255) NULL, + [appVersion] [numeric](19, 0) NULL, +PRIMARY KEY CLUSTERED +( + [packageId] ASC, + [packageVersion] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [app_package_activity_form] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_package_activity_form]( + [processDefId] [nvarchar](255) NOT NULL, + [activityDefId] [nvarchar](255) NOT NULL, + [packageId] [nvarchar](255) NOT NULL, + [packageVersion] [numeric](19, 0) NOT NULL, + [ouid] [nvarchar](255) NULL, + [type] [nvarchar](255) NULL, + [formId] [nvarchar](255) NULL, + [formUrl] [nvarchar](255) NULL, + [formIFrameStyle] [nvarchar](255) NULL, + [autoContinue] [tinyint] NULL, + [disableSaveAsDraft] [bit] NULL, +PRIMARY KEY CLUSTERED +( + [processDefId] ASC, + [activityDefId] ASC, + [packageId] ASC, + [packageVersion] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [app_package_activity_plugin] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_package_activity_plugin]( + [processDefId] [nvarchar](255) NOT NULL, + [activityDefId] [nvarchar](255) NOT NULL, + [packageId] [nvarchar](255) NOT NULL, + [packageVersion] [numeric](19, 0) NOT NULL, + [ouid] [nvarchar](255) NULL, + [pluginName] [nvarchar](255) NULL, + [pluginProperties] [ntext] NULL, +PRIMARY KEY CLUSTERED +( + [processDefId] ASC, + [activityDefId] ASC, + [packageId] ASC, + [packageVersion] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_package_participant] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_package_participant]( + [processDefId] [nvarchar](255) NOT NULL, + [participantId] [nvarchar](255) NOT NULL, + [packageId] [nvarchar](255) NOT NULL, + [packageVersion] [numeric](19, 0) NOT NULL, + [ouid] [nvarchar](255) NULL, + [type] [nvarchar](255) NULL, + [value] [ntext] NULL, + [pluginProperties] [ntext] NULL, +PRIMARY KEY CLUSTERED +( + [processDefId] ASC, + [participantId] ASC, + [packageId] ASC, + [packageVersion] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_plugin_default] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_plugin_default]( + [appId] [nvarchar](255) NOT NULL, + [appVersion] [numeric](19, 0) NOT NULL, + [id] [nvarchar](255) NOT NULL, + [pluginName] [nvarchar](255) NULL, + [pluginDescription] [ntext] NULL, + [pluginProperties] [ntext] NULL, +PRIMARY KEY CLUSTERED +( + [appId] ASC, + [appVersion] ASC, + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_report_activity] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_report_activity]( + [uuid] [nvarchar](255) NOT NULL, + [activityDefId] [nvarchar](255) NULL, + [activityName] [nvarchar](255) NULL, + [processUid] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [uuid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [app_report_activity_instance] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_report_activity_instance]( + [instanceId] [nvarchar](255) NOT NULL, + [performer] [nvarchar](255) NULL, + [state] [nvarchar](255) NULL, + [status] [nvarchar](255) NULL, + [nameOfAcceptedUser] [nvarchar](255) NULL, + [assignmentUsers] [ntext] NULL, + [due] [datetime] NULL, + [createdTime] [datetime] NULL, + [startedTime] [datetime] NULL, + [finishTime] [datetime] NULL, + [delay] [numeric](19, 0) NULL, + [timeConsumingFromCreatedTime] [numeric](19, 0) NULL, + [timeConsumingFromStartedTime] [numeric](19, 0) NULL, + [activityUid] [nvarchar](255) NULL, + [processInstanceId] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [instanceId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_report_app] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_report_app]( + [uuid] [nvarchar](255) NOT NULL, + [appId] [nvarchar](255) NULL, + [appVersion] [nvarchar](255) NULL, + [appName] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [uuid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [app_report_package] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_report_package]( + [uuid] [nvarchar](255) NOT NULL, + [packageId] [nvarchar](255) NULL, + [packageName] [nvarchar](255) NULL, + [packageVersion] [nvarchar](255) NULL, + [appUid] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [uuid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [app_report_process] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_report_process]( + [uuid] [nvarchar](255) NOT NULL, + [processDefId] [nvarchar](255) NULL, + [processName] [nvarchar](255) NULL, + [packageUid] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [uuid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [app_report_process_instance] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_report_process_instance]( + [instanceId] [nvarchar](255) NOT NULL, + [requester] [nvarchar](255) NULL, + [state] [nvarchar](255) NULL, + [due] [datetime] NULL, + [startedTime] [datetime] NULL, + [finishTime] [datetime] NULL, + [delay] [numeric](19, 0) NULL, + [timeConsumingFromStartedTime] [numeric](19, 0) NULL, + [processUid] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [instanceId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [app_resource] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_resource]( + [appId] [varchar](255) NOT NULL, + [appVersion] [numeric](19, 0) NOT NULL, + [id] [varchar](255) NOT NULL, + [filesize] [numeric](19, 0) NULL, + [permissionClass] [varchar](255) NULL, + [permissionProperties] [nvarchar](max) NULL, +PRIMARY KEY CLUSTERED +( + [appId] ASC, + [appVersion] ASC, + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [app_userview] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [app_userview]( + [appId] [nvarchar](255) NOT NULL, + [appVersion] [numeric](19, 0) NOT NULL, + [id] [nvarchar](255) NOT NULL, + [name] [nvarchar](255) NULL, + [description] [ntext] NULL, + [json] [ntext] NULL, + [dateCreated] [datetime] NULL, + [dateModified] [datetime] NULL, +PRIMARY KEY CLUSTERED +( + [appId] ASC, + [appVersion] ASC, + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [dir_department] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_department]( + [id] [nvarchar](255) NOT NULL, + [name] [nvarchar](255) NULL, + [description] [nvarchar](255) NULL, + [organizationId] [nvarchar](255) NULL, + [hod] [nvarchar](255) NULL, + [parentId] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_employment] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_employment]( + [id] [nvarchar](255) NOT NULL, + [userId] [nvarchar](255) NULL, + [startDate] [datetime] NULL, + [endDate] [datetime] NULL, + [employeeCode] [nvarchar](255) NULL, + [role] [nvarchar](255) NULL, + [gradeId] [nvarchar](255) NULL, + [departmentId] [nvarchar](255) NULL, + [organizationId] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_employment_report_to] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_employment_report_to]( + [id] [nvarchar](255) NOT NULL, + [employmentId] [nvarchar](255) NULL, + [reportToId] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_grade] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_grade]( + [id] [nvarchar](255) NOT NULL, + [name] [nvarchar](255) NULL, + [description] [nvarchar](255) NULL, + [organizationId] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_group] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_group]( + [id] [nvarchar](255) NOT NULL, + [name] [nvarchar](255) NULL, + [description] [nvarchar](255) NULL, + [organizationId] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_organization] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_organization]( + [id] [nvarchar](255) NOT NULL, + [name] [nvarchar](255) NULL, + [description] [nvarchar](255) NULL, + [parentId] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_role] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_role]( + [id] [nvarchar](255) NOT NULL, + [name] [nvarchar](255) NULL, + [description] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_user] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_user]( + [id] [nvarchar](255) NOT NULL, + [username] [nvarchar](255) NULL, + [password] [nvarchar](255) NULL, + [firstName] [nvarchar](255) NULL, + [lastName] [nvarchar](255) NULL, + [email] [nvarchar](255) NULL, + [timeZone] [nvarchar](255) NULL, + [locale] [nvarchar](255) NULL, + [active] [int] NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_user_extra] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_user_extra]( + [username] [varchar](255) NOT NULL, + [algorithm] [varchar](255) NULL, + [loginAttempt] [int] NULL, + [failedloginAttempt] [int] NULL, + [lastLogedInDate] [datetime] NULL, + [lockOutDate] [datetime] NULL, + [lastPasswordChangeDate] [datetime] NULL, + [requiredPasswordChange] [bit] NULL, + [noPasswordExpiration] [bit] NULL, +PRIMARY KEY CLUSTERED +( + [username] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_user_group] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_user_group]( + [groupId] [nvarchar](255) NOT NULL, + [userId] [nvarchar](255) NOT NULL, +PRIMARY KEY CLUSTERED +( + [userId] ASC, + [groupId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_user_meta] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_user_meta]( + [username] [varchar](255) NOT NULL, + [meta_key] [varchar](255) NOT NULL, + [meta_value] [nvarchar](max) NULL, +PRIMARY KEY CLUSTERED +( + [username] ASC, + [meta_key] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [dir_user_password_history] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_user_password_history]( + [id] [varchar](255) NOT NULL, + [username] [varchar](255) NULL, + [salt] [varchar](255) NULL, + [password] [varchar](255) NULL, + [updatedDate] [datetime] NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_user_replacement] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_user_replacement]( + [id] [varchar](255) NOT NULL, + [username] [varchar](255) NULL, + [replacementUser] [varchar](255) NULL, + [appId] [varchar](255) NULL, + [processIds] [varchar](255) NULL, + [startDate] [datetime] NULL, + [endDate] [datetime] NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [dir_user_role] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [dir_user_role]( + [roleId] [nvarchar](255) NOT NULL, + [userId] [nvarchar](255) NOT NULL, +PRIMARY KEY CLUSTERED +( + [userId] ASC, + [roleId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [ObjectId] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [ObjectId]( + [nextoid] [decimal](19, 0) NOT NULL, + CONSTRAINT [PK__ObjectId__44CA3770] PRIMARY KEY CLUSTERED +( + [nextoid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKActivities] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKActivities]( + [Id] [nvarchar](100) NOT NULL, + [ActivitySetDefinitionId] [nvarchar](90) NULL, + [ActivityDefinitionId] [nvarchar](90) NOT NULL, + [Process] [decimal](19, 0) NOT NULL, + [TheResource] [decimal](19, 0) NULL, + [PDefName] [nvarchar](200) NOT NULL, + [ProcessId] [nvarchar](200) NOT NULL, + [ResourceId] [nvarchar](100) NULL, + [State] [decimal](19, 0) NOT NULL, + [BlockActivityId] [nvarchar](100) NULL, + [Performer] [nvarchar](100) NULL, + [IsPerformerAsynchronous] [tinyint] NULL, + [Priority] [int] NULL, + [Name] [nvarchar](254) NULL, + [Activated] [bigint] NOT NULL, + [ActivatedTZO] [bigint] NOT NULL, + [Accepted] [bigint] NULL, + [AcceptedTZO] [bigint] NULL, + [LastStateTime] [bigint] NOT NULL, + [LastStateTimeTZO] [bigint] NOT NULL, + [LimitTime] [bigint] NOT NULL, + [LimitTimeTZO] [bigint] NOT NULL, + [Description] [nvarchar](254) NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKActivities_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKActivityData] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKActivityData]( + [Activity] [decimal](19, 0) NOT NULL, + [VariableDefinitionId] [nvarchar](100) NOT NULL, + [VariableType] [int] NOT NULL, + [VariableValue] [image] NULL, + [VariableValueXML] [xml] NULL, + [VariableValueVCHAR] [nvarchar](4000) NULL, + [VariableValueDBL] [real] NULL, + [VariableValueLONG] [bigint] NULL, + [VariableValueDATE] [datetime] NULL, + [VariableValueBOOL] [tinyint] NULL, + [IsResult] [tinyint] NOT NULL, + [OrdNo] [int] NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKActivityData_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKActivityDataBLOBs] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKActivityDataBLOBs]( + [ActivityDataWOB] [decimal](19, 0) NOT NULL, + [VariableValue] [image] NULL, + [OrdNo] [int] NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKActivityDataBLOBs_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKActivityDataWOB] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKActivityDataWOB]( + [Activity] [decimal](19, 0) NOT NULL, + [VariableDefinitionId] [nvarchar](100) NOT NULL, + [VariableType] [int] NOT NULL, + [VariableValueXML] [xml] NULL, + [VariableValueVCHAR] [nvarchar](4000) NULL, + [VariableValueDBL] [real] NULL, + [VariableValueLONG] [bigint] NULL, + [VariableValueDATE] [datetime] NULL, + [VariableValueBOOL] [tinyint] NULL, + [IsResult] [tinyint] NOT NULL, + [OrdNo] [int] NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKActivityDataWOB_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKActivityStateEventAudits] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKActivityStateEventAudits]( + [KeyValue] [nvarchar](30) NOT NULL, + [Name] [nvarchar](50) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKActivityStateEventAudits_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKActivityStates] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKActivityStates]( + [KeyValue] [nvarchar](30) NOT NULL, + [Name] [nvarchar](50) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKActivityStates_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKAndJoinTable] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKAndJoinTable]( + [Process] [decimal](19, 0) NOT NULL, + [BlockActivity] [decimal](19, 0) NULL, + [ActivityDefinitionId] [nvarchar](90) NOT NULL, + [Activity] [decimal](19, 0) NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKAndJoinTable_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKAssignmentEventAudits] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKAssignmentEventAudits]( + [RecordedTime] [bigint] NOT NULL, + [RecordedTimeTZO] [bigint] NOT NULL, + [TheUsername] [nvarchar](100) NOT NULL, + [TheType] [decimal](19, 0) NOT NULL, + [ActivityId] [nvarchar](100) NOT NULL, + [ActivityName] [nvarchar](254) NULL, + [ProcessId] [nvarchar](100) NOT NULL, + [ProcessName] [nvarchar](254) NULL, + [ProcessFactoryName] [nvarchar](200) NOT NULL, + [ProcessFactoryVersion] [nvarchar](20) NOT NULL, + [ActivityDefinitionId] [nvarchar](90) NOT NULL, + [ActivityDefinitionName] [nvarchar](90) NULL, + [ActivityDefinitionType] [int] NOT NULL, + [ProcessDefinitionId] [nvarchar](90) NOT NULL, + [ProcessDefinitionName] [nvarchar](90) NULL, + [PackageId] [nvarchar](90) NOT NULL, + [OldResourceUsername] [nvarchar](100) NULL, + [OldResourceName] [nvarchar](100) NULL, + [NewResourceUsername] [nvarchar](100) NOT NULL, + [NewResourceName] [nvarchar](100) NULL, + [IsAccepted] [tinyint] NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKAssignmentEventAudits_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKAssignmentsTable] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKAssignmentsTable]( + [Activity] [decimal](19, 0) NOT NULL, + [TheResource] [decimal](19, 0) NOT NULL, + [ActivityId] [nvarchar](100) NOT NULL, + [ActivityProcessId] [nvarchar](100) NOT NULL, + [ActivityProcessDefName] [nvarchar](200) NOT NULL, + [ResourceId] [nvarchar](100) NOT NULL, + [IsAccepted] [tinyint] NOT NULL, + [IsValid] [tinyint] NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKAssignmentsTable_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKCounters] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKCounters]( + [name] [nvarchar](100) NOT NULL, + [the_number] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKCounters_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKCreateProcessEventAudits] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKCreateProcessEventAudits]( + [RecordedTime] [bigint] NOT NULL, + [RecordedTimeTZO] [bigint] NOT NULL, + [TheUsername] [nvarchar](100) NOT NULL, + [TheType] [decimal](19, 0) NOT NULL, + [ProcessId] [nvarchar](100) NOT NULL, + [ProcessName] [nvarchar](254) NULL, + [ProcessFactoryName] [nvarchar](200) NOT NULL, + [ProcessFactoryVersion] [nvarchar](20) NOT NULL, + [ProcessDefinitionId] [nvarchar](90) NOT NULL, + [ProcessDefinitionName] [nvarchar](90) NULL, + [PackageId] [nvarchar](90) NOT NULL, + [PActivityId] [nvarchar](100) NULL, + [PProcessId] [nvarchar](100) NULL, + [PProcessName] [nvarchar](254) NULL, + [PProcessFactoryName] [nvarchar](200) NULL, + [PProcessFactoryVersion] [nvarchar](20) NULL, + [PActivityDefinitionId] [nvarchar](90) NULL, + [PActivityDefinitionName] [nvarchar](90) NULL, + [PProcessDefinitionId] [nvarchar](90) NULL, + [PProcessDefinitionName] [nvarchar](90) NULL, + [PPackageId] [nvarchar](90) NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKCreateProcessEventAudits_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKDataEventAudits] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKDataEventAudits]( + [RecordedTime] [bigint] NOT NULL, + [RecordedTimeTZO] [bigint] NOT NULL, + [TheUsername] [nvarchar](100) NOT NULL, + [TheType] [decimal](19, 0) NOT NULL, + [ActivityId] [nvarchar](100) NULL, + [ActivityName] [nvarchar](254) NULL, + [ProcessId] [nvarchar](100) NOT NULL, + [ProcessName] [nvarchar](254) NULL, + [ProcessFactoryName] [nvarchar](200) NOT NULL, + [ProcessFactoryVersion] [nvarchar](20) NOT NULL, + [ActivityDefinitionId] [nvarchar](90) NULL, + [ActivityDefinitionName] [nvarchar](90) NULL, + [ActivityDefinitionType] [int] NULL, + [ProcessDefinitionId] [nvarchar](90) NOT NULL, + [ProcessDefinitionName] [nvarchar](90) NULL, + [PackageId] [nvarchar](90) NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKDataEventAudits_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKDeadlines] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKDeadlines]( + [Process] [decimal](19, 0) NOT NULL, + [Activity] [decimal](19, 0) NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [TimeLimit] [bigint] NOT NULL, + [TimeLimitTZO] [bigint] NOT NULL, + [ExceptionName] [nvarchar](100) NOT NULL, + [IsSynchronous] [tinyint] NOT NULL, + [IsExecuted] [tinyint] NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKDeadlines_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKEventTypes] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKEventTypes]( + [KeyValue] [nvarchar](30) NOT NULL, + [Name] [nvarchar](50) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKEventTypes_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKGroupGroupTable] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKGroupGroupTable]( + [sub_gid] [decimal](19, 0) NOT NULL, + [groupid] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKGroupGroupTable_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKGroupTable] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKGroupTable]( + [groupid] [nvarchar](100) NOT NULL, + [description] [nvarchar](254) NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKGroupTable_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKGroupUser] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKGroupUser]( + [USERNAME] [nvarchar](100) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKGroupUser_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKGroupUserPackLevelPart] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKGroupUserPackLevelPart]( + [PARTICIPANTOID] [decimal](19, 0) NOT NULL, + [USEROID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKGroupUserPackLevelPart_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKGroupUserProcLevelPart] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKGroupUserProcLevelPart]( + [PARTICIPANTOID] [decimal](19, 0) NOT NULL, + [USEROID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKGroupUserProcLevelPart_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKNewEventAuditData] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKNewEventAuditData]( + [DataEventAudit] [decimal](19, 0) NOT NULL, + [VariableDefinitionId] [nvarchar](100) NOT NULL, + [VariableType] [int] NOT NULL, + [VariableValue] [image] NULL, + [VariableValueXML] [xml] NULL, + [VariableValueVCHAR] [nvarchar](4000) NULL, + [VariableValueDBL] [float] NULL, + [VariableValueLONG] [bigint] NULL, + [VariableValueDATE] [datetime] NULL, + [VariableValueBOOL] [tinyint] NULL, + [OrdNo] [int] NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKNewEventAuditData_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKNewEventAuditDataBLOBs] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKNewEventAuditDataBLOBs]( + [NewEventAuditDataWOB] [decimal](19, 0) NOT NULL, + [VariableValue] [image] NULL, + [OrdNo] [int] NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKNewEventAuditDataBLOBs_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKNewEventAuditDataWOB] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKNewEventAuditDataWOB]( + [DataEventAudit] [decimal](19, 0) NOT NULL, + [VariableDefinitionId] [nvarchar](100) NOT NULL, + [VariableType] [int] NOT NULL, + [VariableValueXML] [xml] NULL, + [VariableValueVCHAR] [nvarchar](4000) NULL, + [VariableValueDBL] [float] NULL, + [VariableValueLONG] [bigint] NULL, + [VariableValueDATE] [datetime] NULL, + [VariableValueBOOL] [tinyint] NULL, + [OrdNo] [int] NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKNewEventAuditDataWOB_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKNextXPDLVersions] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKNextXPDLVersions]( + [XPDLId] [nvarchar](90) NOT NULL, + [NextVersion] [nvarchar](20) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKNextXPDLVersions_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKNormalUser] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKNormalUser]( + [USERNAME] [nvarchar](100) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKNormalUser_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKOldEventAuditData] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKOldEventAuditData]( + [DataEventAudit] [decimal](19, 0) NOT NULL, + [VariableDefinitionId] [nvarchar](100) NOT NULL, + [VariableType] [int] NOT NULL, + [VariableValue] [image] NULL, + [VariableValueXML] [xml] NULL, + [VariableValueVCHAR] [nvarchar](4000) NULL, + [VariableValueDBL] [float] NULL, + [VariableValueLONG] [bigint] NULL, + [VariableValueDATE] [datetime] NULL, + [VariableValueBOOL] [tinyint] NULL, + [OrdNo] [int] NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKOldEventAuditData_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKOldEventAuditDataBLOBs] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKOldEventAuditDataBLOBs]( + [OldEventAuditDataWOB] [decimal](19, 0) NOT NULL, + [VariableValue] [image] NULL, + [OrdNo] [int] NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKOldEventAuditDataBLOBs_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKOldEventAuditDataWOB] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKOldEventAuditDataWOB]( + [DataEventAudit] [decimal](19, 0) NOT NULL, + [VariableDefinitionId] [nvarchar](100) NOT NULL, + [VariableType] [int] NOT NULL, + [VariableValueXML] [xml] NULL, + [VariableValueVCHAR] [nvarchar](4000) NULL, + [VariableValueDBL] [float] NULL, + [VariableValueLONG] [bigint] NULL, + [VariableValueDATE] [datetime] NULL, + [VariableValueBOOL] [tinyint] NULL, + [OrdNo] [int] NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKOldEventAuditDataWOB_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKPackLevelParticipant] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKPackLevelParticipant]( + [PARTICIPANT_ID] [nvarchar](90) NOT NULL, + [PACKAGEOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKPackLevelParticipant_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKPackLevelXPDLApp] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKPackLevelXPDLApp]( + [APPLICATION_ID] [nvarchar](90) NOT NULL, + [PACKAGEOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKPackLevelXPDLApp_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKPackLevelXPDLAppTAAppDetail] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKPackLevelXPDLAppTAAppDetail]( + [XPDL_APPOID] [decimal](19, 0) NOT NULL, + [TOOLAGENTOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKPackLevelXPDLAppTAAppDetail_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKPackLevelXPDLAppTAAppDetUsr] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKPackLevelXPDLAppTAAppDetUsr]( + [XPDL_APPOID] [decimal](19, 0) NOT NULL, + [TOOLAGENTOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKPackLevelXPDLAppTAAppDetUsr_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKPackLevelXPDLAppTAAppUser] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKPackLevelXPDLAppTAAppUser]( + [XPDL_APPOID] [decimal](19, 0) NOT NULL, + [TOOLAGENTOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKPackLevelXPDLAppTAAppUser_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKPackLevelXPDLAppToolAgntApp] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKPackLevelXPDLAppToolAgntApp]( + [XPDL_APPOID] [decimal](19, 0) NOT NULL, + [TOOLAGENTOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKPackLevelXPDLAppToolAgntApp_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcessData] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcessData]( + [Process] [decimal](19, 0) NOT NULL, + [VariableDefinitionId] [nvarchar](100) NOT NULL, + [VariableType] [int] NOT NULL, + [VariableValue] [image] NULL, + [VariableValueXML] [xml] NULL, + [VariableValueVCHAR] [nvarchar](4000) NULL, + [VariableValueDBL] [real] NULL, + [VariableValueLONG] [bigint] NULL, + [VariableValueDATE] [datetime] NULL, + [VariableValueBOOL] [tinyint] NULL, + [OrdNo] [int] NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcessData_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKProcessDataBLOBs] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcessDataBLOBs]( + [ProcessDataWOB] [decimal](19, 0) NOT NULL, + [VariableValue] [image] NULL, + [OrdNo] [int] NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcessDataBLOBs_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKProcessDataWOB] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcessDataWOB]( + [Process] [decimal](19, 0) NOT NULL, + [VariableDefinitionId] [nvarchar](100) NOT NULL, + [VariableType] [int] NOT NULL, + [VariableValueXML] [xml] NULL, + [VariableValueVCHAR] [nvarchar](4000) NULL, + [VariableValueDBL] [real] NULL, + [VariableValueLONG] [bigint] NULL, + [VariableValueDATE] [datetime] NULL, + [VariableValueBOOL] [tinyint] NULL, + [OrdNo] [int] NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcessDataWOB_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKProcessDefinitions] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcessDefinitions]( + [Name] [nvarchar](200) NOT NULL, + [PackageId] [nvarchar](90) NOT NULL, + [ProcessDefinitionId] [nvarchar](90) NOT NULL, + [ProcessDefinitionCreated] [bigint] NOT NULL, + [ProcessDefinitionVersion] [nvarchar](20) NOT NULL, + [State] [int] NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcessDefinitions_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcesses] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcesses]( + [SyncVersion] [bigint] NOT NULL, + [Id] [nvarchar](100) NOT NULL, + [ProcessDefinition] [decimal](19, 0) NOT NULL, + [PDefName] [nvarchar](200) NOT NULL, + [ActivityRequesterId] [nvarchar](100) NULL, + [ActivityRequesterProcessId] [nvarchar](100) NULL, + [ResourceRequesterId] [nvarchar](100) NOT NULL, + [ExternalRequesterClassName] [nvarchar](254) NULL, + [State] [decimal](19, 0) NOT NULL, + [Priority] [int] NULL, + [Name] [nvarchar](254) NULL, + [Created] [bigint] NOT NULL, + [CreatedTZO] [bigint] NOT NULL, + [Started] [bigint] NULL, + [StartedTZO] [bigint] NULL, + [LastStateTime] [bigint] NOT NULL, + [LastStateTimeTZO] [bigint] NOT NULL, + [LimitTime] [bigint] NOT NULL, + [LimitTimeTZO] [bigint] NOT NULL, + [Description] [nvarchar](254) NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcesses_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcessRequesters] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcessRequesters]( + [Id] [nvarchar](100) NOT NULL, + [ActivityRequester] [decimal](19, 0) NULL, + [ResourceRequester] [decimal](19, 0) NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcessRequesters_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcessStateEventAudits] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcessStateEventAudits]( + [KeyValue] [nvarchar](30) NOT NULL, + [Name] [nvarchar](50) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcessStateEventAudits_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcessStates] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcessStates]( + [KeyValue] [nvarchar](30) NOT NULL, + [Name] [nvarchar](50) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcessStates_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcLevelParticipant] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcLevelParticipant]( + [PARTICIPANT_ID] [nvarchar](90) NOT NULL, + [PROCESSOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcLevelParticipant_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcLevelXPDLApp] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcLevelXPDLApp]( + [APPLICATION_ID] [nvarchar](90) NOT NULL, + [PROCESSOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcLevelXPDLApp_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcLevelXPDLAppTAAppDetail] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcLevelXPDLAppTAAppDetail]( + [XPDL_APPOID] [decimal](19, 0) NOT NULL, + [TOOLAGENTOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcLevelXPDLAppTAAppDetail_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcLevelXPDLAppTAAppDetUsr] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcLevelXPDLAppTAAppDetUsr]( + [XPDL_APPOID] [decimal](19, 0) NOT NULL, + [TOOLAGENTOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcLevelXPDLAppTAAppDetUsr_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcLevelXPDLAppTAAppUser] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcLevelXPDLAppTAAppUser]( + [XPDL_APPOID] [decimal](19, 0) NOT NULL, + [TOOLAGENTOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcLevelXPDLAppTAAppUser_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKProcLevelXPDLAppToolAgntApp] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKProcLevelXPDLAppToolAgntApp]( + [XPDL_APPOID] [decimal](19, 0) NOT NULL, + [TOOLAGENTOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKProcLevelXPDLAppToolAgntApp_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKResourcesTable] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKResourcesTable]( + [Username] [nvarchar](100) NOT NULL, + [Name] [nvarchar](100) NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKResourcesTable_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKStateEventAudits] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKStateEventAudits]( + [RecordedTime] [bigint] NOT NULL, + [RecordedTimeTZO] [bigint] NOT NULL, + [TheUsername] [nvarchar](100) NOT NULL, + [TheType] [decimal](19, 0) NOT NULL, + [ActivityId] [nvarchar](100) NULL, + [ActivityName] [nvarchar](254) NULL, + [ProcessId] [nvarchar](100) NOT NULL, + [ProcessName] [nvarchar](254) NULL, + [ProcessFactoryName] [nvarchar](200) NOT NULL, + [ProcessFactoryVersion] [nvarchar](20) NOT NULL, + [ActivityDefinitionId] [nvarchar](90) NULL, + [ActivityDefinitionName] [nvarchar](90) NULL, + [ActivityDefinitionType] [int] NULL, + [ProcessDefinitionId] [nvarchar](90) NOT NULL, + [ProcessDefinitionName] [nvarchar](90) NULL, + [PackageId] [nvarchar](90) NOT NULL, + [OldProcessState] [decimal](19, 0) NULL, + [NewProcessState] [decimal](19, 0) NULL, + [OldActivityState] [decimal](19, 0) NULL, + [NewActivityState] [decimal](19, 0) NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKStateEventAudits_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKToolAgentApp] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKToolAgentApp]( + [TOOL_AGENT_NAME] [nvarchar](250) NOT NULL, + [APP_NAME] [nvarchar](90) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKToolAgentApp_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKToolAgentAppDetail] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKToolAgentAppDetail]( + [APP_MODE] [decimal](10, 0) NOT NULL, + [TOOLAGENT_APPOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKToolAgentAppDetail_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKToolAgentAppDetailUser] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKToolAgentAppDetailUser]( + [TOOLAGENT_APPOID] [decimal](19, 0) NOT NULL, + [USEROID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKToolAgentAppDetailUser_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKToolAgentAppUser] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKToolAgentAppUser]( + [TOOLAGENT_APPOID] [decimal](19, 0) NOT NULL, + [USEROID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKToolAgentAppUser_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKToolAgentUser] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKToolAgentUser]( + [USERNAME] [nvarchar](100) NOT NULL, + [PWD] [nvarchar](100) NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKToolAgentUser_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKUserGroupTable] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKUserGroupTable]( + [userid] [decimal](19, 0) NOT NULL, + [groupid] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKUserGroupTable_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKUserPackLevelPart] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKUserPackLevelPart]( + [PARTICIPANTOID] [decimal](19, 0) NOT NULL, + [USEROID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKUserPackLevelPart_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKUserProcLevelParticipant] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKUserProcLevelParticipant]( + [PARTICIPANTOID] [decimal](19, 0) NOT NULL, + [USEROID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKUserProcLevelParticipant_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKUserTable] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKUserTable]( + [userid] [nvarchar](100) NOT NULL, + [firstname] [nvarchar](50) NULL, + [lastname] [nvarchar](50) NULL, + [passwd] [nvarchar](50) NOT NULL, + [email] [nvarchar](254) NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKUserTable_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKXPDLApplicationPackage] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKXPDLApplicationPackage]( + [PACKAGE_ID] [nvarchar](90) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKXPDLApplicationPackage_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKXPDLApplicationProcess] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKXPDLApplicationProcess]( + [PROCESS_ID] [nvarchar](90) NOT NULL, + [PACKAGEOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKXPDLApplicationProcess_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKXPDLData] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKXPDLData]( + [XPDLContent] [image] NOT NULL, + [XPDLClassContent] [image] NOT NULL, + [XPDL] [decimal](19, 0) NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKXPDLData_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKXPDLHistory] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKXPDLHistory]( + [XPDLId] [nvarchar](90) NOT NULL, + [XPDLVersion] [nvarchar](20) NOT NULL, + [XPDLClassVersion] [bigint] NOT NULL, + [XPDLUploadTime] [datetime] NOT NULL, + [XPDLHistoryUploadTime] [datetime] NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKXPDLHistory_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKXPDLHistoryData] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKXPDLHistoryData]( + [XPDLContent] [image] NOT NULL, + [XPDLClassContent] [image] NOT NULL, + [XPDLHistory] [decimal](19, 0) NOT NULL, + [CNT] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKXPDLHistoryData_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [SHKXPDLParticipantPackage] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKXPDLParticipantPackage]( + [PACKAGE_ID] [nvarchar](90) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKXPDLParticipantPackage_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKXPDLParticipantProcess] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKXPDLParticipantProcess]( + [PROCESS_ID] [nvarchar](90) NOT NULL, + [PACKAGEOID] [decimal](19, 0) NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKXPDLParticipantProcess_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKXPDLReferences] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKXPDLReferences]( + [ReferredXPDLId] [nvarchar](90) NOT NULL, + [ReferringXPDL] [decimal](19, 0) NOT NULL, + [ReferredXPDLNumber] [int] NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKXPDLReferences_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [SHKXPDLS] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [SHKXPDLS]( + [XPDLId] [nvarchar](90) NOT NULL, + [XPDLVersion] [nvarchar](20) NOT NULL, + [XPDLClassVersion] [bigint] NOT NULL, + [XPDLUploadTime] [datetime] NOT NULL, + [oid] [decimal](19, 0) NOT NULL, + [version] [int] NOT NULL, + CONSTRAINT [SHKXPDLS_oid] PRIMARY KEY CLUSTERED +( + [oid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [wf_audit_trail] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [wf_audit_trail]( + [id] [nvarchar](255) NOT NULL, + [username] [nvarchar](255) NULL, + [appId] [nvarchar](255) NULL, + [appVersion] [nvarchar](255) NULL, + [clazz] [nvarchar](255) NULL, + [method] [nvarchar](255) NULL, + [message] [ntext] NULL, + [timestamp] [datetime] NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [wf_process_link] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [wf_process_link]( + [processId] [nvarchar](255) NOT NULL, + [parentProcessId] [nvarchar](255) NULL, + [originProcessId] [nvarchar](255) NULL, +PRIMARY KEY CLUSTERED +( + [processId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +; +/****** Object: Table [wf_resource_bundle_message] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [wf_resource_bundle_message]( + [id] [nvarchar](255) NOT NULL, + [messageKey] [nvarchar](255) NULL, + [locale] [nvarchar](255) NULL, + [message] [ntext] NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +/****** Object: Table [wf_setup] Script Date: 05/29/2019 10:16:22 ******/ +SET ANSI_NULLS ON +; +SET QUOTED_IDENTIFIER ON +; +CREATE TABLE [wf_setup]( + [id] [nvarchar](255) NOT NULL, + [property] [nvarchar](255) NULL, + [value] [ntext] NULL, + [ordering] [int] NULL, +PRIMARY KEY CLUSTERED +( + [id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] +; +INSERT [dir_role] ([id], [name], [description]) VALUES (N'ROLE_ADMIN', N'Admin', N'Administrator') +INSERT [dir_role] ([id], [name], [description]) VALUES (N'ROLE_USER', N'User', N'Normal User') +INSERT [dir_user] ([id], [username], [password], [firstName], [lastName], [email], [timeZone], [locale], [active]) VALUES (N'admin', N'admin', N'admin', N'Admin', N'admin', N'admin@email.domain', N'0', NULL, 1) +INSERT [dir_user_role] ([roleId], [userId]) VALUES (N'ROLE_ADMIN', N'admin') +INSERT [ObjectId] ([nextoid]) VALUES (CAST(1000200 AS Decimal(19, 0))) +INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.running', N'open.running', CAST(1000001 AS Decimal(19, 0)), 0) +INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.not_running.not_started', N'open.not_running.not_started', CAST(1000003 AS Decimal(19, 0)), 0) +INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.not_running.suspended', N'open.not_running.suspended', CAST(1000005 AS Decimal(19, 0)), 0) +INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.completed', N'closed.completed', CAST(1000007 AS Decimal(19, 0)), 0) +INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.terminated', N'closed.terminated', CAST(1000009 AS Decimal(19, 0)), 0) +INSERT [SHKActivityStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.aborted', N'closed.aborted', CAST(1000011 AS Decimal(19, 0)), 0) +INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.running', N'open.running', CAST(1000000 AS Decimal(19, 0)), 0) +INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.not_running.not_started', N'open.not_running.not_started', CAST(1000002 AS Decimal(19, 0)), 0) +INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'open.not_running.suspended', N'open.not_running.suspended', CAST(1000004 AS Decimal(19, 0)), 0) +INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.completed', N'closed.completed', CAST(1000006 AS Decimal(19, 0)), 0) +INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.terminated', N'closed.terminated', CAST(1000008 AS Decimal(19, 0)), 0) +INSERT [SHKProcessStates] ([KeyValue], [Name], [oid], [version]) VALUES (N'closed.aborted', N'closed.aborted', CAST(1000010 AS Decimal(19, 0)), 0) +SET ANSI_PADDING ON +; +/****** Object: Index [idx_name] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [idx_name] ON [app_app] +( + [name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [idx_name] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [idx_name] ON [app_builder] +( + [name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [idx_type] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [idx_type] ON [app_builder] +( + [type] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [idx_name] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [idx_name] ON [app_datalist] +( + [name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [idx_name] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [idx_name] ON [app_form] +( + [name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [idx_name] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [idx_name] ON [app_userview] +( + [name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [UQ__dir_empl__92CF207DC2B26038] Script Date: 05/29/2019 10:16:23 ******/ +ALTER TABLE [dir_employment_report_to] ADD UNIQUE NONCLUSTERED +( + [employmentId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKActivities] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivities] ON [SHKActivities] +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKActivities] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I2_SHKActivities] ON [SHKActivities] +( + [Process] ASC, + [ActivitySetDefinitionId] ASC, + [ActivityDefinitionId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I3_SHKActivities] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I3_SHKActivities] ON [SHKActivities] +( + [Process] ASC, + [State] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKActivityData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivityData] ON [SHKActivityData] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKActivityData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKActivityData] ON [SHKActivityData] +( + [Activity] ASC, + [VariableDefinitionId] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKActivityDataBLOBs] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivityDataBLOBs] ON [SHKActivityDataBLOBs] +( + [ActivityDataWOB] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKActivityDataWOB] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivityDataWOB] ON [SHKActivityDataWOB] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKActivityDataWOB] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKActivityDataWOB] ON [SHKActivityDataWOB] +( + [Activity] ASC, + [VariableDefinitionId] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKActivityStateEventAudits] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivityStateEventAudits] ON [SHKActivityStateEventAudits] +( + [KeyValue] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKActivityStateEventAudits] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKActivityStateEventAudits] ON [SHKActivityStateEventAudits] +( + [Name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKActivityStates] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKActivityStates] ON [SHKActivityStates] +( + [KeyValue] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKActivityStates] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKActivityStates] ON [SHKActivityStates] +( + [Name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKAndJoinTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKAndJoinTable] ON [SHKAndJoinTable] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKAndJoinTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I2_SHKAndJoinTable] ON [SHKAndJoinTable] +( + [Process] ASC, + [BlockActivity] ASC, + [ActivityDefinitionId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I3_SHKAndJoinTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I3_SHKAndJoinTable] ON [SHKAndJoinTable] +( + [Activity] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKAssignmentEventAudits] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKAssignmentEventAudits] ON [SHKAssignmentEventAudits] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKAssignmentsTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKAssignmentsTable] ON [SHKAssignmentsTable] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I2_SHKAssignmentsTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKAssignmentsTable] ON [SHKAssignmentsTable] +( + [Activity] ASC, + [TheResource] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I3_SHKAssignmentsTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I3_SHKAssignmentsTable] ON [SHKAssignmentsTable] +( + [TheResource] ASC, + [IsValid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I4_SHKAssignmentsTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I4_SHKAssignmentsTable] ON [SHKAssignmentsTable] +( + [ActivityId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I5_SHKAssignmentsTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I5_SHKAssignmentsTable] ON [SHKAssignmentsTable] +( + [ResourceId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKCounters] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKCounters] ON [SHKCounters] +( + [name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKCreateProcessEventAudits] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKCreateProcessEventAudits] ON [SHKCreateProcessEventAudits] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKDataEventAudits] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKDataEventAudits] ON [SHKDataEventAudits] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKDeadlines] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKDeadlines] ON [SHKDeadlines] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I2_SHKDeadlines] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I2_SHKDeadlines] ON [SHKDeadlines] +( + [Process] ASC, + [TimeLimit] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I3_SHKDeadlines] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I3_SHKDeadlines] ON [SHKDeadlines] +( + [Activity] ASC, + [TimeLimit] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKEventTypes] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKEventTypes] ON [SHKEventTypes] +( + [KeyValue] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKEventTypes] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKEventTypes] ON [SHKEventTypes] +( + [Name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKGroupGroupTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKGroupGroupTable] ON [SHKGroupGroupTable] +( + [sub_gid] ASC, + [groupid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I2_SHKGroupGroupTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I2_SHKGroupGroupTable] ON [SHKGroupGroupTable] +( + [groupid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKGroupTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKGroupTable] ON [SHKGroupTable] +( + [groupid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKGroupUser] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKGroupUser] ON [SHKGroupUser] +( + [USERNAME] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKGroupUserPackLevelPart] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKGroupUserPackLevelPart] ON [SHKGroupUserPackLevelPart] +( + [PARTICIPANTOID] ASC, + [USEROID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKGroupUserProcLevelPart] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKGroupUserProcLevelPart] ON [SHKGroupUserProcLevelPart] +( + [PARTICIPANTOID] ASC, + [USEROID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKNewEventAuditData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKNewEventAuditData] ON [SHKNewEventAuditData] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKNewEventAuditData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKNewEventAuditData] ON [SHKNewEventAuditData] +( + [DataEventAudit] ASC, + [VariableDefinitionId] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKNewEventAuditDataBLOBs] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKNewEventAuditDataBLOBs] ON [SHKNewEventAuditDataBLOBs] +( + [NewEventAuditDataWOB] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKNewEventAuditDataWOB] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKNewEventAuditDataWOB] ON [SHKNewEventAuditDataWOB] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKNewEventAuditDataWOB] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKNewEventAuditDataWOB] ON [SHKNewEventAuditDataWOB] +( + [DataEventAudit] ASC, + [VariableDefinitionId] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKNextXPDLVersions] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKNextXPDLVersions] ON [SHKNextXPDLVersions] +( + [XPDLId] ASC, + [NextVersion] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKNormalUser] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKNormalUser] ON [SHKNormalUser] +( + [USERNAME] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKOldEventAuditData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKOldEventAuditData] ON [SHKOldEventAuditData] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKOldEventAuditData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKOldEventAuditData] ON [SHKOldEventAuditData] +( + [DataEventAudit] ASC, + [VariableDefinitionId] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKOldEventAuditDataBLOBs] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKOldEventAuditDataBLOBs] ON [SHKOldEventAuditDataBLOBs] +( + [OldEventAuditDataWOB] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKOldEventAuditDataWOB] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKOldEventAuditDataWOB] ON [SHKOldEventAuditDataWOB] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKOldEventAuditDataWOB] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKOldEventAuditDataWOB] ON [SHKOldEventAuditDataWOB] +( + [DataEventAudit] ASC, + [VariableDefinitionId] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKPackLevelParticipant] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelParticipant] ON [SHKPackLevelParticipant] +( + [PARTICIPANT_ID] ASC, + [PACKAGEOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKPackLevelXPDLApp] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelXPDLApp] ON [SHKPackLevelXPDLApp] +( + [APPLICATION_ID] ASC, + [PACKAGEOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKPackLevelXPDLAppTAAppDetail] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelXPDLAppTAAppDetail] ON [SHKPackLevelXPDLAppTAAppDetail] +( + [XPDL_APPOID] ASC, + [TOOLAGENTOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKPackLevelXPDLAppTAAppDetUsr] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelXPDLAppTAAppDetUsr] ON [SHKPackLevelXPDLAppTAAppDetUsr] +( + [XPDL_APPOID] ASC, + [TOOLAGENTOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKPackLevelXPDLAppTAAppUser] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelXPDLAppTAAppUser] ON [SHKPackLevelXPDLAppTAAppUser] +( + [XPDL_APPOID] ASC, + [TOOLAGENTOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKPackLevelXPDLAppToolAgntApp] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKPackLevelXPDLAppToolAgntApp] ON [SHKPackLevelXPDLAppToolAgntApp] +( + [XPDL_APPOID] ASC, + [TOOLAGENTOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKProcessData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessData] ON [SHKProcessData] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKProcessData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKProcessData] ON [SHKProcessData] +( + [Process] ASC, + [VariableDefinitionId] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKProcessDataBLOBs] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessDataBLOBs] ON [SHKProcessDataBLOBs] +( + [ProcessDataWOB] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKProcessDataWOB] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessDataWOB] ON [SHKProcessDataWOB] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKProcessDataWOB] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKProcessDataWOB] ON [SHKProcessDataWOB] +( + [Process] ASC, + [VariableDefinitionId] ASC, + [OrdNo] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKProcessDefinitions] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessDefinitions] ON [SHKProcessDefinitions] +( + [Name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKProcesses] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcesses] ON [SHKProcesses] +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I2_SHKProcesses] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I2_SHKProcesses] ON [SHKProcesses] +( + [ProcessDefinition] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I3_SHKProcesses] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I3_SHKProcesses] ON [SHKProcesses] +( + [State] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I4_SHKProcesses] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I4_SHKProcesses] ON [SHKProcesses] +( + [ActivityRequesterId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I5_SHKProcesses] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I5_SHKProcesses] ON [SHKProcesses] +( + [ResourceRequesterId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKProcessRequesters] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessRequesters] ON [SHKProcessRequesters] +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I2_SHKProcessRequesters] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I2_SHKProcessRequesters] ON [SHKProcessRequesters] +( + [ActivityRequester] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I3_SHKProcessRequesters] Script Date: 05/29/2019 10:16:23 ******/ +CREATE NONCLUSTERED INDEX [I3_SHKProcessRequesters] ON [SHKProcessRequesters] +( + [ResourceRequester] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKProcessStateEventAudits] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessStateEventAudits] ON [SHKProcessStateEventAudits] +( + [KeyValue] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKProcessStateEventAudits] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKProcessStateEventAudits] ON [SHKProcessStateEventAudits] +( + [Name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKProcessStates] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcessStates] ON [SHKProcessStates] +( + [KeyValue] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I2_SHKProcessStates] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKProcessStates] ON [SHKProcessStates] +( + [Name] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKProcLevelParticipant] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelParticipant] ON [SHKProcLevelParticipant] +( + [PARTICIPANT_ID] ASC, + [PROCESSOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKProcLevelXPDLApp] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelXPDLApp] ON [SHKProcLevelXPDLApp] +( + [APPLICATION_ID] ASC, + [PROCESSOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKProcLevelXPDLAppTAAppDetail] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelXPDLAppTAAppDetail] ON [SHKProcLevelXPDLAppTAAppDetail] +( + [XPDL_APPOID] ASC, + [TOOLAGENTOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKProcLevelXPDLAppTAAppDetUsr] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelXPDLAppTAAppDetUsr] ON [SHKProcLevelXPDLAppTAAppDetUsr] +( + [XPDL_APPOID] ASC, + [TOOLAGENTOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKProcLevelXPDLAppTAAppUser] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelXPDLAppTAAppUser] ON [SHKProcLevelXPDLAppTAAppUser] +( + [XPDL_APPOID] ASC, + [TOOLAGENTOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKProcLevelXPDLAppToolAgntApp] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKProcLevelXPDLAppToolAgntApp] ON [SHKProcLevelXPDLAppToolAgntApp] +( + [XPDL_APPOID] ASC, + [TOOLAGENTOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKResourcesTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKResourcesTable] ON [SHKResourcesTable] +( + [Username] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKStateEventAudits] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKStateEventAudits] ON [SHKStateEventAudits] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKToolAgentApp] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKToolAgentApp] ON [SHKToolAgentApp] +( + [TOOL_AGENT_NAME] ASC, + [APP_NAME] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKToolAgentAppDetail] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKToolAgentAppDetail] ON [SHKToolAgentAppDetail] +( + [APP_MODE] ASC, + [TOOLAGENT_APPOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKToolAgentAppDetailUser] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKToolAgentAppDetailUser] ON [SHKToolAgentAppDetailUser] +( + [TOOLAGENT_APPOID] ASC, + [USEROID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKToolAgentAppUser] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKToolAgentAppUser] ON [SHKToolAgentAppUser] +( + [TOOLAGENT_APPOID] ASC, + [USEROID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKToolAgentUser] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKToolAgentUser] ON [SHKToolAgentUser] +( + [USERNAME] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKUserGroupTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKUserGroupTable] ON [SHKUserGroupTable] +( + [userid] ASC, + [groupid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKUserPackLevelPart] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKUserPackLevelPart] ON [SHKUserPackLevelPart] +( + [PARTICIPANTOID] ASC, + [USEROID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKUserProcLevelParticipant] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKUserProcLevelParticipant] ON [SHKUserProcLevelParticipant] +( + [PARTICIPANTOID] ASC, + [USEROID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKUserTable] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKUserTable] ON [SHKUserTable] +( + [userid] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKXPDLApplicationPackage] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLApplicationPackage] ON [SHKXPDLApplicationPackage] +( + [PACKAGE_ID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKXPDLApplicationProcess] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLApplicationProcess] ON [SHKXPDLApplicationProcess] +( + [PROCESS_ID] ASC, + [PACKAGEOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKXPDLData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLData] ON [SHKXPDLData] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I2_SHKXPDLData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I2_SHKXPDLData] ON [SHKXPDLData] +( + [XPDL] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKXPDLHistory] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLHistory] ON [SHKXPDLHistory] +( + [XPDLId] ASC, + [XPDLVersion] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +/****** Object: Index [I1_SHKXPDLHistoryData] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLHistoryData] ON [SHKXPDLHistoryData] +( + [CNT] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKXPDLParticipantPackage] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLParticipantPackage] ON [SHKXPDLParticipantPackage] +( + [PACKAGE_ID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKXPDLParticipantProcess] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLParticipantProcess] ON [SHKXPDLParticipantProcess] +( + [PROCESS_ID] ASC, + [PACKAGEOID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKXPDLReferences] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLReferences] ON [SHKXPDLReferences] +( + [ReferredXPDLId] ASC, + [ReferringXPDL] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +SET ANSI_PADDING ON +; +/****** Object: Index [I1_SHKXPDLS] Script Date: 05/29/2019 10:16:23 ******/ +CREATE UNIQUE NONCLUSTERED INDEX [I1_SHKXPDLS] ON [SHKXPDLS] +( + [XPDLId] ASC, + [XPDLVersion] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +; +ALTER TABLE [app_builder] WITH CHECK ADD CONSTRAINT [FK5F9347A6462EF4C7] FOREIGN KEY([appId], [appVersion]) +REFERENCES [app_app] ([appId], [appVersion]) +; +ALTER TABLE [app_builder] CHECK CONSTRAINT [FK5F9347A6462EF4C7] +; +ALTER TABLE [app_datalist] WITH CHECK ADD CONSTRAINT [FK5E9247A6462EF4C7] FOREIGN KEY([appId], [appVersion]) +REFERENCES [app_app] ([appId], [appVersion]) +; +ALTER TABLE [app_datalist] CHECK CONSTRAINT [FK5E9247A6462EF4C7] +; +ALTER TABLE [app_env_variable] WITH CHECK ADD CONSTRAINT [FK740A62EC462EF4C7] FOREIGN KEY([appId], [appVersion]) +REFERENCES [app_app] ([appId], [appVersion]) +; +ALTER TABLE [app_env_variable] CHECK CONSTRAINT [FK740A62EC462EF4C7] +; +ALTER TABLE [app_form] WITH CHECK ADD CONSTRAINT [FK45957822462EF4C7] FOREIGN KEY([appId], [appVersion]) +REFERENCES [app_app] ([appId], [appVersion]) +; +ALTER TABLE [app_form] CHECK CONSTRAINT [FK45957822462EF4C7] +; +ALTER TABLE [app_message] WITH CHECK ADD CONSTRAINT [FKEE346FE9462EF4C7] FOREIGN KEY([appId], [appVersion]) +REFERENCES [app_app] ([appId], [appVersion]) +; +ALTER TABLE [app_message] CHECK CONSTRAINT [FKEE346FE9462EF4C7] +; +ALTER TABLE [app_package] WITH CHECK ADD CONSTRAINT [FK852EA428462EF4C7] FOREIGN KEY([appId], [appVersion]) +REFERENCES [app_app] ([appId], [appVersion]) +; +ALTER TABLE [app_package] CHECK CONSTRAINT [FK852EA428462EF4C7] +; +ALTER TABLE [app_package_activity_form] WITH CHECK ADD CONSTRAINT [FKA8D741D5F255BCC] FOREIGN KEY([packageId], [packageVersion]) +REFERENCES [app_package] ([packageId], [packageVersion]) +; +ALTER TABLE [app_package_activity_form] CHECK CONSTRAINT [FKA8D741D5F255BCC] +; +ALTER TABLE [app_package_activity_plugin] WITH CHECK ADD CONSTRAINT [FKADE8644C5F255BCC] FOREIGN KEY([packageId], [packageVersion]) +REFERENCES [app_package] ([packageId], [packageVersion]) +; +ALTER TABLE [app_package_activity_plugin] CHECK CONSTRAINT [FKADE8644C5F255BCC] +; +ALTER TABLE [app_package_participant] WITH CHECK ADD CONSTRAINT [FK6D7BF59C5F255BCC] FOREIGN KEY([packageId], [packageVersion]) +REFERENCES [app_package] ([packageId], [packageVersion]) +; +ALTER TABLE [app_package_participant] CHECK CONSTRAINT [FK6D7BF59C5F255BCC] +; +ALTER TABLE [app_plugin_default] WITH CHECK ADD CONSTRAINT [FK7A835713462EF4C7] FOREIGN KEY([appId], [appVersion]) +REFERENCES [app_app] ([appId], [appVersion]) +; +ALTER TABLE [app_plugin_default] CHECK CONSTRAINT [FK7A835713462EF4C7] +; +ALTER TABLE [app_report_activity] WITH CHECK ADD CONSTRAINT [FK5E33D79C918F93D] FOREIGN KEY([processUid]) +REFERENCES [app_report_process] ([uuid]) +; +ALTER TABLE [app_report_activity] CHECK CONSTRAINT [FK5E33D79C918F93D] +; +ALTER TABLE [app_report_activity_instance] WITH CHECK ADD CONSTRAINT [FK9C6ABDD8B06E2043] FOREIGN KEY([activityUid]) +REFERENCES [app_report_activity] ([uuid]) +; +ALTER TABLE [app_report_activity_instance] CHECK CONSTRAINT [FK9C6ABDD8B06E2043] +; +ALTER TABLE [app_report_activity_instance] WITH CHECK ADD CONSTRAINT [FK9C6ABDD8D4610A90] FOREIGN KEY([processInstanceId]) +REFERENCES [app_report_process_instance] ([instanceId]) +; +ALTER TABLE [app_report_activity_instance] CHECK CONSTRAINT [FK9C6ABDD8D4610A90] +; +ALTER TABLE [app_report_package] WITH CHECK ADD CONSTRAINT [FKBD580A19E475ABC] FOREIGN KEY([appUid]) +REFERENCES [app_report_app] ([uuid]) +; +ALTER TABLE [app_report_package] CHECK CONSTRAINT [FKBD580A19E475ABC] +; +ALTER TABLE [app_report_process] WITH CHECK ADD CONSTRAINT [FKDAFFF442D40695DD] FOREIGN KEY([packageUid]) +REFERENCES [app_report_package] ([uuid]) +; +ALTER TABLE [app_report_process] CHECK CONSTRAINT [FKDAFFF442D40695DD] +; +ALTER TABLE [app_report_process_instance] WITH CHECK ADD CONSTRAINT [FK351D7BF2918F93D] FOREIGN KEY([processUid]) +REFERENCES [app_report_process] ([uuid]) +; +ALTER TABLE [app_report_process_instance] CHECK CONSTRAINT [FK351D7BF2918F93D] +; +ALTER TABLE [app_userview] WITH CHECK ADD CONSTRAINT [FKE411D54E462EF4C7] FOREIGN KEY([appId], [appVersion]) +REFERENCES [app_app] ([appId], [appVersion]) +; +ALTER TABLE [app_userview] CHECK CONSTRAINT [FKE411D54E462EF4C7] +; +ALTER TABLE [dir_department] WITH CHECK ADD CONSTRAINT [FKEEE8AA4418CEBAE1] FOREIGN KEY([organizationId]) +REFERENCES [dir_organization] ([id]) +ON DELETE CASCADE +; +ALTER TABLE [dir_department] CHECK CONSTRAINT [FKEEE8AA4418CEBAE1] +; +ALTER TABLE [dir_department] WITH CHECK ADD CONSTRAINT [FKEEE8AA4480DB1449] FOREIGN KEY([hod]) +REFERENCES [dir_employment] ([id]) +; +ALTER TABLE [dir_department] CHECK CONSTRAINT [FKEEE8AA4480DB1449] +; +ALTER TABLE [dir_department] WITH CHECK ADD CONSTRAINT [FKEEE8AA44EF6BB2B7] FOREIGN KEY([parentId]) +REFERENCES [dir_department] ([id]) +; +ALTER TABLE [dir_department] CHECK CONSTRAINT [FKEEE8AA44EF6BB2B7] +; +ALTER TABLE [dir_employment] WITH CHECK ADD CONSTRAINT [FKC6620ADE14CE02E9] FOREIGN KEY([gradeId]) +REFERENCES [dir_grade] ([id]) +; +ALTER TABLE [dir_employment] CHECK CONSTRAINT [FKC6620ADE14CE02E9] +; +ALTER TABLE [dir_employment] WITH CHECK ADD CONSTRAINT [FKC6620ADE18CEBAE1] FOREIGN KEY([organizationId]) +REFERENCES [dir_organization] ([id]) +ON DELETE CASCADE +; +ALTER TABLE [dir_employment] CHECK CONSTRAINT [FKC6620ADE18CEBAE1] +; +ALTER TABLE [dir_employment] WITH CHECK ADD CONSTRAINT [FKC6620ADE716AE35F] FOREIGN KEY([departmentId]) +REFERENCES [dir_department] ([id]) +; +ALTER TABLE [dir_employment] CHECK CONSTRAINT [FKC6620ADE716AE35F] +; +ALTER TABLE [dir_employment] WITH CHECK ADD CONSTRAINT [FKC6620ADECE539211] FOREIGN KEY([userId]) +REFERENCES [dir_user] ([id]) +; +ALTER TABLE [dir_employment] CHECK CONSTRAINT [FKC6620ADECE539211] +; +ALTER TABLE [dir_employment_report_to] WITH CHECK ADD CONSTRAINT [FK536229452787E613] FOREIGN KEY([employmentId]) +REFERENCES [dir_employment] ([id]) +; +ALTER TABLE [dir_employment_report_to] CHECK CONSTRAINT [FK536229452787E613] +; +ALTER TABLE [dir_employment_report_to] WITH CHECK ADD CONSTRAINT [FK53622945F4068416] FOREIGN KEY([reportToId]) +REFERENCES [dir_employment] ([id]) +; +ALTER TABLE [dir_employment_report_to] CHECK CONSTRAINT [FK53622945F4068416] +; +ALTER TABLE [dir_grade] WITH CHECK ADD CONSTRAINT [FKBC9A49A518CEBAE1] FOREIGN KEY([organizationId]) +REFERENCES [dir_organization] ([id]) +ON DELETE CASCADE +; +ALTER TABLE [dir_grade] CHECK CONSTRAINT [FKBC9A49A518CEBAE1] +; +ALTER TABLE [dir_group] WITH CHECK ADD CONSTRAINT [FKBC9A804D18CEBAE1] FOREIGN KEY([organizationId]) +REFERENCES [dir_organization] ([id]) +; +ALTER TABLE [dir_group] CHECK CONSTRAINT [FKBC9A804D18CEBAE1] +; +ALTER TABLE [dir_organization] WITH CHECK ADD CONSTRAINT [FK55A15FA5961BD498] FOREIGN KEY([parentId]) +REFERENCES [dir_organization] ([id]) +; +ALTER TABLE [dir_organization] CHECK CONSTRAINT [FK55A15FA5961BD498] +; +ALTER TABLE [dir_user_group] WITH CHECK ADD CONSTRAINT [FK2F0367FD159B6639] FOREIGN KEY([groupId]) +REFERENCES [dir_group] ([id]) +; +ALTER TABLE [dir_user_group] CHECK CONSTRAINT [FK2F0367FD159B6639] +; +ALTER TABLE [dir_user_group] WITH CHECK ADD CONSTRAINT [FK2F0367FDCE539211] FOREIGN KEY([userId]) +REFERENCES [dir_user] ([id]) +; +ALTER TABLE [dir_user_group] CHECK CONSTRAINT [FK2F0367FDCE539211] +; +ALTER TABLE [dir_user_role] WITH CHECK ADD CONSTRAINT [FK5C5FE738C8FE3CA7] FOREIGN KEY([roleId]) +REFERENCES [dir_role] ([id]) +; +ALTER TABLE [dir_user_role] CHECK CONSTRAINT [FK5C5FE738C8FE3CA7] +; +ALTER TABLE [dir_user_role] WITH CHECK ADD CONSTRAINT [FK5C5FE738CE539211] FOREIGN KEY([userId]) +REFERENCES [dir_user] ([id]) +; +ALTER TABLE [dir_user_role] CHECK CONSTRAINT [FK5C5FE738CE539211] +; +ALTER TABLE [SHKActivities] WITH CHECK ADD CONSTRAINT [SHKActivities_Process] FOREIGN KEY([Process]) +REFERENCES [SHKProcesses] ([oid]) +; +ALTER TABLE [SHKActivities] CHECK CONSTRAINT [SHKActivities_Process] +; +ALTER TABLE [SHKActivities] WITH CHECK ADD CONSTRAINT [SHKActivities_State] FOREIGN KEY([State]) +REFERENCES [SHKActivityStates] ([oid]) +; +ALTER TABLE [SHKActivities] CHECK CONSTRAINT [SHKActivities_State] +; +ALTER TABLE [SHKActivities] WITH CHECK ADD CONSTRAINT [SHKActivities_TheResource] FOREIGN KEY([TheResource]) +REFERENCES [SHKResourcesTable] ([oid]) +; +ALTER TABLE [SHKActivities] CHECK CONSTRAINT [SHKActivities_TheResource] +; +ALTER TABLE [SHKActivityData] WITH CHECK ADD CONSTRAINT [SHKActivityData_Activity] FOREIGN KEY([Activity]) +REFERENCES [SHKActivities] ([oid]) +; +ALTER TABLE [SHKActivityData] CHECK CONSTRAINT [SHKActivityData_Activity] +; +ALTER TABLE [SHKActivityDataBLOBs] WITH CHECK ADD CONSTRAINT [SHKActivityDataBLOBs_ActivityDataWOB] FOREIGN KEY([ActivityDataWOB]) +REFERENCES [SHKActivityDataWOB] ([oid]) +; +ALTER TABLE [SHKActivityDataBLOBs] CHECK CONSTRAINT [SHKActivityDataBLOBs_ActivityDataWOB] +; +ALTER TABLE [SHKActivityDataWOB] WITH CHECK ADD CONSTRAINT [SHKActivityDataWOB_Activity] FOREIGN KEY([Activity]) +REFERENCES [SHKActivities] ([oid]) +; +ALTER TABLE [SHKActivityDataWOB] CHECK CONSTRAINT [SHKActivityDataWOB_Activity] +; +ALTER TABLE [SHKAndJoinTable] WITH CHECK ADD CONSTRAINT [SHKAndJoinTable_Activity] FOREIGN KEY([Activity]) +REFERENCES [SHKActivities] ([oid]) +; +ALTER TABLE [SHKAndJoinTable] CHECK CONSTRAINT [SHKAndJoinTable_Activity] +; +ALTER TABLE [SHKAndJoinTable] WITH CHECK ADD CONSTRAINT [SHKAndJoinTable_BlockActivity] FOREIGN KEY([BlockActivity]) +REFERENCES [SHKActivities] ([oid]) +; +ALTER TABLE [SHKAndJoinTable] CHECK CONSTRAINT [SHKAndJoinTable_BlockActivity] +; +ALTER TABLE [SHKAndJoinTable] WITH CHECK ADD CONSTRAINT [SHKAndJoinTable_Process] FOREIGN KEY([Process]) +REFERENCES [SHKProcesses] ([oid]) +; +ALTER TABLE [SHKAndJoinTable] CHECK CONSTRAINT [SHKAndJoinTable_Process] +; +ALTER TABLE [SHKAssignmentEventAudits] WITH CHECK ADD CONSTRAINT [SHKAssignmentEventAudits_TheType] FOREIGN KEY([TheType]) +REFERENCES [SHKEventTypes] ([oid]) +; +ALTER TABLE [SHKAssignmentEventAudits] CHECK CONSTRAINT [SHKAssignmentEventAudits_TheType] +; +ALTER TABLE [SHKAssignmentsTable] WITH CHECK ADD CONSTRAINT [SHKAssignmentsTable_Activity] FOREIGN KEY([Activity]) +REFERENCES [SHKActivities] ([oid]) +; +ALTER TABLE [SHKAssignmentsTable] CHECK CONSTRAINT [SHKAssignmentsTable_Activity] +; +ALTER TABLE [SHKAssignmentsTable] WITH CHECK ADD CONSTRAINT [SHKAssignmentsTable_TheResource] FOREIGN KEY([TheResource]) +REFERENCES [SHKResourcesTable] ([oid]) +; +ALTER TABLE [SHKAssignmentsTable] CHECK CONSTRAINT [SHKAssignmentsTable_TheResource] +; +ALTER TABLE [SHKCreateProcessEventAudits] WITH CHECK ADD CONSTRAINT [SHKCreateProcessEventAudits_TheType] FOREIGN KEY([TheType]) +REFERENCES [SHKEventTypes] ([oid]) +; +ALTER TABLE [SHKCreateProcessEventAudits] CHECK CONSTRAINT [SHKCreateProcessEventAudits_TheType] +; +ALTER TABLE [SHKDataEventAudits] WITH CHECK ADD CONSTRAINT [SHKDataEventAudits_TheType] FOREIGN KEY([TheType]) +REFERENCES [SHKEventTypes] ([oid]) +; +ALTER TABLE [SHKDataEventAudits] CHECK CONSTRAINT [SHKDataEventAudits_TheType] +; +ALTER TABLE [SHKDeadlines] WITH CHECK ADD CONSTRAINT [SHKDeadlines_Activity] FOREIGN KEY([Activity]) +REFERENCES [SHKActivities] ([oid]) +; +ALTER TABLE [SHKDeadlines] CHECK CONSTRAINT [SHKDeadlines_Activity] +; +ALTER TABLE [SHKDeadlines] WITH CHECK ADD CONSTRAINT [SHKDeadlines_Process] FOREIGN KEY([Process]) +REFERENCES [SHKProcesses] ([oid]) +; +ALTER TABLE [SHKDeadlines] CHECK CONSTRAINT [SHKDeadlines_Process] +; +ALTER TABLE [SHKGroupGroupTable] WITH CHECK ADD CONSTRAINT [SHKGroupGroupTable_groupid] FOREIGN KEY([groupid]) +REFERENCES [SHKGroupTable] ([oid]) +; +ALTER TABLE [SHKGroupGroupTable] CHECK CONSTRAINT [SHKGroupGroupTable_groupid] +; +ALTER TABLE [SHKGroupGroupTable] WITH CHECK ADD CONSTRAINT [SHKGroupGroupTable_sub_gid] FOREIGN KEY([sub_gid]) +REFERENCES [SHKGroupTable] ([oid]) +; +ALTER TABLE [SHKGroupGroupTable] CHECK CONSTRAINT [SHKGroupGroupTable_sub_gid] +; +ALTER TABLE [SHKGroupUserPackLevelPart] WITH CHECK ADD CONSTRAINT [SHKGroupUserPackLevelPart_PARTICIPANTOID] FOREIGN KEY([PARTICIPANTOID]) +REFERENCES [SHKPackLevelParticipant] ([oid]) +; +ALTER TABLE [SHKGroupUserPackLevelPart] CHECK CONSTRAINT [SHKGroupUserPackLevelPart_PARTICIPANTOID] +; +ALTER TABLE [SHKGroupUserPackLevelPart] WITH CHECK ADD CONSTRAINT [SHKGroupUserPackLevelPart_USEROID] FOREIGN KEY([USEROID]) +REFERENCES [SHKGroupUser] ([oid]) +; +ALTER TABLE [SHKGroupUserPackLevelPart] CHECK CONSTRAINT [SHKGroupUserPackLevelPart_USEROID] +; +ALTER TABLE [SHKGroupUserProcLevelPart] WITH CHECK ADD CONSTRAINT [SHKGroupUserProcLevelPart_PARTICIPANTOID] FOREIGN KEY([PARTICIPANTOID]) +REFERENCES [SHKProcLevelParticipant] ([oid]) +; +ALTER TABLE [SHKGroupUserProcLevelPart] CHECK CONSTRAINT [SHKGroupUserProcLevelPart_PARTICIPANTOID] +; +ALTER TABLE [SHKGroupUserProcLevelPart] WITH CHECK ADD CONSTRAINT [SHKGroupUserProcLevelPart_USEROID] FOREIGN KEY([USEROID]) +REFERENCES [SHKGroupUser] ([oid]) +; +ALTER TABLE [SHKGroupUserProcLevelPart] CHECK CONSTRAINT [SHKGroupUserProcLevelPart_USEROID] +; +ALTER TABLE [SHKNewEventAuditData] WITH CHECK ADD CONSTRAINT [SHKNewEventAuditData_DataEventAudit] FOREIGN KEY([DataEventAudit]) +REFERENCES [SHKDataEventAudits] ([oid]) +; +ALTER TABLE [SHKNewEventAuditData] CHECK CONSTRAINT [SHKNewEventAuditData_DataEventAudit] +; +ALTER TABLE [SHKNewEventAuditDataBLOBs] WITH CHECK ADD CONSTRAINT [SHKNewEventAuditDataBLOBs_NewEventAuditDataWOB] FOREIGN KEY([NewEventAuditDataWOB]) +REFERENCES [SHKNewEventAuditDataWOB] ([oid]) +; +ALTER TABLE [SHKNewEventAuditDataBLOBs] CHECK CONSTRAINT [SHKNewEventAuditDataBLOBs_NewEventAuditDataWOB] +; +ALTER TABLE [SHKNewEventAuditDataWOB] WITH CHECK ADD CONSTRAINT [SHKNewEventAuditDataWOB_DataEventAudit] FOREIGN KEY([DataEventAudit]) +REFERENCES [SHKDataEventAudits] ([oid]) +; +ALTER TABLE [SHKNewEventAuditDataWOB] CHECK CONSTRAINT [SHKNewEventAuditDataWOB_DataEventAudit] +; +ALTER TABLE [SHKOldEventAuditData] WITH CHECK ADD CONSTRAINT [SHKOldEventAuditData_DataEventAudit] FOREIGN KEY([DataEventAudit]) +REFERENCES [SHKDataEventAudits] ([oid]) +; +ALTER TABLE [SHKOldEventAuditData] CHECK CONSTRAINT [SHKOldEventAuditData_DataEventAudit] +; +ALTER TABLE [SHKOldEventAuditDataBLOBs] WITH CHECK ADD CONSTRAINT [SHKOldEventAuditDataBLOBs_OldEventAuditDataWOB] FOREIGN KEY([OldEventAuditDataWOB]) +REFERENCES [SHKOldEventAuditDataWOB] ([oid]) +; +ALTER TABLE [SHKOldEventAuditDataBLOBs] CHECK CONSTRAINT [SHKOldEventAuditDataBLOBs_OldEventAuditDataWOB] +; +ALTER TABLE [SHKOldEventAuditDataWOB] WITH CHECK ADD CONSTRAINT [SHKOldEventAuditDataWOB_DataEventAudit] FOREIGN KEY([DataEventAudit]) +REFERENCES [SHKDataEventAudits] ([oid]) +; +ALTER TABLE [SHKOldEventAuditDataWOB] CHECK CONSTRAINT [SHKOldEventAuditDataWOB_DataEventAudit] +; +ALTER TABLE [SHKPackLevelParticipant] WITH CHECK ADD CONSTRAINT [SHKPackLevelParticipant_PACKAGEOID] FOREIGN KEY([PACKAGEOID]) +REFERENCES [SHKXPDLParticipantPackage] ([oid]) +; +ALTER TABLE [SHKPackLevelParticipant] CHECK CONSTRAINT [SHKPackLevelParticipant_PACKAGEOID] +; +ALTER TABLE [SHKPackLevelXPDLApp] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLApp_PACKAGEOID] FOREIGN KEY([PACKAGEOID]) +REFERENCES [SHKXPDLApplicationPackage] ([oid]) +; +ALTER TABLE [SHKPackLevelXPDLApp] CHECK CONSTRAINT [SHKPackLevelXPDLApp_PACKAGEOID] +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppDetail] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppDetail_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) +REFERENCES [SHKToolAgentAppDetail] ([oid]) +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppDetail] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppDetail_TOOLAGENTOID] +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppDetail] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppDetail_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) +REFERENCES [SHKPackLevelXPDLApp] ([oid]) +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppDetail] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppDetail_XPDL_APPOID] +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppDetUsr] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppDetUsr_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) +REFERENCES [SHKToolAgentAppDetailUser] ([oid]) +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppDetUsr] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppDetUsr_TOOLAGENTOID] +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppDetUsr] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppDetUsr_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) +REFERENCES [SHKPackLevelXPDLApp] ([oid]) +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppDetUsr] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppDetUsr_XPDL_APPOID] +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppUser] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppUser_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) +REFERENCES [SHKToolAgentAppUser] ([oid]) +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppUser] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppUser_TOOLAGENTOID] +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppUser] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppTAAppUser_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) +REFERENCES [SHKPackLevelXPDLApp] ([oid]) +; +ALTER TABLE [SHKPackLevelXPDLAppTAAppUser] CHECK CONSTRAINT [SHKPackLevelXPDLAppTAAppUser_XPDL_APPOID] +; +ALTER TABLE [SHKPackLevelXPDLAppToolAgntApp] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppToolAgntApp_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) +REFERENCES [SHKToolAgentApp] ([oid]) +; +ALTER TABLE [SHKPackLevelXPDLAppToolAgntApp] CHECK CONSTRAINT [SHKPackLevelXPDLAppToolAgntApp_TOOLAGENTOID] +; +ALTER TABLE [SHKPackLevelXPDLAppToolAgntApp] WITH CHECK ADD CONSTRAINT [SHKPackLevelXPDLAppToolAgntApp_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) +REFERENCES [SHKPackLevelXPDLApp] ([oid]) +; +ALTER TABLE [SHKPackLevelXPDLAppToolAgntApp] CHECK CONSTRAINT [SHKPackLevelXPDLAppToolAgntApp_XPDL_APPOID] +; +ALTER TABLE [SHKProcessData] WITH CHECK ADD CONSTRAINT [SHKProcessData_Process] FOREIGN KEY([Process]) +REFERENCES [SHKProcesses] ([oid]) +; +ALTER TABLE [SHKProcessData] CHECK CONSTRAINT [SHKProcessData_Process] +; +ALTER TABLE [SHKProcessDataBLOBs] WITH CHECK ADD CONSTRAINT [SHKProcessDataBLOBs_ProcessDataWOB] FOREIGN KEY([ProcessDataWOB]) +REFERENCES [SHKProcessDataWOB] ([oid]) +; +ALTER TABLE [SHKProcessDataBLOBs] CHECK CONSTRAINT [SHKProcessDataBLOBs_ProcessDataWOB] +; +ALTER TABLE [SHKProcessDataWOB] WITH CHECK ADD CONSTRAINT [SHKProcessDataWOB_Process] FOREIGN KEY([Process]) +REFERENCES [SHKProcesses] ([oid]) +; +ALTER TABLE [SHKProcessDataWOB] CHECK CONSTRAINT [SHKProcessDataWOB_Process] +; +ALTER TABLE [SHKProcesses] WITH CHECK ADD CONSTRAINT [SHKProcesses_ProcessDefinition] FOREIGN KEY([ProcessDefinition]) +REFERENCES [SHKProcessDefinitions] ([oid]) +; +ALTER TABLE [SHKProcesses] CHECK CONSTRAINT [SHKProcesses_ProcessDefinition] +; +ALTER TABLE [SHKProcesses] WITH CHECK ADD CONSTRAINT [SHKProcesses_State] FOREIGN KEY([State]) +REFERENCES [SHKProcessStates] ([oid]) +; +ALTER TABLE [SHKProcesses] CHECK CONSTRAINT [SHKProcesses_State] +; +ALTER TABLE [SHKProcessRequesters] WITH CHECK ADD CONSTRAINT [SHKProcessRequesters_ActivityRequester] FOREIGN KEY([ActivityRequester]) +REFERENCES [SHKActivities] ([oid]) +; +ALTER TABLE [SHKProcessRequesters] CHECK CONSTRAINT [SHKProcessRequesters_ActivityRequester] +; +ALTER TABLE [SHKProcessRequesters] WITH CHECK ADD CONSTRAINT [SHKProcessRequesters_ResourceRequester] FOREIGN KEY([ResourceRequester]) +REFERENCES [SHKResourcesTable] ([oid]) +; +ALTER TABLE [SHKProcessRequesters] CHECK CONSTRAINT [SHKProcessRequesters_ResourceRequester] +; +ALTER TABLE [SHKProcLevelParticipant] WITH CHECK ADD CONSTRAINT [SHKProcLevelParticipant_PROCESSOID] FOREIGN KEY([PROCESSOID]) +REFERENCES [SHKXPDLParticipantProcess] ([oid]) +; +ALTER TABLE [SHKProcLevelParticipant] CHECK CONSTRAINT [SHKProcLevelParticipant_PROCESSOID] +; +ALTER TABLE [SHKProcLevelXPDLApp] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLApp_PROCESSOID] FOREIGN KEY([PROCESSOID]) +REFERENCES [SHKXPDLApplicationProcess] ([oid]) +; +ALTER TABLE [SHKProcLevelXPDLApp] CHECK CONSTRAINT [SHKProcLevelXPDLApp_PROCESSOID] +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppDetail] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppDetail_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) +REFERENCES [SHKToolAgentAppDetail] ([oid]) +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppDetail] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppDetail_TOOLAGENTOID] +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppDetail] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppDetail_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) +REFERENCES [SHKProcLevelXPDLApp] ([oid]) +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppDetail] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppDetail_XPDL_APPOID] +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppDetUsr] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppDetUsr_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) +REFERENCES [SHKToolAgentAppDetailUser] ([oid]) +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppDetUsr] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppDetUsr_TOOLAGENTOID] +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppDetUsr] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppDetUsr_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) +REFERENCES [SHKProcLevelXPDLApp] ([oid]) +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppDetUsr] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppDetUsr_XPDL_APPOID] +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppUser] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppUser_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) +REFERENCES [SHKToolAgentAppUser] ([oid]) +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppUser] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppUser_TOOLAGENTOID] +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppUser] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppTAAppUser_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) +REFERENCES [SHKProcLevelXPDLApp] ([oid]) +; +ALTER TABLE [SHKProcLevelXPDLAppTAAppUser] CHECK CONSTRAINT [SHKProcLevelXPDLAppTAAppUser_XPDL_APPOID] +; +ALTER TABLE [SHKProcLevelXPDLAppToolAgntApp] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppToolAgntApp_TOOLAGENTOID] FOREIGN KEY([TOOLAGENTOID]) +REFERENCES [SHKToolAgentApp] ([oid]) +; +ALTER TABLE [SHKProcLevelXPDLAppToolAgntApp] CHECK CONSTRAINT [SHKProcLevelXPDLAppToolAgntApp_TOOLAGENTOID] +; +ALTER TABLE [SHKProcLevelXPDLAppToolAgntApp] WITH CHECK ADD CONSTRAINT [SHKProcLevelXPDLAppToolAgntApp_XPDL_APPOID] FOREIGN KEY([XPDL_APPOID]) +REFERENCES [SHKProcLevelXPDLApp] ([oid]) +; +ALTER TABLE [SHKProcLevelXPDLAppToolAgntApp] CHECK CONSTRAINT [SHKProcLevelXPDLAppToolAgntApp_XPDL_APPOID] +; +ALTER TABLE [SHKStateEventAudits] WITH CHECK ADD CONSTRAINT [SHKStateEventAudits_NewActivityState] FOREIGN KEY([NewActivityState]) +REFERENCES [SHKActivityStateEventAudits] ([oid]) +; +ALTER TABLE [SHKStateEventAudits] CHECK CONSTRAINT [SHKStateEventAudits_NewActivityState] +; +ALTER TABLE [SHKStateEventAudits] WITH CHECK ADD CONSTRAINT [SHKStateEventAudits_NewProcessState] FOREIGN KEY([NewProcessState]) +REFERENCES [SHKProcessStateEventAudits] ([oid]) +; +ALTER TABLE [SHKStateEventAudits] CHECK CONSTRAINT [SHKStateEventAudits_NewProcessState] +; +ALTER TABLE [SHKStateEventAudits] WITH CHECK ADD CONSTRAINT [SHKStateEventAudits_OldActivityState] FOREIGN KEY([OldActivityState]) +REFERENCES [SHKActivityStateEventAudits] ([oid]) +; +ALTER TABLE [SHKStateEventAudits] CHECK CONSTRAINT [SHKStateEventAudits_OldActivityState] +; +ALTER TABLE [SHKStateEventAudits] WITH CHECK ADD CONSTRAINT [SHKStateEventAudits_OldProcessState] FOREIGN KEY([OldProcessState]) +REFERENCES [SHKProcessStateEventAudits] ([oid]) +; +ALTER TABLE [SHKStateEventAudits] CHECK CONSTRAINT [SHKStateEventAudits_OldProcessState] +; +ALTER TABLE [SHKStateEventAudits] WITH CHECK ADD CONSTRAINT [SHKStateEventAudits_TheType] FOREIGN KEY([TheType]) +REFERENCES [SHKEventTypes] ([oid]) +; +ALTER TABLE [SHKStateEventAudits] CHECK CONSTRAINT [SHKStateEventAudits_TheType] +; +ALTER TABLE [SHKToolAgentAppDetail] WITH CHECK ADD CONSTRAINT [SHKToolAgentAppDetail_TOOLAGENT_APPOID] FOREIGN KEY([TOOLAGENT_APPOID]) +REFERENCES [SHKToolAgentApp] ([oid]) +; +ALTER TABLE [SHKToolAgentAppDetail] CHECK CONSTRAINT [SHKToolAgentAppDetail_TOOLAGENT_APPOID] +; +ALTER TABLE [SHKToolAgentAppDetailUser] WITH CHECK ADD CONSTRAINT [SHKToolAgentAppDetailUser_TOOLAGENT_APPOID] FOREIGN KEY([TOOLAGENT_APPOID]) +REFERENCES [SHKToolAgentAppDetail] ([oid]) +; +ALTER TABLE [SHKToolAgentAppDetailUser] CHECK CONSTRAINT [SHKToolAgentAppDetailUser_TOOLAGENT_APPOID] +; +ALTER TABLE [SHKToolAgentAppDetailUser] WITH CHECK ADD CONSTRAINT [SHKToolAgentAppDetailUser_USEROID] FOREIGN KEY([USEROID]) +REFERENCES [SHKToolAgentUser] ([oid]) +; +ALTER TABLE [SHKToolAgentAppDetailUser] CHECK CONSTRAINT [SHKToolAgentAppDetailUser_USEROID] +; +ALTER TABLE [SHKToolAgentAppUser] WITH CHECK ADD CONSTRAINT [SHKToolAgentAppUser_TOOLAGENT_APPOID] FOREIGN KEY([TOOLAGENT_APPOID]) +REFERENCES [SHKToolAgentApp] ([oid]) +; +ALTER TABLE [SHKToolAgentAppUser] CHECK CONSTRAINT [SHKToolAgentAppUser_TOOLAGENT_APPOID] +; +ALTER TABLE [SHKToolAgentAppUser] WITH CHECK ADD CONSTRAINT [SHKToolAgentAppUser_USEROID] FOREIGN KEY([USEROID]) +REFERENCES [SHKToolAgentUser] ([oid]) +; +ALTER TABLE [SHKToolAgentAppUser] CHECK CONSTRAINT [SHKToolAgentAppUser_USEROID] +; +ALTER TABLE [SHKUserGroupTable] WITH CHECK ADD CONSTRAINT [SHKUserGroupTable_groupid] FOREIGN KEY([groupid]) +REFERENCES [SHKGroupTable] ([oid]) +; +ALTER TABLE [SHKUserGroupTable] CHECK CONSTRAINT [SHKUserGroupTable_groupid] +; +ALTER TABLE [SHKUserGroupTable] WITH CHECK ADD CONSTRAINT [SHKUserGroupTable_userid] FOREIGN KEY([userid]) +REFERENCES [SHKUserTable] ([oid]) +; +ALTER TABLE [SHKUserGroupTable] CHECK CONSTRAINT [SHKUserGroupTable_userid] +; +ALTER TABLE [SHKUserPackLevelPart] WITH CHECK ADD CONSTRAINT [SHKUserPackLevelPart_PARTICIPANTOID] FOREIGN KEY([PARTICIPANTOID]) +REFERENCES [SHKPackLevelParticipant] ([oid]) +; +ALTER TABLE [SHKUserPackLevelPart] CHECK CONSTRAINT [SHKUserPackLevelPart_PARTICIPANTOID] +; +ALTER TABLE [SHKUserPackLevelPart] WITH CHECK ADD CONSTRAINT [SHKUserPackLevelPart_USEROID] FOREIGN KEY([USEROID]) +REFERENCES [SHKNormalUser] ([oid]) +; +ALTER TABLE [SHKUserPackLevelPart] CHECK CONSTRAINT [SHKUserPackLevelPart_USEROID] +; +ALTER TABLE [SHKUserProcLevelParticipant] WITH CHECK ADD CONSTRAINT [SHKUserProcLevelParticipant_PARTICIPANTOID] FOREIGN KEY([PARTICIPANTOID]) +REFERENCES [SHKProcLevelParticipant] ([oid]) +; +ALTER TABLE [SHKUserProcLevelParticipant] CHECK CONSTRAINT [SHKUserProcLevelParticipant_PARTICIPANTOID] +; +ALTER TABLE [SHKUserProcLevelParticipant] WITH CHECK ADD CONSTRAINT [SHKUserProcLevelParticipant_USEROID] FOREIGN KEY([USEROID]) +REFERENCES [SHKNormalUser] ([oid]) +; +ALTER TABLE [SHKUserProcLevelParticipant] CHECK CONSTRAINT [SHKUserProcLevelParticipant_USEROID] +; +ALTER TABLE [SHKXPDLApplicationProcess] WITH CHECK ADD CONSTRAINT [SHKXPDLApplicationProcess_PACKAGEOID] FOREIGN KEY([PACKAGEOID]) +REFERENCES [SHKXPDLApplicationPackage] ([oid]) +; +ALTER TABLE [SHKXPDLApplicationProcess] CHECK CONSTRAINT [SHKXPDLApplicationProcess_PACKAGEOID] +; +ALTER TABLE [SHKXPDLData] WITH CHECK ADD CONSTRAINT [SHKXPDLData_XPDL] FOREIGN KEY([XPDL]) +REFERENCES [SHKXPDLS] ([oid]) +; +ALTER TABLE [SHKXPDLData] CHECK CONSTRAINT [SHKXPDLData_XPDL] +; +ALTER TABLE [SHKXPDLHistoryData] WITH CHECK ADD CONSTRAINT [SHKXPDLHistoryData_XPDLHistory] FOREIGN KEY([XPDLHistory]) +REFERENCES [SHKXPDLHistory] ([oid]) +; +ALTER TABLE [SHKXPDLHistoryData] CHECK CONSTRAINT [SHKXPDLHistoryData_XPDLHistory] +; +ALTER TABLE [SHKXPDLParticipantProcess] WITH CHECK ADD CONSTRAINT [SHKXPDLParticipantProcess_PACKAGEOID] FOREIGN KEY([PACKAGEOID]) +REFERENCES [SHKXPDLParticipantPackage] ([oid]) +; +ALTER TABLE [SHKXPDLParticipantProcess] CHECK CONSTRAINT [SHKXPDLParticipantProcess_PACKAGEOID] +; +ALTER TABLE [SHKXPDLReferences] WITH CHECK ADD CONSTRAINT [SHKXPDLReferences_ReferringXPDL] FOREIGN KEY([ReferringXPDL]) +REFERENCES [SHKXPDLS] ([oid]) +; +ALTER TABLE [SHKXPDLReferences] CHECK CONSTRAINT [SHKXPDLReferences_ReferringXPDL] +; diff --git a/wflow-consoleweb/src/main/resources/setup/sql/jwdb-oracle.sql b/wflow-consoleweb/src/main/resources/setup/sql/jwdb-oracle.sql index 16f77a6672..f7a9371fb8 100644 --- a/wflow-consoleweb/src/main/resources/setup/sql/jwdb-oracle.sql +++ b/wflow-consoleweb/src/main/resources/setup/sql/jwdb-oracle.sql @@ -1,4883 +1,4883 @@ --------------------------------------------------------- --- DDL for Table APP_APP --------------------------------------------------------- - - CREATE TABLE "APP_APP" - ( "APPID" VARCHAR2(255 CHAR), - "APPVERSION" NUMBER(19,0), - "NAME" VARCHAR2(255 CHAR), - "PUBLISHED" NUMBER(1,0), - "DATECREATED" TIMESTAMP (6), - "DATEMODIFIED" TIMESTAMP (6), - "LICENSE" VARCHAR2(4000), - "DESCRIPTION" VARCHAR2(4000), - "META" VARCHAR2(4000) - ) ; - --------------------------------------------------------- --- DDL for Table APP_BUILDER --------------------------------------------------------- - - CREATE TABLE "APP_BUILDER" ( - "APPID" VARCHAR2(255 CHAR), - "APPVERSION" NUMBER(19,0), - "ID" VARCHAR2(255 CHAR), - "NAME" VARCHAR2(255 CHAR), - "TYPE" VARCHAR2(255 CHAR), - "DESCRIPTION" CLOB, - "JSON" CLOB, - "DATECREATED" TIMESTAMP (6), - "DATEMODIFIED" TIMESTAMP (6) - ) ; - --------------------------------------------------------- --- DDL for Table APP_DATALIST --------------------------------------------------------- - - CREATE TABLE "APP_DATALIST" - ( "APPID" VARCHAR2(255 CHAR), - "APPVERSION" NUMBER(19,0), - "ID" VARCHAR2(255 CHAR), - "NAME" VARCHAR2(255 CHAR), - "DESCRIPTION" CLOB, - "JSON" CLOB, - "DATECREATED" TIMESTAMP (6), - "DATEMODIFIED" TIMESTAMP (6) - ) ; --------------------------------------------------------- --- DDL for Table APP_ENV_VARIABLE --------------------------------------------------------- - - CREATE TABLE "APP_ENV_VARIABLE" - ( "APPID" VARCHAR2(255 CHAR), - "APPVERSION" NUMBER(19,0), - "ID" VARCHAR2(255 CHAR), - "VALUE" CLOB, - "REMARKS" CLOB - ) ; --------------------------------------------------------- --- DDL for Table APP_FD --------------------------------------------------------- - - CREATE TABLE "APP_FD" - ( "ID" VARCHAR2(255 CHAR), - "DATECREATED" TIMESTAMP (6), - "DATEMODIFIED" TIMESTAMP (6) - ) ; --------------------------------------------------------- --- DDL for Table APP_FORM --------------------------------------------------------- - - CREATE TABLE "APP_FORM" - ( "APPID" VARCHAR2(255 CHAR), - "APPVERSION" NUMBER(19,0), - "FORMID" VARCHAR2(255 CHAR), - "NAME" VARCHAR2(255 CHAR), - "DATECREATED" TIMESTAMP (6), - "DATEMODIFIED" TIMESTAMP (6), - "TABLENAME" VARCHAR2(255 CHAR), - "JSON" CLOB, - "DESCRIPTION" VARCHAR2(4000) - ) ; --------------------------------------------------------- --- DDL for Table APP_FORM_DATA_AUDIT_TRAIL --------------------------------------------------------- - - CREATE TABLE "APP_FORM_DATA_AUDIT_TRAIL" - ( "ID" VARCHAR2(255 CHAR), - "APPID" VARCHAR2(255 CHAR), - "APPVERSION" VARCHAR2(255 CHAR), - "FORMID" VARCHAR2(255 CHAR), - "TABLENAME" VARCHAR2(255 CHAR), - "USERNAME" VARCHAR2(255 CHAR), - "ACTION" VARCHAR2(255 CHAR), - "DATA" VARCHAR2(4000), - "DATETIME" TIMESTAMP (6) - ) ; --------------------------------------------------------- --- DDL for Table APP_MESSAGE --------------------------------------------------------- - - CREATE TABLE "APP_MESSAGE" - ( "APPID" VARCHAR2(255 CHAR), - "APPVERSION" NUMBER(19,0), - "OUID" VARCHAR2(255 CHAR), - "MESSAGEKEY" VARCHAR2(255 CHAR), - "LOCALE" VARCHAR2(255 CHAR), - "MESSAGE" CLOB - ) ; --------------------------------------------------------- --- DDL for Table APP_PACKAGE --------------------------------------------------------- - - CREATE TABLE "APP_PACKAGE" - ( "PACKAGEID" VARCHAR2(255 CHAR), - "PACKAGEVERSION" NUMBER(19,0), - "NAME" VARCHAR2(255 CHAR), - "DATECREATED" TIMESTAMP (6), - "DATEMODIFIED" TIMESTAMP (6), - "APPID" VARCHAR2(255 CHAR), - "APPVERSION" NUMBER(19,0) - ) ; --------------------------------------------------------- --- DDL for Table APP_PACKAGE_ACTIVITY_FORM --------------------------------------------------------- - - CREATE TABLE "APP_PACKAGE_ACTIVITY_FORM" - ( "PROCESSDEFID" VARCHAR2(255 CHAR), - "ACTIVITYDEFID" VARCHAR2(255 CHAR), - "PACKAGEID" VARCHAR2(255 CHAR), - "PACKAGEVERSION" NUMBER(19,0), - "OUID" VARCHAR2(255 CHAR), - "TYPE" VARCHAR2(255 CHAR), - "FORMID" VARCHAR2(255 CHAR), - "FORMURL" VARCHAR2(255 CHAR), - "FORMIFRAMESTYLE" VARCHAR2(255 CHAR), - "AUTOCONTINUE" NUMBER(1,0), - "DISABLESAVEASDRAFT" NUMBER(1,0) - ) ; --------------------------------------------------------- --- DDL for Table APP_PACKAGE_ACTIVITY_PLUGIN --------------------------------------------------------- - - CREATE TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" - ( "PROCESSDEFID" VARCHAR2(255 CHAR), - "ACTIVITYDEFID" VARCHAR2(255 CHAR), - "PACKAGEID" VARCHAR2(255 CHAR), - "PACKAGEVERSION" NUMBER(19,0), - "OUID" VARCHAR2(255 CHAR), - "PLUGINNAME" VARCHAR2(255 CHAR), - "PLUGINPROPERTIES" CLOB - ) ; --------------------------------------------------------- --- DDL for Table APP_PACKAGE_PARTICIPANT --------------------------------------------------------- - - CREATE TABLE "APP_PACKAGE_PARTICIPANT" - ( "PROCESSDEFID" VARCHAR2(255 CHAR), - "PARTICIPANTID" VARCHAR2(255 CHAR), - "PACKAGEID" VARCHAR2(255 CHAR), - "PACKAGEVERSION" NUMBER(19,0), - "OUID" VARCHAR2(255 CHAR), - "TYPE" VARCHAR2(255 CHAR), - "VALUE" CLOB, - "PLUGINPROPERTIES" CLOB - ) ; --------------------------------------------------------- --- DDL for Table APP_PLUGIN_DEFAULT --------------------------------------------------------- - - CREATE TABLE "APP_PLUGIN_DEFAULT" - ( "APPID" VARCHAR2(255 CHAR), - "APPVERSION" NUMBER(19,0), - "ID" VARCHAR2(255 CHAR), - "PLUGINNAME" VARCHAR2(255 CHAR), - "PLUGINDESCRIPTION" CLOB, - "PLUGINPROPERTIES" CLOB - ) ; --------------------------------------------------------- --- DDL for Table APP_REPORT_ACTIVITY --------------------------------------------------------- - - CREATE TABLE "APP_REPORT_ACTIVITY" - ( "UUID" VARCHAR2(255 CHAR), - "ACTIVITYDEFID" VARCHAR2(255 CHAR), - "ACTIVITYNAME" VARCHAR2(255 CHAR), - "PROCESSUID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table APP_REPORT_ACTIVITY_INSTANCE --------------------------------------------------------- - - CREATE TABLE "APP_REPORT_ACTIVITY_INSTANCE" - ( "INSTANCEID" VARCHAR2(255 CHAR), - "PERFORMER" VARCHAR2(255 CHAR), - "STATE" VARCHAR2(255 CHAR), - "STATUS" VARCHAR2(255 CHAR), - "NAMEOFACCEPTEDUSER" VARCHAR2(255 CHAR), - "ASSIGNMENTUSERS" CLOB, - "DUE" TIMESTAMP (6), - "CREATEDTIME" TIMESTAMP (6), - "STARTEDTIME" TIMESTAMP (6), - "FINISHTIME" TIMESTAMP (6), - "DELAY" NUMBER(19,0), - "TIMECONSUMINGFROMCREATEDTIME" NUMBER(19,0), - "TIMECONSUMINGFROMSTARTEDTIME" NUMBER(19,0), - "ACTIVITYUID" VARCHAR2(255 CHAR), - "PROCESSINSTANCEID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table APP_REPORT_APP --------------------------------------------------------- - - CREATE TABLE "APP_REPORT_APP" - ( "UUID" VARCHAR2(255 CHAR), - "APPID" VARCHAR2(255 CHAR), - "APPVERSION" VARCHAR2(255 CHAR), - "APPNAME" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table APP_REPORT_PACKAGE --------------------------------------------------------- - - CREATE TABLE "APP_REPORT_PACKAGE" - ( "UUID" VARCHAR2(255 CHAR), - "PACKAGEID" VARCHAR2(255 CHAR), - "PACKAGENAME" VARCHAR2(255 CHAR), - "PACKAGEVERSION" VARCHAR2(255 CHAR), - "APPUID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table APP_REPORT_PROCESS --------------------------------------------------------- - - CREATE TABLE "APP_REPORT_PROCESS" - ( "UUID" VARCHAR2(255 CHAR), - "PROCESSDEFID" VARCHAR2(255 CHAR), - "PROCESSNAME" VARCHAR2(255 CHAR), - "PACKAGEUID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table APP_REPORT_PROCESS_INSTANCE --------------------------------------------------------- - - CREATE TABLE "APP_REPORT_PROCESS_INSTANCE" - ( "INSTANCEID" VARCHAR2(255 CHAR), - "REQUESTER" VARCHAR2(255 CHAR), - "STATE" VARCHAR2(255 CHAR), - "DUE" TIMESTAMP (6), - "STARTEDTIME" TIMESTAMP (6), - "FINISHTIME" TIMESTAMP (6), - "DELAY" NUMBER(19,0), - "TIMECONSUMINGFROMSTARTEDTIME" NUMBER(19,0), - "PROCESSUID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table APP_RESOURCE --------------------------------------------------------- - - CREATE TABLE "APP_RESOURCE" - ( "APPID" VARCHAR2(255 CHAR), - "APPVERSION" NUMBER(19,0), - "ID" VARCHAR2(255 CHAR), - "FILESIZE" NUMBER(19,0), - "PERMISSIONCLASS" VARCHAR2(255 CHAR), - "PERMISSIONPROPERTIES" VARCHAR2(4000) - ) ; --------------------------------------------------------- --- DDL for Table APP_USERVIEW --------------------------------------------------------- - - CREATE TABLE "APP_USERVIEW" - ( "APPID" VARCHAR2(255 CHAR), - "APPVERSION" NUMBER(19,0), - "ID" VARCHAR2(255 CHAR), - "NAME" VARCHAR2(255 CHAR), - "DESCRIPTION" CLOB, - "JSON" CLOB, - "DATECREATED" TIMESTAMP (6), - "DATEMODIFIED" TIMESTAMP (6) - ) ; --------------------------------------------------------- --- DDL for Table DIR_DEPARTMENT --------------------------------------------------------- - - CREATE TABLE "DIR_DEPARTMENT" - ( "ID" VARCHAR2(255 CHAR), - "NAME" VARCHAR2(255 CHAR), - "DESCRIPTION" VARCHAR2(255 CHAR), - "ORGANIZATIONID" VARCHAR2(255 CHAR), - "HOD" VARCHAR2(255 CHAR), - "PARENTID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table DIR_EMPLOYMENT --------------------------------------------------------- - - CREATE TABLE "DIR_EMPLOYMENT" - ( "ID" VARCHAR2(255 CHAR), - "USERID" VARCHAR2(255 CHAR), - "STARTDATE" DATE, - "ENDDATE" DATE, - "EMPLOYEECODE" VARCHAR2(255 CHAR), - "ROLE" VARCHAR2(255 CHAR), - "GRADEID" VARCHAR2(255 CHAR), - "DEPARTMENTID" VARCHAR2(255 CHAR), - "ORGANIZATIONID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table DIR_EMPLOYMENT_REPORT_TO --------------------------------------------------------- - - CREATE TABLE "DIR_EMPLOYMENT_REPORT_TO" - ( "ID" VARCHAR2(255 CHAR), - "EMPLOYMENTID" VARCHAR2(255 CHAR), - "REPORTTOID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table DIR_GRADE --------------------------------------------------------- - - CREATE TABLE "DIR_GRADE" - ( "ID" VARCHAR2(255 CHAR), - "NAME" VARCHAR2(255 CHAR), - "DESCRIPTION" VARCHAR2(255 CHAR), - "ORGANIZATIONID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table DIR_GROUP --------------------------------------------------------- - - CREATE TABLE "DIR_GROUP" - ( "ID" VARCHAR2(255 CHAR), - "NAME" VARCHAR2(255 CHAR), - "DESCRIPTION" VARCHAR2(255 CHAR), - "ORGANIZATIONID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table DIR_ORGANIZATION --------------------------------------------------------- - - CREATE TABLE "DIR_ORGANIZATION" - ( "ID" VARCHAR2(255 CHAR), - "NAME" VARCHAR2(255 CHAR), - "DESCRIPTION" VARCHAR2(255 CHAR), - "PARENTID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table DIR_ROLE --------------------------------------------------------- - - CREATE TABLE "DIR_ROLE" - ( "ID" VARCHAR2(255 CHAR), - "NAME" VARCHAR2(255 CHAR), - "DESCRIPTION" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table DIR_USER --------------------------------------------------------- - - CREATE TABLE "DIR_USER" - ( "ID" VARCHAR2(255 CHAR), - "USERNAME" VARCHAR2(255 CHAR), - "PASSWORD" VARCHAR2(255 CHAR), - "FIRSTNAME" VARCHAR2(255 CHAR), - "LASTNAME" VARCHAR2(255 CHAR), - "EMAIL" VARCHAR2(255 CHAR), - "TIMEZONE" VARCHAR2(255 CHAR), - "LOCALE" VARCHAR2(255 CHAR), - "ACTIVE" NUMBER(10,0) - ) ; --------------------------------------------------------- --- DDL for Table DIR_USER_EXTRA --------------------------------------------------------- - - CREATE TABLE "DIR_USER_EXTRA" - ( "USERNAME" VARCHAR2(255 CHAR), - "ALGORITHM" VARCHAR2(255 CHAR), - "LOGINATTEMPT" NUMBER(10,0), - "FAILEDLOGINATTEMPT" NUMBER(10,0), - "LASTLOGEDINDATE" TIMESTAMP (6), - "LOCKOUTDATE" TIMESTAMP (6), - "LASTPASSWORDCHANGEDATE" TIMESTAMP (6), - "REQUIREDPASSWORDCHANGE" NUMBER(10,0), - "NOPASSWORDEXPIRATION" NUMBER(10,0) - ) ; --------------------------------------------------------- --- DDL for Table DIR_USER_GROUP --------------------------------------------------------- - - CREATE TABLE "DIR_USER_GROUP" - ( "GROUPID" VARCHAR2(255 CHAR), - "USERID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table DIR_USER_META --------------------------------------------------------- - - CREATE TABLE "DIR_USER_META" - ( "USERNAME" VARCHAR2(255 CHAR), - "META_KEY" VARCHAR2(255 CHAR), - "META_VALUE" VARCHAR2(4000) - ) ; --------------------------------------------------------- --- DDL for Table DIR_USER_PASSWORD_HISTORY --------------------------------------------------------- - - CREATE TABLE "DIR_USER_PASSWORD_HISTORY" - ( "ID" VARCHAR2(255 CHAR), - "USERNAME" VARCHAR2(255 CHAR), - "SALT" VARCHAR2(255 CHAR), - "PASSWORD" VARCHAR2(255 CHAR), - "UPDATEDDATE" TIMESTAMP (6) - ) ; --------------------------------------------------------- --- DDL for Table DIR_USER_REPLACEMENT --------------------------------------------------------- - - CREATE TABLE "DIR_USER_REPLACEMENT" - ( "ID" VARCHAR2(255 CHAR), - "USERNAME" VARCHAR2(255 CHAR), - "REPLACEMENTUSER" VARCHAR2(255 CHAR), - "APPID" VARCHAR2(255 CHAR), - "PROCESSIDS" VARCHAR2(255 CHAR), - "STARTDATE" TIMESTAMP (6), - "ENDDATE" TIMESTAMP (6) - ) ; --------------------------------------------------------- --- DDL for Table DIR_USER_ROLE --------------------------------------------------------- - - CREATE TABLE "DIR_USER_ROLE" - ( "ROLEID" VARCHAR2(255 CHAR), - "USERID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table OBJECTID --------------------------------------------------------- - - CREATE TABLE "OBJECTID" - ( "NEXTOID" NUMBER(19,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKACTIVITIES --------------------------------------------------------- - - CREATE TABLE "SHKACTIVITIES" - ( "ID" VARCHAR2(100), - "ACTIVITYSETDEFINITIONID" VARCHAR2(90), - "ACTIVITYDEFINITIONID" VARCHAR2(90), - "PROCESS" NUMBER(19,0), - "THERESOURCE" NUMBER(19,0), - "PDEFNAME" VARCHAR2(200), - "PROCESSID" VARCHAR2(200), - "RESOURCEID" VARCHAR2(100), - "STATE" NUMBER(19,0), - "BLOCKACTIVITYID" VARCHAR2(100), - "PERFORMER" VARCHAR2(100), - "ISPERFORMERASYNCHRONOUS" NUMBER(22,0), - "PRIORITY" NUMBER(22,0), - "NAME" VARCHAR2(254), - "ACTIVATED" NUMBER(22,0), - "ACTIVATEDTZO" NUMBER(22,0), - "ACCEPTED" NUMBER(22,0), - "ACCEPTEDTZO" NUMBER(22,0), - "LASTSTATETIME" NUMBER(22,0), - "LASTSTATETIMETZO" NUMBER(22,0), - "LIMITTIME" NUMBER(22,0), - "LIMITTIMETZO" NUMBER(22,0), - "DESCRIPTION" VARCHAR2(254), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKACTIVITYDATA --------------------------------------------------------- - - CREATE TABLE "SHKACTIVITYDATA" - ( "ACTIVITY" NUMBER(19,0), - "VARIABLEDEFINITIONID" VARCHAR2(100), - "VARIABLETYPE" NUMBER(22,0), - "VARIABLEVALUE" BLOB, - "VARIABLEVALUEXML" VARCHAR2(4000), - "VARIABLEVALUEVCHAR" VARCHAR2(4000), - "VARIABLEVALUEDBL" NUMBER(22,0), - "VARIABLEVALUELONG" NUMBER(22,0), - "VARIABLEVALUEDATE" DATE, - "VARIABLEVALUEBOOL" NUMBER(22,0), - "ISRESULT" NUMBER(22,0), - "ORDNO" NUMBER(22,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKACTIVITYDATABLOBS --------------------------------------------------------- - - CREATE TABLE "SHKACTIVITYDATABLOBS" - ( "ACTIVITYDATAWOB" NUMBER(19,0), - "VARIABLEVALUE" BLOB, - "ORDNO" NUMBER(22,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKACTIVITYDATAWOB --------------------------------------------------------- - - CREATE TABLE "SHKACTIVITYDATAWOB" - ( "ACTIVITY" NUMBER(19,0), - "VARIABLEDEFINITIONID" VARCHAR2(100), - "VARIABLETYPE" NUMBER(22,0), - "VARIABLEVALUEXML" VARCHAR2(4000), - "VARIABLEVALUEVCHAR" VARCHAR2(4000), - "VARIABLEVALUEDBL" NUMBER(22,0), - "VARIABLEVALUELONG" NUMBER(22,0), - "VARIABLEVALUEDATE" DATE, - "VARIABLEVALUEBOOL" NUMBER(22,0), - "ISRESULT" NUMBER(22,0), - "ORDNO" NUMBER(22,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKACTIVITYSTATEEVENTAUDITS --------------------------------------------------------- - - CREATE TABLE "SHKACTIVITYSTATEEVENTAUDITS" - ( "KEYVALUE" VARCHAR2(30), - "NAME" VARCHAR2(50), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKACTIVITYSTATES --------------------------------------------------------- - - CREATE TABLE "SHKACTIVITYSTATES" - ( "KEYVALUE" VARCHAR2(30), - "NAME" VARCHAR2(50), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKANDJOINTABLE --------------------------------------------------------- - - CREATE TABLE "SHKANDJOINTABLE" - ( "PROCESS" NUMBER(19,0), - "BLOCKACTIVITY" NUMBER(19,0), - "ACTIVITYDEFINITIONID" VARCHAR2(90), - "ACTIVITY" NUMBER(19,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKASSIGNMENTEVENTAUDITS --------------------------------------------------------- - - CREATE TABLE "SHKASSIGNMENTEVENTAUDITS" - ( "RECORDEDTIME" NUMBER(22,0), - "RECORDEDTIMETZO" NUMBER(22,0), - "THEUSERNAME" VARCHAR2(100), - "THETYPE" NUMBER(19,0), - "ACTIVITYID" VARCHAR2(100), - "ACTIVITYNAME" VARCHAR2(254), - "PROCESSID" VARCHAR2(100), - "PROCESSNAME" VARCHAR2(254), - "PROCESSFACTORYNAME" VARCHAR2(200), - "PROCESSFACTORYVERSION" VARCHAR2(20), - "ACTIVITYDEFINITIONID" VARCHAR2(90), - "ACTIVITYDEFINITIONNAME" VARCHAR2(90), - "ACTIVITYDEFINITIONTYPE" NUMBER(22,0), - "PROCESSDEFINITIONID" VARCHAR2(90), - "PROCESSDEFINITIONNAME" VARCHAR2(90), - "PACKAGEID" VARCHAR2(90), - "OLDRESOURCEUSERNAME" VARCHAR2(100), - "OLDRESOURCENAME" VARCHAR2(100), - "NEWRESOURCEUSERNAME" VARCHAR2(100), - "NEWRESOURCENAME" VARCHAR2(100), - "ISACCEPTED" NUMBER(22,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKASSIGNMENTSTABLE --------------------------------------------------------- - - CREATE TABLE "SHKASSIGNMENTSTABLE" - ( "ACTIVITY" NUMBER(19,0), - "THERESOURCE" NUMBER(19,0), - "ACTIVITYID" VARCHAR2(100), - "ACTIVITYPROCESSID" VARCHAR2(100), - "ACTIVITYPROCESSDEFNAME" VARCHAR2(200), - "RESOURCEID" VARCHAR2(100), - "ISACCEPTED" NUMBER(22,0), - "ISVALID" NUMBER(22,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKCOUNTERS --------------------------------------------------------- - - CREATE TABLE "SHKCOUNTERS" - ( "NAME" VARCHAR2(100), - "THE_NUMBER" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKCREATEPROCESSEVENTAUDITS --------------------------------------------------------- - - CREATE TABLE "SHKCREATEPROCESSEVENTAUDITS" - ( "RECORDEDTIME" NUMBER(22,0), - "RECORDEDTIMETZO" NUMBER(22,0), - "THEUSERNAME" VARCHAR2(100), - "THETYPE" NUMBER(19,0), - "PROCESSID" VARCHAR2(100), - "PROCESSNAME" VARCHAR2(254), - "PROCESSFACTORYNAME" VARCHAR2(200), - "PROCESSFACTORYVERSION" VARCHAR2(20), - "PROCESSDEFINITIONID" VARCHAR2(90), - "PROCESSDEFINITIONNAME" VARCHAR2(90), - "PACKAGEID" VARCHAR2(90), - "PACTIVITYID" VARCHAR2(100), - "PPROCESSID" VARCHAR2(100), - "PPROCESSNAME" VARCHAR2(254), - "PPROCESSFACTORYNAME" VARCHAR2(200), - "PPROCESSFACTORYVERSION" VARCHAR2(20), - "PACTIVITYDEFINITIONID" VARCHAR2(90), - "PACTIVITYDEFINITIONNAME" VARCHAR2(90), - "PPROCESSDEFINITIONID" VARCHAR2(90), - "PPROCESSDEFINITIONNAME" VARCHAR2(90), - "PPACKAGEID" VARCHAR2(90), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKDATAEVENTAUDITS --------------------------------------------------------- - - CREATE TABLE "SHKDATAEVENTAUDITS" - ( "RECORDEDTIME" NUMBER(22,0), - "RECORDEDTIMETZO" NUMBER(22,0), - "THEUSERNAME" VARCHAR2(100), - "THETYPE" NUMBER(19,0), - "ACTIVITYID" VARCHAR2(100), - "ACTIVITYNAME" VARCHAR2(254), - "PROCESSID" VARCHAR2(100), - "PROCESSNAME" VARCHAR2(254), - "PROCESSFACTORYNAME" VARCHAR2(200), - "PROCESSFACTORYVERSION" VARCHAR2(20), - "ACTIVITYDEFINITIONID" VARCHAR2(90), - "ACTIVITYDEFINITIONNAME" VARCHAR2(90), - "ACTIVITYDEFINITIONTYPE" NUMBER(22,0), - "PROCESSDEFINITIONID" VARCHAR2(90), - "PROCESSDEFINITIONNAME" VARCHAR2(90), - "PACKAGEID" VARCHAR2(90), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKDEADLINES --------------------------------------------------------- - - CREATE TABLE "SHKDEADLINES" - ( "PROCESS" NUMBER(19,0), - "ACTIVITY" NUMBER(19,0), - "CNT" NUMBER(19,0), - "TIMELIMIT" NUMBER(22,0), - "TIMELIMITTZO" NUMBER(22,0), - "EXCEPTIONNAME" VARCHAR2(100), - "ISSYNCHRONOUS" NUMBER(22,0), - "ISEXECUTED" NUMBER(22,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKEVENTTYPES --------------------------------------------------------- - - CREATE TABLE "SHKEVENTTYPES" - ( "KEYVALUE" VARCHAR2(30), - "NAME" VARCHAR2(50), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKGROUPGROUPTABLE --------------------------------------------------------- - - CREATE TABLE "SHKGROUPGROUPTABLE" - ( "SUB_GID" NUMBER(19,0), - "GROUPID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKGROUPTABLE --------------------------------------------------------- - - CREATE TABLE "SHKGROUPTABLE" - ( "GROUPID" VARCHAR2(100), - "DESCRIPTION" VARCHAR2(254), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKGROUPUSER --------------------------------------------------------- - - CREATE TABLE "SHKGROUPUSER" - ( "USERNAME" VARCHAR2(100), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKGROUPUSERPACKLEVELPART --------------------------------------------------------- - - CREATE TABLE "SHKGROUPUSERPACKLEVELPART" - ( "PARTICIPANTOID" NUMBER(19,0), - "USEROID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKGROUPUSERPROCLEVELPART --------------------------------------------------------- - - CREATE TABLE "SHKGROUPUSERPROCLEVELPART" - ( "PARTICIPANTOID" NUMBER(19,0), - "USEROID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKNEWEVENTAUDITDATA --------------------------------------------------------- - - CREATE TABLE "SHKNEWEVENTAUDITDATA" - ( "DATAEVENTAUDIT" NUMBER(19,0), - "VARIABLEDEFINITIONID" VARCHAR2(100), - "VARIABLETYPE" NUMBER(22,0), - "VARIABLEVALUE" BLOB, - "VARIABLEVALUEXML" VARCHAR2(4000), - "VARIABLEVALUEVCHAR" VARCHAR2(4000), - "VARIABLEVALUEDBL" NUMBER(22,0), - "VARIABLEVALUELONG" NUMBER(22,0), - "VARIABLEVALUEDATE" DATE, - "VARIABLEVALUEBOOL" NUMBER(22,0), - "ORDNO" NUMBER(22,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKNEWEVENTAUDITDATABLOBS --------------------------------------------------------- - - CREATE TABLE "SHKNEWEVENTAUDITDATABLOBS" - ( "NEWEVENTAUDITDATAWOB" NUMBER(19,0), - "VARIABLEVALUE" BLOB, - "ORDNO" NUMBER(22,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKNEWEVENTAUDITDATAWOB --------------------------------------------------------- - - CREATE TABLE "SHKNEWEVENTAUDITDATAWOB" - ( "DATAEVENTAUDIT" NUMBER(19,0), - "VARIABLEDEFINITIONID" VARCHAR2(100), - "VARIABLETYPE" NUMBER(22,0), - "VARIABLEVALUEXML" VARCHAR2(4000), - "VARIABLEVALUEVCHAR" VARCHAR2(4000), - "VARIABLEVALUEDBL" NUMBER(22,0), - "VARIABLEVALUELONG" NUMBER(22,0), - "VARIABLEVALUEDATE" DATE, - "VARIABLEVALUEBOOL" NUMBER(22,0), - "ORDNO" NUMBER(22,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKNEXTXPDLVERSIONS --------------------------------------------------------- - - CREATE TABLE "SHKNEXTXPDLVERSIONS" - ( "XPDLID" VARCHAR2(90), - "NEXTVERSION" VARCHAR2(20), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKNORMALUSER --------------------------------------------------------- - - CREATE TABLE "SHKNORMALUSER" - ( "USERNAME" VARCHAR2(100), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKOLDEVENTAUDITDATA --------------------------------------------------------- - - CREATE TABLE "SHKOLDEVENTAUDITDATA" - ( "DATAEVENTAUDIT" NUMBER(19,0), - "VARIABLEDEFINITIONID" VARCHAR2(100), - "VARIABLETYPE" NUMBER(22,0), - "VARIABLEVALUE" BLOB, - "VARIABLEVALUEXML" VARCHAR2(4000), - "VARIABLEVALUEVCHAR" VARCHAR2(4000), - "VARIABLEVALUEDBL" NUMBER(22,0), - "VARIABLEVALUELONG" NUMBER(22,0), - "VARIABLEVALUEDATE" DATE, - "VARIABLEVALUEBOOL" NUMBER(22,0), - "ORDNO" NUMBER(22,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKOLDEVENTAUDITDATABLOBS --------------------------------------------------------- - - CREATE TABLE "SHKOLDEVENTAUDITDATABLOBS" - ( "OLDEVENTAUDITDATAWOB" NUMBER(19,0), - "VARIABLEVALUE" BLOB, - "ORDNO" NUMBER(22,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKOLDEVENTAUDITDATAWOB --------------------------------------------------------- - - CREATE TABLE "SHKOLDEVENTAUDITDATAWOB" - ( "DATAEVENTAUDIT" NUMBER(19,0), - "VARIABLEDEFINITIONID" VARCHAR2(100), - "VARIABLETYPE" NUMBER(22,0), - "VARIABLEVALUEXML" VARCHAR2(4000), - "VARIABLEVALUEVCHAR" VARCHAR2(4000), - "VARIABLEVALUEDBL" NUMBER(22,0), - "VARIABLEVALUELONG" NUMBER(22,0), - "VARIABLEVALUEDATE" DATE, - "VARIABLEVALUEBOOL" NUMBER(22,0), - "ORDNO" NUMBER(22,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPACKLEVELPARTICIPANT --------------------------------------------------------- - - CREATE TABLE "SHKPACKLEVELPARTICIPANT" - ( "PARTICIPANT_ID" VARCHAR2(90), - "PACKAGEOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPACKLEVELXPDLAPP --------------------------------------------------------- - - CREATE TABLE "SHKPACKLEVELXPDLAPP" - ( "APPLICATION_ID" VARCHAR2(90), - "PACKAGEOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPACKLEVELXPDLAPPTAAPPDETAIL --------------------------------------------------------- - - CREATE TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" - ( "XPDL_APPOID" NUMBER(19,0), - "TOOLAGENTOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPACKLEVELXPDLAPPTAAPPDETUSR --------------------------------------------------------- - - CREATE TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" - ( "XPDL_APPOID" NUMBER(19,0), - "TOOLAGENTOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPACKLEVELXPDLAPPTAAPPUSER --------------------------------------------------------- - - CREATE TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" - ( "XPDL_APPOID" NUMBER(19,0), - "TOOLAGENTOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPACKLEVELXPDLAPPTOOLAGNTAPP --------------------------------------------------------- - - CREATE TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" - ( "XPDL_APPOID" NUMBER(19,0), - "TOOLAGENTOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCESSDATA --------------------------------------------------------- - - CREATE TABLE "SHKPROCESSDATA" - ( "PROCESS" NUMBER(19,0), - "VARIABLEDEFINITIONID" VARCHAR2(100), - "VARIABLETYPE" NUMBER(22,0), - "VARIABLEVALUE" BLOB, - "VARIABLEVALUEXML" VARCHAR2(4000), - "VARIABLEVALUEVCHAR" VARCHAR2(4000), - "VARIABLEVALUEDBL" NUMBER(22,0), - "VARIABLEVALUELONG" NUMBER(22,0), - "VARIABLEVALUEDATE" DATE, - "VARIABLEVALUEBOOL" NUMBER(22,0), - "ORDNO" NUMBER(22,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCESSDATABLOBS --------------------------------------------------------- - - CREATE TABLE "SHKPROCESSDATABLOBS" - ( "PROCESSDATAWOB" NUMBER(19,0), - "VARIABLEVALUE" BLOB, - "ORDNO" NUMBER(22,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCESSDATAWOB --------------------------------------------------------- - - CREATE TABLE "SHKPROCESSDATAWOB" - ( "PROCESS" NUMBER(19,0), - "VARIABLEDEFINITIONID" VARCHAR2(100), - "VARIABLETYPE" NUMBER(22,0), - "VARIABLEVALUEXML" VARCHAR2(4000), - "VARIABLEVALUEVCHAR" VARCHAR2(4000), - "VARIABLEVALUEDBL" NUMBER(22,0), - "VARIABLEVALUELONG" NUMBER(22,0), - "VARIABLEVALUEDATE" DATE, - "VARIABLEVALUEBOOL" NUMBER(22,0), - "ORDNO" NUMBER(22,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCESSDEFINITIONS --------------------------------------------------------- - - CREATE TABLE "SHKPROCESSDEFINITIONS" - ( "NAME" VARCHAR2(200), - "PACKAGEID" VARCHAR2(90), - "PROCESSDEFINITIONID" VARCHAR2(90), - "PROCESSDEFINITIONCREATED" NUMBER(22,0), - "PROCESSDEFINITIONVERSION" VARCHAR2(20), - "STATE" NUMBER(22,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCESSES --------------------------------------------------------- - - CREATE TABLE "SHKPROCESSES" - ( "SYNCVERSION" NUMBER(22,0), - "ID" VARCHAR2(100), - "PROCESSDEFINITION" NUMBER(19,0), - "PDEFNAME" VARCHAR2(200), - "ACTIVITYREQUESTERID" VARCHAR2(100), - "ACTIVITYREQUESTERPROCESSID" VARCHAR2(100), - "RESOURCEREQUESTERID" VARCHAR2(100), - "EXTERNALREQUESTERCLASSNAME" VARCHAR2(254), - "STATE" NUMBER(19,0), - "PRIORITY" NUMBER(22,0), - "NAME" VARCHAR2(254), - "CREATED" NUMBER(22,0), - "CREATEDTZO" NUMBER(22,0), - "STARTED" NUMBER(22,0), - "STARTEDTZO" NUMBER(22,0), - "LASTSTATETIME" NUMBER(22,0), - "LASTSTATETIMETZO" NUMBER(22,0), - "LIMITTIME" NUMBER(22,0), - "LIMITTIMETZO" NUMBER(22,0), - "DESCRIPTION" VARCHAR2(254), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCESSREQUESTERS --------------------------------------------------------- - - CREATE TABLE "SHKPROCESSREQUESTERS" - ( "ID" VARCHAR2(100), - "ACTIVITYREQUESTER" NUMBER(19,0), - "RESOURCEREQUESTER" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCESSSTATEEVENTAUDITS --------------------------------------------------------- - - CREATE TABLE "SHKPROCESSSTATEEVENTAUDITS" - ( "KEYVALUE" VARCHAR2(30), - "NAME" VARCHAR2(50), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCESSSTATES --------------------------------------------------------- - - CREATE TABLE "SHKPROCESSSTATES" - ( "KEYVALUE" VARCHAR2(30), - "NAME" VARCHAR2(50), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCLEVELPARTICIPANT --------------------------------------------------------- - - CREATE TABLE "SHKPROCLEVELPARTICIPANT" - ( "PARTICIPANT_ID" VARCHAR2(90), - "PROCESSOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCLEVELXPDLAPP --------------------------------------------------------- - - CREATE TABLE "SHKPROCLEVELXPDLAPP" - ( "APPLICATION_ID" VARCHAR2(90), - "PROCESSOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCLEVELXPDLAPPTAAPPDETAIL --------------------------------------------------------- - - CREATE TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" - ( "XPDL_APPOID" NUMBER(19,0), - "TOOLAGENTOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCLEVELXPDLAPPTAAPPDETUSR --------------------------------------------------------- - - CREATE TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" - ( "XPDL_APPOID" NUMBER(19,0), - "TOOLAGENTOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCLEVELXPDLAPPTAAPPUSER --------------------------------------------------------- - - CREATE TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" - ( "XPDL_APPOID" NUMBER(19,0), - "TOOLAGENTOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKPROCLEVELXPDLAPPTOOLAGNTAPP --------------------------------------------------------- - - CREATE TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" - ( "XPDL_APPOID" NUMBER(19,0), - "TOOLAGENTOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKRESOURCESTABLE --------------------------------------------------------- - - CREATE TABLE "SHKRESOURCESTABLE" - ( "USERNAME" VARCHAR2(100), - "NAME" VARCHAR2(100), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKSTATEEVENTAUDITS --------------------------------------------------------- - - CREATE TABLE "SHKSTATEEVENTAUDITS" - ( "RECORDEDTIME" NUMBER(22,0), - "RECORDEDTIMETZO" NUMBER(22,0), - "THEUSERNAME" VARCHAR2(100), - "THETYPE" NUMBER(19,0), - "ACTIVITYID" VARCHAR2(100), - "ACTIVITYNAME" VARCHAR2(254), - "PROCESSID" VARCHAR2(100), - "PROCESSNAME" VARCHAR2(254), - "PROCESSFACTORYNAME" VARCHAR2(200), - "PROCESSFACTORYVERSION" VARCHAR2(20), - "ACTIVITYDEFINITIONID" VARCHAR2(90), - "ACTIVITYDEFINITIONNAME" VARCHAR2(90), - "ACTIVITYDEFINITIONTYPE" NUMBER(22,0), - "PROCESSDEFINITIONID" VARCHAR2(90), - "PROCESSDEFINITIONNAME" VARCHAR2(90), - "PACKAGEID" VARCHAR2(90), - "OLDPROCESSSTATE" NUMBER(19,0), - "NEWPROCESSSTATE" NUMBER(19,0), - "OLDACTIVITYSTATE" NUMBER(19,0), - "NEWACTIVITYSTATE" NUMBER(19,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKTOOLAGENTAPP --------------------------------------------------------- - - CREATE TABLE "SHKTOOLAGENTAPP" - ( "TOOL_AGENT_NAME" VARCHAR2(250), - "APP_NAME" VARCHAR2(90), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKTOOLAGENTAPPDETAIL --------------------------------------------------------- - - CREATE TABLE "SHKTOOLAGENTAPPDETAIL" - ( "APP_MODE" NUMBER(10,0), - "TOOLAGENT_APPOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKTOOLAGENTAPPDETAILUSER --------------------------------------------------------- - - CREATE TABLE "SHKTOOLAGENTAPPDETAILUSER" - ( "TOOLAGENT_APPOID" NUMBER(19,0), - "USEROID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKTOOLAGENTAPPUSER --------------------------------------------------------- - - CREATE TABLE "SHKTOOLAGENTAPPUSER" - ( "TOOLAGENT_APPOID" NUMBER(19,0), - "USEROID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKTOOLAGENTUSER --------------------------------------------------------- - - CREATE TABLE "SHKTOOLAGENTUSER" - ( "USERNAME" VARCHAR2(100), - "PWD" VARCHAR2(100), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKUSERGROUPTABLE --------------------------------------------------------- - - CREATE TABLE "SHKUSERGROUPTABLE" - ( "USERID" NUMBER(19,0), - "GROUPID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKUSERPACKLEVELPART --------------------------------------------------------- - - CREATE TABLE "SHKUSERPACKLEVELPART" - ( "PARTICIPANTOID" NUMBER(19,0), - "USEROID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKUSERPROCLEVELPARTICIPANT --------------------------------------------------------- - - CREATE TABLE "SHKUSERPROCLEVELPARTICIPANT" - ( "PARTICIPANTOID" NUMBER(19,0), - "USEROID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKUSERTABLE --------------------------------------------------------- - - CREATE TABLE "SHKUSERTABLE" - ( "USERID" VARCHAR2(100), - "FIRSTNAME" VARCHAR2(50), - "LASTNAME" VARCHAR2(50), - "PASSWD" VARCHAR2(50), - "EMAIL" VARCHAR2(254), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKXPDLAPPLICATIONPACKAGE --------------------------------------------------------- - - CREATE TABLE "SHKXPDLAPPLICATIONPACKAGE" - ( "PACKAGE_ID" VARCHAR2(90), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKXPDLAPPLICATIONPROCESS --------------------------------------------------------- - - CREATE TABLE "SHKXPDLAPPLICATIONPROCESS" - ( "PROCESS_ID" VARCHAR2(90), - "PACKAGEOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKXPDLDATA --------------------------------------------------------- - - CREATE TABLE "SHKXPDLDATA" - ( "XPDLCONTENT" BLOB, - "XPDLCLASSCONTENT" BLOB, - "XPDL" NUMBER(19,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKXPDLHISTORY --------------------------------------------------------- - - CREATE TABLE "SHKXPDLHISTORY" - ( "XPDLID" VARCHAR2(90), - "XPDLVERSION" VARCHAR2(20), - "XPDLCLASSVERSION" NUMBER(22,0), - "XPDLUPLOADTIME" DATE, - "XPDLHISTORYUPLOADTIME" DATE, - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKXPDLHISTORYDATA --------------------------------------------------------- - - CREATE TABLE "SHKXPDLHISTORYDATA" - ( "XPDLCONTENT" BLOB, - "XPDLCLASSCONTENT" BLOB, - "XPDLHISTORY" NUMBER(19,0), - "CNT" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKXPDLPARTICIPANTPACKAGE --------------------------------------------------------- - - CREATE TABLE "SHKXPDLPARTICIPANTPACKAGE" - ( "PACKAGE_ID" VARCHAR2(90), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKXPDLPARTICIPANTPROCESS --------------------------------------------------------- - - CREATE TABLE "SHKXPDLPARTICIPANTPROCESS" - ( "PROCESS_ID" VARCHAR2(90), - "PACKAGEOID" NUMBER(19,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKXPDLREFERENCES --------------------------------------------------------- - - CREATE TABLE "SHKXPDLREFERENCES" - ( "REFERREDXPDLID" VARCHAR2(90), - "REFERRINGXPDL" NUMBER(19,0), - "REFERREDXPDLNUMBER" NUMBER(22,0), - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table SHKXPDLS --------------------------------------------------------- - - CREATE TABLE "SHKXPDLS" - ( "XPDLID" VARCHAR2(90), - "XPDLVERSION" VARCHAR2(20), - "XPDLCLASSVERSION" NUMBER(22,0), - "XPDLUPLOADTIME" DATE, - "OID" NUMBER(19,0), - "VERSION" NUMBER(22,0) - ) ; --------------------------------------------------------- --- DDL for Table WF_AUDIT_TRAIL --------------------------------------------------------- - - CREATE TABLE "WF_AUDIT_TRAIL" - ( "ID" VARCHAR2(255 CHAR), - "USERNAME" VARCHAR2(255 CHAR), - "APPID" VARCHAR2(255 CHAR), - "APPVERSION" VARCHAR2(255 CHAR), - "CLAZZ" VARCHAR2(255 CHAR), - "METHOD" VARCHAR2(255 CHAR), - "MESSAGE" CLOB, - "TIMESTAMP" TIMESTAMP (6) - ) ; --------------------------------------------------------- --- DDL for Table WF_PROCESS_LINK --------------------------------------------------------- - - CREATE TABLE "WF_PROCESS_LINK" - ( "PROCESSID" VARCHAR2(255 CHAR), - "PARENTPROCESSID" VARCHAR2(255 CHAR), - "ORIGINPROCESSID" VARCHAR2(255 CHAR) - ) ; --------------------------------------------------------- --- DDL for Table WF_RESOURCE_BUNDLE_MESSAGE --------------------------------------------------------- - - CREATE TABLE "WF_RESOURCE_BUNDLE_MESSAGE" - ( "ID" VARCHAR2(255 CHAR), - "MESSAGEKEY" VARCHAR2(255 CHAR), - "LOCALE" VARCHAR2(255 CHAR), - "MESSAGE" CLOB - ) ; --------------------------------------------------------- --- DDL for Table WF_SETUP --------------------------------------------------------- - - CREATE TABLE "WF_SETUP" - ( "ID" VARCHAR2(255 CHAR), - "PROPERTY" VARCHAR2(255 CHAR), - "VALUE" CLOB, - "ORDERING" NUMBER(10,0) - ) ; - ---------------------------------------------------- --- DATA FOR TABLE SHKUSERTABLE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKUSERTABLE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKDATAEVENTAUDITS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKDATAEVENTAUDITS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKGROUPUSER --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKGROUPUSER ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_REPORT_ACTIVITY --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_REPORT_ACTIVITY ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE DIR_USER_GROUP --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE DIR_USER_GROUP ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKNEWEVENTAUDITDATAWOB --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKNEWEVENTAUDITDATAWOB ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKCREATEPROCESSEVENTAUDITS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKCREATEPROCESSEVENTAUDITS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKTOOLAGENTUSER --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKTOOLAGENTUSER ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKGROUPTABLE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKGROUPTABLE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKACTIVITYDATAWOB --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKACTIVITYDATAWOB ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKGROUPUSERPACKLEVELPART --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKGROUPUSERPACKLEVELPART ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPUSER --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPUSER ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_APP --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_APP ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCLEVELPARTICIPANT --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCLEVELPARTICIPANT ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKXPDLHISTORY --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKXPDLHISTORY ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKOLDEVENTAUDITDATA --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKOLDEVENTAUDITDATA ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKTOOLAGENTAPP --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKTOOLAGENTAPP ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKTOOLAGENTAPPDETAILUSER --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKTOOLAGENTAPPDETAILUSER ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKANDJOINTABLE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKANDJOINTABLE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE WF_PROCESS_LINK --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE WF_PROCESS_LINK ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_USERVIEW --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_USERVIEW ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE DIR_USER_ROLE --- FILTER = none used ---------------------------------------------------- -Insert into DIR_USER_ROLE (ROLEID,USERID) values ('ROLE_ADMIN','admin'); - ---------------------------------------------------- --- END DATA FOR TABLE DIR_USER_ROLE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKSTATEEVENTAUDITS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKSTATEEVENTAUDITS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKDEADLINES --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKDEADLINES ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_PLUGIN_DEFAULT --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_PLUGIN_DEFAULT ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_REPORT_PROCESS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_REPORT_PROCESS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKOLDEVENTAUDITDATAWOB --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKOLDEVENTAUDITDATAWOB ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE DIR_GROUP --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE DIR_GROUP ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKNORMALUSER --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKNORMALUSER ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKEVENTTYPES --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKEVENTTYPES ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKACTIVITYDATABLOBS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKACTIVITYDATABLOBS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE DIR_ROLE --- FILTER = none used ---------------------------------------------------- -Insert into DIR_ROLE (ID,NAME,DESCRIPTION) values ('ROLE_ADMIN','Admin','Administrator'); -Insert into DIR_ROLE (ID,NAME,DESCRIPTION) values ('ROLE_USER','User','Normal User'); - ---------------------------------------------------- --- END DATA FOR TABLE DIR_ROLE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPACKLEVELXPDLAPPTOOLAGNTAPP --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPACKLEVELXPDLAPPTOOLAGNTAPP ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCESSDEFINITIONS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCESSDEFINITIONS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKTOOLAGENTAPPDETAIL --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKTOOLAGENTAPPDETAIL ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPACKLEVELXPDLAPP --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPACKLEVELXPDLAPP ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKXPDLS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKXPDLS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCESSES --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCESSES ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPACKLEVELPARTICIPANT --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPACKLEVELPARTICIPANT ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_REPORT_PROCESS_INSTANCE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_REPORT_PROCESS_INSTANCE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKGROUPUSERPROCLEVELPART --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKGROUPUSERPROCLEVELPART ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCESSREQUESTERS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCESSREQUESTERS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCESSDATA --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCESSDATA ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCESSDATAWOB --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCESSDATAWOB ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKASSIGNMENTSTABLE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKASSIGNMENTSTABLE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_REPORT_APP --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_REPORT_APP ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKXPDLREFERENCES --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKXPDLREFERENCES ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_FORM --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_FORM ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_PACKAGE_PARTICIPANT --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_PACKAGE_PARTICIPANT ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCLEVELXPDLAPPTOOLAGNTAPP --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCLEVELXPDLAPPTOOLAGNTAPP ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_DATALIST --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_DATALIST ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKACTIVITYDATA --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKACTIVITYDATA ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE WF_SETUP --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE WF_SETUP ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKASSIGNMENTEVENTAUDITS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKASSIGNMENTEVENTAUDITS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_FD --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_FD ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_ENV_VARIABLE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_ENV_VARIABLE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE DIR_EMPLOYMENT_REPORT_TO --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE DIR_EMPLOYMENT_REPORT_TO ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_PACKAGE_ACTIVITY_FORM --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_PACKAGE_ACTIVITY_FORM ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPDETUSR --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPDETUSR ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPDETUSR --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPDETUSR ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKUSERPACKLEVELPART --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKUSERPACKLEVELPART ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_REPORT_PACKAGE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_REPORT_PACKAGE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKNEWEVENTAUDITDATABLOBS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKNEWEVENTAUDITDATABLOBS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKUSERPROCLEVELPARTICIPANT --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKUSERPROCLEVELPARTICIPANT ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE WF_AUDIT_TRAIL --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE WF_AUDIT_TRAIL ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKOLDEVENTAUDITDATABLOBS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKOLDEVENTAUDITDATABLOBS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCLEVELXPDLAPP --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCLEVELXPDLAPP ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE DIR_EMPLOYMENT --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE DIR_EMPLOYMENT ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPUSER --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPUSER ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKXPDLAPPLICATIONPROCESS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKXPDLAPPLICATIONPROCESS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE WF_RESOURCE_BUNDLE_MESSAGE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE WF_RESOURCE_BUNDLE_MESSAGE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKCOUNTERS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKCOUNTERS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_PACKAGE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_PACKAGE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKNEWEVENTAUDITDATA --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKNEWEVENTAUDITDATA ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKGROUPGROUPTABLE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKGROUPGROUPTABLE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE OBJECTID --- FILTER = none used ---------------------------------------------------- -Insert into OBJECTID (NEXTOID) values (1000200); - ---------------------------------------------------- --- END DATA FOR TABLE OBJECTID ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKRESOURCESTABLE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKRESOURCESTABLE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_REPORT_ACTIVITY_INSTANCE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_REPORT_ACTIVITY_INSTANCE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE DIR_GRADE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE DIR_GRADE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKTOOLAGENTAPPUSER --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKTOOLAGENTAPPUSER ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE DIR_USER --- FILTER = none used ---------------------------------------------------- -Insert into DIR_USER (ID,USERNAME,PASSWORD,FIRSTNAME,LASTNAME,EMAIL,TIMEZONE,ACTIVE) values ('admin','admin','21232f297a57a5a743894a0e4a801fc3','Admin','admin','admin@email.domain','',1); - ---------------------------------------------------- --- END DATA FOR TABLE DIR_USER ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE DIR_ORGANIZATION --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE DIR_ORGANIZATION ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKXPDLPARTICIPANTPROCESS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKXPDLPARTICIPANTPROCESS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_PACKAGE_ACTIVITY_PLUGIN --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_PACKAGE_ACTIVITY_PLUGIN ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKXPDLAPPLICATIONPACKAGE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKXPDLAPPLICATIONPACKAGE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPDETAIL --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPDETAIL ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPDETAIL --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPDETAIL ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCESSSTATES --- FILTER = none used ---------------------------------------------------- -Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.running','open.running',1000000,0); -Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.not_running.not_started','open.not_running.not_started',1000002,0); -Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.not_running.suspended','open.not_running.suspended',1000004,0); -Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.completed','closed.completed',1000006,0); -Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.terminated','closed.terminated',1000008,0); -Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.aborted','closed.aborted',1000010,0); - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCESSSTATES ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKXPDLHISTORYDATA --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKXPDLHISTORYDATA ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKXPDLDATA --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKXPDLDATA ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCESSDATABLOBS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCESSDATABLOBS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKXPDLPARTICIPANTPACKAGE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKXPDLPARTICIPANTPACKAGE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKNEXTXPDLVERSIONS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKNEXTXPDLVERSIONS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE APP_MESSAGE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE APP_MESSAGE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKACTIVITYSTATES --- FILTER = none used ---------------------------------------------------- -Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.running','open.running',1000001,0); -Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.not_running.not_started','open.not_running.not_started',1000003,0); -Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.not_running.suspended','open.not_running.suspended',1000005,0); -Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.completed','closed.completed',1000007,0); -Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.terminated','closed.terminated',1000009,0); -Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.aborted','closed.aborted',1000011,0); - ---------------------------------------------------- --- END DATA FOR TABLE SHKACTIVITYSTATES ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKACTIVITYSTATEEVENTAUDITS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKACTIVITYSTATEEVENTAUDITS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKPROCESSSTATEEVENTAUDITS --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKPROCESSSTATEEVENTAUDITS ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKUSERGROUPTABLE --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKUSERGROUPTABLE ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE SHKACTIVITIES --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE SHKACTIVITIES ---------------------------------------------------- - ---------------------------------------------------- --- DATA FOR TABLE DIR_DEPARTMENT --- FILTER = none used ---------------------------------------------------- - ---------------------------------------------------- --- END DATA FOR TABLE DIR_DEPARTMENT ---------------------------------------------------- --------------------------------------------------------- --- Constraints for Table APP_APP --------------------------------------------------------- - - ALTER TABLE "APP_APP" MODIFY ("APPID" NOT NULL ENABLE); - - ALTER TABLE "APP_APP" MODIFY ("APPVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_APP" ADD PRIMARY KEY ("APPID", "APPVERSION") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_BUILDER --------------------------------------------------------- - - ALTER TABLE "APP_BUILDER" MODIFY ("APPID" NOT NULL ENABLE); - - ALTER TABLE "APP_BUILDER" MODIFY ("APPVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_BUILDER" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "APP_BUILDER" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_DATALIST --------------------------------------------------------- - - ALTER TABLE "APP_DATALIST" MODIFY ("APPID" NOT NULL ENABLE); - - ALTER TABLE "APP_DATALIST" MODIFY ("APPVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_DATALIST" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "APP_DATALIST" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_ENV_VARIABLE --------------------------------------------------------- - - ALTER TABLE "APP_ENV_VARIABLE" MODIFY ("APPID" NOT NULL ENABLE); - - ALTER TABLE "APP_ENV_VARIABLE" MODIFY ("APPVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_ENV_VARIABLE" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "APP_ENV_VARIABLE" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_FD --------------------------------------------------------- - - ALTER TABLE "APP_FD" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "APP_FD" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_FORM --------------------------------------------------------- - - ALTER TABLE "APP_FORM" MODIFY ("APPID" NOT NULL ENABLE); - - ALTER TABLE "APP_FORM" MODIFY ("APPVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_FORM" MODIFY ("FORMID" NOT NULL ENABLE); - - ALTER TABLE "APP_FORM" ADD PRIMARY KEY ("APPID", "APPVERSION", "FORMID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_MESSAGE --------------------------------------------------------- - - ALTER TABLE "APP_MESSAGE" MODIFY ("APPID" NOT NULL ENABLE); - - ALTER TABLE "APP_MESSAGE" MODIFY ("APPVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_MESSAGE" MODIFY ("OUID" NOT NULL ENABLE); - - ALTER TABLE "APP_MESSAGE" ADD PRIMARY KEY ("APPID", "APPVERSION", "OUID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_PACKAGE --------------------------------------------------------- - - ALTER TABLE "APP_PACKAGE" MODIFY ("PACKAGEID" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE" MODIFY ("PACKAGEVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE" ADD PRIMARY KEY ("PACKAGEID", "PACKAGEVERSION") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_PACKAGE_ACTIVITY_FORM --------------------------------------------------------- - - ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" MODIFY ("PROCESSDEFID" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" MODIFY ("ACTIVITYDEFID" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" MODIFY ("PACKAGEID" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" MODIFY ("PACKAGEVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" ADD PRIMARY KEY ("PROCESSDEFID", "ACTIVITYDEFID", "PACKAGEID", "PACKAGEVERSION") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_PACKAGE_ACTIVITY_PLUGIN --------------------------------------------------------- - - ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" MODIFY ("PROCESSDEFID" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" MODIFY ("ACTIVITYDEFID" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" MODIFY ("PACKAGEID" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" MODIFY ("PACKAGEVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" ADD PRIMARY KEY ("PROCESSDEFID", "ACTIVITYDEFID", "PACKAGEID", "PACKAGEVERSION") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_PACKAGE_PARTICIPANT --------------------------------------------------------- - - ALTER TABLE "APP_PACKAGE_PARTICIPANT" MODIFY ("PROCESSDEFID" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_PARTICIPANT" MODIFY ("PARTICIPANTID" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_PARTICIPANT" MODIFY ("PACKAGEID" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_PARTICIPANT" MODIFY ("PACKAGEVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_PACKAGE_PARTICIPANT" ADD PRIMARY KEY ("PROCESSDEFID", "PARTICIPANTID", "PACKAGEID", "PACKAGEVERSION") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_PLUGIN_DEFAULT --------------------------------------------------------- - - ALTER TABLE "APP_PLUGIN_DEFAULT" MODIFY ("APPID" NOT NULL ENABLE); - - ALTER TABLE "APP_PLUGIN_DEFAULT" MODIFY ("APPVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_PLUGIN_DEFAULT" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "APP_PLUGIN_DEFAULT" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_REPORT_ACTIVITY --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_ACTIVITY" MODIFY ("UUID" NOT NULL ENABLE); - - ALTER TABLE "APP_REPORT_ACTIVITY" ADD PRIMARY KEY ("UUID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_REPORT_ACTIVITY_INSTANCE --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_ACTIVITY_INSTANCE" MODIFY ("INSTANCEID" NOT NULL ENABLE); - - ALTER TABLE "APP_REPORT_ACTIVITY_INSTANCE" ADD PRIMARY KEY ("INSTANCEID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_REPORT_APP --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_APP" MODIFY ("UUID" NOT NULL ENABLE); - - ALTER TABLE "APP_REPORT_APP" ADD PRIMARY KEY ("UUID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_REPORT_PACKAGE --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_PACKAGE" MODIFY ("UUID" NOT NULL ENABLE); - - ALTER TABLE "APP_REPORT_PACKAGE" ADD PRIMARY KEY ("UUID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_REPORT_PROCESS --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_PROCESS" MODIFY ("UUID" NOT NULL ENABLE); - - ALTER TABLE "APP_REPORT_PROCESS" ADD PRIMARY KEY ("UUID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_REPORT_PROCESS_INSTANCE --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_PROCESS_INSTANCE" MODIFY ("INSTANCEID" NOT NULL ENABLE); - - ALTER TABLE "APP_REPORT_PROCESS_INSTANCE" ADD PRIMARY KEY ("INSTANCEID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_USERVIEW --------------------------------------------------------- - - ALTER TABLE "APP_USERVIEW" MODIFY ("APPID" NOT NULL ENABLE); - - ALTER TABLE "APP_USERVIEW" MODIFY ("APPVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_USERVIEW" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "APP_USERVIEW" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_DEPARTMENT --------------------------------------------------------- - - ALTER TABLE "DIR_DEPARTMENT" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "DIR_DEPARTMENT" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_EMPLOYMENT --------------------------------------------------------- - - ALTER TABLE "DIR_EMPLOYMENT" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "DIR_EMPLOYMENT" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_EMPLOYMENT_REPORT_TO --------------------------------------------------------- - - ALTER TABLE "DIR_EMPLOYMENT_REPORT_TO" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "DIR_EMPLOYMENT_REPORT_TO" ADD PRIMARY KEY ("ID") ENABLE; - - ALTER TABLE "DIR_EMPLOYMENT_REPORT_TO" ADD UNIQUE ("EMPLOYMENTID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_GRADE --------------------------------------------------------- - - ALTER TABLE "DIR_GRADE" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "DIR_GRADE" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_GROUP --------------------------------------------------------- - - ALTER TABLE "DIR_GROUP" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "DIR_GROUP" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_ORGANIZATION --------------------------------------------------------- - - ALTER TABLE "DIR_ORGANIZATION" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "DIR_ORGANIZATION" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_ROLE --------------------------------------------------------- - - ALTER TABLE "DIR_ROLE" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "DIR_ROLE" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_USER --------------------------------------------------------- - - ALTER TABLE "DIR_USER" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "DIR_USER" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_USER_EXTRA --------------------------------------------------------- - - ALTER TABLE "DIR_USER_EXTRA" MODIFY ("USERNAME" NOT NULL ENABLE); - - ALTER TABLE "DIR_USER_EXTRA" ADD PRIMARY KEY ("USERNAME") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_USER_PASSWORD_HISTORY --------------------------------------------------------- - - ALTER TABLE "DIR_USER_PASSWORD_HISTORY" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "DIR_USER_PASSWORD_HISTORY" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_USER_GROUP --------------------------------------------------------- - - ALTER TABLE "DIR_USER_GROUP" MODIFY ("GROUPID" NOT NULL ENABLE); - - ALTER TABLE "DIR_USER_GROUP" MODIFY ("USERID" NOT NULL ENABLE); - - ALTER TABLE "DIR_USER_GROUP" ADD PRIMARY KEY ("USERID", "GROUPID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_USER_ROLE --------------------------------------------------------- - - ALTER TABLE "DIR_USER_ROLE" MODIFY ("ROLEID" NOT NULL ENABLE); - - ALTER TABLE "DIR_USER_ROLE" MODIFY ("USERID" NOT NULL ENABLE); - - ALTER TABLE "DIR_USER_ROLE" ADD PRIMARY KEY ("USERID", "ROLEID") ENABLE; --------------------------------------------------------- --- Constraints for Table OBJECTID --------------------------------------------------------- - - ALTER TABLE "OBJECTID" ADD CONSTRAINT "PK_OBJECTID" PRIMARY KEY ("NEXTOID") ENABLE; - - ALTER TABLE "OBJECTID" MODIFY ("NEXTOID" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKACTIVITIES --------------------------------------------------------- - - ALTER TABLE "SHKACTIVITIES" ADD CONSTRAINT "SHKACTIVITIES_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKACTIVITIES" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("ACTIVITYDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("PROCESS" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("PDEFNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("PROCESSID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("STATE" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("ACTIVATED" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("ACTIVATEDTZO" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("LASTSTATETIME" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("LASTSTATETIMETZO" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("LIMITTIME" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("LIMITTIMETZO" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITIES" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKACTIVITYDATA --------------------------------------------------------- - - ALTER TABLE "SHKACTIVITYDATA" ADD CONSTRAINT "SHKACTIVITYDATA_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKACTIVITYDATA" MODIFY ("ACTIVITY" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATA" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATA" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATA" MODIFY ("ISRESULT" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATA" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATA" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATA" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATA" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKACTIVITYDATABLOBS --------------------------------------------------------- - - ALTER TABLE "SHKACTIVITYDATABLOBS" ADD CONSTRAINT "SHKACTIVITYDATABLOBS_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKACTIVITYDATABLOBS" MODIFY ("ACTIVITYDATAWOB" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATABLOBS" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATABLOBS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATABLOBS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKACTIVITYDATAWOB --------------------------------------------------------- - - ALTER TABLE "SHKACTIVITYDATAWOB" ADD CONSTRAINT "SHKACTIVITYDATAWOB_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("ACTIVITY" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("ISRESULT" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKACTIVITYSTATEEVENTAUDITS --------------------------------------------------------- - - ALTER TABLE "SHKACTIVITYSTATEEVENTAUDITS" ADD CONSTRAINT "SHKACTIVITYSTATEEVENTAUD5" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKACTIVITYSTATEEVENTAUDITS" MODIFY ("KEYVALUE" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYSTATEEVENTAUDITS" MODIFY ("NAME" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYSTATEEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYSTATEEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKACTIVITYSTATES --------------------------------------------------------- - - ALTER TABLE "SHKACTIVITYSTATES" ADD CONSTRAINT "SHKACTIVITYSTATES_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKACTIVITYSTATES" MODIFY ("KEYVALUE" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYSTATES" MODIFY ("NAME" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYSTATES" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKACTIVITYSTATES" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKANDJOINTABLE --------------------------------------------------------- - - ALTER TABLE "SHKANDJOINTABLE" ADD CONSTRAINT "SHKANDJOINTABLE_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKANDJOINTABLE" MODIFY ("PROCESS" NOT NULL ENABLE); - - ALTER TABLE "SHKANDJOINTABLE" MODIFY ("ACTIVITYDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKANDJOINTABLE" MODIFY ("ACTIVITY" NOT NULL ENABLE); - - ALTER TABLE "SHKANDJOINTABLE" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKANDJOINTABLE" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKANDJOINTABLE" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKASSIGNMENTEVENTAUDITS --------------------------------------------------------- - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" ADD CONSTRAINT "SHKASSIGNMENTEVENTAUDIT17" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("RECORDEDTIME" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("RECORDEDTIMETZO" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("THEUSERNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("THETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("ACTIVITYID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("PROCESSID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("PROCESSFACTORYNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("PROCESSFACTORYVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("ACTIVITYDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("ACTIVITYDEFINITIONTYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("PROCESSDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("PACKAGEID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("NEWRESOURCEUSERNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("ISACCEPTED" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKASSIGNMENTSTABLE --------------------------------------------------------- - - ALTER TABLE "SHKASSIGNMENTSTABLE" ADD CONSTRAINT "SHKASSIGNMENTSTABLE_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ACTIVITY" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("THERESOURCE" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ACTIVITYID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ACTIVITYPROCESSID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ACTIVITYPROCESSDEFNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("RESOURCEID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ISACCEPTED" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ISVALID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKCOUNTERS --------------------------------------------------------- - - ALTER TABLE "SHKCOUNTERS" ADD CONSTRAINT "SHKCOUNTERS_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKCOUNTERS" MODIFY ("NAME" NOT NULL ENABLE); - - ALTER TABLE "SHKCOUNTERS" MODIFY ("THE_NUMBER" NOT NULL ENABLE); - - ALTER TABLE "SHKCOUNTERS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKCOUNTERS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKCREATEPROCESSEVENTAUDITS --------------------------------------------------------- - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" ADD CONSTRAINT "SHKCREATEPROCESSEVENTAUD8" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("RECORDEDTIME" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("RECORDEDTIMETZO" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("THEUSERNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("THETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("PROCESSID" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("PROCESSFACTORYNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("PROCESSFACTORYVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("PROCESSDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("PACKAGEID" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKDATAEVENTAUDITS --------------------------------------------------------- - - ALTER TABLE "SHKDATAEVENTAUDITS" ADD CONSTRAINT "SHKDATAEVENTAUDITS_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("RECORDEDTIME" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("RECORDEDTIMETZO" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("THEUSERNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("THETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("PROCESSID" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("PROCESSFACTORYNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("PROCESSFACTORYVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("PROCESSDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("PACKAGEID" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKDEADLINES --------------------------------------------------------- - - ALTER TABLE "SHKDEADLINES" ADD CONSTRAINT "SHKDEADLINES_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKDEADLINES" MODIFY ("PROCESS" NOT NULL ENABLE); - - ALTER TABLE "SHKDEADLINES" MODIFY ("ACTIVITY" NOT NULL ENABLE); - - ALTER TABLE "SHKDEADLINES" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKDEADLINES" MODIFY ("TIMELIMIT" NOT NULL ENABLE); - - ALTER TABLE "SHKDEADLINES" MODIFY ("TIMELIMITTZO" NOT NULL ENABLE); - - ALTER TABLE "SHKDEADLINES" MODIFY ("EXCEPTIONNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKDEADLINES" MODIFY ("ISSYNCHRONOUS" NOT NULL ENABLE); - - ALTER TABLE "SHKDEADLINES" MODIFY ("ISEXECUTED" NOT NULL ENABLE); - - ALTER TABLE "SHKDEADLINES" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKDEADLINES" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKEVENTTYPES --------------------------------------------------------- - - ALTER TABLE "SHKEVENTTYPES" ADD CONSTRAINT "SHKEVENTTYPES_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKEVENTTYPES" MODIFY ("KEYVALUE" NOT NULL ENABLE); - - ALTER TABLE "SHKEVENTTYPES" MODIFY ("NAME" NOT NULL ENABLE); - - ALTER TABLE "SHKEVENTTYPES" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKEVENTTYPES" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKGROUPGROUPTABLE --------------------------------------------------------- - - ALTER TABLE "SHKGROUPGROUPTABLE" ADD CONSTRAINT "SHKGROUPGROUPTABLE_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKGROUPGROUPTABLE" MODIFY ("SUB_GID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPGROUPTABLE" MODIFY ("GROUPID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPGROUPTABLE" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPGROUPTABLE" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKGROUPTABLE --------------------------------------------------------- - - ALTER TABLE "SHKGROUPTABLE" ADD CONSTRAINT "SHKGROUPTABLE_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKGROUPTABLE" MODIFY ("GROUPID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPTABLE" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPTABLE" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKGROUPUSER --------------------------------------------------------- - - ALTER TABLE "SHKGROUPUSER" ADD CONSTRAINT "SHKGROUPUSER_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKGROUPUSER" MODIFY ("USERNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPUSER" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPUSER" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKGROUPUSERPACKLEVELPART --------------------------------------------------------- - - ALTER TABLE "SHKGROUPUSERPACKLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPACKLEVELPA20" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKGROUPUSERPACKLEVELPART" MODIFY ("PARTICIPANTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPUSERPACKLEVELPART" MODIFY ("USEROID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPUSERPACKLEVELPART" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPUSERPACKLEVELPART" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKGROUPUSERPROCLEVELPART --------------------------------------------------------- - - ALTER TABLE "SHKGROUPUSERPROCLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPROCLEVELPA24" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKGROUPUSERPROCLEVELPART" MODIFY ("PARTICIPANTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPUSERPROCLEVELPART" MODIFY ("USEROID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPUSERPROCLEVELPART" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKGROUPUSERPROCLEVELPART" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKNEWEVENTAUDITDATA --------------------------------------------------------- - - ALTER TABLE "SHKNEWEVENTAUDITDATA" ADD CONSTRAINT "SHKNEWEVENTAUDITDATA_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("DATAEVENTAUDIT" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKNEWEVENTAUDITDATABLOBS --------------------------------------------------------- - - ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" ADD CONSTRAINT "SHKNEWEVENTAUDITDATABLO33" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" MODIFY ("NEWEVENTAUDITDATAWOB" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKNEWEVENTAUDITDATAWOB --------------------------------------------------------- - - ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" ADD CONSTRAINT "SHKNEWEVENTAUDITDATAWOB30" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("DATAEVENTAUDIT" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKNEXTXPDLVERSIONS --------------------------------------------------------- - - ALTER TABLE "SHKNEXTXPDLVERSIONS" ADD CONSTRAINT "SHKNEXTXPDLVERSIONS_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKNEXTXPDLVERSIONS" MODIFY ("XPDLID" NOT NULL ENABLE); - - ALTER TABLE "SHKNEXTXPDLVERSIONS" MODIFY ("NEXTVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKNEXTXPDLVERSIONS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKNEXTXPDLVERSIONS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKNORMALUSER --------------------------------------------------------- - - ALTER TABLE "SHKNORMALUSER" ADD CONSTRAINT "SHKNORMALUSER_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKNORMALUSER" MODIFY ("USERNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKNORMALUSER" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKNORMALUSER" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKOLDEVENTAUDITDATA --------------------------------------------------------- - - ALTER TABLE "SHKOLDEVENTAUDITDATA" ADD CONSTRAINT "SHKOLDEVENTAUDITDATA_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("DATAEVENTAUDIT" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKOLDEVENTAUDITDATABLOBS --------------------------------------------------------- - - ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" ADD CONSTRAINT "SHKOLDEVENTAUDITDATABLO25" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" MODIFY ("OLDEVENTAUDITDATAWOB" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKOLDEVENTAUDITDATAWOB --------------------------------------------------------- - - ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" ADD CONSTRAINT "SHKOLDEVENTAUDITDATAWOB22" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("DATAEVENTAUDIT" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPACKLEVELPARTICIPANT --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELPARTICIPANT" ADD CONSTRAINT "SHKPACKLEVELPARTICIPANT_7" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPACKLEVELPARTICIPANT" MODIFY ("PARTICIPANT_ID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELPARTICIPANT" MODIFY ("PACKAGEOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELPARTICIPANT" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELPARTICIPANT" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPACKLEVELXPDLAPP --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELXPDLAPP" ADD CONSTRAINT "SHKPACKLEVELXPDLAPP_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPACKLEVELXPDLAPP" MODIFY ("APPLICATION_ID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPP" MODIFY ("PACKAGEOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPP" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPP" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPACKLEVELXPDLAPPTAAPPDETAIL --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP21" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPACKLEVELXPDLAPPTAAPPDETUSR --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP29" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPACKLEVELXPDLAPPTAAPPUSER --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP25" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPACKLEVELXPDLAPPTOOLAGNTAPP --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTOOL17" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCESSDATA --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSDATA" ADD CONSTRAINT "SHKPROCESSDATA_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCESSDATA" MODIFY ("PROCESS" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATA" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATA" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATA" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATA" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATA" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATA" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCESSDATABLOBS --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSDATABLOBS" ADD CONSTRAINT "SHKPROCESSDATABLOBS_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCESSDATABLOBS" MODIFY ("PROCESSDATAWOB" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATABLOBS" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATABLOBS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATABLOBS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCESSDATAWOB --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSDATAWOB" ADD CONSTRAINT "SHKPROCESSDATAWOB_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("PROCESS" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("ORDNO" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCESSDEFINITIONS --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSDEFINITIONS" ADD CONSTRAINT "SHKPROCESSDEFINITIONS_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("NAME" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("PACKAGEID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("PROCESSDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("PROCESSDEFINITIONCREATED" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("PROCESSDEFINITIONVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("STATE" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCESSES --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSES" ADD CONSTRAINT "SHKPROCESSES_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCESSES" MODIFY ("SYNCVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("PROCESSDEFINITION" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("PDEFNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("RESOURCEREQUESTERID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("STATE" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("CREATED" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("CREATEDTZO" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("LASTSTATETIME" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("LASTSTATETIMETZO" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("LIMITTIME" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("LIMITTIMETZO" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSES" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCESSREQUESTERS --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSREQUESTERS" ADD CONSTRAINT "SHKPROCESSREQUESTERS_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCESSREQUESTERS" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSREQUESTERS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSREQUESTERS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCESSSTATEEVENTAUDITS --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSSTATEEVENTAUDITS" ADD CONSTRAINT "SHKPROCESSSTATEEVENTAUDI2" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCESSSTATEEVENTAUDITS" MODIFY ("KEYVALUE" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSSTATEEVENTAUDITS" MODIFY ("NAME" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSSTATEEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSSTATEEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCESSSTATES --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSSTATES" ADD CONSTRAINT "SHKPROCESSSTATES_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCESSSTATES" MODIFY ("KEYVALUE" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSSTATES" MODIFY ("NAME" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSSTATES" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCESSSTATES" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCLEVELPARTICIPANT --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELPARTICIPANT" ADD CONSTRAINT "SHKPROCLEVELPARTICIPANT_4" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCLEVELPARTICIPANT" MODIFY ("PARTICIPANT_ID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELPARTICIPANT" MODIFY ("PROCESSOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELPARTICIPANT" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELPARTICIPANT" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCLEVELXPDLAPP --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELXPDLAPP" ADD CONSTRAINT "SHKPROCLEVELXPDLAPP_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCLEVELXPDLAPP" MODIFY ("APPLICATION_ID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPP" MODIFY ("PROCESSOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPP" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPP" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCLEVELXPDLAPPTAAPPDETAIL --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP37" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCLEVELXPDLAPPTAAPPDETUSR --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP45" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCLEVELXPDLAPPTAAPPUSER --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP41" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKPROCLEVELXPDLAPPTOOLAGNTAPP --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTOOL33" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKRESOURCESTABLE --------------------------------------------------------- - - ALTER TABLE "SHKRESOURCESTABLE" ADD CONSTRAINT "SHKRESOURCESTABLE_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKRESOURCESTABLE" MODIFY ("USERNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKRESOURCESTABLE" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKRESOURCESTABLE" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKSTATEEVENTAUDITS --------------------------------------------------------- - - ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("RECORDEDTIME" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("RECORDEDTIMETZO" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("THEUSERNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("THETYPE" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("PROCESSID" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("PROCESSFACTORYNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("PROCESSFACTORYVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("PROCESSDEFINITIONID" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("PACKAGEID" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKTOOLAGENTAPP --------------------------------------------------------- - - ALTER TABLE "SHKTOOLAGENTAPP" ADD CONSTRAINT "SHKTOOLAGENTAPP_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKTOOLAGENTAPP" MODIFY ("TOOL_AGENT_NAME" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPP" MODIFY ("APP_NAME" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPP" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPP" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKTOOLAGENTAPPDETAIL --------------------------------------------------------- - - ALTER TABLE "SHKTOOLAGENTAPPDETAIL" ADD CONSTRAINT "SHKTOOLAGENTAPPDETAIL_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKTOOLAGENTAPPDETAIL" MODIFY ("APP_MODE" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPPDETAIL" MODIFY ("TOOLAGENT_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPPDETAIL" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPPDETAIL" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKTOOLAGENTAPPDETAILUSER --------------------------------------------------------- - - ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPDETAILUS13" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" MODIFY ("TOOLAGENT_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" MODIFY ("USEROID" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKTOOLAGENTAPPUSER --------------------------------------------------------- - - ALTER TABLE "SHKTOOLAGENTAPPUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPUSER_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKTOOLAGENTAPPUSER" MODIFY ("TOOLAGENT_APPOID" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPPUSER" MODIFY ("USEROID" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPPUSER" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTAPPUSER" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKTOOLAGENTUSER --------------------------------------------------------- - - ALTER TABLE "SHKTOOLAGENTUSER" ADD CONSTRAINT "SHKTOOLAGENTUSER_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKTOOLAGENTUSER" MODIFY ("USERNAME" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTUSER" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKTOOLAGENTUSER" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKUSERGROUPTABLE --------------------------------------------------------- - - ALTER TABLE "SHKUSERGROUPTABLE" ADD CONSTRAINT "SHKUSERGROUPTABLE_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKUSERGROUPTABLE" MODIFY ("USERID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERGROUPTABLE" MODIFY ("GROUPID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERGROUPTABLE" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERGROUPTABLE" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKUSERPACKLEVELPART --------------------------------------------------------- - - ALTER TABLE "SHKUSERPACKLEVELPART" ADD CONSTRAINT "SHKUSERPACKLEVELPART_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKUSERPACKLEVELPART" MODIFY ("PARTICIPANTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERPACKLEVELPART" MODIFY ("USEROID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERPACKLEVELPART" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERPACKLEVELPART" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKUSERPROCLEVELPARTICIPANT --------------------------------------------------------- - - ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" ADD CONSTRAINT "SHKUSERPROCLEVELPARTICI14" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" MODIFY ("PARTICIPANTOID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" MODIFY ("USEROID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKUSERTABLE --------------------------------------------------------- - - ALTER TABLE "SHKUSERTABLE" ADD CONSTRAINT "SHKUSERTABLE_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKUSERTABLE" MODIFY ("USERID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERTABLE" MODIFY ("PASSWD" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERTABLE" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKUSERTABLE" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKXPDLAPPLICATIONPACKAGE --------------------------------------------------------- - - ALTER TABLE "SHKXPDLAPPLICATIONPACKAGE" ADD CONSTRAINT "SHKXPDLAPPLICATIONPACKAG1" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKXPDLAPPLICATIONPACKAGE" MODIFY ("PACKAGE_ID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLAPPLICATIONPACKAGE" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLAPPLICATIONPACKAGE" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKXPDLAPPLICATIONPROCESS --------------------------------------------------------- - - ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" ADD CONSTRAINT "SHKXPDLAPPLICATIONPROCES4" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" MODIFY ("PROCESS_ID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" MODIFY ("PACKAGEOID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKXPDLDATA --------------------------------------------------------- - - ALTER TABLE "SHKXPDLDATA" ADD CONSTRAINT "SHKXPDLDATA_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKXPDLDATA" MODIFY ("XPDLCONTENT" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLDATA" MODIFY ("XPDLCLASSCONTENT" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLDATA" MODIFY ("XPDL" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLDATA" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLDATA" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLDATA" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKXPDLHISTORY --------------------------------------------------------- - - ALTER TABLE "SHKXPDLHISTORY" ADD CONSTRAINT "SHKXPDLHISTORY_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKXPDLHISTORY" MODIFY ("XPDLID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORY" MODIFY ("XPDLVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORY" MODIFY ("XPDLCLASSVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORY" MODIFY ("XPDLUPLOADTIME" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORY" MODIFY ("XPDLHISTORYUPLOADTIME" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORY" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORY" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKXPDLHISTORYDATA --------------------------------------------------------- - - ALTER TABLE "SHKXPDLHISTORYDATA" ADD CONSTRAINT "SHKXPDLHISTORYDATA_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("XPDLCONTENT" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("XPDLCLASSCONTENT" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("XPDLHISTORY" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("CNT" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKXPDLPARTICIPANTPACKAGE --------------------------------------------------------- - - ALTER TABLE "SHKXPDLPARTICIPANTPACKAGE" ADD CONSTRAINT "SHKXPDLPARTICIPANTPACKAG1" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKXPDLPARTICIPANTPACKAGE" MODIFY ("PACKAGE_ID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLPARTICIPANTPACKAGE" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLPARTICIPANTPACKAGE" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKXPDLPARTICIPANTPROCESS --------------------------------------------------------- - - ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" ADD CONSTRAINT "SHKXPDLPARTICIPANTPROCE10" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" MODIFY ("PROCESS_ID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" MODIFY ("PACKAGEOID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKXPDLREFERENCES --------------------------------------------------------- - - ALTER TABLE "SHKXPDLREFERENCES" ADD CONSTRAINT "SHKXPDLREFERENCES_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKXPDLREFERENCES" MODIFY ("REFERREDXPDLID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLREFERENCES" MODIFY ("REFERRINGXPDL" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLREFERENCES" MODIFY ("REFERREDXPDLNUMBER" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLREFERENCES" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLREFERENCES" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table SHKXPDLS --------------------------------------------------------- - - ALTER TABLE "SHKXPDLS" ADD CONSTRAINT "SHKXPDLS_OID" PRIMARY KEY ("OID") ENABLE; - - ALTER TABLE "SHKXPDLS" MODIFY ("XPDLID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLS" MODIFY ("XPDLVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLS" MODIFY ("XPDLCLASSVERSION" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLS" MODIFY ("XPDLUPLOADTIME" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLS" MODIFY ("OID" NOT NULL ENABLE); - - ALTER TABLE "SHKXPDLS" MODIFY ("VERSION" NOT NULL ENABLE); --------------------------------------------------------- --- Constraints for Table WF_AUDIT_TRAIL --------------------------------------------------------- - - ALTER TABLE "WF_AUDIT_TRAIL" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "WF_AUDIT_TRAIL" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table WF_PROCESS_LINK --------------------------------------------------------- - - ALTER TABLE "WF_PROCESS_LINK" MODIFY ("PROCESSID" NOT NULL ENABLE); - - ALTER TABLE "WF_PROCESS_LINK" ADD PRIMARY KEY ("PROCESSID") ENABLE; --------------------------------------------------------- --- Constraints for Table WF_RESOURCE_BUNDLE_MESSAGE --------------------------------------------------------- - - ALTER TABLE "WF_RESOURCE_BUNDLE_MESSAGE" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "WF_RESOURCE_BUNDLE_MESSAGE" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table WF_SETUP --------------------------------------------------------- - - ALTER TABLE "WF_SETUP" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "WF_SETUP" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_FORM_DATA_AUDIT_TRAIL --------------------------------------------------------- - - ALTER TABLE "APP_FORM_DATA_AUDIT_TRAIL" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "APP_FORM_DATA_AUDIT_TRAIL" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- Constraints for Table APP_RESOURCE --------------------------------------------------------- - - ALTER TABLE "APP_RESOURCE" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "APP_RESOURCE" MODIFY ("APPVERSION" NOT NULL ENABLE); - - ALTER TABLE "APP_RESOURCE" MODIFY ("APPID" NOT NULL ENABLE); - - ALTER TABLE "APP_RESOURCE" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_USER_META --------------------------------------------------------- - - ALTER TABLE "DIR_USER_META" MODIFY ("META_KEY" NOT NULL ENABLE); - - ALTER TABLE "DIR_USER_META" MODIFY ("USERNAME" NOT NULL ENABLE); - - ALTER TABLE "DIR_USER_META" ADD PRIMARY KEY ("USERNAME", "META_KEY") ENABLE; --------------------------------------------------------- --- Constraints for Table DIR_USER_REPLACEMENT --------------------------------------------------------- - - ALTER TABLE "DIR_USER_REPLACEMENT" MODIFY ("ID" NOT NULL ENABLE); - - ALTER TABLE "DIR_USER_REPLACEMENT" ADD PRIMARY KEY ("ID") ENABLE; --------------------------------------------------------- --- DDL for Index I1_SHKACTIVITIES --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKACTIVITIES" ON "SHKACTIVITIES" ("ID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKACTIVITYDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKACTIVITYDATA" ON "SHKACTIVITYDATA" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKACTIVITYDATABLOBS --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKACTIVITYDATABLOBS" ON "SHKACTIVITYDATABLOBS" ("ACTIVITYDATAWOB", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I1_SHKACTIVITYDATAWOB --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKACTIVITYDATAWOB" ON "SHKACTIVITYDATAWOB" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKACTIVITYSTATEEVENT3 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKACTIVITYSTATEEVENT3" ON "SHKACTIVITYSTATEEVENTAUDITS" ("KEYVALUE") - ; --------------------------------------------------------- --- DDL for Index I1_SHKACTIVITYSTATES --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKACTIVITYSTATES" ON "SHKACTIVITYSTATES" ("KEYVALUE") - ; --------------------------------------------------------- --- DDL for Index I1_SHKANDJOINTABLE --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKANDJOINTABLE" ON "SHKANDJOINTABLE" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKASSIGNMENTEVENTAU15 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKASSIGNMENTEVENTAU15" ON "SHKASSIGNMENTEVENTAUDITS" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKASSIGNMENTSTABLE --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKASSIGNMENTSTABLE" ON "SHKASSIGNMENTSTABLE" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKCOUNTERS --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKCOUNTERS" ON "SHKCOUNTERS" ("NAME") - ; --------------------------------------------------------- --- DDL for Index I1_SHKCREATEPROCESSEVENT6 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKCREATEPROCESSEVENT6" ON "SHKCREATEPROCESSEVENTAUDITS" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKDATAEVENTAUDITS --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKDATAEVENTAUDITS" ON "SHKDATAEVENTAUDITS" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKDEADLINES --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKDEADLINES" ON "SHKDEADLINES" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKEVENTTYPES --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKEVENTTYPES" ON "SHKEVENTTYPES" ("KEYVALUE") - ; --------------------------------------------------------- --- DDL for Index I1_SHKGROUPGROUPTABLE --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKGROUPGROUPTABLE" ON "SHKGROUPGROUPTABLE" ("SUB_GID", "GROUPID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKGROUPTABLE --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKGROUPTABLE" ON "SHKGROUPTABLE" ("GROUPID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKGROUPUSER --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKGROUPUSER" ON "SHKGROUPUSER" ("USERNAME") - ; --------------------------------------------------------- --- DDL for Index I1_SHKGROUPUSERPACKLEVE17 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKGROUPUSERPACKLEVE17" ON "SHKGROUPUSERPACKLEVELPART" ("PARTICIPANTOID", "USEROID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKGROUPUSERPROCLEVE21 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKGROUPUSERPROCLEVE21" ON "SHKGROUPUSERPROCLEVELPART" ("PARTICIPANTOID", "USEROID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKNEWEVENTAUDITDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKNEWEVENTAUDITDATA" ON "SHKNEWEVENTAUDITDATA" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKNEWEVENTAUDITDATA27 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKNEWEVENTAUDITDATA27" ON "SHKNEWEVENTAUDITDATAWOB" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKNEWEVENTAUDITDATA31 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKNEWEVENTAUDITDATA31" ON "SHKNEWEVENTAUDITDATABLOBS" ("NEWEVENTAUDITDATAWOB", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I1_SHKNEXTXPDLVERSIONS --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKNEXTXPDLVERSIONS" ON "SHKNEXTXPDLVERSIONS" ("XPDLID", "NEXTVERSION") - ; --------------------------------------------------------- --- DDL for Index I1_SHKNORMALUSER --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKNORMALUSER" ON "SHKNORMALUSER" ("USERNAME") - ; --------------------------------------------------------- --- DDL for Index I1_SHKOLDEVENTAUDITDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKOLDEVENTAUDITDATA" ON "SHKOLDEVENTAUDITDATA" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKOLDEVENTAUDITDATA19 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKOLDEVENTAUDITDATA19" ON "SHKOLDEVENTAUDITDATAWOB" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKOLDEVENTAUDITDATA23 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKOLDEVENTAUDITDATA23" ON "SHKOLDEVENTAUDITDATABLOBS" ("OLDEVENTAUDITDATAWOB", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPACKLEVELPARTICIPA5 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPACKLEVELPARTICIPA5" ON "SHKPACKLEVELPARTICIPANT" ("PARTICIPANT_ID", "PACKAGEOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPACKLEVELXPDLAPP --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPACKLEVELXPDLAPP" ON "SHKPACKLEVELXPDLAPP" ("APPLICATION_ID", "PACKAGEOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPACKLEVELXPDLAPPT14 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPACKLEVELXPDLAPPT14" ON "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" ("XPDL_APPOID", "TOOLAGENTOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPACKLEVELXPDLAPPT18 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPACKLEVELXPDLAPPT18" ON "SHKPACKLEVELXPDLAPPTAAPPDETAIL" ("XPDL_APPOID", "TOOLAGENTOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPACKLEVELXPDLAPPT22 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPACKLEVELXPDLAPPT22" ON "SHKPACKLEVELXPDLAPPTAAPPUSER" ("XPDL_APPOID", "TOOLAGENTOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPACKLEVELXPDLAPPT26 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPACKLEVELXPDLAPPT26" ON "SHKPACKLEVELXPDLAPPTAAPPDETUSR" ("XPDL_APPOID", "TOOLAGENTOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCESSDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCESSDATA" ON "SHKPROCESSDATA" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCESSDATABLOBS --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCESSDATABLOBS" ON "SHKPROCESSDATABLOBS" ("PROCESSDATAWOB", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCESSDATAWOB --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCESSDATAWOB" ON "SHKPROCESSDATAWOB" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCESSDEFINITIONS --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCESSDEFINITIONS" ON "SHKPROCESSDEFINITIONS" ("NAME") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCESSES --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCESSES" ON "SHKPROCESSES" ("ID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCESSREQUESTERS --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCESSREQUESTERS" ON "SHKPROCESSREQUESTERS" ("ID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCESSSTATEEVENTA0 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCESSSTATEEVENTA0" ON "SHKPROCESSSTATEEVENTAUDITS" ("KEYVALUE") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCESSSTATES --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCESSSTATES" ON "SHKPROCESSSTATES" ("KEYVALUE") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCLEVELPARTICIPA2 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCLEVELPARTICIPA2" ON "SHKPROCLEVELPARTICIPANT" ("PARTICIPANT_ID", "PROCESSOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCLEVELXPDLAPP --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCLEVELXPDLAPP" ON "SHKPROCLEVELXPDLAPP" ("APPLICATION_ID", "PROCESSOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCLEVELXPDLAPPT30 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCLEVELXPDLAPPT30" ON "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" ("XPDL_APPOID", "TOOLAGENTOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCLEVELXPDLAPPT34 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCLEVELXPDLAPPT34" ON "SHKPROCLEVELXPDLAPPTAAPPDETAIL" ("XPDL_APPOID", "TOOLAGENTOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCLEVELXPDLAPPT38 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCLEVELXPDLAPPT38" ON "SHKPROCLEVELXPDLAPPTAAPPUSER" ("XPDL_APPOID", "TOOLAGENTOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKPROCLEVELXPDLAPPT42 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKPROCLEVELXPDLAPPT42" ON "SHKPROCLEVELXPDLAPPTAAPPDETUSR" ("XPDL_APPOID", "TOOLAGENTOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKRESOURCESTABLE --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKRESOURCESTABLE" ON "SHKRESOURCESTABLE" ("USERNAME") - ; --------------------------------------------------------- --- DDL for Index I1_SHKSTATEEVENTAUDITS --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKSTATEEVENTAUDITS" ON "SHKSTATEEVENTAUDITS" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKTOOLAGENTAPP --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKTOOLAGENTAPP" ON "SHKTOOLAGENTAPP" ("TOOL_AGENT_NAME", "APP_NAME") - ; --------------------------------------------------------- --- DDL for Index I1_SHKTOOLAGENTAPPDETAI10 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKTOOLAGENTAPPDETAI10" ON "SHKTOOLAGENTAPPDETAILUSER" ("TOOLAGENT_APPOID", "USEROID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKTOOLAGENTAPPDETAIL --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKTOOLAGENTAPPDETAIL" ON "SHKTOOLAGENTAPPDETAIL" ("APP_MODE", "TOOLAGENT_APPOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKTOOLAGENTAPPUSER --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKTOOLAGENTAPPUSER" ON "SHKTOOLAGENTAPPUSER" ("TOOLAGENT_APPOID", "USEROID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKTOOLAGENTUSER --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKTOOLAGENTUSER" ON "SHKTOOLAGENTUSER" ("USERNAME") - ; --------------------------------------------------------- --- DDL for Index I1_SHKUSERGROUPTABLE --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKUSERGROUPTABLE" ON "SHKUSERGROUPTABLE" ("USERID", "GROUPID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKUSERPACKLEVELPART --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKUSERPACKLEVELPART" ON "SHKUSERPACKLEVELPART" ("PARTICIPANTOID", "USEROID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKUSERPROCLEVELPART11 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKUSERPROCLEVELPART11" ON "SHKUSERPROCLEVELPARTICIPANT" ("PARTICIPANTOID", "USEROID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKUSERTABLE --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKUSERTABLE" ON "SHKUSERTABLE" ("USERID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKXPDLAPPLICATIONPAC0 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKXPDLAPPLICATIONPAC0" ON "SHKXPDLAPPLICATIONPACKAGE" ("PACKAGE_ID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKXPDLAPPLICATIONPRO2 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKXPDLAPPLICATIONPRO2" ON "SHKXPDLAPPLICATIONPROCESS" ("PROCESS_ID", "PACKAGEOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKXPDLDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKXPDLDATA" ON "SHKXPDLDATA" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKXPDLHISTORY --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKXPDLHISTORY" ON "SHKXPDLHISTORY" ("XPDLID", "XPDLVERSION") - ; --------------------------------------------------------- --- DDL for Index I1_SHKXPDLHISTORYDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKXPDLHISTORYDATA" ON "SHKXPDLHISTORYDATA" ("CNT") - ; --------------------------------------------------------- --- DDL for Index I1_SHKXPDLPARTICIPANTPAC0 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKXPDLPARTICIPANTPAC0" ON "SHKXPDLPARTICIPANTPACKAGE" ("PACKAGE_ID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKXPDLPARTICIPANTPRO8 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKXPDLPARTICIPANTPRO8" ON "SHKXPDLPARTICIPANTPROCESS" ("PROCESS_ID", "PACKAGEOID") - ; --------------------------------------------------------- --- DDL for Index I1_SHKXPDLREFERENCES --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKXPDLREFERENCES" ON "SHKXPDLREFERENCES" ("REFERREDXPDLID", "REFERRINGXPDL") - ; --------------------------------------------------------- --- DDL for Index I1_SHKXPDLS --------------------------------------------------------- - - CREATE UNIQUE INDEX "I1_SHKXPDLS" ON "SHKXPDLS" ("XPDLID", "XPDLVERSION") - ; --------------------------------------------------------- --- DDL for Index I2_SHKACTIVITIES --------------------------------------------------------- - - CREATE INDEX "I2_SHKACTIVITIES" ON "SHKACTIVITIES" ("PROCESS", "ACTIVITYSETDEFINITIONID", "ACTIVITYDEFINITIONID") - ; --------------------------------------------------------- --- DDL for Index I2_SHKACTIVITYDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKACTIVITYDATA" ON "SHKACTIVITYDATA" ("ACTIVITY", "VARIABLEDEFINITIONID", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I2_SHKACTIVITYDATAWOB --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKACTIVITYDATAWOB" ON "SHKACTIVITYDATAWOB" ("ACTIVITY", "VARIABLEDEFINITIONID", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I2_SHKACTIVITYSTATEEVENT4 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKACTIVITYSTATEEVENT4" ON "SHKACTIVITYSTATEEVENTAUDITS" ("NAME") - ; --------------------------------------------------------- --- DDL for Index I2_SHKACTIVITYSTATES --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKACTIVITYSTATES" ON "SHKACTIVITYSTATES" ("NAME") - ; --------------------------------------------------------- --- DDL for Index I2_SHKANDJOINTABLE --------------------------------------------------------- - - CREATE INDEX "I2_SHKANDJOINTABLE" ON "SHKANDJOINTABLE" ("PROCESS", "BLOCKACTIVITY", "ACTIVITYDEFINITIONID") - ; --------------------------------------------------------- --- DDL for Index I2_SHKASSIGNMENTSTABLE --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKASSIGNMENTSTABLE" ON "SHKASSIGNMENTSTABLE" ("ACTIVITY", "THERESOURCE") - ; --------------------------------------------------------- --- DDL for Index I2_SHKDEADLINES --------------------------------------------------------- - - CREATE INDEX "I2_SHKDEADLINES" ON "SHKDEADLINES" ("PROCESS", "TIMELIMIT") - ; --------------------------------------------------------- --- DDL for Index I2_SHKEVENTTYPES --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKEVENTTYPES" ON "SHKEVENTTYPES" ("NAME") - ; --------------------------------------------------------- --- DDL for Index I2_SHKGROUPGROUPTABLE --------------------------------------------------------- - - CREATE INDEX "I2_SHKGROUPGROUPTABLE" ON "SHKGROUPGROUPTABLE" ("GROUPID") - ; --------------------------------------------------------- --- DDL for Index I2_SHKNEWEVENTAUDITDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKNEWEVENTAUDITDATA" ON "SHKNEWEVENTAUDITDATA" ("DATAEVENTAUDIT", "VARIABLEDEFINITIONID", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I2_SHKNEWEVENTAUDITDATA28 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKNEWEVENTAUDITDATA28" ON "SHKNEWEVENTAUDITDATAWOB" ("DATAEVENTAUDIT", "VARIABLEDEFINITIONID", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I2_SHKOLDEVENTAUDITDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKOLDEVENTAUDITDATA" ON "SHKOLDEVENTAUDITDATA" ("DATAEVENTAUDIT", "VARIABLEDEFINITIONID", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I2_SHKOLDEVENTAUDITDATA20 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKOLDEVENTAUDITDATA20" ON "SHKOLDEVENTAUDITDATAWOB" ("DATAEVENTAUDIT", "VARIABLEDEFINITIONID", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I2_SHKPROCESSDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKPROCESSDATA" ON "SHKPROCESSDATA" ("PROCESS", "VARIABLEDEFINITIONID", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I2_SHKPROCESSDATAWOB --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKPROCESSDATAWOB" ON "SHKPROCESSDATAWOB" ("PROCESS", "VARIABLEDEFINITIONID", "ORDNO") - ; --------------------------------------------------------- --- DDL for Index I2_SHKPROCESSES --------------------------------------------------------- - - CREATE INDEX "I2_SHKPROCESSES" ON "SHKPROCESSES" ("PROCESSDEFINITION") - ; --------------------------------------------------------- --- DDL for Index I2_SHKPROCESSREQUESTERS --------------------------------------------------------- - - CREATE INDEX "I2_SHKPROCESSREQUESTERS" ON "SHKPROCESSREQUESTERS" ("ACTIVITYREQUESTER") - ; --------------------------------------------------------- --- DDL for Index I2_SHKPROCESSSTATEEVENTA1 --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKPROCESSSTATEEVENTA1" ON "SHKPROCESSSTATEEVENTAUDITS" ("NAME") - ; --------------------------------------------------------- --- DDL for Index I2_SHKPROCESSSTATES --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKPROCESSSTATES" ON "SHKPROCESSSTATES" ("NAME") - ; --------------------------------------------------------- --- DDL for Index I2_SHKXPDLDATA --------------------------------------------------------- - - CREATE UNIQUE INDEX "I2_SHKXPDLDATA" ON "SHKXPDLDATA" ("XPDL") - ; --------------------------------------------------------- --- DDL for Index I3_SHKACTIVITIES --------------------------------------------------------- - - CREATE INDEX "I3_SHKACTIVITIES" ON "SHKACTIVITIES" ("PROCESS", "STATE") - ; --------------------------------------------------------- --- DDL for Index I3_SHKANDJOINTABLE --------------------------------------------------------- - - CREATE INDEX "I3_SHKANDJOINTABLE" ON "SHKANDJOINTABLE" ("ACTIVITY") - ; --------------------------------------------------------- --- DDL for Index I3_SHKASSIGNMENTSTABLE --------------------------------------------------------- - - CREATE INDEX "I3_SHKASSIGNMENTSTABLE" ON "SHKASSIGNMENTSTABLE" ("THERESOURCE", "ISVALID") - ; --------------------------------------------------------- --- DDL for Index I3_SHKDEADLINES --------------------------------------------------------- - - CREATE INDEX "I3_SHKDEADLINES" ON "SHKDEADLINES" ("ACTIVITY", "TIMELIMIT") - ; --------------------------------------------------------- --- DDL for Index I3_SHKPROCESSES --------------------------------------------------------- - - CREATE INDEX "I3_SHKPROCESSES" ON "SHKPROCESSES" ("STATE") - ; --------------------------------------------------------- --- DDL for Index I3_SHKPROCESSREQUESTERS --------------------------------------------------------- - - CREATE INDEX "I3_SHKPROCESSREQUESTERS" ON "SHKPROCESSREQUESTERS" ("RESOURCEREQUESTER") - ; --------------------------------------------------------- --- DDL for Index I4_SHKASSIGNMENTSTABLE --------------------------------------------------------- - - CREATE INDEX "I4_SHKASSIGNMENTSTABLE" ON "SHKASSIGNMENTSTABLE" ("ACTIVITYID") - ; --------------------------------------------------------- --- DDL for Index I4_SHKPROCESSES --------------------------------------------------------- - - CREATE INDEX "I4_SHKPROCESSES" ON "SHKPROCESSES" ("ACTIVITYREQUESTERID") - ; --------------------------------------------------------- --- DDL for Index I5_SHKASSIGNMENTSTABLE --------------------------------------------------------- - - CREATE INDEX "I5_SHKASSIGNMENTSTABLE" ON "SHKASSIGNMENTSTABLE" ("RESOURCEID") - ; --------------------------------------------------------- --- DDL for Index I5_SHKPROCESSES --------------------------------------------------------- - - CREATE INDEX "I5_SHKPROCESSES" ON "SHKPROCESSES" ("RESOURCEREQUESTERID") - ; - --------------------------------------------------------- --- Ref Constraints for Table APP_BUILDER --------------------------------------------------------- - - ALTER TABLE "APP_BUILDER" ADD CONSTRAINT "FK5F9347A6462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") - REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_DATALIST --------------------------------------------------------- - - ALTER TABLE "APP_DATALIST" ADD CONSTRAINT "FK5E9247A6462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") - REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_ENV_VARIABLE --------------------------------------------------------- - - ALTER TABLE "APP_ENV_VARIABLE" ADD CONSTRAINT "FK740A62EC462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") - REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table APP_FORM --------------------------------------------------------- - - ALTER TABLE "APP_FORM" ADD CONSTRAINT "FK45957822462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") - REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_MESSAGE --------------------------------------------------------- - - ALTER TABLE "APP_MESSAGE" ADD CONSTRAINT "FKEE346FE9462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") - REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_PACKAGE --------------------------------------------------------- - - ALTER TABLE "APP_PACKAGE" ADD CONSTRAINT "FK852EA428462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") - REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_PACKAGE_ACTIVITY_FORM --------------------------------------------------------- - - ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" ADD CONSTRAINT "FKA8D741D5F255BCC" FOREIGN KEY ("PACKAGEID", "PACKAGEVERSION") - REFERENCES "APP_PACKAGE" ("PACKAGEID", "PACKAGEVERSION") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_PACKAGE_ACTIVITY_PLUGIN --------------------------------------------------------- - - ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" ADD CONSTRAINT "FKADE8644C5F255BCC" FOREIGN KEY ("PACKAGEID", "PACKAGEVERSION") - REFERENCES "APP_PACKAGE" ("PACKAGEID", "PACKAGEVERSION") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_PACKAGE_PARTICIPANT --------------------------------------------------------- - - ALTER TABLE "APP_PACKAGE_PARTICIPANT" ADD CONSTRAINT "FK6D7BF59C5F255BCC" FOREIGN KEY ("PACKAGEID", "PACKAGEVERSION") - REFERENCES "APP_PACKAGE" ("PACKAGEID", "PACKAGEVERSION") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_PLUGIN_DEFAULT --------------------------------------------------------- - - ALTER TABLE "APP_PLUGIN_DEFAULT" ADD CONSTRAINT "FK7A835713462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") - REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_REPORT_ACTIVITY --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_ACTIVITY" ADD CONSTRAINT "FK5E33D79C918F93D" FOREIGN KEY ("PROCESSUID") - REFERENCES "APP_REPORT_PROCESS" ("UUID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_REPORT_ACTIVITY_INSTANCE --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_ACTIVITY_INSTANCE" ADD CONSTRAINT "FK9C6ABDD8B06E2043" FOREIGN KEY ("ACTIVITYUID") - REFERENCES "APP_REPORT_ACTIVITY" ("UUID") ENABLE; - - ALTER TABLE "APP_REPORT_ACTIVITY_INSTANCE" ADD CONSTRAINT "FK9C6ABDD8D4610A90" FOREIGN KEY ("PROCESSINSTANCEID") - REFERENCES "APP_REPORT_PROCESS_INSTANCE" ("INSTANCEID") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table APP_REPORT_PACKAGE --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_PACKAGE" ADD CONSTRAINT "FKBD580A19E475ABC" FOREIGN KEY ("APPUID") - REFERENCES "APP_REPORT_APP" ("UUID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_REPORT_PROCESS --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_PROCESS" ADD CONSTRAINT "FKDAFFF442D40695DD" FOREIGN KEY ("PACKAGEUID") - REFERENCES "APP_REPORT_PACKAGE" ("UUID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_REPORT_PROCESS_INSTANCE --------------------------------------------------------- - - ALTER TABLE "APP_REPORT_PROCESS_INSTANCE" ADD CONSTRAINT "FK351D7BF2918F93D" FOREIGN KEY ("PROCESSUID") - REFERENCES "APP_REPORT_PROCESS" ("UUID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_USERVIEW --------------------------------------------------------- - - ALTER TABLE "APP_USERVIEW" ADD CONSTRAINT "FKE411D54E462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") - REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table DIR_DEPARTMENT --------------------------------------------------------- - - ALTER TABLE "DIR_DEPARTMENT" ADD CONSTRAINT "FKEEE8AA4418CEBAE1" FOREIGN KEY ("ORGANIZATIONID") - REFERENCES "DIR_ORGANIZATION" ("ID") ON DELETE CASCADE ENABLE; - - ALTER TABLE "DIR_DEPARTMENT" ADD CONSTRAINT "FKEEE8AA4480DB1449" FOREIGN KEY ("HOD") - REFERENCES "DIR_EMPLOYMENT" ("ID") ENABLE; - - ALTER TABLE "DIR_DEPARTMENT" ADD CONSTRAINT "FKEEE8AA44EF6BB2B7" FOREIGN KEY ("PARENTID") - REFERENCES "DIR_DEPARTMENT" ("ID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table DIR_EMPLOYMENT --------------------------------------------------------- - - ALTER TABLE "DIR_EMPLOYMENT" ADD CONSTRAINT "FKC6620ADE14CE02E9" FOREIGN KEY ("GRADEID") - REFERENCES "DIR_GRADE" ("ID") ENABLE; - - ALTER TABLE "DIR_EMPLOYMENT" ADD CONSTRAINT "FKC6620ADE18CEBAE1" FOREIGN KEY ("ORGANIZATIONID") - REFERENCES "DIR_ORGANIZATION" ("ID") ON DELETE CASCADE ENABLE; - - ALTER TABLE "DIR_EMPLOYMENT" ADD CONSTRAINT "FKC6620ADE716AE35F" FOREIGN KEY ("DEPARTMENTID") - REFERENCES "DIR_DEPARTMENT" ("ID") ENABLE; - - ALTER TABLE "DIR_EMPLOYMENT" ADD CONSTRAINT "FKC6620ADECE539211" FOREIGN KEY ("USERID") - REFERENCES "DIR_USER" ("ID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table DIR_EMPLOYMENT_REPORT_TO --------------------------------------------------------- - - ALTER TABLE "DIR_EMPLOYMENT_REPORT_TO" ADD CONSTRAINT "FK536229452787E613" FOREIGN KEY ("EMPLOYMENTID") - REFERENCES "DIR_EMPLOYMENT" ("ID") ENABLE; - - ALTER TABLE "DIR_EMPLOYMENT_REPORT_TO" ADD CONSTRAINT "FK53622945F4068416" FOREIGN KEY ("REPORTTOID") - REFERENCES "DIR_EMPLOYMENT" ("ID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table DIR_GRADE --------------------------------------------------------- - - ALTER TABLE "DIR_GRADE" ADD CONSTRAINT "FKBC9A49A518CEBAE1" FOREIGN KEY ("ORGANIZATIONID") - REFERENCES "DIR_ORGANIZATION" ("ID") ON DELETE CASCADE ENABLE; --------------------------------------------------------- --- Ref Constraints for Table DIR_GROUP --------------------------------------------------------- - - ALTER TABLE "DIR_GROUP" ADD CONSTRAINT "FKBC9A804D18CEBAE1" FOREIGN KEY ("ORGANIZATIONID") - REFERENCES "DIR_ORGANIZATION" ("ID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table DIR_ORGANIZATION --------------------------------------------------------- - - ALTER TABLE "DIR_ORGANIZATION" ADD CONSTRAINT "FK55A15FA5961BD498" FOREIGN KEY ("PARENTID") - REFERENCES "DIR_ORGANIZATION" ("ID") ENABLE; - - --------------------------------------------------------- --- Ref Constraints for Table DIR_USER_GROUP --------------------------------------------------------- - - ALTER TABLE "DIR_USER_GROUP" ADD CONSTRAINT "FK2F0367FD159B6639" FOREIGN KEY ("GROUPID") - REFERENCES "DIR_GROUP" ("ID") ENABLE; - - ALTER TABLE "DIR_USER_GROUP" ADD CONSTRAINT "FK2F0367FDCE539211" FOREIGN KEY ("USERID") - REFERENCES "DIR_USER" ("ID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table DIR_USER_ROLE --------------------------------------------------------- - - ALTER TABLE "DIR_USER_ROLE" ADD CONSTRAINT "FK5C5FE738C8FE3CA7" FOREIGN KEY ("ROLEID") - REFERENCES "DIR_ROLE" ("ID") ENABLE; - - ALTER TABLE "DIR_USER_ROLE" ADD CONSTRAINT "FK5C5FE738CE539211" FOREIGN KEY ("USERID") - REFERENCES "DIR_USER" ("ID") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table SHKACTIVITIES --------------------------------------------------------- - - ALTER TABLE "SHKACTIVITIES" ADD CONSTRAINT "SHKACTIVITIES_PROCESS" FOREIGN KEY ("PROCESS") - REFERENCES "SHKPROCESSES" ("OID") ENABLE; - - ALTER TABLE "SHKACTIVITIES" ADD CONSTRAINT "SHKACTIVITIES_STATE" FOREIGN KEY ("STATE") - REFERENCES "SHKACTIVITYSTATES" ("OID") ENABLE; - - ALTER TABLE "SHKACTIVITIES" ADD CONSTRAINT "SHKACTIVITIES_THERESOURCE" FOREIGN KEY ("THERESOURCE") - REFERENCES "SHKRESOURCESTABLE" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKACTIVITYDATA --------------------------------------------------------- - - ALTER TABLE "SHKACTIVITYDATA" ADD CONSTRAINT "SHKACTIVITYDATA_ACTIVITY" FOREIGN KEY ("ACTIVITY") - REFERENCES "SHKACTIVITIES" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKACTIVITYDATABLOBS --------------------------------------------------------- - - ALTER TABLE "SHKACTIVITYDATABLOBS" ADD CONSTRAINT "SHKACTIVITYDATABLOBS_ACT7" FOREIGN KEY ("ACTIVITYDATAWOB") - REFERENCES "SHKACTIVITYDATAWOB" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKACTIVITYDATAWOB --------------------------------------------------------- - - ALTER TABLE "SHKACTIVITYDATAWOB" ADD CONSTRAINT "SHKACTIVITYDATAWOB_ACTIV6" FOREIGN KEY ("ACTIVITY") - REFERENCES "SHKACTIVITIES" ("OID") ENABLE; - - --------------------------------------------------------- --- Ref Constraints for Table SHKANDJOINTABLE --------------------------------------------------------- - - ALTER TABLE "SHKANDJOINTABLE" ADD CONSTRAINT "SHKANDJOINTABLE_ACTIVITY" FOREIGN KEY ("ACTIVITY") - REFERENCES "SHKACTIVITIES" ("OID") ENABLE; - - ALTER TABLE "SHKANDJOINTABLE" ADD CONSTRAINT "SHKANDJOINTABLE_BLOCKACT8" FOREIGN KEY ("BLOCKACTIVITY") - REFERENCES "SHKACTIVITIES" ("OID") ENABLE; - - ALTER TABLE "SHKANDJOINTABLE" ADD CONSTRAINT "SHKANDJOINTABLE_PROCESS" FOREIGN KEY ("PROCESS") - REFERENCES "SHKPROCESSES" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKASSIGNMENTEVENTAUDITS --------------------------------------------------------- - - ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" ADD CONSTRAINT "SHKASSIGNMENTEVENTAUDIT16" FOREIGN KEY ("THETYPE") - REFERENCES "SHKEVENTTYPES" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKASSIGNMENTSTABLE --------------------------------------------------------- - - ALTER TABLE "SHKASSIGNMENTSTABLE" ADD CONSTRAINT "SHKASSIGNMENTSTABLE_ACTI3" FOREIGN KEY ("ACTIVITY") - REFERENCES "SHKACTIVITIES" ("OID") ENABLE; - - ALTER TABLE "SHKASSIGNMENTSTABLE" ADD CONSTRAINT "SHKASSIGNMENTSTABLE_THER4" FOREIGN KEY ("THERESOURCE") - REFERENCES "SHKRESOURCESTABLE" ("OID") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table SHKCREATEPROCESSEVENTAUDITS --------------------------------------------------------- - - ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" ADD CONSTRAINT "SHKCREATEPROCESSEVENTAUD7" FOREIGN KEY ("THETYPE") - REFERENCES "SHKEVENTTYPES" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKDATAEVENTAUDITS --------------------------------------------------------- - - ALTER TABLE "SHKDATAEVENTAUDITS" ADD CONSTRAINT "SHKDATAEVENTAUDITS_THET14" FOREIGN KEY ("THETYPE") - REFERENCES "SHKEVENTTYPES" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKDEADLINES --------------------------------------------------------- - - ALTER TABLE "SHKDEADLINES" ADD CONSTRAINT "SHKDEADLINES_ACTIVITY" FOREIGN KEY ("ACTIVITY") - REFERENCES "SHKACTIVITIES" ("OID") ENABLE; - - ALTER TABLE "SHKDEADLINES" ADD CONSTRAINT "SHKDEADLINES_PROCESS" FOREIGN KEY ("PROCESS") - REFERENCES "SHKPROCESSES" ("OID") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table SHKGROUPGROUPTABLE --------------------------------------------------------- - - ALTER TABLE "SHKGROUPGROUPTABLE" ADD CONSTRAINT "SHKGROUPGROUPTABLE_GROUP1" FOREIGN KEY ("GROUPID") - REFERENCES "SHKGROUPTABLE" ("OID") ENABLE; - - ALTER TABLE "SHKGROUPGROUPTABLE" ADD CONSTRAINT "SHKGROUPGROUPTABLE_SUB_G0" FOREIGN KEY ("SUB_GID") - REFERENCES "SHKGROUPTABLE" ("OID") ENABLE; - - --------------------------------------------------------- --- Ref Constraints for Table SHKGROUPUSERPACKLEVELPART --------------------------------------------------------- - - ALTER TABLE "SHKGROUPUSERPACKLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPACKLEVELPA18" FOREIGN KEY ("PARTICIPANTOID") - REFERENCES "SHKPACKLEVELPARTICIPANT" ("OID") ENABLE; - - ALTER TABLE "SHKGROUPUSERPACKLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPACKLEVELPA19" FOREIGN KEY ("USEROID") - REFERENCES "SHKGROUPUSER" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKGROUPUSERPROCLEVELPART --------------------------------------------------------- - - ALTER TABLE "SHKGROUPUSERPROCLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPROCLEVELPA22" FOREIGN KEY ("PARTICIPANTOID") - REFERENCES "SHKPROCLEVELPARTICIPANT" ("OID") ENABLE; - - ALTER TABLE "SHKGROUPUSERPROCLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPROCLEVELPA23" FOREIGN KEY ("USEROID") - REFERENCES "SHKGROUPUSER" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKNEWEVENTAUDITDATA --------------------------------------------------------- - - ALTER TABLE "SHKNEWEVENTAUDITDATA" ADD CONSTRAINT "SHKNEWEVENTAUDITDATA_DA26" FOREIGN KEY ("DATAEVENTAUDIT") - REFERENCES "SHKDATAEVENTAUDITS" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKNEWEVENTAUDITDATABLOBS --------------------------------------------------------- - - ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" ADD CONSTRAINT "SHKNEWEVENTAUDITDATABLO32" FOREIGN KEY ("NEWEVENTAUDITDATAWOB") - REFERENCES "SHKNEWEVENTAUDITDATAWOB" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKNEWEVENTAUDITDATAWOB --------------------------------------------------------- - - ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" ADD CONSTRAINT "SHKNEWEVENTAUDITDATAWOB29" FOREIGN KEY ("DATAEVENTAUDIT") - REFERENCES "SHKDATAEVENTAUDITS" ("OID") ENABLE; - - --------------------------------------------------------- --- Ref Constraints for Table SHKOLDEVENTAUDITDATA --------------------------------------------------------- - - ALTER TABLE "SHKOLDEVENTAUDITDATA" ADD CONSTRAINT "SHKOLDEVENTAUDITDATA_DA18" FOREIGN KEY ("DATAEVENTAUDIT") - REFERENCES "SHKDATAEVENTAUDITS" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKOLDEVENTAUDITDATABLOBS --------------------------------------------------------- - - ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" ADD CONSTRAINT "SHKOLDEVENTAUDITDATABLO24" FOREIGN KEY ("OLDEVENTAUDITDATAWOB") - REFERENCES "SHKOLDEVENTAUDITDATAWOB" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKOLDEVENTAUDITDATAWOB --------------------------------------------------------- - - ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" ADD CONSTRAINT "SHKOLDEVENTAUDITDATAWOB21" FOREIGN KEY ("DATAEVENTAUDIT") - REFERENCES "SHKDATAEVENTAUDITS" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPACKLEVELPARTICIPANT --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELPARTICIPANT" ADD CONSTRAINT "SHKPACKLEVELPARTICIPANT_6" FOREIGN KEY ("PACKAGEOID") - REFERENCES "SHKXPDLPARTICIPANTPACKAGE" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPACKLEVELXPDLAPP --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELXPDLAPP" ADD CONSTRAINT "SHKPACKLEVELXPDLAPP_PACK5" FOREIGN KEY ("PACKAGEOID") - REFERENCES "SHKXPDLAPPLICATIONPACKAGE" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPACKLEVELXPDLAPPTAAPPDETAIL --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP19" FOREIGN KEY ("XPDL_APPOID") - REFERENCES "SHKPACKLEVELXPDLAPP" ("OID") ENABLE; - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP20" FOREIGN KEY ("TOOLAGENTOID") - REFERENCES "SHKTOOLAGENTAPPDETAIL" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPACKLEVELXPDLAPPTAAPPDETUSR --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP27" FOREIGN KEY ("XPDL_APPOID") - REFERENCES "SHKPACKLEVELXPDLAPP" ("OID") ENABLE; - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP28" FOREIGN KEY ("TOOLAGENTOID") - REFERENCES "SHKTOOLAGENTAPPDETAILUSER" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPACKLEVELXPDLAPPTAAPPUSER --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP23" FOREIGN KEY ("XPDL_APPOID") - REFERENCES "SHKPACKLEVELXPDLAPP" ("OID") ENABLE; - - ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP24" FOREIGN KEY ("TOOLAGENTOID") - REFERENCES "SHKTOOLAGENTAPPUSER" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPACKLEVELXPDLAPPTOOLAGNTAPP --------------------------------------------------------- - - ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTOOL15" FOREIGN KEY ("XPDL_APPOID") - REFERENCES "SHKPACKLEVELXPDLAPP" ("OID") ENABLE; - - ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTOOL16" FOREIGN KEY ("TOOLAGENTOID") - REFERENCES "SHKTOOLAGENTAPP" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPROCESSDATA --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSDATA" ADD CONSTRAINT "SHKPROCESSDATA_PROCESS" FOREIGN KEY ("PROCESS") - REFERENCES "SHKPROCESSES" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPROCESSDATABLOBS --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSDATABLOBS" ADD CONSTRAINT "SHKPROCESSDATABLOBS_PROC5" FOREIGN KEY ("PROCESSDATAWOB") - REFERENCES "SHKPROCESSDATAWOB" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPROCESSDATAWOB --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSDATAWOB" ADD CONSTRAINT "SHKPROCESSDATAWOB_PROCESS" FOREIGN KEY ("PROCESS") - REFERENCES "SHKPROCESSES" ("OID") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table SHKPROCESSES --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSES" ADD CONSTRAINT "SHKPROCESSES_PROCESSDEFI0" FOREIGN KEY ("PROCESSDEFINITION") - REFERENCES "SHKPROCESSDEFINITIONS" ("OID") ENABLE; - - ALTER TABLE "SHKPROCESSES" ADD CONSTRAINT "SHKPROCESSES_STATE" FOREIGN KEY ("STATE") - REFERENCES "SHKPROCESSSTATES" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPROCESSREQUESTERS --------------------------------------------------------- - - ALTER TABLE "SHKPROCESSREQUESTERS" ADD CONSTRAINT "SHKPROCESSREQUESTERS_ACT1" FOREIGN KEY ("ACTIVITYREQUESTER") - REFERENCES "SHKACTIVITIES" ("OID") ENABLE; - - ALTER TABLE "SHKPROCESSREQUESTERS" ADD CONSTRAINT "SHKPROCESSREQUESTERS_RES2" FOREIGN KEY ("RESOURCEREQUESTER") - REFERENCES "SHKRESOURCESTABLE" ("OID") ENABLE; - - --------------------------------------------------------- --- Ref Constraints for Table SHKPROCLEVELPARTICIPANT --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELPARTICIPANT" ADD CONSTRAINT "SHKPROCLEVELPARTICIPANT_3" FOREIGN KEY ("PROCESSOID") - REFERENCES "SHKXPDLPARTICIPANTPROCESS" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPROCLEVELXPDLAPP --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELXPDLAPP" ADD CONSTRAINT "SHKPROCLEVELXPDLAPP_PROC6" FOREIGN KEY ("PROCESSOID") - REFERENCES "SHKXPDLAPPLICATIONPROCESS" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPROCLEVELXPDLAPPTAAPPDETAIL --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP35" FOREIGN KEY ("XPDL_APPOID") - REFERENCES "SHKPROCLEVELXPDLAPP" ("OID") ENABLE; - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP36" FOREIGN KEY ("TOOLAGENTOID") - REFERENCES "SHKTOOLAGENTAPPDETAIL" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPROCLEVELXPDLAPPTAAPPDETUSR --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP43" FOREIGN KEY ("XPDL_APPOID") - REFERENCES "SHKPROCLEVELXPDLAPP" ("OID") ENABLE; - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP44" FOREIGN KEY ("TOOLAGENTOID") - REFERENCES "SHKTOOLAGENTAPPDETAILUSER" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPROCLEVELXPDLAPPTAAPPUSER --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP39" FOREIGN KEY ("XPDL_APPOID") - REFERENCES "SHKPROCLEVELXPDLAPP" ("OID") ENABLE; - - ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP40" FOREIGN KEY ("TOOLAGENTOID") - REFERENCES "SHKTOOLAGENTAPPUSER" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKPROCLEVELXPDLAPPTOOLAGNTAPP --------------------------------------------------------- - - ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTOOL31" FOREIGN KEY ("XPDL_APPOID") - REFERENCES "SHKPROCLEVELXPDLAPP" ("OID") ENABLE; - - ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTOOL32" FOREIGN KEY ("TOOLAGENTOID") - REFERENCES "SHKTOOLAGENTAPP" ("OID") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table SHKSTATEEVENTAUDITS --------------------------------------------------------- - - ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_NEW11" FOREIGN KEY ("NEWPROCESSSTATE") - REFERENCES "SHKPROCESSSTATEEVENTAUDITS" ("OID") ENABLE; - - ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_NEW13" FOREIGN KEY ("NEWACTIVITYSTATE") - REFERENCES "SHKACTIVITYSTATEEVENTAUDITS" ("OID") ENABLE; - - ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_OLD10" FOREIGN KEY ("OLDPROCESSSTATE") - REFERENCES "SHKPROCESSSTATEEVENTAUDITS" ("OID") ENABLE; - - ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_OLD12" FOREIGN KEY ("OLDACTIVITYSTATE") - REFERENCES "SHKACTIVITYSTATEEVENTAUDITS" ("OID") ENABLE; - - ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_THET9" FOREIGN KEY ("THETYPE") - REFERENCES "SHKEVENTTYPES" ("OID") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table SHKTOOLAGENTAPPDETAIL --------------------------------------------------------- - - ALTER TABLE "SHKTOOLAGENTAPPDETAIL" ADD CONSTRAINT "SHKTOOLAGENTAPPDETAIL_TO7" FOREIGN KEY ("TOOLAGENT_APPOID") - REFERENCES "SHKTOOLAGENTAPP" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKTOOLAGENTAPPDETAILUSER --------------------------------------------------------- - - ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPDETAILUS11" FOREIGN KEY ("TOOLAGENT_APPOID") - REFERENCES "SHKTOOLAGENTAPPDETAIL" ("OID") ENABLE; - - ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPDETAILUS12" FOREIGN KEY ("USEROID") - REFERENCES "SHKTOOLAGENTUSER" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKTOOLAGENTAPPUSER --------------------------------------------------------- - - ALTER TABLE "SHKTOOLAGENTAPPUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPUSER_TOOL8" FOREIGN KEY ("TOOLAGENT_APPOID") - REFERENCES "SHKTOOLAGENTAPP" ("OID") ENABLE; - - ALTER TABLE "SHKTOOLAGENTAPPUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPUSER_USER9" FOREIGN KEY ("USEROID") - REFERENCES "SHKTOOLAGENTUSER" ("OID") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table SHKUSERGROUPTABLE --------------------------------------------------------- - - ALTER TABLE "SHKUSERGROUPTABLE" ADD CONSTRAINT "SHKUSERGROUPTABLE_GROUPID" FOREIGN KEY ("GROUPID") - REFERENCES "SHKGROUPTABLE" ("OID") ENABLE; - - ALTER TABLE "SHKUSERGROUPTABLE" ADD CONSTRAINT "SHKUSERGROUPTABLE_USERID" FOREIGN KEY ("USERID") - REFERENCES "SHKUSERTABLE" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKUSERPACKLEVELPART --------------------------------------------------------- - - ALTER TABLE "SHKUSERPACKLEVELPART" ADD CONSTRAINT "SHKUSERPACKLEVELPART_PA15" FOREIGN KEY ("PARTICIPANTOID") - REFERENCES "SHKPACKLEVELPARTICIPANT" ("OID") ENABLE; - - ALTER TABLE "SHKUSERPACKLEVELPART" ADD CONSTRAINT "SHKUSERPACKLEVELPART_US16" FOREIGN KEY ("USEROID") - REFERENCES "SHKNORMALUSER" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKUSERPROCLEVELPARTICIPANT --------------------------------------------------------- - - ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" ADD CONSTRAINT "SHKUSERPROCLEVELPARTICI12" FOREIGN KEY ("PARTICIPANTOID") - REFERENCES "SHKPROCLEVELPARTICIPANT" ("OID") ENABLE; - - ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" ADD CONSTRAINT "SHKUSERPROCLEVELPARTICI13" FOREIGN KEY ("USEROID") - REFERENCES "SHKNORMALUSER" ("OID") ENABLE; - - --------------------------------------------------------- --- Ref Constraints for Table SHKXPDLAPPLICATIONPROCESS --------------------------------------------------------- - - ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" ADD CONSTRAINT "SHKXPDLAPPLICATIONPROCES3" FOREIGN KEY ("PACKAGEOID") - REFERENCES "SHKXPDLAPPLICATIONPACKAGE" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKXPDLDATA --------------------------------------------------------- - - ALTER TABLE "SHKXPDLDATA" ADD CONSTRAINT "SHKXPDLDATA_XPDL" FOREIGN KEY ("XPDL") - REFERENCES "SHKXPDLS" ("OID") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table SHKXPDLHISTORYDATA --------------------------------------------------------- - - ALTER TABLE "SHKXPDLHISTORYDATA" ADD CONSTRAINT "SHKXPDLHISTORYDATA_XPDLH0" FOREIGN KEY ("XPDLHISTORY") - REFERENCES "SHKXPDLHISTORY" ("OID") ENABLE; - --------------------------------------------------------- --- Ref Constraints for Table SHKXPDLPARTICIPANTPROCESS --------------------------------------------------------- - - ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" ADD CONSTRAINT "SHKXPDLPARTICIPANTPROCES9" FOREIGN KEY ("PACKAGEOID") - REFERENCES "SHKXPDLPARTICIPANTPACKAGE" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table SHKXPDLREFERENCES --------------------------------------------------------- - - ALTER TABLE "SHKXPDLREFERENCES" ADD CONSTRAINT "SHKXPDLREFERENCES_REFERR1" FOREIGN KEY ("REFERRINGXPDL") - REFERENCES "SHKXPDLS" ("OID") ENABLE; --------------------------------------------------------- --- Ref Constraints for Table APP_RESOURCE --------------------------------------------------------- - - ALTER TABLE "APP_RESOURCE" ADD CONSTRAINT "FK_NNVKG0H6YY8O3F4YJHD20URY0" FOREIGN KEY ("APPID", "APPVERSION") - REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; - - - - - +-------------------------------------------------------- +-- DDL for Table APP_APP +-------------------------------------------------------- + + CREATE TABLE "APP_APP" + ( "APPID" VARCHAR2(255 CHAR), + "APPVERSION" NUMBER(19,0), + "NAME" VARCHAR2(255 CHAR), + "PUBLISHED" NUMBER(1,0), + "DATECREATED" TIMESTAMP (6), + "DATEMODIFIED" TIMESTAMP (6), + "LICENSE" VARCHAR2(4000), + "DESCRIPTION" VARCHAR2(4000), + "META" VARCHAR2(4000) + ) ; + +-------------------------------------------------------- +-- DDL for Table APP_BUILDER +-------------------------------------------------------- + + CREATE TABLE "APP_BUILDER" ( + "APPID" VARCHAR2(255 CHAR), + "APPVERSION" NUMBER(19,0), + "ID" VARCHAR2(255 CHAR), + "NAME" VARCHAR2(255 CHAR), + "TYPE" VARCHAR2(255 CHAR), + "DESCRIPTION" CLOB, + "JSON" CLOB, + "DATECREATED" TIMESTAMP (6), + "DATEMODIFIED" TIMESTAMP (6) + ) ; + +-------------------------------------------------------- +-- DDL for Table APP_DATALIST +-------------------------------------------------------- + + CREATE TABLE "APP_DATALIST" + ( "APPID" VARCHAR2(255 CHAR), + "APPVERSION" NUMBER(19,0), + "ID" VARCHAR2(255 CHAR), + "NAME" VARCHAR2(255 CHAR), + "DESCRIPTION" CLOB, + "JSON" CLOB, + "DATECREATED" TIMESTAMP (6), + "DATEMODIFIED" TIMESTAMP (6) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_ENV_VARIABLE +-------------------------------------------------------- + + CREATE TABLE "APP_ENV_VARIABLE" + ( "APPID" VARCHAR2(255 CHAR), + "APPVERSION" NUMBER(19,0), + "ID" VARCHAR2(255 CHAR), + "VALUE" CLOB, + "REMARKS" CLOB + ) ; +-------------------------------------------------------- +-- DDL for Table APP_FD +-------------------------------------------------------- + + CREATE TABLE "APP_FD" + ( "ID" VARCHAR2(255 CHAR), + "DATECREATED" TIMESTAMP (6), + "DATEMODIFIED" TIMESTAMP (6) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_FORM +-------------------------------------------------------- + + CREATE TABLE "APP_FORM" + ( "APPID" VARCHAR2(255 CHAR), + "APPVERSION" NUMBER(19,0), + "FORMID" VARCHAR2(255 CHAR), + "NAME" VARCHAR2(255 CHAR), + "DATECREATED" TIMESTAMP (6), + "DATEMODIFIED" TIMESTAMP (6), + "TABLENAME" VARCHAR2(255 CHAR), + "JSON" CLOB, + "DESCRIPTION" VARCHAR2(4000) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_FORM_DATA_AUDIT_TRAIL +-------------------------------------------------------- + + CREATE TABLE "APP_FORM_DATA_AUDIT_TRAIL" + ( "ID" VARCHAR2(255 CHAR), + "APPID" VARCHAR2(255 CHAR), + "APPVERSION" VARCHAR2(255 CHAR), + "FORMID" VARCHAR2(255 CHAR), + "TABLENAME" VARCHAR2(255 CHAR), + "USERNAME" VARCHAR2(255 CHAR), + "ACTION" VARCHAR2(255 CHAR), + "DATA" VARCHAR2(4000), + "DATETIME" TIMESTAMP (6) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_MESSAGE +-------------------------------------------------------- + + CREATE TABLE "APP_MESSAGE" + ( "APPID" VARCHAR2(255 CHAR), + "APPVERSION" NUMBER(19,0), + "OUID" VARCHAR2(255 CHAR), + "MESSAGEKEY" VARCHAR2(255 CHAR), + "LOCALE" VARCHAR2(255 CHAR), + "MESSAGE" CLOB + ) ; +-------------------------------------------------------- +-- DDL for Table APP_PACKAGE +-------------------------------------------------------- + + CREATE TABLE "APP_PACKAGE" + ( "PACKAGEID" VARCHAR2(255 CHAR), + "PACKAGEVERSION" NUMBER(19,0), + "NAME" VARCHAR2(255 CHAR), + "DATECREATED" TIMESTAMP (6), + "DATEMODIFIED" TIMESTAMP (6), + "APPID" VARCHAR2(255 CHAR), + "APPVERSION" NUMBER(19,0) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_PACKAGE_ACTIVITY_FORM +-------------------------------------------------------- + + CREATE TABLE "APP_PACKAGE_ACTIVITY_FORM" + ( "PROCESSDEFID" VARCHAR2(255 CHAR), + "ACTIVITYDEFID" VARCHAR2(255 CHAR), + "PACKAGEID" VARCHAR2(255 CHAR), + "PACKAGEVERSION" NUMBER(19,0), + "OUID" VARCHAR2(255 CHAR), + "TYPE" VARCHAR2(255 CHAR), + "FORMID" VARCHAR2(255 CHAR), + "FORMURL" VARCHAR2(255 CHAR), + "FORMIFRAMESTYLE" VARCHAR2(255 CHAR), + "AUTOCONTINUE" NUMBER(1,0), + "DISABLESAVEASDRAFT" NUMBER(1,0) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_PACKAGE_ACTIVITY_PLUGIN +-------------------------------------------------------- + + CREATE TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" + ( "PROCESSDEFID" VARCHAR2(255 CHAR), + "ACTIVITYDEFID" VARCHAR2(255 CHAR), + "PACKAGEID" VARCHAR2(255 CHAR), + "PACKAGEVERSION" NUMBER(19,0), + "OUID" VARCHAR2(255 CHAR), + "PLUGINNAME" VARCHAR2(255 CHAR), + "PLUGINPROPERTIES" CLOB + ) ; +-------------------------------------------------------- +-- DDL for Table APP_PACKAGE_PARTICIPANT +-------------------------------------------------------- + + CREATE TABLE "APP_PACKAGE_PARTICIPANT" + ( "PROCESSDEFID" VARCHAR2(255 CHAR), + "PARTICIPANTID" VARCHAR2(255 CHAR), + "PACKAGEID" VARCHAR2(255 CHAR), + "PACKAGEVERSION" NUMBER(19,0), + "OUID" VARCHAR2(255 CHAR), + "TYPE" VARCHAR2(255 CHAR), + "VALUE" CLOB, + "PLUGINPROPERTIES" CLOB + ) ; +-------------------------------------------------------- +-- DDL for Table APP_PLUGIN_DEFAULT +-------------------------------------------------------- + + CREATE TABLE "APP_PLUGIN_DEFAULT" + ( "APPID" VARCHAR2(255 CHAR), + "APPVERSION" NUMBER(19,0), + "ID" VARCHAR2(255 CHAR), + "PLUGINNAME" VARCHAR2(255 CHAR), + "PLUGINDESCRIPTION" CLOB, + "PLUGINPROPERTIES" CLOB + ) ; +-------------------------------------------------------- +-- DDL for Table APP_REPORT_ACTIVITY +-------------------------------------------------------- + + CREATE TABLE "APP_REPORT_ACTIVITY" + ( "UUID" VARCHAR2(255 CHAR), + "ACTIVITYDEFID" VARCHAR2(255 CHAR), + "ACTIVITYNAME" VARCHAR2(255 CHAR), + "PROCESSUID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_REPORT_ACTIVITY_INSTANCE +-------------------------------------------------------- + + CREATE TABLE "APP_REPORT_ACTIVITY_INSTANCE" + ( "INSTANCEID" VARCHAR2(255 CHAR), + "PERFORMER" VARCHAR2(255 CHAR), + "STATE" VARCHAR2(255 CHAR), + "STATUS" VARCHAR2(255 CHAR), + "NAMEOFACCEPTEDUSER" VARCHAR2(255 CHAR), + "ASSIGNMENTUSERS" CLOB, + "DUE" TIMESTAMP (6), + "CREATEDTIME" TIMESTAMP (6), + "STARTEDTIME" TIMESTAMP (6), + "FINISHTIME" TIMESTAMP (6), + "DELAY" NUMBER(19,0), + "TIMECONSUMINGFROMCREATEDTIME" NUMBER(19,0), + "TIMECONSUMINGFROMSTARTEDTIME" NUMBER(19,0), + "ACTIVITYUID" VARCHAR2(255 CHAR), + "PROCESSINSTANCEID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_REPORT_APP +-------------------------------------------------------- + + CREATE TABLE "APP_REPORT_APP" + ( "UUID" VARCHAR2(255 CHAR), + "APPID" VARCHAR2(255 CHAR), + "APPVERSION" VARCHAR2(255 CHAR), + "APPNAME" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_REPORT_PACKAGE +-------------------------------------------------------- + + CREATE TABLE "APP_REPORT_PACKAGE" + ( "UUID" VARCHAR2(255 CHAR), + "PACKAGEID" VARCHAR2(255 CHAR), + "PACKAGENAME" VARCHAR2(255 CHAR), + "PACKAGEVERSION" VARCHAR2(255 CHAR), + "APPUID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_REPORT_PROCESS +-------------------------------------------------------- + + CREATE TABLE "APP_REPORT_PROCESS" + ( "UUID" VARCHAR2(255 CHAR), + "PROCESSDEFID" VARCHAR2(255 CHAR), + "PROCESSNAME" VARCHAR2(255 CHAR), + "PACKAGEUID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_REPORT_PROCESS_INSTANCE +-------------------------------------------------------- + + CREATE TABLE "APP_REPORT_PROCESS_INSTANCE" + ( "INSTANCEID" VARCHAR2(255 CHAR), + "REQUESTER" VARCHAR2(255 CHAR), + "STATE" VARCHAR2(255 CHAR), + "DUE" TIMESTAMP (6), + "STARTEDTIME" TIMESTAMP (6), + "FINISHTIME" TIMESTAMP (6), + "DELAY" NUMBER(19,0), + "TIMECONSUMINGFROMSTARTEDTIME" NUMBER(19,0), + "PROCESSUID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_RESOURCE +-------------------------------------------------------- + + CREATE TABLE "APP_RESOURCE" + ( "APPID" VARCHAR2(255 CHAR), + "APPVERSION" NUMBER(19,0), + "ID" VARCHAR2(255 CHAR), + "FILESIZE" NUMBER(19,0), + "PERMISSIONCLASS" VARCHAR2(255 CHAR), + "PERMISSIONPROPERTIES" VARCHAR2(4000) + ) ; +-------------------------------------------------------- +-- DDL for Table APP_USERVIEW +-------------------------------------------------------- + + CREATE TABLE "APP_USERVIEW" + ( "APPID" VARCHAR2(255 CHAR), + "APPVERSION" NUMBER(19,0), + "ID" VARCHAR2(255 CHAR), + "NAME" VARCHAR2(255 CHAR), + "DESCRIPTION" CLOB, + "JSON" CLOB, + "DATECREATED" TIMESTAMP (6), + "DATEMODIFIED" TIMESTAMP (6) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_DEPARTMENT +-------------------------------------------------------- + + CREATE TABLE "DIR_DEPARTMENT" + ( "ID" VARCHAR2(255 CHAR), + "NAME" VARCHAR2(255 CHAR), + "DESCRIPTION" VARCHAR2(255 CHAR), + "ORGANIZATIONID" VARCHAR2(255 CHAR), + "HOD" VARCHAR2(255 CHAR), + "PARENTID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_EMPLOYMENT +-------------------------------------------------------- + + CREATE TABLE "DIR_EMPLOYMENT" + ( "ID" VARCHAR2(255 CHAR), + "USERID" VARCHAR2(255 CHAR), + "STARTDATE" DATE, + "ENDDATE" DATE, + "EMPLOYEECODE" VARCHAR2(255 CHAR), + "ROLE" VARCHAR2(255 CHAR), + "GRADEID" VARCHAR2(255 CHAR), + "DEPARTMENTID" VARCHAR2(255 CHAR), + "ORGANIZATIONID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_EMPLOYMENT_REPORT_TO +-------------------------------------------------------- + + CREATE TABLE "DIR_EMPLOYMENT_REPORT_TO" + ( "ID" VARCHAR2(255 CHAR), + "EMPLOYMENTID" VARCHAR2(255 CHAR), + "REPORTTOID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_GRADE +-------------------------------------------------------- + + CREATE TABLE "DIR_GRADE" + ( "ID" VARCHAR2(255 CHAR), + "NAME" VARCHAR2(255 CHAR), + "DESCRIPTION" VARCHAR2(255 CHAR), + "ORGANIZATIONID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_GROUP +-------------------------------------------------------- + + CREATE TABLE "DIR_GROUP" + ( "ID" VARCHAR2(255 CHAR), + "NAME" VARCHAR2(255 CHAR), + "DESCRIPTION" VARCHAR2(255 CHAR), + "ORGANIZATIONID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_ORGANIZATION +-------------------------------------------------------- + + CREATE TABLE "DIR_ORGANIZATION" + ( "ID" VARCHAR2(255 CHAR), + "NAME" VARCHAR2(255 CHAR), + "DESCRIPTION" VARCHAR2(255 CHAR), + "PARENTID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_ROLE +-------------------------------------------------------- + + CREATE TABLE "DIR_ROLE" + ( "ID" VARCHAR2(255 CHAR), + "NAME" VARCHAR2(255 CHAR), + "DESCRIPTION" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_USER +-------------------------------------------------------- + + CREATE TABLE "DIR_USER" + ( "ID" VARCHAR2(255 CHAR), + "USERNAME" VARCHAR2(255 CHAR), + "PASSWORD" VARCHAR2(255 CHAR), + "FIRSTNAME" VARCHAR2(255 CHAR), + "LASTNAME" VARCHAR2(255 CHAR), + "EMAIL" VARCHAR2(255 CHAR), + "TIMEZONE" VARCHAR2(255 CHAR), + "LOCALE" VARCHAR2(255 CHAR), + "ACTIVE" NUMBER(10,0) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_USER_EXTRA +-------------------------------------------------------- + + CREATE TABLE "DIR_USER_EXTRA" + ( "USERNAME" VARCHAR2(255 CHAR), + "ALGORITHM" VARCHAR2(255 CHAR), + "LOGINATTEMPT" NUMBER(10,0), + "FAILEDLOGINATTEMPT" NUMBER(10,0), + "LASTLOGEDINDATE" TIMESTAMP (6), + "LOCKOUTDATE" TIMESTAMP (6), + "LASTPASSWORDCHANGEDATE" TIMESTAMP (6), + "REQUIREDPASSWORDCHANGE" NUMBER(10,0), + "NOPASSWORDEXPIRATION" NUMBER(10,0) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_USER_GROUP +-------------------------------------------------------- + + CREATE TABLE "DIR_USER_GROUP" + ( "GROUPID" VARCHAR2(255 CHAR), + "USERID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_USER_META +-------------------------------------------------------- + + CREATE TABLE "DIR_USER_META" + ( "USERNAME" VARCHAR2(255 CHAR), + "META_KEY" VARCHAR2(255 CHAR), + "META_VALUE" VARCHAR2(4000) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_USER_PASSWORD_HISTORY +-------------------------------------------------------- + + CREATE TABLE "DIR_USER_PASSWORD_HISTORY" + ( "ID" VARCHAR2(255 CHAR), + "USERNAME" VARCHAR2(255 CHAR), + "SALT" VARCHAR2(255 CHAR), + "PASSWORD" VARCHAR2(255 CHAR), + "UPDATEDDATE" TIMESTAMP (6) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_USER_REPLACEMENT +-------------------------------------------------------- + + CREATE TABLE "DIR_USER_REPLACEMENT" + ( "ID" VARCHAR2(255 CHAR), + "USERNAME" VARCHAR2(255 CHAR), + "REPLACEMENTUSER" VARCHAR2(255 CHAR), + "APPID" VARCHAR2(255 CHAR), + "PROCESSIDS" VARCHAR2(255 CHAR), + "STARTDATE" TIMESTAMP (6), + "ENDDATE" TIMESTAMP (6) + ) ; +-------------------------------------------------------- +-- DDL for Table DIR_USER_ROLE +-------------------------------------------------------- + + CREATE TABLE "DIR_USER_ROLE" + ( "ROLEID" VARCHAR2(255 CHAR), + "USERID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table OBJECTID +-------------------------------------------------------- + + CREATE TABLE "OBJECTID" + ( "NEXTOID" NUMBER(19,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKACTIVITIES +-------------------------------------------------------- + + CREATE TABLE "SHKACTIVITIES" + ( "ID" VARCHAR2(100), + "ACTIVITYSETDEFINITIONID" VARCHAR2(90), + "ACTIVITYDEFINITIONID" VARCHAR2(90), + "PROCESS" NUMBER(19,0), + "THERESOURCE" NUMBER(19,0), + "PDEFNAME" VARCHAR2(200), + "PROCESSID" VARCHAR2(200), + "RESOURCEID" VARCHAR2(100), + "STATE" NUMBER(19,0), + "BLOCKACTIVITYID" VARCHAR2(100), + "PERFORMER" VARCHAR2(100), + "ISPERFORMERASYNCHRONOUS" NUMBER(22,0), + "PRIORITY" NUMBER(22,0), + "NAME" VARCHAR2(254), + "ACTIVATED" NUMBER(22,0), + "ACTIVATEDTZO" NUMBER(22,0), + "ACCEPTED" NUMBER(22,0), + "ACCEPTEDTZO" NUMBER(22,0), + "LASTSTATETIME" NUMBER(22,0), + "LASTSTATETIMETZO" NUMBER(22,0), + "LIMITTIME" NUMBER(22,0), + "LIMITTIMETZO" NUMBER(22,0), + "DESCRIPTION" VARCHAR2(254), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKACTIVITYDATA +-------------------------------------------------------- + + CREATE TABLE "SHKACTIVITYDATA" + ( "ACTIVITY" NUMBER(19,0), + "VARIABLEDEFINITIONID" VARCHAR2(100), + "VARIABLETYPE" NUMBER(22,0), + "VARIABLEVALUE" BLOB, + "VARIABLEVALUEXML" VARCHAR2(4000), + "VARIABLEVALUEVCHAR" VARCHAR2(4000), + "VARIABLEVALUEDBL" NUMBER(22,0), + "VARIABLEVALUELONG" NUMBER(22,0), + "VARIABLEVALUEDATE" DATE, + "VARIABLEVALUEBOOL" NUMBER(22,0), + "ISRESULT" NUMBER(22,0), + "ORDNO" NUMBER(22,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKACTIVITYDATABLOBS +-------------------------------------------------------- + + CREATE TABLE "SHKACTIVITYDATABLOBS" + ( "ACTIVITYDATAWOB" NUMBER(19,0), + "VARIABLEVALUE" BLOB, + "ORDNO" NUMBER(22,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKACTIVITYDATAWOB +-------------------------------------------------------- + + CREATE TABLE "SHKACTIVITYDATAWOB" + ( "ACTIVITY" NUMBER(19,0), + "VARIABLEDEFINITIONID" VARCHAR2(100), + "VARIABLETYPE" NUMBER(22,0), + "VARIABLEVALUEXML" VARCHAR2(4000), + "VARIABLEVALUEVCHAR" VARCHAR2(4000), + "VARIABLEVALUEDBL" NUMBER(22,0), + "VARIABLEVALUELONG" NUMBER(22,0), + "VARIABLEVALUEDATE" DATE, + "VARIABLEVALUEBOOL" NUMBER(22,0), + "ISRESULT" NUMBER(22,0), + "ORDNO" NUMBER(22,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKACTIVITYSTATEEVENTAUDITS +-------------------------------------------------------- + + CREATE TABLE "SHKACTIVITYSTATEEVENTAUDITS" + ( "KEYVALUE" VARCHAR2(30), + "NAME" VARCHAR2(50), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKACTIVITYSTATES +-------------------------------------------------------- + + CREATE TABLE "SHKACTIVITYSTATES" + ( "KEYVALUE" VARCHAR2(30), + "NAME" VARCHAR2(50), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKANDJOINTABLE +-------------------------------------------------------- + + CREATE TABLE "SHKANDJOINTABLE" + ( "PROCESS" NUMBER(19,0), + "BLOCKACTIVITY" NUMBER(19,0), + "ACTIVITYDEFINITIONID" VARCHAR2(90), + "ACTIVITY" NUMBER(19,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKASSIGNMENTEVENTAUDITS +-------------------------------------------------------- + + CREATE TABLE "SHKASSIGNMENTEVENTAUDITS" + ( "RECORDEDTIME" NUMBER(22,0), + "RECORDEDTIMETZO" NUMBER(22,0), + "THEUSERNAME" VARCHAR2(100), + "THETYPE" NUMBER(19,0), + "ACTIVITYID" VARCHAR2(100), + "ACTIVITYNAME" VARCHAR2(254), + "PROCESSID" VARCHAR2(100), + "PROCESSNAME" VARCHAR2(254), + "PROCESSFACTORYNAME" VARCHAR2(200), + "PROCESSFACTORYVERSION" VARCHAR2(20), + "ACTIVITYDEFINITIONID" VARCHAR2(90), + "ACTIVITYDEFINITIONNAME" VARCHAR2(90), + "ACTIVITYDEFINITIONTYPE" NUMBER(22,0), + "PROCESSDEFINITIONID" VARCHAR2(90), + "PROCESSDEFINITIONNAME" VARCHAR2(90), + "PACKAGEID" VARCHAR2(90), + "OLDRESOURCEUSERNAME" VARCHAR2(100), + "OLDRESOURCENAME" VARCHAR2(100), + "NEWRESOURCEUSERNAME" VARCHAR2(100), + "NEWRESOURCENAME" VARCHAR2(100), + "ISACCEPTED" NUMBER(22,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKASSIGNMENTSTABLE +-------------------------------------------------------- + + CREATE TABLE "SHKASSIGNMENTSTABLE" + ( "ACTIVITY" NUMBER(19,0), + "THERESOURCE" NUMBER(19,0), + "ACTIVITYID" VARCHAR2(100), + "ACTIVITYPROCESSID" VARCHAR2(100), + "ACTIVITYPROCESSDEFNAME" VARCHAR2(200), + "RESOURCEID" VARCHAR2(100), + "ISACCEPTED" NUMBER(22,0), + "ISVALID" NUMBER(22,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKCOUNTERS +-------------------------------------------------------- + + CREATE TABLE "SHKCOUNTERS" + ( "NAME" VARCHAR2(100), + "THE_NUMBER" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKCREATEPROCESSEVENTAUDITS +-------------------------------------------------------- + + CREATE TABLE "SHKCREATEPROCESSEVENTAUDITS" + ( "RECORDEDTIME" NUMBER(22,0), + "RECORDEDTIMETZO" NUMBER(22,0), + "THEUSERNAME" VARCHAR2(100), + "THETYPE" NUMBER(19,0), + "PROCESSID" VARCHAR2(100), + "PROCESSNAME" VARCHAR2(254), + "PROCESSFACTORYNAME" VARCHAR2(200), + "PROCESSFACTORYVERSION" VARCHAR2(20), + "PROCESSDEFINITIONID" VARCHAR2(90), + "PROCESSDEFINITIONNAME" VARCHAR2(90), + "PACKAGEID" VARCHAR2(90), + "PACTIVITYID" VARCHAR2(100), + "PPROCESSID" VARCHAR2(100), + "PPROCESSNAME" VARCHAR2(254), + "PPROCESSFACTORYNAME" VARCHAR2(200), + "PPROCESSFACTORYVERSION" VARCHAR2(20), + "PACTIVITYDEFINITIONID" VARCHAR2(90), + "PACTIVITYDEFINITIONNAME" VARCHAR2(90), + "PPROCESSDEFINITIONID" VARCHAR2(90), + "PPROCESSDEFINITIONNAME" VARCHAR2(90), + "PPACKAGEID" VARCHAR2(90), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKDATAEVENTAUDITS +-------------------------------------------------------- + + CREATE TABLE "SHKDATAEVENTAUDITS" + ( "RECORDEDTIME" NUMBER(22,0), + "RECORDEDTIMETZO" NUMBER(22,0), + "THEUSERNAME" VARCHAR2(100), + "THETYPE" NUMBER(19,0), + "ACTIVITYID" VARCHAR2(100), + "ACTIVITYNAME" VARCHAR2(254), + "PROCESSID" VARCHAR2(100), + "PROCESSNAME" VARCHAR2(254), + "PROCESSFACTORYNAME" VARCHAR2(200), + "PROCESSFACTORYVERSION" VARCHAR2(20), + "ACTIVITYDEFINITIONID" VARCHAR2(90), + "ACTIVITYDEFINITIONNAME" VARCHAR2(90), + "ACTIVITYDEFINITIONTYPE" NUMBER(22,0), + "PROCESSDEFINITIONID" VARCHAR2(90), + "PROCESSDEFINITIONNAME" VARCHAR2(90), + "PACKAGEID" VARCHAR2(90), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKDEADLINES +-------------------------------------------------------- + + CREATE TABLE "SHKDEADLINES" + ( "PROCESS" NUMBER(19,0), + "ACTIVITY" NUMBER(19,0), + "CNT" NUMBER(19,0), + "TIMELIMIT" NUMBER(22,0), + "TIMELIMITTZO" NUMBER(22,0), + "EXCEPTIONNAME" VARCHAR2(100), + "ISSYNCHRONOUS" NUMBER(22,0), + "ISEXECUTED" NUMBER(22,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKEVENTTYPES +-------------------------------------------------------- + + CREATE TABLE "SHKEVENTTYPES" + ( "KEYVALUE" VARCHAR2(30), + "NAME" VARCHAR2(50), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKGROUPGROUPTABLE +-------------------------------------------------------- + + CREATE TABLE "SHKGROUPGROUPTABLE" + ( "SUB_GID" NUMBER(19,0), + "GROUPID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKGROUPTABLE +-------------------------------------------------------- + + CREATE TABLE "SHKGROUPTABLE" + ( "GROUPID" VARCHAR2(100), + "DESCRIPTION" VARCHAR2(254), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKGROUPUSER +-------------------------------------------------------- + + CREATE TABLE "SHKGROUPUSER" + ( "USERNAME" VARCHAR2(100), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKGROUPUSERPACKLEVELPART +-------------------------------------------------------- + + CREATE TABLE "SHKGROUPUSERPACKLEVELPART" + ( "PARTICIPANTOID" NUMBER(19,0), + "USEROID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKGROUPUSERPROCLEVELPART +-------------------------------------------------------- + + CREATE TABLE "SHKGROUPUSERPROCLEVELPART" + ( "PARTICIPANTOID" NUMBER(19,0), + "USEROID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKNEWEVENTAUDITDATA +-------------------------------------------------------- + + CREATE TABLE "SHKNEWEVENTAUDITDATA" + ( "DATAEVENTAUDIT" NUMBER(19,0), + "VARIABLEDEFINITIONID" VARCHAR2(100), + "VARIABLETYPE" NUMBER(22,0), + "VARIABLEVALUE" BLOB, + "VARIABLEVALUEXML" VARCHAR2(4000), + "VARIABLEVALUEVCHAR" VARCHAR2(4000), + "VARIABLEVALUEDBL" NUMBER(22,0), + "VARIABLEVALUELONG" NUMBER(22,0), + "VARIABLEVALUEDATE" DATE, + "VARIABLEVALUEBOOL" NUMBER(22,0), + "ORDNO" NUMBER(22,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKNEWEVENTAUDITDATABLOBS +-------------------------------------------------------- + + CREATE TABLE "SHKNEWEVENTAUDITDATABLOBS" + ( "NEWEVENTAUDITDATAWOB" NUMBER(19,0), + "VARIABLEVALUE" BLOB, + "ORDNO" NUMBER(22,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKNEWEVENTAUDITDATAWOB +-------------------------------------------------------- + + CREATE TABLE "SHKNEWEVENTAUDITDATAWOB" + ( "DATAEVENTAUDIT" NUMBER(19,0), + "VARIABLEDEFINITIONID" VARCHAR2(100), + "VARIABLETYPE" NUMBER(22,0), + "VARIABLEVALUEXML" VARCHAR2(4000), + "VARIABLEVALUEVCHAR" VARCHAR2(4000), + "VARIABLEVALUEDBL" NUMBER(22,0), + "VARIABLEVALUELONG" NUMBER(22,0), + "VARIABLEVALUEDATE" DATE, + "VARIABLEVALUEBOOL" NUMBER(22,0), + "ORDNO" NUMBER(22,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKNEXTXPDLVERSIONS +-------------------------------------------------------- + + CREATE TABLE "SHKNEXTXPDLVERSIONS" + ( "XPDLID" VARCHAR2(90), + "NEXTVERSION" VARCHAR2(20), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKNORMALUSER +-------------------------------------------------------- + + CREATE TABLE "SHKNORMALUSER" + ( "USERNAME" VARCHAR2(100), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKOLDEVENTAUDITDATA +-------------------------------------------------------- + + CREATE TABLE "SHKOLDEVENTAUDITDATA" + ( "DATAEVENTAUDIT" NUMBER(19,0), + "VARIABLEDEFINITIONID" VARCHAR2(100), + "VARIABLETYPE" NUMBER(22,0), + "VARIABLEVALUE" BLOB, + "VARIABLEVALUEXML" VARCHAR2(4000), + "VARIABLEVALUEVCHAR" VARCHAR2(4000), + "VARIABLEVALUEDBL" NUMBER(22,0), + "VARIABLEVALUELONG" NUMBER(22,0), + "VARIABLEVALUEDATE" DATE, + "VARIABLEVALUEBOOL" NUMBER(22,0), + "ORDNO" NUMBER(22,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKOLDEVENTAUDITDATABLOBS +-------------------------------------------------------- + + CREATE TABLE "SHKOLDEVENTAUDITDATABLOBS" + ( "OLDEVENTAUDITDATAWOB" NUMBER(19,0), + "VARIABLEVALUE" BLOB, + "ORDNO" NUMBER(22,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKOLDEVENTAUDITDATAWOB +-------------------------------------------------------- + + CREATE TABLE "SHKOLDEVENTAUDITDATAWOB" + ( "DATAEVENTAUDIT" NUMBER(19,0), + "VARIABLEDEFINITIONID" VARCHAR2(100), + "VARIABLETYPE" NUMBER(22,0), + "VARIABLEVALUEXML" VARCHAR2(4000), + "VARIABLEVALUEVCHAR" VARCHAR2(4000), + "VARIABLEVALUEDBL" NUMBER(22,0), + "VARIABLEVALUELONG" NUMBER(22,0), + "VARIABLEVALUEDATE" DATE, + "VARIABLEVALUEBOOL" NUMBER(22,0), + "ORDNO" NUMBER(22,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPACKLEVELPARTICIPANT +-------------------------------------------------------- + + CREATE TABLE "SHKPACKLEVELPARTICIPANT" + ( "PARTICIPANT_ID" VARCHAR2(90), + "PACKAGEOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPACKLEVELXPDLAPP +-------------------------------------------------------- + + CREATE TABLE "SHKPACKLEVELXPDLAPP" + ( "APPLICATION_ID" VARCHAR2(90), + "PACKAGEOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPACKLEVELXPDLAPPTAAPPDETAIL +-------------------------------------------------------- + + CREATE TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" + ( "XPDL_APPOID" NUMBER(19,0), + "TOOLAGENTOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPACKLEVELXPDLAPPTAAPPDETUSR +-------------------------------------------------------- + + CREATE TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" + ( "XPDL_APPOID" NUMBER(19,0), + "TOOLAGENTOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPACKLEVELXPDLAPPTAAPPUSER +-------------------------------------------------------- + + CREATE TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" + ( "XPDL_APPOID" NUMBER(19,0), + "TOOLAGENTOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPACKLEVELXPDLAPPTOOLAGNTAPP +-------------------------------------------------------- + + CREATE TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" + ( "XPDL_APPOID" NUMBER(19,0), + "TOOLAGENTOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCESSDATA +-------------------------------------------------------- + + CREATE TABLE "SHKPROCESSDATA" + ( "PROCESS" NUMBER(19,0), + "VARIABLEDEFINITIONID" VARCHAR2(100), + "VARIABLETYPE" NUMBER(22,0), + "VARIABLEVALUE" BLOB, + "VARIABLEVALUEXML" VARCHAR2(4000), + "VARIABLEVALUEVCHAR" VARCHAR2(4000), + "VARIABLEVALUEDBL" NUMBER(22,0), + "VARIABLEVALUELONG" NUMBER(22,0), + "VARIABLEVALUEDATE" DATE, + "VARIABLEVALUEBOOL" NUMBER(22,0), + "ORDNO" NUMBER(22,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCESSDATABLOBS +-------------------------------------------------------- + + CREATE TABLE "SHKPROCESSDATABLOBS" + ( "PROCESSDATAWOB" NUMBER(19,0), + "VARIABLEVALUE" BLOB, + "ORDNO" NUMBER(22,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCESSDATAWOB +-------------------------------------------------------- + + CREATE TABLE "SHKPROCESSDATAWOB" + ( "PROCESS" NUMBER(19,0), + "VARIABLEDEFINITIONID" VARCHAR2(100), + "VARIABLETYPE" NUMBER(22,0), + "VARIABLEVALUEXML" VARCHAR2(4000), + "VARIABLEVALUEVCHAR" VARCHAR2(4000), + "VARIABLEVALUEDBL" NUMBER(22,0), + "VARIABLEVALUELONG" NUMBER(22,0), + "VARIABLEVALUEDATE" DATE, + "VARIABLEVALUEBOOL" NUMBER(22,0), + "ORDNO" NUMBER(22,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCESSDEFINITIONS +-------------------------------------------------------- + + CREATE TABLE "SHKPROCESSDEFINITIONS" + ( "NAME" VARCHAR2(200), + "PACKAGEID" VARCHAR2(90), + "PROCESSDEFINITIONID" VARCHAR2(90), + "PROCESSDEFINITIONCREATED" NUMBER(22,0), + "PROCESSDEFINITIONVERSION" VARCHAR2(20), + "STATE" NUMBER(22,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCESSES +-------------------------------------------------------- + + CREATE TABLE "SHKPROCESSES" + ( "SYNCVERSION" NUMBER(22,0), + "ID" VARCHAR2(100), + "PROCESSDEFINITION" NUMBER(19,0), + "PDEFNAME" VARCHAR2(200), + "ACTIVITYREQUESTERID" VARCHAR2(100), + "ACTIVITYREQUESTERPROCESSID" VARCHAR2(100), + "RESOURCEREQUESTERID" VARCHAR2(100), + "EXTERNALREQUESTERCLASSNAME" VARCHAR2(254), + "STATE" NUMBER(19,0), + "PRIORITY" NUMBER(22,0), + "NAME" VARCHAR2(254), + "CREATED" NUMBER(22,0), + "CREATEDTZO" NUMBER(22,0), + "STARTED" NUMBER(22,0), + "STARTEDTZO" NUMBER(22,0), + "LASTSTATETIME" NUMBER(22,0), + "LASTSTATETIMETZO" NUMBER(22,0), + "LIMITTIME" NUMBER(22,0), + "LIMITTIMETZO" NUMBER(22,0), + "DESCRIPTION" VARCHAR2(254), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCESSREQUESTERS +-------------------------------------------------------- + + CREATE TABLE "SHKPROCESSREQUESTERS" + ( "ID" VARCHAR2(100), + "ACTIVITYREQUESTER" NUMBER(19,0), + "RESOURCEREQUESTER" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCESSSTATEEVENTAUDITS +-------------------------------------------------------- + + CREATE TABLE "SHKPROCESSSTATEEVENTAUDITS" + ( "KEYVALUE" VARCHAR2(30), + "NAME" VARCHAR2(50), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCESSSTATES +-------------------------------------------------------- + + CREATE TABLE "SHKPROCESSSTATES" + ( "KEYVALUE" VARCHAR2(30), + "NAME" VARCHAR2(50), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCLEVELPARTICIPANT +-------------------------------------------------------- + + CREATE TABLE "SHKPROCLEVELPARTICIPANT" + ( "PARTICIPANT_ID" VARCHAR2(90), + "PROCESSOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCLEVELXPDLAPP +-------------------------------------------------------- + + CREATE TABLE "SHKPROCLEVELXPDLAPP" + ( "APPLICATION_ID" VARCHAR2(90), + "PROCESSOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCLEVELXPDLAPPTAAPPDETAIL +-------------------------------------------------------- + + CREATE TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" + ( "XPDL_APPOID" NUMBER(19,0), + "TOOLAGENTOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCLEVELXPDLAPPTAAPPDETUSR +-------------------------------------------------------- + + CREATE TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" + ( "XPDL_APPOID" NUMBER(19,0), + "TOOLAGENTOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCLEVELXPDLAPPTAAPPUSER +-------------------------------------------------------- + + CREATE TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" + ( "XPDL_APPOID" NUMBER(19,0), + "TOOLAGENTOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKPROCLEVELXPDLAPPTOOLAGNTAPP +-------------------------------------------------------- + + CREATE TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" + ( "XPDL_APPOID" NUMBER(19,0), + "TOOLAGENTOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKRESOURCESTABLE +-------------------------------------------------------- + + CREATE TABLE "SHKRESOURCESTABLE" + ( "USERNAME" VARCHAR2(100), + "NAME" VARCHAR2(100), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKSTATEEVENTAUDITS +-------------------------------------------------------- + + CREATE TABLE "SHKSTATEEVENTAUDITS" + ( "RECORDEDTIME" NUMBER(22,0), + "RECORDEDTIMETZO" NUMBER(22,0), + "THEUSERNAME" VARCHAR2(100), + "THETYPE" NUMBER(19,0), + "ACTIVITYID" VARCHAR2(100), + "ACTIVITYNAME" VARCHAR2(254), + "PROCESSID" VARCHAR2(100), + "PROCESSNAME" VARCHAR2(254), + "PROCESSFACTORYNAME" VARCHAR2(200), + "PROCESSFACTORYVERSION" VARCHAR2(20), + "ACTIVITYDEFINITIONID" VARCHAR2(90), + "ACTIVITYDEFINITIONNAME" VARCHAR2(90), + "ACTIVITYDEFINITIONTYPE" NUMBER(22,0), + "PROCESSDEFINITIONID" VARCHAR2(90), + "PROCESSDEFINITIONNAME" VARCHAR2(90), + "PACKAGEID" VARCHAR2(90), + "OLDPROCESSSTATE" NUMBER(19,0), + "NEWPROCESSSTATE" NUMBER(19,0), + "OLDACTIVITYSTATE" NUMBER(19,0), + "NEWACTIVITYSTATE" NUMBER(19,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKTOOLAGENTAPP +-------------------------------------------------------- + + CREATE TABLE "SHKTOOLAGENTAPP" + ( "TOOL_AGENT_NAME" VARCHAR2(250), + "APP_NAME" VARCHAR2(90), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKTOOLAGENTAPPDETAIL +-------------------------------------------------------- + + CREATE TABLE "SHKTOOLAGENTAPPDETAIL" + ( "APP_MODE" NUMBER(10,0), + "TOOLAGENT_APPOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKTOOLAGENTAPPDETAILUSER +-------------------------------------------------------- + + CREATE TABLE "SHKTOOLAGENTAPPDETAILUSER" + ( "TOOLAGENT_APPOID" NUMBER(19,0), + "USEROID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKTOOLAGENTAPPUSER +-------------------------------------------------------- + + CREATE TABLE "SHKTOOLAGENTAPPUSER" + ( "TOOLAGENT_APPOID" NUMBER(19,0), + "USEROID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKTOOLAGENTUSER +-------------------------------------------------------- + + CREATE TABLE "SHKTOOLAGENTUSER" + ( "USERNAME" VARCHAR2(100), + "PWD" VARCHAR2(100), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKUSERGROUPTABLE +-------------------------------------------------------- + + CREATE TABLE "SHKUSERGROUPTABLE" + ( "USERID" NUMBER(19,0), + "GROUPID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKUSERPACKLEVELPART +-------------------------------------------------------- + + CREATE TABLE "SHKUSERPACKLEVELPART" + ( "PARTICIPANTOID" NUMBER(19,0), + "USEROID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKUSERPROCLEVELPARTICIPANT +-------------------------------------------------------- + + CREATE TABLE "SHKUSERPROCLEVELPARTICIPANT" + ( "PARTICIPANTOID" NUMBER(19,0), + "USEROID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKUSERTABLE +-------------------------------------------------------- + + CREATE TABLE "SHKUSERTABLE" + ( "USERID" VARCHAR2(100), + "FIRSTNAME" VARCHAR2(50), + "LASTNAME" VARCHAR2(50), + "PASSWD" VARCHAR2(50), + "EMAIL" VARCHAR2(254), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKXPDLAPPLICATIONPACKAGE +-------------------------------------------------------- + + CREATE TABLE "SHKXPDLAPPLICATIONPACKAGE" + ( "PACKAGE_ID" VARCHAR2(90), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKXPDLAPPLICATIONPROCESS +-------------------------------------------------------- + + CREATE TABLE "SHKXPDLAPPLICATIONPROCESS" + ( "PROCESS_ID" VARCHAR2(90), + "PACKAGEOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKXPDLDATA +-------------------------------------------------------- + + CREATE TABLE "SHKXPDLDATA" + ( "XPDLCONTENT" BLOB, + "XPDLCLASSCONTENT" BLOB, + "XPDL" NUMBER(19,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKXPDLHISTORY +-------------------------------------------------------- + + CREATE TABLE "SHKXPDLHISTORY" + ( "XPDLID" VARCHAR2(90), + "XPDLVERSION" VARCHAR2(20), + "XPDLCLASSVERSION" NUMBER(22,0), + "XPDLUPLOADTIME" DATE, + "XPDLHISTORYUPLOADTIME" DATE, + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKXPDLHISTORYDATA +-------------------------------------------------------- + + CREATE TABLE "SHKXPDLHISTORYDATA" + ( "XPDLCONTENT" BLOB, + "XPDLCLASSCONTENT" BLOB, + "XPDLHISTORY" NUMBER(19,0), + "CNT" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKXPDLPARTICIPANTPACKAGE +-------------------------------------------------------- + + CREATE TABLE "SHKXPDLPARTICIPANTPACKAGE" + ( "PACKAGE_ID" VARCHAR2(90), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKXPDLPARTICIPANTPROCESS +-------------------------------------------------------- + + CREATE TABLE "SHKXPDLPARTICIPANTPROCESS" + ( "PROCESS_ID" VARCHAR2(90), + "PACKAGEOID" NUMBER(19,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKXPDLREFERENCES +-------------------------------------------------------- + + CREATE TABLE "SHKXPDLREFERENCES" + ( "REFERREDXPDLID" VARCHAR2(90), + "REFERRINGXPDL" NUMBER(19,0), + "REFERREDXPDLNUMBER" NUMBER(22,0), + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table SHKXPDLS +-------------------------------------------------------- + + CREATE TABLE "SHKXPDLS" + ( "XPDLID" VARCHAR2(90), + "XPDLVERSION" VARCHAR2(20), + "XPDLCLASSVERSION" NUMBER(22,0), + "XPDLUPLOADTIME" DATE, + "OID" NUMBER(19,0), + "VERSION" NUMBER(22,0) + ) ; +-------------------------------------------------------- +-- DDL for Table WF_AUDIT_TRAIL +-------------------------------------------------------- + + CREATE TABLE "WF_AUDIT_TRAIL" + ( "ID" VARCHAR2(255 CHAR), + "USERNAME" VARCHAR2(255 CHAR), + "APPID" VARCHAR2(255 CHAR), + "APPVERSION" VARCHAR2(255 CHAR), + "CLAZZ" VARCHAR2(255 CHAR), + "METHOD" VARCHAR2(255 CHAR), + "MESSAGE" CLOB, + "TIMESTAMP" TIMESTAMP (6) + ) ; +-------------------------------------------------------- +-- DDL for Table WF_PROCESS_LINK +-------------------------------------------------------- + + CREATE TABLE "WF_PROCESS_LINK" + ( "PROCESSID" VARCHAR2(255 CHAR), + "PARENTPROCESSID" VARCHAR2(255 CHAR), + "ORIGINPROCESSID" VARCHAR2(255 CHAR) + ) ; +-------------------------------------------------------- +-- DDL for Table WF_RESOURCE_BUNDLE_MESSAGE +-------------------------------------------------------- + + CREATE TABLE "WF_RESOURCE_BUNDLE_MESSAGE" + ( "ID" VARCHAR2(255 CHAR), + "MESSAGEKEY" VARCHAR2(255 CHAR), + "LOCALE" VARCHAR2(255 CHAR), + "MESSAGE" CLOB + ) ; +-------------------------------------------------------- +-- DDL for Table WF_SETUP +-------------------------------------------------------- + + CREATE TABLE "WF_SETUP" + ( "ID" VARCHAR2(255 CHAR), + "PROPERTY" VARCHAR2(255 CHAR), + "VALUE" CLOB, + "ORDERING" NUMBER(10,0) + ) ; + +--------------------------------------------------- +-- DATA FOR TABLE SHKUSERTABLE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKUSERTABLE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKDATAEVENTAUDITS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKDATAEVENTAUDITS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKGROUPUSER +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKGROUPUSER +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_REPORT_ACTIVITY +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_REPORT_ACTIVITY +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE DIR_USER_GROUP +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE DIR_USER_GROUP +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKNEWEVENTAUDITDATAWOB +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKNEWEVENTAUDITDATAWOB +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKCREATEPROCESSEVENTAUDITS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKCREATEPROCESSEVENTAUDITS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKTOOLAGENTUSER +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKTOOLAGENTUSER +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKGROUPTABLE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKGROUPTABLE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKACTIVITYDATAWOB +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKACTIVITYDATAWOB +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKGROUPUSERPACKLEVELPART +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKGROUPUSERPACKLEVELPART +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPUSER +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPUSER +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_APP +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_APP +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCLEVELPARTICIPANT +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCLEVELPARTICIPANT +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKXPDLHISTORY +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKXPDLHISTORY +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKOLDEVENTAUDITDATA +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKOLDEVENTAUDITDATA +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKTOOLAGENTAPP +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKTOOLAGENTAPP +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKTOOLAGENTAPPDETAILUSER +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKTOOLAGENTAPPDETAILUSER +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKANDJOINTABLE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKANDJOINTABLE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE WF_PROCESS_LINK +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE WF_PROCESS_LINK +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_USERVIEW +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_USERVIEW +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE DIR_USER_ROLE +-- FILTER = none used +--------------------------------------------------- +Insert into DIR_USER_ROLE (ROLEID,USERID) values ('ROLE_ADMIN','admin'); + +--------------------------------------------------- +-- END DATA FOR TABLE DIR_USER_ROLE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKSTATEEVENTAUDITS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKSTATEEVENTAUDITS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKDEADLINES +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKDEADLINES +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_PLUGIN_DEFAULT +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_PLUGIN_DEFAULT +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_REPORT_PROCESS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_REPORT_PROCESS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKOLDEVENTAUDITDATAWOB +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKOLDEVENTAUDITDATAWOB +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE DIR_GROUP +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE DIR_GROUP +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKNORMALUSER +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKNORMALUSER +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKEVENTTYPES +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKEVENTTYPES +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKACTIVITYDATABLOBS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKACTIVITYDATABLOBS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE DIR_ROLE +-- FILTER = none used +--------------------------------------------------- +Insert into DIR_ROLE (ID,NAME,DESCRIPTION) values ('ROLE_ADMIN','Admin','Administrator'); +Insert into DIR_ROLE (ID,NAME,DESCRIPTION) values ('ROLE_USER','User','Normal User'); + +--------------------------------------------------- +-- END DATA FOR TABLE DIR_ROLE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPACKLEVELXPDLAPPTOOLAGNTAPP +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPACKLEVELXPDLAPPTOOLAGNTAPP +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCESSDEFINITIONS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCESSDEFINITIONS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKTOOLAGENTAPPDETAIL +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKTOOLAGENTAPPDETAIL +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPACKLEVELXPDLAPP +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPACKLEVELXPDLAPP +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKXPDLS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKXPDLS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCESSES +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCESSES +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPACKLEVELPARTICIPANT +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPACKLEVELPARTICIPANT +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_REPORT_PROCESS_INSTANCE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_REPORT_PROCESS_INSTANCE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKGROUPUSERPROCLEVELPART +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKGROUPUSERPROCLEVELPART +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCESSREQUESTERS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCESSREQUESTERS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCESSDATA +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCESSDATA +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCESSDATAWOB +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCESSDATAWOB +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKASSIGNMENTSTABLE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKASSIGNMENTSTABLE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_REPORT_APP +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_REPORT_APP +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKXPDLREFERENCES +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKXPDLREFERENCES +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_FORM +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_FORM +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_PACKAGE_PARTICIPANT +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_PACKAGE_PARTICIPANT +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCLEVELXPDLAPPTOOLAGNTAPP +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCLEVELXPDLAPPTOOLAGNTAPP +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_DATALIST +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_DATALIST +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKACTIVITYDATA +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKACTIVITYDATA +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE WF_SETUP +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE WF_SETUP +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKASSIGNMENTEVENTAUDITS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKASSIGNMENTEVENTAUDITS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_FD +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_FD +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_ENV_VARIABLE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_ENV_VARIABLE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE DIR_EMPLOYMENT_REPORT_TO +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE DIR_EMPLOYMENT_REPORT_TO +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_PACKAGE_ACTIVITY_FORM +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_PACKAGE_ACTIVITY_FORM +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPDETUSR +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPDETUSR +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPDETUSR +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPDETUSR +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKUSERPACKLEVELPART +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKUSERPACKLEVELPART +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_REPORT_PACKAGE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_REPORT_PACKAGE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKNEWEVENTAUDITDATABLOBS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKNEWEVENTAUDITDATABLOBS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKUSERPROCLEVELPARTICIPANT +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKUSERPROCLEVELPARTICIPANT +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE WF_AUDIT_TRAIL +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE WF_AUDIT_TRAIL +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKOLDEVENTAUDITDATABLOBS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKOLDEVENTAUDITDATABLOBS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCLEVELXPDLAPP +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCLEVELXPDLAPP +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE DIR_EMPLOYMENT +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE DIR_EMPLOYMENT +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPUSER +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPUSER +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKXPDLAPPLICATIONPROCESS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKXPDLAPPLICATIONPROCESS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE WF_RESOURCE_BUNDLE_MESSAGE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE WF_RESOURCE_BUNDLE_MESSAGE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKCOUNTERS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKCOUNTERS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_PACKAGE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_PACKAGE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKNEWEVENTAUDITDATA +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKNEWEVENTAUDITDATA +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKGROUPGROUPTABLE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKGROUPGROUPTABLE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE OBJECTID +-- FILTER = none used +--------------------------------------------------- +Insert into OBJECTID (NEXTOID) values (1000200); + +--------------------------------------------------- +-- END DATA FOR TABLE OBJECTID +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKRESOURCESTABLE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKRESOURCESTABLE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_REPORT_ACTIVITY_INSTANCE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_REPORT_ACTIVITY_INSTANCE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE DIR_GRADE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE DIR_GRADE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKTOOLAGENTAPPUSER +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKTOOLAGENTAPPUSER +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE DIR_USER +-- FILTER = none used +--------------------------------------------------- +Insert into DIR_USER (ID,USERNAME,PASSWORD,FIRSTNAME,LASTNAME,EMAIL,TIMEZONE,ACTIVE) values ('admin','admin','21232f297a57a5a743894a0e4a801fc3','Admin','admin','admin@email.domain','',1); + +--------------------------------------------------- +-- END DATA FOR TABLE DIR_USER +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE DIR_ORGANIZATION +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE DIR_ORGANIZATION +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKXPDLPARTICIPANTPROCESS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKXPDLPARTICIPANTPROCESS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_PACKAGE_ACTIVITY_PLUGIN +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_PACKAGE_ACTIVITY_PLUGIN +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKXPDLAPPLICATIONPACKAGE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKXPDLAPPLICATIONPACKAGE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPDETAIL +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCLEVELXPDLAPPTAAPPDETAIL +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPDETAIL +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPACKLEVELXPDLAPPTAAPPDETAIL +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCESSSTATES +-- FILTER = none used +--------------------------------------------------- +Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.running','open.running',1000000,0); +Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.not_running.not_started','open.not_running.not_started',1000002,0); +Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.not_running.suspended','open.not_running.suspended',1000004,0); +Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.completed','closed.completed',1000006,0); +Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.terminated','closed.terminated',1000008,0); +Insert into SHKPROCESSSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.aborted','closed.aborted',1000010,0); + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCESSSTATES +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKXPDLHISTORYDATA +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKXPDLHISTORYDATA +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKXPDLDATA +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKXPDLDATA +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCESSDATABLOBS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCESSDATABLOBS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKXPDLPARTICIPANTPACKAGE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKXPDLPARTICIPANTPACKAGE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKNEXTXPDLVERSIONS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKNEXTXPDLVERSIONS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE APP_MESSAGE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE APP_MESSAGE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKACTIVITYSTATES +-- FILTER = none used +--------------------------------------------------- +Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.running','open.running',1000001,0); +Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.not_running.not_started','open.not_running.not_started',1000003,0); +Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('open.not_running.suspended','open.not_running.suspended',1000005,0); +Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.completed','closed.completed',1000007,0); +Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.terminated','closed.terminated',1000009,0); +Insert into SHKACTIVITYSTATES (KEYVALUE,NAME,OID,VERSION) values ('closed.aborted','closed.aborted',1000011,0); + +--------------------------------------------------- +-- END DATA FOR TABLE SHKACTIVITYSTATES +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKACTIVITYSTATEEVENTAUDITS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKACTIVITYSTATEEVENTAUDITS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKPROCESSSTATEEVENTAUDITS +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKPROCESSSTATEEVENTAUDITS +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKUSERGROUPTABLE +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKUSERGROUPTABLE +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE SHKACTIVITIES +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE SHKACTIVITIES +--------------------------------------------------- + +--------------------------------------------------- +-- DATA FOR TABLE DIR_DEPARTMENT +-- FILTER = none used +--------------------------------------------------- + +--------------------------------------------------- +-- END DATA FOR TABLE DIR_DEPARTMENT +--------------------------------------------------- +-------------------------------------------------------- +-- Constraints for Table APP_APP +-------------------------------------------------------- + + ALTER TABLE "APP_APP" MODIFY ("APPID" NOT NULL ENABLE); + + ALTER TABLE "APP_APP" MODIFY ("APPVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_APP" ADD PRIMARY KEY ("APPID", "APPVERSION") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_BUILDER +-------------------------------------------------------- + + ALTER TABLE "APP_BUILDER" MODIFY ("APPID" NOT NULL ENABLE); + + ALTER TABLE "APP_BUILDER" MODIFY ("APPVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_BUILDER" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "APP_BUILDER" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_DATALIST +-------------------------------------------------------- + + ALTER TABLE "APP_DATALIST" MODIFY ("APPID" NOT NULL ENABLE); + + ALTER TABLE "APP_DATALIST" MODIFY ("APPVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_DATALIST" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "APP_DATALIST" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_ENV_VARIABLE +-------------------------------------------------------- + + ALTER TABLE "APP_ENV_VARIABLE" MODIFY ("APPID" NOT NULL ENABLE); + + ALTER TABLE "APP_ENV_VARIABLE" MODIFY ("APPVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_ENV_VARIABLE" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "APP_ENV_VARIABLE" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_FD +-------------------------------------------------------- + + ALTER TABLE "APP_FD" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "APP_FD" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_FORM +-------------------------------------------------------- + + ALTER TABLE "APP_FORM" MODIFY ("APPID" NOT NULL ENABLE); + + ALTER TABLE "APP_FORM" MODIFY ("APPVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_FORM" MODIFY ("FORMID" NOT NULL ENABLE); + + ALTER TABLE "APP_FORM" ADD PRIMARY KEY ("APPID", "APPVERSION", "FORMID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_MESSAGE +-------------------------------------------------------- + + ALTER TABLE "APP_MESSAGE" MODIFY ("APPID" NOT NULL ENABLE); + + ALTER TABLE "APP_MESSAGE" MODIFY ("APPVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_MESSAGE" MODIFY ("OUID" NOT NULL ENABLE); + + ALTER TABLE "APP_MESSAGE" ADD PRIMARY KEY ("APPID", "APPVERSION", "OUID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_PACKAGE +-------------------------------------------------------- + + ALTER TABLE "APP_PACKAGE" MODIFY ("PACKAGEID" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE" MODIFY ("PACKAGEVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE" ADD PRIMARY KEY ("PACKAGEID", "PACKAGEVERSION") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_PACKAGE_ACTIVITY_FORM +-------------------------------------------------------- + + ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" MODIFY ("PROCESSDEFID" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" MODIFY ("ACTIVITYDEFID" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" MODIFY ("PACKAGEID" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" MODIFY ("PACKAGEVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" ADD PRIMARY KEY ("PROCESSDEFID", "ACTIVITYDEFID", "PACKAGEID", "PACKAGEVERSION") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_PACKAGE_ACTIVITY_PLUGIN +-------------------------------------------------------- + + ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" MODIFY ("PROCESSDEFID" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" MODIFY ("ACTIVITYDEFID" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" MODIFY ("PACKAGEID" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" MODIFY ("PACKAGEVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" ADD PRIMARY KEY ("PROCESSDEFID", "ACTIVITYDEFID", "PACKAGEID", "PACKAGEVERSION") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_PACKAGE_PARTICIPANT +-------------------------------------------------------- + + ALTER TABLE "APP_PACKAGE_PARTICIPANT" MODIFY ("PROCESSDEFID" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_PARTICIPANT" MODIFY ("PARTICIPANTID" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_PARTICIPANT" MODIFY ("PACKAGEID" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_PARTICIPANT" MODIFY ("PACKAGEVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_PACKAGE_PARTICIPANT" ADD PRIMARY KEY ("PROCESSDEFID", "PARTICIPANTID", "PACKAGEID", "PACKAGEVERSION") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_PLUGIN_DEFAULT +-------------------------------------------------------- + + ALTER TABLE "APP_PLUGIN_DEFAULT" MODIFY ("APPID" NOT NULL ENABLE); + + ALTER TABLE "APP_PLUGIN_DEFAULT" MODIFY ("APPVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_PLUGIN_DEFAULT" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "APP_PLUGIN_DEFAULT" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_REPORT_ACTIVITY +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_ACTIVITY" MODIFY ("UUID" NOT NULL ENABLE); + + ALTER TABLE "APP_REPORT_ACTIVITY" ADD PRIMARY KEY ("UUID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_REPORT_ACTIVITY_INSTANCE +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_ACTIVITY_INSTANCE" MODIFY ("INSTANCEID" NOT NULL ENABLE); + + ALTER TABLE "APP_REPORT_ACTIVITY_INSTANCE" ADD PRIMARY KEY ("INSTANCEID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_REPORT_APP +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_APP" MODIFY ("UUID" NOT NULL ENABLE); + + ALTER TABLE "APP_REPORT_APP" ADD PRIMARY KEY ("UUID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_REPORT_PACKAGE +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_PACKAGE" MODIFY ("UUID" NOT NULL ENABLE); + + ALTER TABLE "APP_REPORT_PACKAGE" ADD PRIMARY KEY ("UUID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_REPORT_PROCESS +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_PROCESS" MODIFY ("UUID" NOT NULL ENABLE); + + ALTER TABLE "APP_REPORT_PROCESS" ADD PRIMARY KEY ("UUID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_REPORT_PROCESS_INSTANCE +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_PROCESS_INSTANCE" MODIFY ("INSTANCEID" NOT NULL ENABLE); + + ALTER TABLE "APP_REPORT_PROCESS_INSTANCE" ADD PRIMARY KEY ("INSTANCEID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_USERVIEW +-------------------------------------------------------- + + ALTER TABLE "APP_USERVIEW" MODIFY ("APPID" NOT NULL ENABLE); + + ALTER TABLE "APP_USERVIEW" MODIFY ("APPVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_USERVIEW" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "APP_USERVIEW" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_DEPARTMENT +-------------------------------------------------------- + + ALTER TABLE "DIR_DEPARTMENT" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "DIR_DEPARTMENT" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_EMPLOYMENT +-------------------------------------------------------- + + ALTER TABLE "DIR_EMPLOYMENT" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "DIR_EMPLOYMENT" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_EMPLOYMENT_REPORT_TO +-------------------------------------------------------- + + ALTER TABLE "DIR_EMPLOYMENT_REPORT_TO" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "DIR_EMPLOYMENT_REPORT_TO" ADD PRIMARY KEY ("ID") ENABLE; + + ALTER TABLE "DIR_EMPLOYMENT_REPORT_TO" ADD UNIQUE ("EMPLOYMENTID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_GRADE +-------------------------------------------------------- + + ALTER TABLE "DIR_GRADE" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "DIR_GRADE" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_GROUP +-------------------------------------------------------- + + ALTER TABLE "DIR_GROUP" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "DIR_GROUP" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_ORGANIZATION +-------------------------------------------------------- + + ALTER TABLE "DIR_ORGANIZATION" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "DIR_ORGANIZATION" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_ROLE +-------------------------------------------------------- + + ALTER TABLE "DIR_ROLE" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "DIR_ROLE" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_USER +-------------------------------------------------------- + + ALTER TABLE "DIR_USER" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "DIR_USER" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_USER_EXTRA +-------------------------------------------------------- + + ALTER TABLE "DIR_USER_EXTRA" MODIFY ("USERNAME" NOT NULL ENABLE); + + ALTER TABLE "DIR_USER_EXTRA" ADD PRIMARY KEY ("USERNAME") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_USER_PASSWORD_HISTORY +-------------------------------------------------------- + + ALTER TABLE "DIR_USER_PASSWORD_HISTORY" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "DIR_USER_PASSWORD_HISTORY" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_USER_GROUP +-------------------------------------------------------- + + ALTER TABLE "DIR_USER_GROUP" MODIFY ("GROUPID" NOT NULL ENABLE); + + ALTER TABLE "DIR_USER_GROUP" MODIFY ("USERID" NOT NULL ENABLE); + + ALTER TABLE "DIR_USER_GROUP" ADD PRIMARY KEY ("USERID", "GROUPID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_USER_ROLE +-------------------------------------------------------- + + ALTER TABLE "DIR_USER_ROLE" MODIFY ("ROLEID" NOT NULL ENABLE); + + ALTER TABLE "DIR_USER_ROLE" MODIFY ("USERID" NOT NULL ENABLE); + + ALTER TABLE "DIR_USER_ROLE" ADD PRIMARY KEY ("USERID", "ROLEID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table OBJECTID +-------------------------------------------------------- + + ALTER TABLE "OBJECTID" ADD CONSTRAINT "PK_OBJECTID" PRIMARY KEY ("NEXTOID") ENABLE; + + ALTER TABLE "OBJECTID" MODIFY ("NEXTOID" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKACTIVITIES +-------------------------------------------------------- + + ALTER TABLE "SHKACTIVITIES" ADD CONSTRAINT "SHKACTIVITIES_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKACTIVITIES" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("ACTIVITYDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("PROCESS" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("PDEFNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("PROCESSID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("STATE" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("ACTIVATED" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("ACTIVATEDTZO" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("LASTSTATETIME" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("LASTSTATETIMETZO" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("LIMITTIME" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("LIMITTIMETZO" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITIES" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKACTIVITYDATA +-------------------------------------------------------- + + ALTER TABLE "SHKACTIVITYDATA" ADD CONSTRAINT "SHKACTIVITYDATA_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKACTIVITYDATA" MODIFY ("ACTIVITY" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATA" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATA" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATA" MODIFY ("ISRESULT" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATA" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATA" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATA" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATA" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKACTIVITYDATABLOBS +-------------------------------------------------------- + + ALTER TABLE "SHKACTIVITYDATABLOBS" ADD CONSTRAINT "SHKACTIVITYDATABLOBS_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKACTIVITYDATABLOBS" MODIFY ("ACTIVITYDATAWOB" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATABLOBS" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATABLOBS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATABLOBS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKACTIVITYDATAWOB +-------------------------------------------------------- + + ALTER TABLE "SHKACTIVITYDATAWOB" ADD CONSTRAINT "SHKACTIVITYDATAWOB_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("ACTIVITY" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("ISRESULT" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYDATAWOB" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKACTIVITYSTATEEVENTAUDITS +-------------------------------------------------------- + + ALTER TABLE "SHKACTIVITYSTATEEVENTAUDITS" ADD CONSTRAINT "SHKACTIVITYSTATEEVENTAUD5" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKACTIVITYSTATEEVENTAUDITS" MODIFY ("KEYVALUE" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYSTATEEVENTAUDITS" MODIFY ("NAME" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYSTATEEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYSTATEEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKACTIVITYSTATES +-------------------------------------------------------- + + ALTER TABLE "SHKACTIVITYSTATES" ADD CONSTRAINT "SHKACTIVITYSTATES_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKACTIVITYSTATES" MODIFY ("KEYVALUE" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYSTATES" MODIFY ("NAME" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYSTATES" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKACTIVITYSTATES" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKANDJOINTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKANDJOINTABLE" ADD CONSTRAINT "SHKANDJOINTABLE_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKANDJOINTABLE" MODIFY ("PROCESS" NOT NULL ENABLE); + + ALTER TABLE "SHKANDJOINTABLE" MODIFY ("ACTIVITYDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKANDJOINTABLE" MODIFY ("ACTIVITY" NOT NULL ENABLE); + + ALTER TABLE "SHKANDJOINTABLE" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKANDJOINTABLE" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKANDJOINTABLE" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKASSIGNMENTEVENTAUDITS +-------------------------------------------------------- + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" ADD CONSTRAINT "SHKASSIGNMENTEVENTAUDIT17" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("RECORDEDTIME" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("RECORDEDTIMETZO" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("THEUSERNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("THETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("ACTIVITYID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("PROCESSID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("PROCESSFACTORYNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("PROCESSFACTORYVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("ACTIVITYDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("ACTIVITYDEFINITIONTYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("PROCESSDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("PACKAGEID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("NEWRESOURCEUSERNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("ISACCEPTED" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKASSIGNMENTSTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKASSIGNMENTSTABLE" ADD CONSTRAINT "SHKASSIGNMENTSTABLE_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ACTIVITY" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("THERESOURCE" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ACTIVITYID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ACTIVITYPROCESSID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ACTIVITYPROCESSDEFNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("RESOURCEID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ISACCEPTED" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("ISVALID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKASSIGNMENTSTABLE" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKCOUNTERS +-------------------------------------------------------- + + ALTER TABLE "SHKCOUNTERS" ADD CONSTRAINT "SHKCOUNTERS_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKCOUNTERS" MODIFY ("NAME" NOT NULL ENABLE); + + ALTER TABLE "SHKCOUNTERS" MODIFY ("THE_NUMBER" NOT NULL ENABLE); + + ALTER TABLE "SHKCOUNTERS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKCOUNTERS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKCREATEPROCESSEVENTAUDITS +-------------------------------------------------------- + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" ADD CONSTRAINT "SHKCREATEPROCESSEVENTAUD8" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("RECORDEDTIME" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("RECORDEDTIMETZO" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("THEUSERNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("THETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("PROCESSID" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("PROCESSFACTORYNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("PROCESSFACTORYVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("PROCESSDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("PACKAGEID" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKDATAEVENTAUDITS +-------------------------------------------------------- + + ALTER TABLE "SHKDATAEVENTAUDITS" ADD CONSTRAINT "SHKDATAEVENTAUDITS_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("RECORDEDTIME" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("RECORDEDTIMETZO" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("THEUSERNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("THETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("PROCESSID" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("PROCESSFACTORYNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("PROCESSFACTORYVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("PROCESSDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("PACKAGEID" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKDATAEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKDEADLINES +-------------------------------------------------------- + + ALTER TABLE "SHKDEADLINES" ADD CONSTRAINT "SHKDEADLINES_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKDEADLINES" MODIFY ("PROCESS" NOT NULL ENABLE); + + ALTER TABLE "SHKDEADLINES" MODIFY ("ACTIVITY" NOT NULL ENABLE); + + ALTER TABLE "SHKDEADLINES" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKDEADLINES" MODIFY ("TIMELIMIT" NOT NULL ENABLE); + + ALTER TABLE "SHKDEADLINES" MODIFY ("TIMELIMITTZO" NOT NULL ENABLE); + + ALTER TABLE "SHKDEADLINES" MODIFY ("EXCEPTIONNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKDEADLINES" MODIFY ("ISSYNCHRONOUS" NOT NULL ENABLE); + + ALTER TABLE "SHKDEADLINES" MODIFY ("ISEXECUTED" NOT NULL ENABLE); + + ALTER TABLE "SHKDEADLINES" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKDEADLINES" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKEVENTTYPES +-------------------------------------------------------- + + ALTER TABLE "SHKEVENTTYPES" ADD CONSTRAINT "SHKEVENTTYPES_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKEVENTTYPES" MODIFY ("KEYVALUE" NOT NULL ENABLE); + + ALTER TABLE "SHKEVENTTYPES" MODIFY ("NAME" NOT NULL ENABLE); + + ALTER TABLE "SHKEVENTTYPES" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKEVENTTYPES" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKGROUPGROUPTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKGROUPGROUPTABLE" ADD CONSTRAINT "SHKGROUPGROUPTABLE_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKGROUPGROUPTABLE" MODIFY ("SUB_GID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPGROUPTABLE" MODIFY ("GROUPID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPGROUPTABLE" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPGROUPTABLE" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKGROUPTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKGROUPTABLE" ADD CONSTRAINT "SHKGROUPTABLE_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKGROUPTABLE" MODIFY ("GROUPID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPTABLE" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPTABLE" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKGROUPUSER +-------------------------------------------------------- + + ALTER TABLE "SHKGROUPUSER" ADD CONSTRAINT "SHKGROUPUSER_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKGROUPUSER" MODIFY ("USERNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPUSER" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPUSER" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKGROUPUSERPACKLEVELPART +-------------------------------------------------------- + + ALTER TABLE "SHKGROUPUSERPACKLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPACKLEVELPA20" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKGROUPUSERPACKLEVELPART" MODIFY ("PARTICIPANTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPUSERPACKLEVELPART" MODIFY ("USEROID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPUSERPACKLEVELPART" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPUSERPACKLEVELPART" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKGROUPUSERPROCLEVELPART +-------------------------------------------------------- + + ALTER TABLE "SHKGROUPUSERPROCLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPROCLEVELPA24" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKGROUPUSERPROCLEVELPART" MODIFY ("PARTICIPANTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPUSERPROCLEVELPART" MODIFY ("USEROID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPUSERPROCLEVELPART" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKGROUPUSERPROCLEVELPART" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKNEWEVENTAUDITDATA +-------------------------------------------------------- + + ALTER TABLE "SHKNEWEVENTAUDITDATA" ADD CONSTRAINT "SHKNEWEVENTAUDITDATA_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("DATAEVENTAUDIT" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATA" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKNEWEVENTAUDITDATABLOBS +-------------------------------------------------------- + + ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" ADD CONSTRAINT "SHKNEWEVENTAUDITDATABLO33" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" MODIFY ("NEWEVENTAUDITDATAWOB" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKNEWEVENTAUDITDATAWOB +-------------------------------------------------------- + + ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" ADD CONSTRAINT "SHKNEWEVENTAUDITDATAWOB30" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("DATAEVENTAUDIT" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKNEXTXPDLVERSIONS +-------------------------------------------------------- + + ALTER TABLE "SHKNEXTXPDLVERSIONS" ADD CONSTRAINT "SHKNEXTXPDLVERSIONS_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKNEXTXPDLVERSIONS" MODIFY ("XPDLID" NOT NULL ENABLE); + + ALTER TABLE "SHKNEXTXPDLVERSIONS" MODIFY ("NEXTVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKNEXTXPDLVERSIONS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKNEXTXPDLVERSIONS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKNORMALUSER +-------------------------------------------------------- + + ALTER TABLE "SHKNORMALUSER" ADD CONSTRAINT "SHKNORMALUSER_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKNORMALUSER" MODIFY ("USERNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKNORMALUSER" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKNORMALUSER" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKOLDEVENTAUDITDATA +-------------------------------------------------------- + + ALTER TABLE "SHKOLDEVENTAUDITDATA" ADD CONSTRAINT "SHKOLDEVENTAUDITDATA_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("DATAEVENTAUDIT" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATA" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKOLDEVENTAUDITDATABLOBS +-------------------------------------------------------- + + ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" ADD CONSTRAINT "SHKOLDEVENTAUDITDATABLO25" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" MODIFY ("OLDEVENTAUDITDATAWOB" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKOLDEVENTAUDITDATAWOB +-------------------------------------------------------- + + ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" ADD CONSTRAINT "SHKOLDEVENTAUDITDATAWOB22" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("DATAEVENTAUDIT" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPACKLEVELPARTICIPANT +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELPARTICIPANT" ADD CONSTRAINT "SHKPACKLEVELPARTICIPANT_7" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPACKLEVELPARTICIPANT" MODIFY ("PARTICIPANT_ID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELPARTICIPANT" MODIFY ("PACKAGEOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELPARTICIPANT" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELPARTICIPANT" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPACKLEVELXPDLAPP +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELXPDLAPP" ADD CONSTRAINT "SHKPACKLEVELXPDLAPP_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPACKLEVELXPDLAPP" MODIFY ("APPLICATION_ID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPP" MODIFY ("PACKAGEOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPP" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPP" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPACKLEVELXPDLAPPTAAPPDETAIL +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP21" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPACKLEVELXPDLAPPTAAPPDETUSR +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP29" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPACKLEVELXPDLAPPTAAPPUSER +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP25" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPACKLEVELXPDLAPPTOOLAGNTAPP +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTOOL17" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCESSDATA +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSDATA" ADD CONSTRAINT "SHKPROCESSDATA_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCESSDATA" MODIFY ("PROCESS" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATA" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATA" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATA" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATA" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATA" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATA" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCESSDATABLOBS +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSDATABLOBS" ADD CONSTRAINT "SHKPROCESSDATABLOBS_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCESSDATABLOBS" MODIFY ("PROCESSDATAWOB" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATABLOBS" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATABLOBS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATABLOBS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCESSDATAWOB +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSDATAWOB" ADD CONSTRAINT "SHKPROCESSDATAWOB_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("PROCESS" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("VARIABLEDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("VARIABLETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("ORDNO" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDATAWOB" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCESSDEFINITIONS +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSDEFINITIONS" ADD CONSTRAINT "SHKPROCESSDEFINITIONS_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("NAME" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("PACKAGEID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("PROCESSDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("PROCESSDEFINITIONCREATED" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("PROCESSDEFINITIONVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("STATE" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSDEFINITIONS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCESSES +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSES" ADD CONSTRAINT "SHKPROCESSES_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCESSES" MODIFY ("SYNCVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("PROCESSDEFINITION" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("PDEFNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("RESOURCEREQUESTERID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("STATE" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("CREATED" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("CREATEDTZO" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("LASTSTATETIME" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("LASTSTATETIMETZO" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("LIMITTIME" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("LIMITTIMETZO" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSES" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCESSREQUESTERS +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSREQUESTERS" ADD CONSTRAINT "SHKPROCESSREQUESTERS_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCESSREQUESTERS" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSREQUESTERS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSREQUESTERS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCESSSTATEEVENTAUDITS +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSSTATEEVENTAUDITS" ADD CONSTRAINT "SHKPROCESSSTATEEVENTAUDI2" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCESSSTATEEVENTAUDITS" MODIFY ("KEYVALUE" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSSTATEEVENTAUDITS" MODIFY ("NAME" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSSTATEEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSSTATEEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCESSSTATES +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSSTATES" ADD CONSTRAINT "SHKPROCESSSTATES_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCESSSTATES" MODIFY ("KEYVALUE" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSSTATES" MODIFY ("NAME" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSSTATES" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCESSSTATES" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCLEVELPARTICIPANT +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELPARTICIPANT" ADD CONSTRAINT "SHKPROCLEVELPARTICIPANT_4" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCLEVELPARTICIPANT" MODIFY ("PARTICIPANT_ID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELPARTICIPANT" MODIFY ("PROCESSOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELPARTICIPANT" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELPARTICIPANT" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCLEVELXPDLAPP +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELXPDLAPP" ADD CONSTRAINT "SHKPROCLEVELXPDLAPP_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCLEVELXPDLAPP" MODIFY ("APPLICATION_ID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPP" MODIFY ("PROCESSOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPP" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPP" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCLEVELXPDLAPPTAAPPDETAIL +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP37" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCLEVELXPDLAPPTAAPPDETUSR +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP45" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCLEVELXPDLAPPTAAPPUSER +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP41" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKPROCLEVELXPDLAPPTOOLAGNTAPP +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTOOL33" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("XPDL_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("TOOLAGENTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKRESOURCESTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKRESOURCESTABLE" ADD CONSTRAINT "SHKRESOURCESTABLE_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKRESOURCESTABLE" MODIFY ("USERNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKRESOURCESTABLE" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKRESOURCESTABLE" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKSTATEEVENTAUDITS +-------------------------------------------------------- + + ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("RECORDEDTIME" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("RECORDEDTIMETZO" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("THEUSERNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("THETYPE" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("PROCESSID" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("PROCESSFACTORYNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("PROCESSFACTORYVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("PROCESSDEFINITIONID" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("PACKAGEID" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKSTATEEVENTAUDITS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKTOOLAGENTAPP +-------------------------------------------------------- + + ALTER TABLE "SHKTOOLAGENTAPP" ADD CONSTRAINT "SHKTOOLAGENTAPP_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKTOOLAGENTAPP" MODIFY ("TOOL_AGENT_NAME" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPP" MODIFY ("APP_NAME" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPP" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPP" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKTOOLAGENTAPPDETAIL +-------------------------------------------------------- + + ALTER TABLE "SHKTOOLAGENTAPPDETAIL" ADD CONSTRAINT "SHKTOOLAGENTAPPDETAIL_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKTOOLAGENTAPPDETAIL" MODIFY ("APP_MODE" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPPDETAIL" MODIFY ("TOOLAGENT_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPPDETAIL" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPPDETAIL" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKTOOLAGENTAPPDETAILUSER +-------------------------------------------------------- + + ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPDETAILUS13" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" MODIFY ("TOOLAGENT_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" MODIFY ("USEROID" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKTOOLAGENTAPPUSER +-------------------------------------------------------- + + ALTER TABLE "SHKTOOLAGENTAPPUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPUSER_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKTOOLAGENTAPPUSER" MODIFY ("TOOLAGENT_APPOID" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPPUSER" MODIFY ("USEROID" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPPUSER" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTAPPUSER" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKTOOLAGENTUSER +-------------------------------------------------------- + + ALTER TABLE "SHKTOOLAGENTUSER" ADD CONSTRAINT "SHKTOOLAGENTUSER_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKTOOLAGENTUSER" MODIFY ("USERNAME" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTUSER" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKTOOLAGENTUSER" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKUSERGROUPTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKUSERGROUPTABLE" ADD CONSTRAINT "SHKUSERGROUPTABLE_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKUSERGROUPTABLE" MODIFY ("USERID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERGROUPTABLE" MODIFY ("GROUPID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERGROUPTABLE" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERGROUPTABLE" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKUSERPACKLEVELPART +-------------------------------------------------------- + + ALTER TABLE "SHKUSERPACKLEVELPART" ADD CONSTRAINT "SHKUSERPACKLEVELPART_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKUSERPACKLEVELPART" MODIFY ("PARTICIPANTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERPACKLEVELPART" MODIFY ("USEROID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERPACKLEVELPART" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERPACKLEVELPART" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKUSERPROCLEVELPARTICIPANT +-------------------------------------------------------- + + ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" ADD CONSTRAINT "SHKUSERPROCLEVELPARTICI14" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" MODIFY ("PARTICIPANTOID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" MODIFY ("USEROID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKUSERTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKUSERTABLE" ADD CONSTRAINT "SHKUSERTABLE_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKUSERTABLE" MODIFY ("USERID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERTABLE" MODIFY ("PASSWD" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERTABLE" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKUSERTABLE" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKXPDLAPPLICATIONPACKAGE +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLAPPLICATIONPACKAGE" ADD CONSTRAINT "SHKXPDLAPPLICATIONPACKAG1" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKXPDLAPPLICATIONPACKAGE" MODIFY ("PACKAGE_ID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLAPPLICATIONPACKAGE" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLAPPLICATIONPACKAGE" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKXPDLAPPLICATIONPROCESS +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" ADD CONSTRAINT "SHKXPDLAPPLICATIONPROCES4" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" MODIFY ("PROCESS_ID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" MODIFY ("PACKAGEOID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKXPDLDATA +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLDATA" ADD CONSTRAINT "SHKXPDLDATA_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKXPDLDATA" MODIFY ("XPDLCONTENT" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLDATA" MODIFY ("XPDLCLASSCONTENT" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLDATA" MODIFY ("XPDL" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLDATA" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLDATA" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLDATA" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKXPDLHISTORY +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLHISTORY" ADD CONSTRAINT "SHKXPDLHISTORY_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKXPDLHISTORY" MODIFY ("XPDLID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORY" MODIFY ("XPDLVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORY" MODIFY ("XPDLCLASSVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORY" MODIFY ("XPDLUPLOADTIME" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORY" MODIFY ("XPDLHISTORYUPLOADTIME" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORY" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORY" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKXPDLHISTORYDATA +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLHISTORYDATA" ADD CONSTRAINT "SHKXPDLHISTORYDATA_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("XPDLCONTENT" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("XPDLCLASSCONTENT" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("XPDLHISTORY" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("CNT" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLHISTORYDATA" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKXPDLPARTICIPANTPACKAGE +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLPARTICIPANTPACKAGE" ADD CONSTRAINT "SHKXPDLPARTICIPANTPACKAG1" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKXPDLPARTICIPANTPACKAGE" MODIFY ("PACKAGE_ID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLPARTICIPANTPACKAGE" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLPARTICIPANTPACKAGE" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKXPDLPARTICIPANTPROCESS +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" ADD CONSTRAINT "SHKXPDLPARTICIPANTPROCE10" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" MODIFY ("PROCESS_ID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" MODIFY ("PACKAGEOID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKXPDLREFERENCES +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLREFERENCES" ADD CONSTRAINT "SHKXPDLREFERENCES_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKXPDLREFERENCES" MODIFY ("REFERREDXPDLID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLREFERENCES" MODIFY ("REFERRINGXPDL" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLREFERENCES" MODIFY ("REFERREDXPDLNUMBER" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLREFERENCES" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLREFERENCES" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table SHKXPDLS +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLS" ADD CONSTRAINT "SHKXPDLS_OID" PRIMARY KEY ("OID") ENABLE; + + ALTER TABLE "SHKXPDLS" MODIFY ("XPDLID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLS" MODIFY ("XPDLVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLS" MODIFY ("XPDLCLASSVERSION" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLS" MODIFY ("XPDLUPLOADTIME" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLS" MODIFY ("OID" NOT NULL ENABLE); + + ALTER TABLE "SHKXPDLS" MODIFY ("VERSION" NOT NULL ENABLE); +-------------------------------------------------------- +-- Constraints for Table WF_AUDIT_TRAIL +-------------------------------------------------------- + + ALTER TABLE "WF_AUDIT_TRAIL" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "WF_AUDIT_TRAIL" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table WF_PROCESS_LINK +-------------------------------------------------------- + + ALTER TABLE "WF_PROCESS_LINK" MODIFY ("PROCESSID" NOT NULL ENABLE); + + ALTER TABLE "WF_PROCESS_LINK" ADD PRIMARY KEY ("PROCESSID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table WF_RESOURCE_BUNDLE_MESSAGE +-------------------------------------------------------- + + ALTER TABLE "WF_RESOURCE_BUNDLE_MESSAGE" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "WF_RESOURCE_BUNDLE_MESSAGE" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table WF_SETUP +-------------------------------------------------------- + + ALTER TABLE "WF_SETUP" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "WF_SETUP" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_FORM_DATA_AUDIT_TRAIL +-------------------------------------------------------- + + ALTER TABLE "APP_FORM_DATA_AUDIT_TRAIL" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "APP_FORM_DATA_AUDIT_TRAIL" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table APP_RESOURCE +-------------------------------------------------------- + + ALTER TABLE "APP_RESOURCE" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "APP_RESOURCE" MODIFY ("APPVERSION" NOT NULL ENABLE); + + ALTER TABLE "APP_RESOURCE" MODIFY ("APPID" NOT NULL ENABLE); + + ALTER TABLE "APP_RESOURCE" ADD PRIMARY KEY ("APPID", "APPVERSION", "ID") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_USER_META +-------------------------------------------------------- + + ALTER TABLE "DIR_USER_META" MODIFY ("META_KEY" NOT NULL ENABLE); + + ALTER TABLE "DIR_USER_META" MODIFY ("USERNAME" NOT NULL ENABLE); + + ALTER TABLE "DIR_USER_META" ADD PRIMARY KEY ("USERNAME", "META_KEY") ENABLE; +-------------------------------------------------------- +-- Constraints for Table DIR_USER_REPLACEMENT +-------------------------------------------------------- + + ALTER TABLE "DIR_USER_REPLACEMENT" MODIFY ("ID" NOT NULL ENABLE); + + ALTER TABLE "DIR_USER_REPLACEMENT" ADD PRIMARY KEY ("ID") ENABLE; +-------------------------------------------------------- +-- DDL for Index I1_SHKACTIVITIES +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKACTIVITIES" ON "SHKACTIVITIES" ("ID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKACTIVITYDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKACTIVITYDATA" ON "SHKACTIVITYDATA" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKACTIVITYDATABLOBS +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKACTIVITYDATABLOBS" ON "SHKACTIVITYDATABLOBS" ("ACTIVITYDATAWOB", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKACTIVITYDATAWOB +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKACTIVITYDATAWOB" ON "SHKACTIVITYDATAWOB" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKACTIVITYSTATEEVENT3 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKACTIVITYSTATEEVENT3" ON "SHKACTIVITYSTATEEVENTAUDITS" ("KEYVALUE") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKACTIVITYSTATES +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKACTIVITYSTATES" ON "SHKACTIVITYSTATES" ("KEYVALUE") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKANDJOINTABLE +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKANDJOINTABLE" ON "SHKANDJOINTABLE" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKASSIGNMENTEVENTAU15 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKASSIGNMENTEVENTAU15" ON "SHKASSIGNMENTEVENTAUDITS" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKASSIGNMENTSTABLE +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKASSIGNMENTSTABLE" ON "SHKASSIGNMENTSTABLE" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKCOUNTERS +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKCOUNTERS" ON "SHKCOUNTERS" ("NAME") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKCREATEPROCESSEVENT6 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKCREATEPROCESSEVENT6" ON "SHKCREATEPROCESSEVENTAUDITS" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKDATAEVENTAUDITS +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKDATAEVENTAUDITS" ON "SHKDATAEVENTAUDITS" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKDEADLINES +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKDEADLINES" ON "SHKDEADLINES" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKEVENTTYPES +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKEVENTTYPES" ON "SHKEVENTTYPES" ("KEYVALUE") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKGROUPGROUPTABLE +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKGROUPGROUPTABLE" ON "SHKGROUPGROUPTABLE" ("SUB_GID", "GROUPID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKGROUPTABLE +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKGROUPTABLE" ON "SHKGROUPTABLE" ("GROUPID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKGROUPUSER +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKGROUPUSER" ON "SHKGROUPUSER" ("USERNAME") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKGROUPUSERPACKLEVE17 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKGROUPUSERPACKLEVE17" ON "SHKGROUPUSERPACKLEVELPART" ("PARTICIPANTOID", "USEROID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKGROUPUSERPROCLEVE21 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKGROUPUSERPROCLEVE21" ON "SHKGROUPUSERPROCLEVELPART" ("PARTICIPANTOID", "USEROID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKNEWEVENTAUDITDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKNEWEVENTAUDITDATA" ON "SHKNEWEVENTAUDITDATA" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKNEWEVENTAUDITDATA27 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKNEWEVENTAUDITDATA27" ON "SHKNEWEVENTAUDITDATAWOB" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKNEWEVENTAUDITDATA31 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKNEWEVENTAUDITDATA31" ON "SHKNEWEVENTAUDITDATABLOBS" ("NEWEVENTAUDITDATAWOB", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKNEXTXPDLVERSIONS +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKNEXTXPDLVERSIONS" ON "SHKNEXTXPDLVERSIONS" ("XPDLID", "NEXTVERSION") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKNORMALUSER +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKNORMALUSER" ON "SHKNORMALUSER" ("USERNAME") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKOLDEVENTAUDITDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKOLDEVENTAUDITDATA" ON "SHKOLDEVENTAUDITDATA" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKOLDEVENTAUDITDATA19 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKOLDEVENTAUDITDATA19" ON "SHKOLDEVENTAUDITDATAWOB" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKOLDEVENTAUDITDATA23 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKOLDEVENTAUDITDATA23" ON "SHKOLDEVENTAUDITDATABLOBS" ("OLDEVENTAUDITDATAWOB", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPACKLEVELPARTICIPA5 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPACKLEVELPARTICIPA5" ON "SHKPACKLEVELPARTICIPANT" ("PARTICIPANT_ID", "PACKAGEOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPACKLEVELXPDLAPP +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPACKLEVELXPDLAPP" ON "SHKPACKLEVELXPDLAPP" ("APPLICATION_ID", "PACKAGEOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPACKLEVELXPDLAPPT14 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPACKLEVELXPDLAPPT14" ON "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" ("XPDL_APPOID", "TOOLAGENTOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPACKLEVELXPDLAPPT18 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPACKLEVELXPDLAPPT18" ON "SHKPACKLEVELXPDLAPPTAAPPDETAIL" ("XPDL_APPOID", "TOOLAGENTOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPACKLEVELXPDLAPPT22 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPACKLEVELXPDLAPPT22" ON "SHKPACKLEVELXPDLAPPTAAPPUSER" ("XPDL_APPOID", "TOOLAGENTOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPACKLEVELXPDLAPPT26 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPACKLEVELXPDLAPPT26" ON "SHKPACKLEVELXPDLAPPTAAPPDETUSR" ("XPDL_APPOID", "TOOLAGENTOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCESSDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCESSDATA" ON "SHKPROCESSDATA" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCESSDATABLOBS +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCESSDATABLOBS" ON "SHKPROCESSDATABLOBS" ("PROCESSDATAWOB", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCESSDATAWOB +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCESSDATAWOB" ON "SHKPROCESSDATAWOB" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCESSDEFINITIONS +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCESSDEFINITIONS" ON "SHKPROCESSDEFINITIONS" ("NAME") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCESSES +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCESSES" ON "SHKPROCESSES" ("ID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCESSREQUESTERS +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCESSREQUESTERS" ON "SHKPROCESSREQUESTERS" ("ID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCESSSTATEEVENTA0 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCESSSTATEEVENTA0" ON "SHKPROCESSSTATEEVENTAUDITS" ("KEYVALUE") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCESSSTATES +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCESSSTATES" ON "SHKPROCESSSTATES" ("KEYVALUE") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCLEVELPARTICIPA2 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCLEVELPARTICIPA2" ON "SHKPROCLEVELPARTICIPANT" ("PARTICIPANT_ID", "PROCESSOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCLEVELXPDLAPP +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCLEVELXPDLAPP" ON "SHKPROCLEVELXPDLAPP" ("APPLICATION_ID", "PROCESSOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCLEVELXPDLAPPT30 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCLEVELXPDLAPPT30" ON "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" ("XPDL_APPOID", "TOOLAGENTOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCLEVELXPDLAPPT34 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCLEVELXPDLAPPT34" ON "SHKPROCLEVELXPDLAPPTAAPPDETAIL" ("XPDL_APPOID", "TOOLAGENTOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCLEVELXPDLAPPT38 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCLEVELXPDLAPPT38" ON "SHKPROCLEVELXPDLAPPTAAPPUSER" ("XPDL_APPOID", "TOOLAGENTOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKPROCLEVELXPDLAPPT42 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKPROCLEVELXPDLAPPT42" ON "SHKPROCLEVELXPDLAPPTAAPPDETUSR" ("XPDL_APPOID", "TOOLAGENTOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKRESOURCESTABLE +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKRESOURCESTABLE" ON "SHKRESOURCESTABLE" ("USERNAME") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKSTATEEVENTAUDITS +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKSTATEEVENTAUDITS" ON "SHKSTATEEVENTAUDITS" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKTOOLAGENTAPP +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKTOOLAGENTAPP" ON "SHKTOOLAGENTAPP" ("TOOL_AGENT_NAME", "APP_NAME") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKTOOLAGENTAPPDETAI10 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKTOOLAGENTAPPDETAI10" ON "SHKTOOLAGENTAPPDETAILUSER" ("TOOLAGENT_APPOID", "USEROID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKTOOLAGENTAPPDETAIL +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKTOOLAGENTAPPDETAIL" ON "SHKTOOLAGENTAPPDETAIL" ("APP_MODE", "TOOLAGENT_APPOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKTOOLAGENTAPPUSER +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKTOOLAGENTAPPUSER" ON "SHKTOOLAGENTAPPUSER" ("TOOLAGENT_APPOID", "USEROID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKTOOLAGENTUSER +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKTOOLAGENTUSER" ON "SHKTOOLAGENTUSER" ("USERNAME") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKUSERGROUPTABLE +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKUSERGROUPTABLE" ON "SHKUSERGROUPTABLE" ("USERID", "GROUPID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKUSERPACKLEVELPART +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKUSERPACKLEVELPART" ON "SHKUSERPACKLEVELPART" ("PARTICIPANTOID", "USEROID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKUSERPROCLEVELPART11 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKUSERPROCLEVELPART11" ON "SHKUSERPROCLEVELPARTICIPANT" ("PARTICIPANTOID", "USEROID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKUSERTABLE +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKUSERTABLE" ON "SHKUSERTABLE" ("USERID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKXPDLAPPLICATIONPAC0 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKXPDLAPPLICATIONPAC0" ON "SHKXPDLAPPLICATIONPACKAGE" ("PACKAGE_ID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKXPDLAPPLICATIONPRO2 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKXPDLAPPLICATIONPRO2" ON "SHKXPDLAPPLICATIONPROCESS" ("PROCESS_ID", "PACKAGEOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKXPDLDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKXPDLDATA" ON "SHKXPDLDATA" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKXPDLHISTORY +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKXPDLHISTORY" ON "SHKXPDLHISTORY" ("XPDLID", "XPDLVERSION") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKXPDLHISTORYDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKXPDLHISTORYDATA" ON "SHKXPDLHISTORYDATA" ("CNT") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKXPDLPARTICIPANTPAC0 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKXPDLPARTICIPANTPAC0" ON "SHKXPDLPARTICIPANTPACKAGE" ("PACKAGE_ID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKXPDLPARTICIPANTPRO8 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKXPDLPARTICIPANTPRO8" ON "SHKXPDLPARTICIPANTPROCESS" ("PROCESS_ID", "PACKAGEOID") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKXPDLREFERENCES +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKXPDLREFERENCES" ON "SHKXPDLREFERENCES" ("REFERREDXPDLID", "REFERRINGXPDL") + ; +-------------------------------------------------------- +-- DDL for Index I1_SHKXPDLS +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I1_SHKXPDLS" ON "SHKXPDLS" ("XPDLID", "XPDLVERSION") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKACTIVITIES +-------------------------------------------------------- + + CREATE INDEX "I2_SHKACTIVITIES" ON "SHKACTIVITIES" ("PROCESS", "ACTIVITYSETDEFINITIONID", "ACTIVITYDEFINITIONID") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKACTIVITYDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKACTIVITYDATA" ON "SHKACTIVITYDATA" ("ACTIVITY", "VARIABLEDEFINITIONID", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKACTIVITYDATAWOB +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKACTIVITYDATAWOB" ON "SHKACTIVITYDATAWOB" ("ACTIVITY", "VARIABLEDEFINITIONID", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKACTIVITYSTATEEVENT4 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKACTIVITYSTATEEVENT4" ON "SHKACTIVITYSTATEEVENTAUDITS" ("NAME") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKACTIVITYSTATES +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKACTIVITYSTATES" ON "SHKACTIVITYSTATES" ("NAME") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKANDJOINTABLE +-------------------------------------------------------- + + CREATE INDEX "I2_SHKANDJOINTABLE" ON "SHKANDJOINTABLE" ("PROCESS", "BLOCKACTIVITY", "ACTIVITYDEFINITIONID") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKASSIGNMENTSTABLE +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKASSIGNMENTSTABLE" ON "SHKASSIGNMENTSTABLE" ("ACTIVITY", "THERESOURCE") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKDEADLINES +-------------------------------------------------------- + + CREATE INDEX "I2_SHKDEADLINES" ON "SHKDEADLINES" ("PROCESS", "TIMELIMIT") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKEVENTTYPES +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKEVENTTYPES" ON "SHKEVENTTYPES" ("NAME") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKGROUPGROUPTABLE +-------------------------------------------------------- + + CREATE INDEX "I2_SHKGROUPGROUPTABLE" ON "SHKGROUPGROUPTABLE" ("GROUPID") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKNEWEVENTAUDITDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKNEWEVENTAUDITDATA" ON "SHKNEWEVENTAUDITDATA" ("DATAEVENTAUDIT", "VARIABLEDEFINITIONID", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKNEWEVENTAUDITDATA28 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKNEWEVENTAUDITDATA28" ON "SHKNEWEVENTAUDITDATAWOB" ("DATAEVENTAUDIT", "VARIABLEDEFINITIONID", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKOLDEVENTAUDITDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKOLDEVENTAUDITDATA" ON "SHKOLDEVENTAUDITDATA" ("DATAEVENTAUDIT", "VARIABLEDEFINITIONID", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKOLDEVENTAUDITDATA20 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKOLDEVENTAUDITDATA20" ON "SHKOLDEVENTAUDITDATAWOB" ("DATAEVENTAUDIT", "VARIABLEDEFINITIONID", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKPROCESSDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKPROCESSDATA" ON "SHKPROCESSDATA" ("PROCESS", "VARIABLEDEFINITIONID", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKPROCESSDATAWOB +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKPROCESSDATAWOB" ON "SHKPROCESSDATAWOB" ("PROCESS", "VARIABLEDEFINITIONID", "ORDNO") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKPROCESSES +-------------------------------------------------------- + + CREATE INDEX "I2_SHKPROCESSES" ON "SHKPROCESSES" ("PROCESSDEFINITION") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKPROCESSREQUESTERS +-------------------------------------------------------- + + CREATE INDEX "I2_SHKPROCESSREQUESTERS" ON "SHKPROCESSREQUESTERS" ("ACTIVITYREQUESTER") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKPROCESSSTATEEVENTA1 +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKPROCESSSTATEEVENTA1" ON "SHKPROCESSSTATEEVENTAUDITS" ("NAME") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKPROCESSSTATES +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKPROCESSSTATES" ON "SHKPROCESSSTATES" ("NAME") + ; +-------------------------------------------------------- +-- DDL for Index I2_SHKXPDLDATA +-------------------------------------------------------- + + CREATE UNIQUE INDEX "I2_SHKXPDLDATA" ON "SHKXPDLDATA" ("XPDL") + ; +-------------------------------------------------------- +-- DDL for Index I3_SHKACTIVITIES +-------------------------------------------------------- + + CREATE INDEX "I3_SHKACTIVITIES" ON "SHKACTIVITIES" ("PROCESS", "STATE") + ; +-------------------------------------------------------- +-- DDL for Index I3_SHKANDJOINTABLE +-------------------------------------------------------- + + CREATE INDEX "I3_SHKANDJOINTABLE" ON "SHKANDJOINTABLE" ("ACTIVITY") + ; +-------------------------------------------------------- +-- DDL for Index I3_SHKASSIGNMENTSTABLE +-------------------------------------------------------- + + CREATE INDEX "I3_SHKASSIGNMENTSTABLE" ON "SHKASSIGNMENTSTABLE" ("THERESOURCE", "ISVALID") + ; +-------------------------------------------------------- +-- DDL for Index I3_SHKDEADLINES +-------------------------------------------------------- + + CREATE INDEX "I3_SHKDEADLINES" ON "SHKDEADLINES" ("ACTIVITY", "TIMELIMIT") + ; +-------------------------------------------------------- +-- DDL for Index I3_SHKPROCESSES +-------------------------------------------------------- + + CREATE INDEX "I3_SHKPROCESSES" ON "SHKPROCESSES" ("STATE") + ; +-------------------------------------------------------- +-- DDL for Index I3_SHKPROCESSREQUESTERS +-------------------------------------------------------- + + CREATE INDEX "I3_SHKPROCESSREQUESTERS" ON "SHKPROCESSREQUESTERS" ("RESOURCEREQUESTER") + ; +-------------------------------------------------------- +-- DDL for Index I4_SHKASSIGNMENTSTABLE +-------------------------------------------------------- + + CREATE INDEX "I4_SHKASSIGNMENTSTABLE" ON "SHKASSIGNMENTSTABLE" ("ACTIVITYID") + ; +-------------------------------------------------------- +-- DDL for Index I4_SHKPROCESSES +-------------------------------------------------------- + + CREATE INDEX "I4_SHKPROCESSES" ON "SHKPROCESSES" ("ACTIVITYREQUESTERID") + ; +-------------------------------------------------------- +-- DDL for Index I5_SHKASSIGNMENTSTABLE +-------------------------------------------------------- + + CREATE INDEX "I5_SHKASSIGNMENTSTABLE" ON "SHKASSIGNMENTSTABLE" ("RESOURCEID") + ; +-------------------------------------------------------- +-- DDL for Index I5_SHKPROCESSES +-------------------------------------------------------- + + CREATE INDEX "I5_SHKPROCESSES" ON "SHKPROCESSES" ("RESOURCEREQUESTERID") + ; + +-------------------------------------------------------- +-- Ref Constraints for Table APP_BUILDER +-------------------------------------------------------- + + ALTER TABLE "APP_BUILDER" ADD CONSTRAINT "FK5F9347A6462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") + REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_DATALIST +-------------------------------------------------------- + + ALTER TABLE "APP_DATALIST" ADD CONSTRAINT "FK5E9247A6462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") + REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_ENV_VARIABLE +-------------------------------------------------------- + + ALTER TABLE "APP_ENV_VARIABLE" ADD CONSTRAINT "FK740A62EC462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") + REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table APP_FORM +-------------------------------------------------------- + + ALTER TABLE "APP_FORM" ADD CONSTRAINT "FK45957822462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") + REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_MESSAGE +-------------------------------------------------------- + + ALTER TABLE "APP_MESSAGE" ADD CONSTRAINT "FKEE346FE9462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") + REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_PACKAGE +-------------------------------------------------------- + + ALTER TABLE "APP_PACKAGE" ADD CONSTRAINT "FK852EA428462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") + REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_PACKAGE_ACTIVITY_FORM +-------------------------------------------------------- + + ALTER TABLE "APP_PACKAGE_ACTIVITY_FORM" ADD CONSTRAINT "FKA8D741D5F255BCC" FOREIGN KEY ("PACKAGEID", "PACKAGEVERSION") + REFERENCES "APP_PACKAGE" ("PACKAGEID", "PACKAGEVERSION") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_PACKAGE_ACTIVITY_PLUGIN +-------------------------------------------------------- + + ALTER TABLE "APP_PACKAGE_ACTIVITY_PLUGIN" ADD CONSTRAINT "FKADE8644C5F255BCC" FOREIGN KEY ("PACKAGEID", "PACKAGEVERSION") + REFERENCES "APP_PACKAGE" ("PACKAGEID", "PACKAGEVERSION") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_PACKAGE_PARTICIPANT +-------------------------------------------------------- + + ALTER TABLE "APP_PACKAGE_PARTICIPANT" ADD CONSTRAINT "FK6D7BF59C5F255BCC" FOREIGN KEY ("PACKAGEID", "PACKAGEVERSION") + REFERENCES "APP_PACKAGE" ("PACKAGEID", "PACKAGEVERSION") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_PLUGIN_DEFAULT +-------------------------------------------------------- + + ALTER TABLE "APP_PLUGIN_DEFAULT" ADD CONSTRAINT "FK7A835713462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") + REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_REPORT_ACTIVITY +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_ACTIVITY" ADD CONSTRAINT "FK5E33D79C918F93D" FOREIGN KEY ("PROCESSUID") + REFERENCES "APP_REPORT_PROCESS" ("UUID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_REPORT_ACTIVITY_INSTANCE +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_ACTIVITY_INSTANCE" ADD CONSTRAINT "FK9C6ABDD8B06E2043" FOREIGN KEY ("ACTIVITYUID") + REFERENCES "APP_REPORT_ACTIVITY" ("UUID") ENABLE; + + ALTER TABLE "APP_REPORT_ACTIVITY_INSTANCE" ADD CONSTRAINT "FK9C6ABDD8D4610A90" FOREIGN KEY ("PROCESSINSTANCEID") + REFERENCES "APP_REPORT_PROCESS_INSTANCE" ("INSTANCEID") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table APP_REPORT_PACKAGE +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_PACKAGE" ADD CONSTRAINT "FKBD580A19E475ABC" FOREIGN KEY ("APPUID") + REFERENCES "APP_REPORT_APP" ("UUID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_REPORT_PROCESS +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_PROCESS" ADD CONSTRAINT "FKDAFFF442D40695DD" FOREIGN KEY ("PACKAGEUID") + REFERENCES "APP_REPORT_PACKAGE" ("UUID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_REPORT_PROCESS_INSTANCE +-------------------------------------------------------- + + ALTER TABLE "APP_REPORT_PROCESS_INSTANCE" ADD CONSTRAINT "FK351D7BF2918F93D" FOREIGN KEY ("PROCESSUID") + REFERENCES "APP_REPORT_PROCESS" ("UUID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_USERVIEW +-------------------------------------------------------- + + ALTER TABLE "APP_USERVIEW" ADD CONSTRAINT "FKE411D54E462EF4C7" FOREIGN KEY ("APPID", "APPVERSION") + REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table DIR_DEPARTMENT +-------------------------------------------------------- + + ALTER TABLE "DIR_DEPARTMENT" ADD CONSTRAINT "FKEEE8AA4418CEBAE1" FOREIGN KEY ("ORGANIZATIONID") + REFERENCES "DIR_ORGANIZATION" ("ID") ON DELETE CASCADE ENABLE; + + ALTER TABLE "DIR_DEPARTMENT" ADD CONSTRAINT "FKEEE8AA4480DB1449" FOREIGN KEY ("HOD") + REFERENCES "DIR_EMPLOYMENT" ("ID") ENABLE; + + ALTER TABLE "DIR_DEPARTMENT" ADD CONSTRAINT "FKEEE8AA44EF6BB2B7" FOREIGN KEY ("PARENTID") + REFERENCES "DIR_DEPARTMENT" ("ID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table DIR_EMPLOYMENT +-------------------------------------------------------- + + ALTER TABLE "DIR_EMPLOYMENT" ADD CONSTRAINT "FKC6620ADE14CE02E9" FOREIGN KEY ("GRADEID") + REFERENCES "DIR_GRADE" ("ID") ENABLE; + + ALTER TABLE "DIR_EMPLOYMENT" ADD CONSTRAINT "FKC6620ADE18CEBAE1" FOREIGN KEY ("ORGANIZATIONID") + REFERENCES "DIR_ORGANIZATION" ("ID") ON DELETE CASCADE ENABLE; + + ALTER TABLE "DIR_EMPLOYMENT" ADD CONSTRAINT "FKC6620ADE716AE35F" FOREIGN KEY ("DEPARTMENTID") + REFERENCES "DIR_DEPARTMENT" ("ID") ENABLE; + + ALTER TABLE "DIR_EMPLOYMENT" ADD CONSTRAINT "FKC6620ADECE539211" FOREIGN KEY ("USERID") + REFERENCES "DIR_USER" ("ID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table DIR_EMPLOYMENT_REPORT_TO +-------------------------------------------------------- + + ALTER TABLE "DIR_EMPLOYMENT_REPORT_TO" ADD CONSTRAINT "FK536229452787E613" FOREIGN KEY ("EMPLOYMENTID") + REFERENCES "DIR_EMPLOYMENT" ("ID") ENABLE; + + ALTER TABLE "DIR_EMPLOYMENT_REPORT_TO" ADD CONSTRAINT "FK53622945F4068416" FOREIGN KEY ("REPORTTOID") + REFERENCES "DIR_EMPLOYMENT" ("ID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table DIR_GRADE +-------------------------------------------------------- + + ALTER TABLE "DIR_GRADE" ADD CONSTRAINT "FKBC9A49A518CEBAE1" FOREIGN KEY ("ORGANIZATIONID") + REFERENCES "DIR_ORGANIZATION" ("ID") ON DELETE CASCADE ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table DIR_GROUP +-------------------------------------------------------- + + ALTER TABLE "DIR_GROUP" ADD CONSTRAINT "FKBC9A804D18CEBAE1" FOREIGN KEY ("ORGANIZATIONID") + REFERENCES "DIR_ORGANIZATION" ("ID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table DIR_ORGANIZATION +-------------------------------------------------------- + + ALTER TABLE "DIR_ORGANIZATION" ADD CONSTRAINT "FK55A15FA5961BD498" FOREIGN KEY ("PARENTID") + REFERENCES "DIR_ORGANIZATION" ("ID") ENABLE; + + +-------------------------------------------------------- +-- Ref Constraints for Table DIR_USER_GROUP +-------------------------------------------------------- + + ALTER TABLE "DIR_USER_GROUP" ADD CONSTRAINT "FK2F0367FD159B6639" FOREIGN KEY ("GROUPID") + REFERENCES "DIR_GROUP" ("ID") ENABLE; + + ALTER TABLE "DIR_USER_GROUP" ADD CONSTRAINT "FK2F0367FDCE539211" FOREIGN KEY ("USERID") + REFERENCES "DIR_USER" ("ID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table DIR_USER_ROLE +-------------------------------------------------------- + + ALTER TABLE "DIR_USER_ROLE" ADD CONSTRAINT "FK5C5FE738C8FE3CA7" FOREIGN KEY ("ROLEID") + REFERENCES "DIR_ROLE" ("ID") ENABLE; + + ALTER TABLE "DIR_USER_ROLE" ADD CONSTRAINT "FK5C5FE738CE539211" FOREIGN KEY ("USERID") + REFERENCES "DIR_USER" ("ID") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table SHKACTIVITIES +-------------------------------------------------------- + + ALTER TABLE "SHKACTIVITIES" ADD CONSTRAINT "SHKACTIVITIES_PROCESS" FOREIGN KEY ("PROCESS") + REFERENCES "SHKPROCESSES" ("OID") ENABLE; + + ALTER TABLE "SHKACTIVITIES" ADD CONSTRAINT "SHKACTIVITIES_STATE" FOREIGN KEY ("STATE") + REFERENCES "SHKACTIVITYSTATES" ("OID") ENABLE; + + ALTER TABLE "SHKACTIVITIES" ADD CONSTRAINT "SHKACTIVITIES_THERESOURCE" FOREIGN KEY ("THERESOURCE") + REFERENCES "SHKRESOURCESTABLE" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKACTIVITYDATA +-------------------------------------------------------- + + ALTER TABLE "SHKACTIVITYDATA" ADD CONSTRAINT "SHKACTIVITYDATA_ACTIVITY" FOREIGN KEY ("ACTIVITY") + REFERENCES "SHKACTIVITIES" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKACTIVITYDATABLOBS +-------------------------------------------------------- + + ALTER TABLE "SHKACTIVITYDATABLOBS" ADD CONSTRAINT "SHKACTIVITYDATABLOBS_ACT7" FOREIGN KEY ("ACTIVITYDATAWOB") + REFERENCES "SHKACTIVITYDATAWOB" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKACTIVITYDATAWOB +-------------------------------------------------------- + + ALTER TABLE "SHKACTIVITYDATAWOB" ADD CONSTRAINT "SHKACTIVITYDATAWOB_ACTIV6" FOREIGN KEY ("ACTIVITY") + REFERENCES "SHKACTIVITIES" ("OID") ENABLE; + + +-------------------------------------------------------- +-- Ref Constraints for Table SHKANDJOINTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKANDJOINTABLE" ADD CONSTRAINT "SHKANDJOINTABLE_ACTIVITY" FOREIGN KEY ("ACTIVITY") + REFERENCES "SHKACTIVITIES" ("OID") ENABLE; + + ALTER TABLE "SHKANDJOINTABLE" ADD CONSTRAINT "SHKANDJOINTABLE_BLOCKACT8" FOREIGN KEY ("BLOCKACTIVITY") + REFERENCES "SHKACTIVITIES" ("OID") ENABLE; + + ALTER TABLE "SHKANDJOINTABLE" ADD CONSTRAINT "SHKANDJOINTABLE_PROCESS" FOREIGN KEY ("PROCESS") + REFERENCES "SHKPROCESSES" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKASSIGNMENTEVENTAUDITS +-------------------------------------------------------- + + ALTER TABLE "SHKASSIGNMENTEVENTAUDITS" ADD CONSTRAINT "SHKASSIGNMENTEVENTAUDIT16" FOREIGN KEY ("THETYPE") + REFERENCES "SHKEVENTTYPES" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKASSIGNMENTSTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKASSIGNMENTSTABLE" ADD CONSTRAINT "SHKASSIGNMENTSTABLE_ACTI3" FOREIGN KEY ("ACTIVITY") + REFERENCES "SHKACTIVITIES" ("OID") ENABLE; + + ALTER TABLE "SHKASSIGNMENTSTABLE" ADD CONSTRAINT "SHKASSIGNMENTSTABLE_THER4" FOREIGN KEY ("THERESOURCE") + REFERENCES "SHKRESOURCESTABLE" ("OID") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table SHKCREATEPROCESSEVENTAUDITS +-------------------------------------------------------- + + ALTER TABLE "SHKCREATEPROCESSEVENTAUDITS" ADD CONSTRAINT "SHKCREATEPROCESSEVENTAUD7" FOREIGN KEY ("THETYPE") + REFERENCES "SHKEVENTTYPES" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKDATAEVENTAUDITS +-------------------------------------------------------- + + ALTER TABLE "SHKDATAEVENTAUDITS" ADD CONSTRAINT "SHKDATAEVENTAUDITS_THET14" FOREIGN KEY ("THETYPE") + REFERENCES "SHKEVENTTYPES" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKDEADLINES +-------------------------------------------------------- + + ALTER TABLE "SHKDEADLINES" ADD CONSTRAINT "SHKDEADLINES_ACTIVITY" FOREIGN KEY ("ACTIVITY") + REFERENCES "SHKACTIVITIES" ("OID") ENABLE; + + ALTER TABLE "SHKDEADLINES" ADD CONSTRAINT "SHKDEADLINES_PROCESS" FOREIGN KEY ("PROCESS") + REFERENCES "SHKPROCESSES" ("OID") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table SHKGROUPGROUPTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKGROUPGROUPTABLE" ADD CONSTRAINT "SHKGROUPGROUPTABLE_GROUP1" FOREIGN KEY ("GROUPID") + REFERENCES "SHKGROUPTABLE" ("OID") ENABLE; + + ALTER TABLE "SHKGROUPGROUPTABLE" ADD CONSTRAINT "SHKGROUPGROUPTABLE_SUB_G0" FOREIGN KEY ("SUB_GID") + REFERENCES "SHKGROUPTABLE" ("OID") ENABLE; + + +-------------------------------------------------------- +-- Ref Constraints for Table SHKGROUPUSERPACKLEVELPART +-------------------------------------------------------- + + ALTER TABLE "SHKGROUPUSERPACKLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPACKLEVELPA18" FOREIGN KEY ("PARTICIPANTOID") + REFERENCES "SHKPACKLEVELPARTICIPANT" ("OID") ENABLE; + + ALTER TABLE "SHKGROUPUSERPACKLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPACKLEVELPA19" FOREIGN KEY ("USEROID") + REFERENCES "SHKGROUPUSER" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKGROUPUSERPROCLEVELPART +-------------------------------------------------------- + + ALTER TABLE "SHKGROUPUSERPROCLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPROCLEVELPA22" FOREIGN KEY ("PARTICIPANTOID") + REFERENCES "SHKPROCLEVELPARTICIPANT" ("OID") ENABLE; + + ALTER TABLE "SHKGROUPUSERPROCLEVELPART" ADD CONSTRAINT "SHKGROUPUSERPROCLEVELPA23" FOREIGN KEY ("USEROID") + REFERENCES "SHKGROUPUSER" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKNEWEVENTAUDITDATA +-------------------------------------------------------- + + ALTER TABLE "SHKNEWEVENTAUDITDATA" ADD CONSTRAINT "SHKNEWEVENTAUDITDATA_DA26" FOREIGN KEY ("DATAEVENTAUDIT") + REFERENCES "SHKDATAEVENTAUDITS" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKNEWEVENTAUDITDATABLOBS +-------------------------------------------------------- + + ALTER TABLE "SHKNEWEVENTAUDITDATABLOBS" ADD CONSTRAINT "SHKNEWEVENTAUDITDATABLO32" FOREIGN KEY ("NEWEVENTAUDITDATAWOB") + REFERENCES "SHKNEWEVENTAUDITDATAWOB" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKNEWEVENTAUDITDATAWOB +-------------------------------------------------------- + + ALTER TABLE "SHKNEWEVENTAUDITDATAWOB" ADD CONSTRAINT "SHKNEWEVENTAUDITDATAWOB29" FOREIGN KEY ("DATAEVENTAUDIT") + REFERENCES "SHKDATAEVENTAUDITS" ("OID") ENABLE; + + +-------------------------------------------------------- +-- Ref Constraints for Table SHKOLDEVENTAUDITDATA +-------------------------------------------------------- + + ALTER TABLE "SHKOLDEVENTAUDITDATA" ADD CONSTRAINT "SHKOLDEVENTAUDITDATA_DA18" FOREIGN KEY ("DATAEVENTAUDIT") + REFERENCES "SHKDATAEVENTAUDITS" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKOLDEVENTAUDITDATABLOBS +-------------------------------------------------------- + + ALTER TABLE "SHKOLDEVENTAUDITDATABLOBS" ADD CONSTRAINT "SHKOLDEVENTAUDITDATABLO24" FOREIGN KEY ("OLDEVENTAUDITDATAWOB") + REFERENCES "SHKOLDEVENTAUDITDATAWOB" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKOLDEVENTAUDITDATAWOB +-------------------------------------------------------- + + ALTER TABLE "SHKOLDEVENTAUDITDATAWOB" ADD CONSTRAINT "SHKOLDEVENTAUDITDATAWOB21" FOREIGN KEY ("DATAEVENTAUDIT") + REFERENCES "SHKDATAEVENTAUDITS" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPACKLEVELPARTICIPANT +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELPARTICIPANT" ADD CONSTRAINT "SHKPACKLEVELPARTICIPANT_6" FOREIGN KEY ("PACKAGEOID") + REFERENCES "SHKXPDLPARTICIPANTPACKAGE" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPACKLEVELXPDLAPP +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELXPDLAPP" ADD CONSTRAINT "SHKPACKLEVELXPDLAPP_PACK5" FOREIGN KEY ("PACKAGEOID") + REFERENCES "SHKXPDLAPPLICATIONPACKAGE" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPACKLEVELXPDLAPPTAAPPDETAIL +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP19" FOREIGN KEY ("XPDL_APPOID") + REFERENCES "SHKPACKLEVELXPDLAPP" ("OID") ENABLE; + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP20" FOREIGN KEY ("TOOLAGENTOID") + REFERENCES "SHKTOOLAGENTAPPDETAIL" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPACKLEVELXPDLAPPTAAPPDETUSR +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP27" FOREIGN KEY ("XPDL_APPOID") + REFERENCES "SHKPACKLEVELXPDLAPP" ("OID") ENABLE; + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP28" FOREIGN KEY ("TOOLAGENTOID") + REFERENCES "SHKTOOLAGENTAPPDETAILUSER" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPACKLEVELXPDLAPPTAAPPUSER +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP23" FOREIGN KEY ("XPDL_APPOID") + REFERENCES "SHKPACKLEVELXPDLAPP" ("OID") ENABLE; + + ALTER TABLE "SHKPACKLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTAAP24" FOREIGN KEY ("TOOLAGENTOID") + REFERENCES "SHKTOOLAGENTAPPUSER" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPACKLEVELXPDLAPPTOOLAGNTAPP +-------------------------------------------------------- + + ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTOOL15" FOREIGN KEY ("XPDL_APPOID") + REFERENCES "SHKPACKLEVELXPDLAPP" ("OID") ENABLE; + + ALTER TABLE "SHKPACKLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPACKLEVELXPDLAPPTOOL16" FOREIGN KEY ("TOOLAGENTOID") + REFERENCES "SHKTOOLAGENTAPP" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCESSDATA +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSDATA" ADD CONSTRAINT "SHKPROCESSDATA_PROCESS" FOREIGN KEY ("PROCESS") + REFERENCES "SHKPROCESSES" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCESSDATABLOBS +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSDATABLOBS" ADD CONSTRAINT "SHKPROCESSDATABLOBS_PROC5" FOREIGN KEY ("PROCESSDATAWOB") + REFERENCES "SHKPROCESSDATAWOB" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCESSDATAWOB +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSDATAWOB" ADD CONSTRAINT "SHKPROCESSDATAWOB_PROCESS" FOREIGN KEY ("PROCESS") + REFERENCES "SHKPROCESSES" ("OID") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCESSES +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSES" ADD CONSTRAINT "SHKPROCESSES_PROCESSDEFI0" FOREIGN KEY ("PROCESSDEFINITION") + REFERENCES "SHKPROCESSDEFINITIONS" ("OID") ENABLE; + + ALTER TABLE "SHKPROCESSES" ADD CONSTRAINT "SHKPROCESSES_STATE" FOREIGN KEY ("STATE") + REFERENCES "SHKPROCESSSTATES" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCESSREQUESTERS +-------------------------------------------------------- + + ALTER TABLE "SHKPROCESSREQUESTERS" ADD CONSTRAINT "SHKPROCESSREQUESTERS_ACT1" FOREIGN KEY ("ACTIVITYREQUESTER") + REFERENCES "SHKACTIVITIES" ("OID") ENABLE; + + ALTER TABLE "SHKPROCESSREQUESTERS" ADD CONSTRAINT "SHKPROCESSREQUESTERS_RES2" FOREIGN KEY ("RESOURCEREQUESTER") + REFERENCES "SHKRESOURCESTABLE" ("OID") ENABLE; + + +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCLEVELPARTICIPANT +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELPARTICIPANT" ADD CONSTRAINT "SHKPROCLEVELPARTICIPANT_3" FOREIGN KEY ("PROCESSOID") + REFERENCES "SHKXPDLPARTICIPANTPROCESS" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCLEVELXPDLAPP +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELXPDLAPP" ADD CONSTRAINT "SHKPROCLEVELXPDLAPP_PROC6" FOREIGN KEY ("PROCESSOID") + REFERENCES "SHKXPDLAPPLICATIONPROCESS" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCLEVELXPDLAPPTAAPPDETAIL +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP35" FOREIGN KEY ("XPDL_APPOID") + REFERENCES "SHKPROCLEVELXPDLAPP" ("OID") ENABLE; + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETAIL" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP36" FOREIGN KEY ("TOOLAGENTOID") + REFERENCES "SHKTOOLAGENTAPPDETAIL" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCLEVELXPDLAPPTAAPPDETUSR +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP43" FOREIGN KEY ("XPDL_APPOID") + REFERENCES "SHKPROCLEVELXPDLAPP" ("OID") ENABLE; + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPDETUSR" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP44" FOREIGN KEY ("TOOLAGENTOID") + REFERENCES "SHKTOOLAGENTAPPDETAILUSER" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCLEVELXPDLAPPTAAPPUSER +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP39" FOREIGN KEY ("XPDL_APPOID") + REFERENCES "SHKPROCLEVELXPDLAPP" ("OID") ENABLE; + + ALTER TABLE "SHKPROCLEVELXPDLAPPTAAPPUSER" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTAAP40" FOREIGN KEY ("TOOLAGENTOID") + REFERENCES "SHKTOOLAGENTAPPUSER" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKPROCLEVELXPDLAPPTOOLAGNTAPP +-------------------------------------------------------- + + ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTOOL31" FOREIGN KEY ("XPDL_APPOID") + REFERENCES "SHKPROCLEVELXPDLAPP" ("OID") ENABLE; + + ALTER TABLE "SHKPROCLEVELXPDLAPPTOOLAGNTAPP" ADD CONSTRAINT "SHKPROCLEVELXPDLAPPTOOL32" FOREIGN KEY ("TOOLAGENTOID") + REFERENCES "SHKTOOLAGENTAPP" ("OID") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table SHKSTATEEVENTAUDITS +-------------------------------------------------------- + + ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_NEW11" FOREIGN KEY ("NEWPROCESSSTATE") + REFERENCES "SHKPROCESSSTATEEVENTAUDITS" ("OID") ENABLE; + + ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_NEW13" FOREIGN KEY ("NEWACTIVITYSTATE") + REFERENCES "SHKACTIVITYSTATEEVENTAUDITS" ("OID") ENABLE; + + ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_OLD10" FOREIGN KEY ("OLDPROCESSSTATE") + REFERENCES "SHKPROCESSSTATEEVENTAUDITS" ("OID") ENABLE; + + ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_OLD12" FOREIGN KEY ("OLDACTIVITYSTATE") + REFERENCES "SHKACTIVITYSTATEEVENTAUDITS" ("OID") ENABLE; + + ALTER TABLE "SHKSTATEEVENTAUDITS" ADD CONSTRAINT "SHKSTATEEVENTAUDITS_THET9" FOREIGN KEY ("THETYPE") + REFERENCES "SHKEVENTTYPES" ("OID") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table SHKTOOLAGENTAPPDETAIL +-------------------------------------------------------- + + ALTER TABLE "SHKTOOLAGENTAPPDETAIL" ADD CONSTRAINT "SHKTOOLAGENTAPPDETAIL_TO7" FOREIGN KEY ("TOOLAGENT_APPOID") + REFERENCES "SHKTOOLAGENTAPP" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKTOOLAGENTAPPDETAILUSER +-------------------------------------------------------- + + ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPDETAILUS11" FOREIGN KEY ("TOOLAGENT_APPOID") + REFERENCES "SHKTOOLAGENTAPPDETAIL" ("OID") ENABLE; + + ALTER TABLE "SHKTOOLAGENTAPPDETAILUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPDETAILUS12" FOREIGN KEY ("USEROID") + REFERENCES "SHKTOOLAGENTUSER" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKTOOLAGENTAPPUSER +-------------------------------------------------------- + + ALTER TABLE "SHKTOOLAGENTAPPUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPUSER_TOOL8" FOREIGN KEY ("TOOLAGENT_APPOID") + REFERENCES "SHKTOOLAGENTAPP" ("OID") ENABLE; + + ALTER TABLE "SHKTOOLAGENTAPPUSER" ADD CONSTRAINT "SHKTOOLAGENTAPPUSER_USER9" FOREIGN KEY ("USEROID") + REFERENCES "SHKTOOLAGENTUSER" ("OID") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table SHKUSERGROUPTABLE +-------------------------------------------------------- + + ALTER TABLE "SHKUSERGROUPTABLE" ADD CONSTRAINT "SHKUSERGROUPTABLE_GROUPID" FOREIGN KEY ("GROUPID") + REFERENCES "SHKGROUPTABLE" ("OID") ENABLE; + + ALTER TABLE "SHKUSERGROUPTABLE" ADD CONSTRAINT "SHKUSERGROUPTABLE_USERID" FOREIGN KEY ("USERID") + REFERENCES "SHKUSERTABLE" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKUSERPACKLEVELPART +-------------------------------------------------------- + + ALTER TABLE "SHKUSERPACKLEVELPART" ADD CONSTRAINT "SHKUSERPACKLEVELPART_PA15" FOREIGN KEY ("PARTICIPANTOID") + REFERENCES "SHKPACKLEVELPARTICIPANT" ("OID") ENABLE; + + ALTER TABLE "SHKUSERPACKLEVELPART" ADD CONSTRAINT "SHKUSERPACKLEVELPART_US16" FOREIGN KEY ("USEROID") + REFERENCES "SHKNORMALUSER" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKUSERPROCLEVELPARTICIPANT +-------------------------------------------------------- + + ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" ADD CONSTRAINT "SHKUSERPROCLEVELPARTICI12" FOREIGN KEY ("PARTICIPANTOID") + REFERENCES "SHKPROCLEVELPARTICIPANT" ("OID") ENABLE; + + ALTER TABLE "SHKUSERPROCLEVELPARTICIPANT" ADD CONSTRAINT "SHKUSERPROCLEVELPARTICI13" FOREIGN KEY ("USEROID") + REFERENCES "SHKNORMALUSER" ("OID") ENABLE; + + +-------------------------------------------------------- +-- Ref Constraints for Table SHKXPDLAPPLICATIONPROCESS +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLAPPLICATIONPROCESS" ADD CONSTRAINT "SHKXPDLAPPLICATIONPROCES3" FOREIGN KEY ("PACKAGEOID") + REFERENCES "SHKXPDLAPPLICATIONPACKAGE" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKXPDLDATA +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLDATA" ADD CONSTRAINT "SHKXPDLDATA_XPDL" FOREIGN KEY ("XPDL") + REFERENCES "SHKXPDLS" ("OID") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table SHKXPDLHISTORYDATA +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLHISTORYDATA" ADD CONSTRAINT "SHKXPDLHISTORYDATA_XPDLH0" FOREIGN KEY ("XPDLHISTORY") + REFERENCES "SHKXPDLHISTORY" ("OID") ENABLE; + +-------------------------------------------------------- +-- Ref Constraints for Table SHKXPDLPARTICIPANTPROCESS +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLPARTICIPANTPROCESS" ADD CONSTRAINT "SHKXPDLPARTICIPANTPROCES9" FOREIGN KEY ("PACKAGEOID") + REFERENCES "SHKXPDLPARTICIPANTPACKAGE" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table SHKXPDLREFERENCES +-------------------------------------------------------- + + ALTER TABLE "SHKXPDLREFERENCES" ADD CONSTRAINT "SHKXPDLREFERENCES_REFERR1" FOREIGN KEY ("REFERRINGXPDL") + REFERENCES "SHKXPDLS" ("OID") ENABLE; +-------------------------------------------------------- +-- Ref Constraints for Table APP_RESOURCE +-------------------------------------------------------- + + ALTER TABLE "APP_RESOURCE" ADD CONSTRAINT "FK_NNVKG0H6YY8O3F4YJHD20URY0" FOREIGN KEY ("APPID", "APPVERSION") + REFERENCES "APP_APP" ("APPID", "APPVERSION") ENABLE; + + + + + diff --git a/wflow-consoleweb/src/main/resources/setup/sql/quartz-mssql.sql b/wflow-consoleweb/src/main/resources/setup/sql/quartz-mssql.sql new file mode 100644 index 0000000000..480c9278db --- /dev/null +++ b/wflow-consoleweb/src/main/resources/setup/sql/quartz-mssql.sql @@ -0,0 +1,349 @@ +--# thanks to George Papastamatopoulos for submitting this ... and Marko Lahma for +--# updating it. +--# +--# In your Quartz properties file, you'll need to set +--# org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.MSSQLDelegate +--# +--# you shouse enter your DB instance's name on the next line in place of "enter_db_name_here" +--# +--# +--# From a helpful (but anonymous) Quartz user: +--# +--# Regarding this error message: +--# +--# [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode. +--# +--# +--# I added "SelectMethod=cursor;" to my Connection URL in the config file. +--# It Seems to work, hopefully no side effects. +--# +--# example: +--# "jdbc:microsoft:sqlserver://dbmachine:1433;SelectMethod=cursor"; +--# +--# Another user has pointed out that you will probably need to use the +--# JTDS driver +--# + +USE [enter_db_name_here] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[FK_QRTZ_TRIGGERS_QRTZ_JOB_DETAILS]') AND OBJECTPROPERTY(id, N'ISFOREIGNKEY') = 1) +ALTER TABLE [dbo].[QRTZ_TRIGGERS] DROP CONSTRAINT FK_QRTZ_TRIGGERS_QRTZ_JOB_DETAILS +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[FK_QRTZ_CRON_TRIGGERS_QRTZ_TRIGGERS]') AND OBJECTPROPERTY(id, N'ISFOREIGNKEY') = 1) +ALTER TABLE [dbo].[QRTZ_CRON_TRIGGERS] DROP CONSTRAINT FK_QRTZ_CRON_TRIGGERS_QRTZ_TRIGGERS +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[FK_QRTZ_SIMPLE_TRIGGERS_QRTZ_TRIGGERS]') AND OBJECTPROPERTY(id, N'ISFOREIGNKEY') = 1) +ALTER TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS] DROP CONSTRAINT FK_QRTZ_SIMPLE_TRIGGERS_QRTZ_TRIGGERS +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[FK_QRTZ_SIMPROP_TRIGGERS_QRTZ_TRIGGERS]') AND OBJECTPROPERTY(id, N'ISFOREIGNKEY') = 1) +ALTER TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS] DROP CONSTRAINT FK_QRTZ_SIMPROP_TRIGGERS_QRTZ_TRIGGERS +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_CALENDARS]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_CALENDARS] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_CRON_TRIGGERS]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_CRON_TRIGGERS] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_BLOB_TRIGGERS]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_BLOB_TRIGGERS] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_FIRED_TRIGGERS]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_FIRED_TRIGGERS] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_PAUSED_TRIGGER_GRPS]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_PAUSED_TRIGGER_GRPS] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_SCHEDULER_STATE]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_SCHEDULER_STATE] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_LOCKS]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_LOCKS] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_JOB_DETAILS]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_JOB_DETAILS] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_SIMPLE_TRIGGERS]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_SIMPROP_TRIGGERS]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS] +GO + +IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[QRTZ_TRIGGERS]') AND OBJECTPROPERTY(id, N'ISUSERTABLE') = 1) +DROP TABLE [dbo].[QRTZ_TRIGGERS] +GO + +CREATE TABLE [dbo].[QRTZ_CALENDARS] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [CALENDAR_NAME] [VARCHAR] (200) NOT NULL , + [CALENDAR] [IMAGE] NOT NULL +) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[QRTZ_CRON_TRIGGERS] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [TRIGGER_NAME] [VARCHAR] (200) NOT NULL , + [TRIGGER_GROUP] [VARCHAR] (200) NOT NULL , + [CRON_EXPRESSION] [VARCHAR] (120) NOT NULL , + [TIME_ZONE_ID] [VARCHAR] (80) +) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[QRTZ_FIRED_TRIGGERS] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [ENTRY_ID] [VARCHAR] (95) NOT NULL , + [TRIGGER_NAME] [VARCHAR] (200) NOT NULL , + [TRIGGER_GROUP] [VARCHAR] (200) NOT NULL , + [INSTANCE_NAME] [VARCHAR] (200) NOT NULL , + [FIRED_TIME] [BIGINT] NOT NULL , + [SCHED_TIME] [BIGINT] NOT NULL , + [PRIORITY] [INTEGER] NOT NULL , + [STATE] [VARCHAR] (16) NOT NULL, + [JOB_NAME] [VARCHAR] (200) NULL , + [JOB_GROUP] [VARCHAR] (200) NULL , + [IS_NONCONCURRENT] [VARCHAR] (1) NULL , + [REQUESTS_RECOVERY] [VARCHAR] (1) NULL +) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[QRTZ_PAUSED_TRIGGER_GRPS] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [TRIGGER_GROUP] [VARCHAR] (200) NOT NULL +) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[QRTZ_SCHEDULER_STATE] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [INSTANCE_NAME] [VARCHAR] (200) NOT NULL , + [LAST_CHECKIN_TIME] [BIGINT] NOT NULL , + [CHECKIN_INTERVAL] [BIGINT] NOT NULL +) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[QRTZ_LOCKS] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [LOCK_NAME] [VARCHAR] (40) NOT NULL +) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[QRTZ_JOB_DETAILS] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [JOB_NAME] [VARCHAR] (200) NOT NULL , + [JOB_GROUP] [VARCHAR] (200) NOT NULL , + [DESCRIPTION] [VARCHAR] (250) NULL , + [JOB_CLASS_NAME] [VARCHAR] (250) NOT NULL , + [IS_DURABLE] [VARCHAR] (1) NOT NULL , + [IS_NONCONCURRENT] [VARCHAR] (1) NOT NULL , + [IS_UPDATE_DATA] [VARCHAR] (1) NOT NULL , + [REQUESTS_RECOVERY] [VARCHAR] (1) NOT NULL , + [JOB_DATA] [IMAGE] NULL +) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [TRIGGER_NAME] [VARCHAR] (200) NOT NULL , + [TRIGGER_GROUP] [VARCHAR] (200) NOT NULL , + [REPEAT_COUNT] [BIGINT] NOT NULL , + [REPEAT_INTERVAL] [BIGINT] NOT NULL , + [TIMES_TRIGGERED] [BIGINT] NOT NULL +) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [TRIGGER_NAME] [VARCHAR] (200) NOT NULL , + [TRIGGER_GROUP] [VARCHAR] (200) NOT NULL , + [STR_PROP_1] [VARCHAR] (512) NULL, + [STR_PROP_2] [VARCHAR] (512) NULL, + [STR_PROP_3] [VARCHAR] (512) NULL, + [INT_PROP_1] [INT] NULL, + [INT_PROP_2] [INT] NULL, + [LONG_PROP_1] [BIGINT] NULL, + [LONG_PROP_2] [BIGINT] NULL, + [DEC_PROP_1] [NUMERIC] (13,4) NULL, + [DEC_PROP_2] [NUMERIC] (13,4) NULL, + [BOOL_PROP_1] [VARCHAR] (1) NULL, + [BOOL_PROP_2] [VARCHAR] (1) NULL, +) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[QRTZ_BLOB_TRIGGERS] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [TRIGGER_NAME] [VARCHAR] (200) NOT NULL , + [TRIGGER_GROUP] [VARCHAR] (200) NOT NULL , + [BLOB_DATA] [IMAGE] NULL +) ON [PRIMARY] +GO + +CREATE TABLE [dbo].[QRTZ_TRIGGERS] ( + [SCHED_NAME] [VARCHAR] (120) NOT NULL , + [TRIGGER_NAME] [VARCHAR] (200) NOT NULL , + [TRIGGER_GROUP] [VARCHAR] (200) NOT NULL , + [JOB_NAME] [VARCHAR] (200) NOT NULL , + [JOB_GROUP] [VARCHAR] (200) NOT NULL , + [DESCRIPTION] [VARCHAR] (250) NULL , + [NEXT_FIRE_TIME] [BIGINT] NULL , + [PREV_FIRE_TIME] [BIGINT] NULL , + [PRIORITY] [INTEGER] NULL , + [TRIGGER_STATE] [VARCHAR] (16) NOT NULL , + [TRIGGER_TYPE] [VARCHAR] (8) NOT NULL , + [START_TIME] [BIGINT] NOT NULL , + [END_TIME] [BIGINT] NULL , + [CALENDAR_NAME] [VARCHAR] (200) NULL , + [MISFIRE_INSTR] [SMALLINT] NULL , + [JOB_DATA] [IMAGE] NULL +) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_CALENDARS] WITH NOCHECK ADD + CONSTRAINT [PK_QRTZ_CALENDARS] PRIMARY KEY CLUSTERED + ( + [SCHED_NAME], + [CALENDAR_NAME] + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_CRON_TRIGGERS] WITH NOCHECK ADD + CONSTRAINT [PK_QRTZ_CRON_TRIGGERS] PRIMARY KEY CLUSTERED + ( + [SCHED_NAME], + [TRIGGER_NAME], + [TRIGGER_GROUP] + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_FIRED_TRIGGERS] WITH NOCHECK ADD + CONSTRAINT [PK_QRTZ_FIRED_TRIGGERS] PRIMARY KEY CLUSTERED + ( + [SCHED_NAME], + [ENTRY_ID] + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_PAUSED_TRIGGER_GRPS] WITH NOCHECK ADD + CONSTRAINT [PK_QRTZ_PAUSED_TRIGGER_GRPS] PRIMARY KEY CLUSTERED + ( + [SCHED_NAME], + [TRIGGER_GROUP] + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_SCHEDULER_STATE] WITH NOCHECK ADD + CONSTRAINT [PK_QRTZ_SCHEDULER_STATE] PRIMARY KEY CLUSTERED + ( + [SCHED_NAME], + [INSTANCE_NAME] + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_LOCKS] WITH NOCHECK ADD + CONSTRAINT [PK_QRTZ_LOCKS] PRIMARY KEY CLUSTERED + ( + [SCHED_NAME], + [LOCK_NAME] + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_JOB_DETAILS] WITH NOCHECK ADD + CONSTRAINT [PK_QRTZ_JOB_DETAILS] PRIMARY KEY CLUSTERED + ( + [SCHED_NAME], + [JOB_NAME], + [JOB_GROUP] + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS] WITH NOCHECK ADD + CONSTRAINT [PK_QRTZ_SIMPLE_TRIGGERS] PRIMARY KEY CLUSTERED + ( + [SCHED_NAME], + [TRIGGER_NAME], + [TRIGGER_GROUP] + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS] WITH NOCHECK ADD + CONSTRAINT [PK_QRTZ_SIMPROP_TRIGGERS] PRIMARY KEY CLUSTERED + ( + [SCHED_NAME], + [TRIGGER_NAME], + [TRIGGER_GROUP] + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_TRIGGERS] WITH NOCHECK ADD + CONSTRAINT [PK_QRTZ_TRIGGERS] PRIMARY KEY CLUSTERED + ( + [SCHED_NAME], + [TRIGGER_NAME], + [TRIGGER_GROUP] + ) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[QRTZ_CRON_TRIGGERS] ADD + CONSTRAINT [FK_QRTZ_CRON_TRIGGERS_QRTZ_TRIGGERS] FOREIGN KEY + ( + [SCHED_NAME], + [TRIGGER_NAME], + [TRIGGER_GROUP] + ) REFERENCES [dbo].[QRTZ_TRIGGERS] ( + [SCHED_NAME], + [TRIGGER_NAME], + [TRIGGER_GROUP] + ) ON DELETE CASCADE +GO + +ALTER TABLE [dbo].[QRTZ_SIMPLE_TRIGGERS] ADD + CONSTRAINT [FK_QRTZ_SIMPLE_TRIGGERS_QRTZ_TRIGGERS] FOREIGN KEY + ( + [SCHED_NAME], + [TRIGGER_NAME], + [TRIGGER_GROUP] + ) REFERENCES [dbo].[QRTZ_TRIGGERS] ( + [SCHED_NAME], + [TRIGGER_NAME], + [TRIGGER_GROUP] + ) ON DELETE CASCADE +GO + +ALTER TABLE [dbo].[QRTZ_SIMPROP_TRIGGERS] ADD + CONSTRAINT [FK_QRTZ_SIMPROP_TRIGGERS_QRTZ_TRIGGERS] FOREIGN KEY + ( + [SCHED_NAME], + [TRIGGER_NAME], + [TRIGGER_GROUP] + ) REFERENCES [dbo].[QRTZ_TRIGGERS] ( + [SCHED_NAME], + [TRIGGER_NAME], + [TRIGGER_GROUP] + ) ON DELETE CASCADE +GO + +ALTER TABLE [dbo].[QRTZ_TRIGGERS] ADD + CONSTRAINT [FK_QRTZ_TRIGGERS_QRTZ_JOB_DETAILS] FOREIGN KEY + ( + [SCHED_NAME], + [JOB_NAME], + [JOB_GROUP] + ) REFERENCES [dbo].[QRTZ_JOB_DETAILS] ( + [SCHED_NAME], + [JOB_NAME], + [JOB_GROUP] + ) +GO + diff --git a/wflow-consoleweb/src/main/resources/setup/sql/quartz-mysql.sql b/wflow-consoleweb/src/main/resources/setup/sql/quartz-mysql.sql new file mode 100644 index 0000000000..d3dfe8a35f --- /dev/null +++ b/wflow-consoleweb/src/main/resources/setup/sql/quartz-mysql.sql @@ -0,0 +1,179 @@ +# +# In your Quartz properties file, you'll need to set +# org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.StdJDBCDelegate +# +# +# By: Ron Cordell - roncordell +# I didn't see this anywhere, so I thought I'd post it here. This is the script from Quartz to create the tables in a MySQL database, modified to use INNODB instead of MYISAM. + +DROP TABLE IF EXISTS QRTZ_FIRED_TRIGGERS; +DROP TABLE IF EXISTS QRTZ_PAUSED_TRIGGER_GRPS; +DROP TABLE IF EXISTS QRTZ_SCHEDULER_STATE; +DROP TABLE IF EXISTS QRTZ_LOCKS; +DROP TABLE IF EXISTS QRTZ_SIMPLE_TRIGGERS; +DROP TABLE IF EXISTS QRTZ_SIMPROP_TRIGGERS; +DROP TABLE IF EXISTS QRTZ_CRON_TRIGGERS; +DROP TABLE IF EXISTS QRTZ_BLOB_TRIGGERS; +DROP TABLE IF EXISTS QRTZ_TRIGGERS; +DROP TABLE IF EXISTS QRTZ_JOB_DETAILS; +DROP TABLE IF EXISTS QRTZ_CALENDARS; + +CREATE TABLE QRTZ_JOB_DETAILS( +SCHED_NAME VARCHAR(120) NOT NULL, +JOB_NAME VARCHAR(200) NOT NULL, +JOB_GROUP VARCHAR(200) NOT NULL, +DESCRIPTION VARCHAR(250) NULL, +JOB_CLASS_NAME VARCHAR(250) NOT NULL, +IS_DURABLE VARCHAR(1) NOT NULL, +IS_NONCONCURRENT VARCHAR(1) NOT NULL, +IS_UPDATE_DATA VARCHAR(1) NOT NULL, +REQUESTS_RECOVERY VARCHAR(1) NOT NULL, +JOB_DATA BLOB NULL, +PRIMARY KEY (SCHED_NAME,JOB_NAME,JOB_GROUP)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE QRTZ_TRIGGERS ( +SCHED_NAME VARCHAR(120) NOT NULL, +TRIGGER_NAME VARCHAR(200) NOT NULL, +TRIGGER_GROUP VARCHAR(200) NOT NULL, +JOB_NAME VARCHAR(200) NOT NULL, +JOB_GROUP VARCHAR(200) NOT NULL, +DESCRIPTION VARCHAR(250) NULL, +NEXT_FIRE_TIME BIGINT(13) NULL, +PREV_FIRE_TIME BIGINT(13) NULL, +PRIORITY INTEGER NULL, +TRIGGER_STATE VARCHAR(16) NOT NULL, +TRIGGER_TYPE VARCHAR(8) NOT NULL, +START_TIME BIGINT(13) NOT NULL, +END_TIME BIGINT(13) NULL, +CALENDAR_NAME VARCHAR(200) NULL, +MISFIRE_INSTR SMALLINT(2) NULL, +JOB_DATA BLOB NULL, +PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), +FOREIGN KEY (SCHED_NAME,JOB_NAME,JOB_GROUP) +REFERENCES QRTZ_JOB_DETAILS(SCHED_NAME,JOB_NAME,JOB_GROUP)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE QRTZ_SIMPLE_TRIGGERS ( +SCHED_NAME VARCHAR(120) NOT NULL, +TRIGGER_NAME VARCHAR(200) NOT NULL, +TRIGGER_GROUP VARCHAR(200) NOT NULL, +REPEAT_COUNT BIGINT(7) NOT NULL, +REPEAT_INTERVAL BIGINT(12) NOT NULL, +TIMES_TRIGGERED BIGINT(10) NOT NULL, +PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), +FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE QRTZ_CRON_TRIGGERS ( +SCHED_NAME VARCHAR(120) NOT NULL, +TRIGGER_NAME VARCHAR(200) NOT NULL, +TRIGGER_GROUP VARCHAR(200) NOT NULL, +CRON_EXPRESSION VARCHAR(120) NOT NULL, +TIME_ZONE_ID VARCHAR(80), +PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), +FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE QRTZ_SIMPROP_TRIGGERS + ( + SCHED_NAME VARCHAR(120) NOT NULL, + TRIGGER_NAME VARCHAR(200) NOT NULL, + TRIGGER_GROUP VARCHAR(200) NOT NULL, + STR_PROP_1 VARCHAR(512) NULL, + STR_PROP_2 VARCHAR(512) NULL, + STR_PROP_3 VARCHAR(512) NULL, + INT_PROP_1 INT NULL, + INT_PROP_2 INT NULL, + LONG_PROP_1 BIGINT NULL, + LONG_PROP_2 BIGINT NULL, + DEC_PROP_1 NUMERIC(13,4) NULL, + DEC_PROP_2 NUMERIC(13,4) NULL, + BOOL_PROP_1 VARCHAR(1) NULL, + BOOL_PROP_2 VARCHAR(1) NULL, + PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) + REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE QRTZ_BLOB_TRIGGERS ( +SCHED_NAME VARCHAR(120) NOT NULL, +TRIGGER_NAME VARCHAR(200) NOT NULL, +TRIGGER_GROUP VARCHAR(200) NOT NULL, +BLOB_DATA BLOB NULL, +PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), +INDEX (SCHED_NAME,TRIGGER_NAME, TRIGGER_GROUP), +FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE QRTZ_CALENDARS ( +SCHED_NAME VARCHAR(120) NOT NULL, +CALENDAR_NAME VARCHAR(200) NOT NULL, +CALENDAR BLOB NOT NULL, +PRIMARY KEY (SCHED_NAME,CALENDAR_NAME)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE QRTZ_PAUSED_TRIGGER_GRPS ( +SCHED_NAME VARCHAR(120) NOT NULL, +TRIGGER_GROUP VARCHAR(200) NOT NULL, +PRIMARY KEY (SCHED_NAME,TRIGGER_GROUP)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE QRTZ_FIRED_TRIGGERS ( +SCHED_NAME VARCHAR(120) NOT NULL, +ENTRY_ID VARCHAR(95) NOT NULL, +TRIGGER_NAME VARCHAR(200) NOT NULL, +TRIGGER_GROUP VARCHAR(200) NOT NULL, +INSTANCE_NAME VARCHAR(200) NOT NULL, +FIRED_TIME BIGINT(13) NOT NULL, +SCHED_TIME BIGINT(13) NOT NULL, +PRIORITY INTEGER NOT NULL, +STATE VARCHAR(16) NOT NULL, +JOB_NAME VARCHAR(200) NULL, +JOB_GROUP VARCHAR(200) NULL, +IS_NONCONCURRENT VARCHAR(1) NULL, +REQUESTS_RECOVERY VARCHAR(1) NULL, +PRIMARY KEY (SCHED_NAME,ENTRY_ID)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE QRTZ_SCHEDULER_STATE ( +SCHED_NAME VARCHAR(120) NOT NULL, +INSTANCE_NAME VARCHAR(200) NOT NULL, +LAST_CHECKIN_TIME BIGINT(13) NOT NULL, +CHECKIN_INTERVAL BIGINT(13) NOT NULL, +PRIMARY KEY (SCHED_NAME,INSTANCE_NAME)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE TABLE QRTZ_LOCKS ( +SCHED_NAME VARCHAR(120) NOT NULL, +LOCK_NAME VARCHAR(40) NOT NULL, +PRIMARY KEY (SCHED_NAME,LOCK_NAME)) +ENGINE=InnoDB DEFAULT CHARSET=utf8; + +CREATE INDEX IDX_QRTZ_J_REQ_RECOVERY ON QRTZ_JOB_DETAILS(SCHED_NAME,REQUESTS_RECOVERY); +CREATE INDEX IDX_QRTZ_J_GRP ON QRTZ_JOB_DETAILS(SCHED_NAME,JOB_GROUP); + +CREATE INDEX IDX_QRTZ_T_J ON QRTZ_TRIGGERS(SCHED_NAME,JOB_NAME,JOB_GROUP); +CREATE INDEX IDX_QRTZ_T_JG ON QRTZ_TRIGGERS(SCHED_NAME,JOB_GROUP); +CREATE INDEX IDX_QRTZ_T_C ON QRTZ_TRIGGERS(SCHED_NAME,CALENDAR_NAME); +CREATE INDEX IDX_QRTZ_T_G ON QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_GROUP); +CREATE INDEX IDX_QRTZ_T_STATE ON QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_STATE); +CREATE INDEX IDX_QRTZ_T_N_STATE ON QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP,TRIGGER_STATE); +CREATE INDEX IDX_QRTZ_T_N_G_STATE ON QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_GROUP,TRIGGER_STATE); +CREATE INDEX IDX_QRTZ_T_NEXT_FIRE_TIME ON QRTZ_TRIGGERS(SCHED_NAME,NEXT_FIRE_TIME); +CREATE INDEX IDX_QRTZ_T_NFT_ST ON QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_STATE,NEXT_FIRE_TIME); +CREATE INDEX IDX_QRTZ_T_NFT_MISFIRE ON QRTZ_TRIGGERS(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME); +CREATE INDEX IDX_QRTZ_T_NFT_ST_MISFIRE ON QRTZ_TRIGGERS(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_STATE); +CREATE INDEX IDX_QRTZ_T_NFT_ST_MISFIRE_GRP ON QRTZ_TRIGGERS(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_GROUP,TRIGGER_STATE); + +CREATE INDEX IDX_QRTZ_FT_TRIG_INST_NAME ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,INSTANCE_NAME); +CREATE INDEX IDX_QRTZ_FT_INST_JOB_REQ_RCVRY ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,INSTANCE_NAME,REQUESTS_RECOVERY); +CREATE INDEX IDX_QRTZ_FT_J_G ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,JOB_NAME,JOB_GROUP); +CREATE INDEX IDX_QRTZ_FT_JG ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,JOB_GROUP); +CREATE INDEX IDX_QRTZ_FT_T_G ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP); +CREATE INDEX IDX_QRTZ_FT_TG ON QRTZ_FIRED_TRIGGERS(SCHED_NAME,TRIGGER_GROUP); + +commit; diff --git a/wflow-consoleweb/src/main/resources/setup/sql/quartz-oracle.sql b/wflow-consoleweb/src/main/resources/setup/sql/quartz-oracle.sql new file mode 100644 index 0000000000..0f23e5a48e --- /dev/null +++ b/wflow-consoleweb/src/main/resources/setup/sql/quartz-oracle.sql @@ -0,0 +1,193 @@ +-- +-- A hint submitted by a user: Oracle DB MUST be created as "shared" and the +-- job_queue_processes parameter must be greater than 2 +-- However, these settings are pretty much standard after any +-- Oracle install, so most users need not worry about this. +-- +-- Many other users (including the primary author of Quartz) have had success +-- runing in dedicated mode, so only consider the above as a hint ;-) +-- + +delete from qrtz_fired_triggers; +delete from qrtz_simple_triggers; +delete from qrtz_simprop_triggers; +delete from qrtz_cron_triggers; +delete from qrtz_blob_triggers; +delete from qrtz_triggers; +delete from qrtz_job_details; +delete from qrtz_calendars; +delete from qrtz_paused_trigger_grps; +delete from qrtz_locks; +delete from qrtz_scheduler_state; + +drop table qrtz_calendars; +drop table qrtz_fired_triggers; +drop table qrtz_blob_triggers; +drop table qrtz_cron_triggers; +drop table qrtz_simple_triggers; +drop table qrtz_simprop_triggers; +drop table qrtz_triggers; +drop table qrtz_job_details; +drop table qrtz_paused_trigger_grps; +drop table qrtz_locks; +drop table qrtz_scheduler_state; + + +CREATE TABLE qrtz_job_details + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + JOB_NAME VARCHAR2(200) NOT NULL, + JOB_GROUP VARCHAR2(200) NOT NULL, + DESCRIPTION VARCHAR2(250) NULL, + JOB_CLASS_NAME VARCHAR2(250) NOT NULL, + IS_DURABLE VARCHAR2(1) NOT NULL, + IS_NONCONCURRENT VARCHAR2(1) NOT NULL, + IS_UPDATE_DATA VARCHAR2(1) NOT NULL, + REQUESTS_RECOVERY VARCHAR2(1) NOT NULL, + JOB_DATA BLOB NULL, + CONSTRAINT QRTZ_JOB_DETAILS_PK PRIMARY KEY (SCHED_NAME,JOB_NAME,JOB_GROUP) +); +CREATE TABLE qrtz_triggers + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + TRIGGER_NAME VARCHAR2(200) NOT NULL, + TRIGGER_GROUP VARCHAR2(200) NOT NULL, + JOB_NAME VARCHAR2(200) NOT NULL, + JOB_GROUP VARCHAR2(200) NOT NULL, + DESCRIPTION VARCHAR2(250) NULL, + NEXT_FIRE_TIME NUMBER(13) NULL, + PREV_FIRE_TIME NUMBER(13) NULL, + PRIORITY NUMBER(13) NULL, + TRIGGER_STATE VARCHAR2(16) NOT NULL, + TRIGGER_TYPE VARCHAR2(8) NOT NULL, + START_TIME NUMBER(13) NOT NULL, + END_TIME NUMBER(13) NULL, + CALENDAR_NAME VARCHAR2(200) NULL, + MISFIRE_INSTR NUMBER(2) NULL, + JOB_DATA BLOB NULL, + CONSTRAINT QRTZ_TRIGGERS_PK PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + CONSTRAINT QRTZ_TRIGGER_TO_JOBS_FK FOREIGN KEY (SCHED_NAME,JOB_NAME,JOB_GROUP) + REFERENCES QRTZ_JOB_DETAILS(SCHED_NAME,JOB_NAME,JOB_GROUP) +); +CREATE TABLE qrtz_simple_triggers + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + TRIGGER_NAME VARCHAR2(200) NOT NULL, + TRIGGER_GROUP VARCHAR2(200) NOT NULL, + REPEAT_COUNT NUMBER(7) NOT NULL, + REPEAT_INTERVAL NUMBER(12) NOT NULL, + TIMES_TRIGGERED NUMBER(10) NOT NULL, + CONSTRAINT QRTZ_SIMPLE_TRIG_PK PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + CONSTRAINT QRTZ_SIMPLE_TRIG_TO_TRIG_FK FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) + REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +); +CREATE TABLE qrtz_cron_triggers + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + TRIGGER_NAME VARCHAR2(200) NOT NULL, + TRIGGER_GROUP VARCHAR2(200) NOT NULL, + CRON_EXPRESSION VARCHAR2(120) NOT NULL, + TIME_ZONE_ID VARCHAR2(80), + CONSTRAINT QRTZ_CRON_TRIG_PK PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + CONSTRAINT QRTZ_CRON_TRIG_TO_TRIG_FK FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) + REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +); +CREATE TABLE qrtz_simprop_triggers + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + TRIGGER_NAME VARCHAR2(200) NOT NULL, + TRIGGER_GROUP VARCHAR2(200) NOT NULL, + STR_PROP_1 VARCHAR2(512) NULL, + STR_PROP_2 VARCHAR2(512) NULL, + STR_PROP_3 VARCHAR2(512) NULL, + INT_PROP_1 NUMBER(10) NULL, + INT_PROP_2 NUMBER(10) NULL, + LONG_PROP_1 NUMBER(13) NULL, + LONG_PROP_2 NUMBER(13) NULL, + DEC_PROP_1 NUMERIC(13,4) NULL, + DEC_PROP_2 NUMERIC(13,4) NULL, + BOOL_PROP_1 VARCHAR2(1) NULL, + BOOL_PROP_2 VARCHAR2(1) NULL, + CONSTRAINT QRTZ_SIMPROP_TRIG_PK PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + CONSTRAINT QRTZ_SIMPROP_TRIG_TO_TRIG_FK FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) + REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +); +CREATE TABLE qrtz_blob_triggers + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + TRIGGER_NAME VARCHAR2(200) NOT NULL, + TRIGGER_GROUP VARCHAR2(200) NOT NULL, + BLOB_DATA BLOB NULL, + CONSTRAINT QRTZ_BLOB_TRIG_PK PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + CONSTRAINT QRTZ_BLOB_TRIG_TO_TRIG_FK FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) + REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +); +CREATE TABLE qrtz_calendars + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + CALENDAR_NAME VARCHAR2(200) NOT NULL, + CALENDAR BLOB NOT NULL, + CONSTRAINT QRTZ_CALENDARS_PK PRIMARY KEY (SCHED_NAME,CALENDAR_NAME) +); +CREATE TABLE qrtz_paused_trigger_grps + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + TRIGGER_GROUP VARCHAR2(200) NOT NULL, + CONSTRAINT QRTZ_PAUSED_TRIG_GRPS_PK PRIMARY KEY (SCHED_NAME,TRIGGER_GROUP) +); +CREATE TABLE qrtz_fired_triggers + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + ENTRY_ID VARCHAR2(95) NOT NULL, + TRIGGER_NAME VARCHAR2(200) NOT NULL, + TRIGGER_GROUP VARCHAR2(200) NOT NULL, + INSTANCE_NAME VARCHAR2(200) NOT NULL, + FIRED_TIME NUMBER(13) NOT NULL, + SCHED_TIME NUMBER(13) NOT NULL, + PRIORITY NUMBER(13) NOT NULL, + STATE VARCHAR2(16) NOT NULL, + JOB_NAME VARCHAR2(200) NULL, + JOB_GROUP VARCHAR2(200) NULL, + IS_NONCONCURRENT VARCHAR2(1) NULL, + REQUESTS_RECOVERY VARCHAR2(1) NULL, + CONSTRAINT QRTZ_FIRED_TRIGGER_PK PRIMARY KEY (SCHED_NAME,ENTRY_ID) +); +CREATE TABLE qrtz_scheduler_state + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + INSTANCE_NAME VARCHAR2(200) NOT NULL, + LAST_CHECKIN_TIME NUMBER(13) NOT NULL, + CHECKIN_INTERVAL NUMBER(13) NOT NULL, + CONSTRAINT QRTZ_SCHEDULER_STATE_PK PRIMARY KEY (SCHED_NAME,INSTANCE_NAME) +); +CREATE TABLE qrtz_locks + ( + SCHED_NAME VARCHAR2(120) NOT NULL, + LOCK_NAME VARCHAR2(40) NOT NULL, + CONSTRAINT QRTZ_LOCKS_PK PRIMARY KEY (SCHED_NAME,LOCK_NAME) +); + +create index idx_qrtz_j_req_recovery on qrtz_job_details(SCHED_NAME,REQUESTS_RECOVERY); +create index idx_qrtz_j_grp on qrtz_job_details(SCHED_NAME,JOB_GROUP); + +create index idx_qrtz_t_j on qrtz_triggers(SCHED_NAME,JOB_NAME,JOB_GROUP); +create index idx_qrtz_t_jg on qrtz_triggers(SCHED_NAME,JOB_GROUP); +create index idx_qrtz_t_c on qrtz_triggers(SCHED_NAME,CALENDAR_NAME); +create index idx_qrtz_t_g on qrtz_triggers(SCHED_NAME,TRIGGER_GROUP); +create index idx_qrtz_t_state on qrtz_triggers(SCHED_NAME,TRIGGER_STATE); +create index idx_qrtz_t_n_state on qrtz_triggers(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP,TRIGGER_STATE); +create index idx_qrtz_t_n_g_state on qrtz_triggers(SCHED_NAME,TRIGGER_GROUP,TRIGGER_STATE); +create index idx_qrtz_t_next_fire_time on qrtz_triggers(SCHED_NAME,NEXT_FIRE_TIME); +create index idx_qrtz_t_nft_st on qrtz_triggers(SCHED_NAME,TRIGGER_STATE,NEXT_FIRE_TIME); +create index idx_qrtz_t_nft_misfire on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME); +create index idx_qrtz_t_nft_st_misfire on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_STATE); +create index idx_qrtz_t_nft_st_misfire_grp on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_GROUP,TRIGGER_STATE); + +create index idx_qrtz_ft_trig_inst_name on qrtz_fired_triggers(SCHED_NAME,INSTANCE_NAME); +create index idx_qrtz_ft_inst_job_req_rcvry on qrtz_fired_triggers(SCHED_NAME,INSTANCE_NAME,REQUESTS_RECOVERY); +create index idx_qrtz_ft_j_g on qrtz_fired_triggers(SCHED_NAME,JOB_NAME,JOB_GROUP); +create index idx_qrtz_ft_jg on qrtz_fired_triggers(SCHED_NAME,JOB_GROUP); +create index idx_qrtz_ft_t_g on qrtz_fired_triggers(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP); +create index idx_qrtz_ft_tg on qrtz_fired_triggers(SCHED_NAME,TRIGGER_GROUP); + + diff --git a/wflow-consoleweb/src/main/resources/setup/sql/quartz-postgres.sql b/wflow-consoleweb/src/main/resources/setup/sql/quartz-postgres.sql new file mode 100644 index 0000000000..244657c579 --- /dev/null +++ b/wflow-consoleweb/src/main/resources/setup/sql/quartz-postgres.sql @@ -0,0 +1,187 @@ +-- Thanks to Patrick Lightbody for submitting this... +-- +-- In your Quartz properties file, you'll need to set +-- org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.PostgreSQLDelegate + +drop table IF EXISTS qrtz_fired_triggers; +DROP TABLE IF EXISTS QRTZ_PAUSED_TRIGGER_GRPS; +DROP TABLE IF EXISTS QRTZ_SCHEDULER_STATE; +DROP TABLE IF EXISTS QRTZ_LOCKS; +drop table IF EXISTS qrtz_simple_triggers; +drop table IF EXISTS qrtz_cron_triggers; +drop table IF EXISTS qrtz_simprop_triggers; +DROP TABLE IF EXISTS QRTZ_BLOB_TRIGGERS; +drop table IF EXISTS qrtz_triggers; +drop table IF EXISTS qrtz_job_details; +drop table IF EXISTS qrtz_calendars; + +CREATE TABLE qrtz_job_details + ( + SCHED_NAME VARCHAR(120) NOT NULL, + JOB_NAME VARCHAR(200) NOT NULL, + JOB_GROUP VARCHAR(200) NOT NULL, + DESCRIPTION VARCHAR(250) NULL, + JOB_CLASS_NAME VARCHAR(250) NOT NULL, + IS_DURABLE BOOL NOT NULL, + IS_NONCONCURRENT BOOL NOT NULL, + IS_UPDATE_DATA BOOL NOT NULL, + REQUESTS_RECOVERY BOOL NOT NULL, + JOB_DATA BYTEA NULL, + PRIMARY KEY (SCHED_NAME,JOB_NAME,JOB_GROUP) +); + +CREATE TABLE qrtz_triggers + ( + SCHED_NAME VARCHAR(120) NOT NULL, + TRIGGER_NAME VARCHAR(200) NOT NULL, + TRIGGER_GROUP VARCHAR(200) NOT NULL, + JOB_NAME VARCHAR(200) NOT NULL, + JOB_GROUP VARCHAR(200) NOT NULL, + DESCRIPTION VARCHAR(250) NULL, + NEXT_FIRE_TIME BIGINT NULL, + PREV_FIRE_TIME BIGINT NULL, + PRIORITY INTEGER NULL, + TRIGGER_STATE VARCHAR(16) NOT NULL, + TRIGGER_TYPE VARCHAR(8) NOT NULL, + START_TIME BIGINT NOT NULL, + END_TIME BIGINT NULL, + CALENDAR_NAME VARCHAR(200) NULL, + MISFIRE_INSTR SMALLINT NULL, + JOB_DATA BYTEA NULL, + PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + FOREIGN KEY (SCHED_NAME,JOB_NAME,JOB_GROUP) + REFERENCES QRTZ_JOB_DETAILS(SCHED_NAME,JOB_NAME,JOB_GROUP) +); + +CREATE TABLE qrtz_simple_triggers + ( + SCHED_NAME VARCHAR(120) NOT NULL, + TRIGGER_NAME VARCHAR(200) NOT NULL, + TRIGGER_GROUP VARCHAR(200) NOT NULL, + REPEAT_COUNT BIGINT NOT NULL, + REPEAT_INTERVAL BIGINT NOT NULL, + TIMES_TRIGGERED BIGINT NOT NULL, + PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) + REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +); + +CREATE TABLE qrtz_cron_triggers + ( + SCHED_NAME VARCHAR(120) NOT NULL, + TRIGGER_NAME VARCHAR(200) NOT NULL, + TRIGGER_GROUP VARCHAR(200) NOT NULL, + CRON_EXPRESSION VARCHAR(120) NOT NULL, + TIME_ZONE_ID VARCHAR(80), + PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) + REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +); + +CREATE TABLE qrtz_simprop_triggers + ( + SCHED_NAME VARCHAR(120) NOT NULL, + TRIGGER_NAME VARCHAR(200) NOT NULL, + TRIGGER_GROUP VARCHAR(200) NOT NULL, + STR_PROP_1 VARCHAR(512) NULL, + STR_PROP_2 VARCHAR(512) NULL, + STR_PROP_3 VARCHAR(512) NULL, + INT_PROP_1 INT NULL, + INT_PROP_2 INT NULL, + LONG_PROP_1 BIGINT NULL, + LONG_PROP_2 BIGINT NULL, + DEC_PROP_1 NUMERIC(13,4) NULL, + DEC_PROP_2 NUMERIC(13,4) NULL, + BOOL_PROP_1 BOOL NULL, + BOOL_PROP_2 BOOL NULL, + PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) + REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +); + +CREATE TABLE qrtz_blob_triggers + ( + SCHED_NAME VARCHAR(120) NOT NULL, + TRIGGER_NAME VARCHAR(200) NOT NULL, + TRIGGER_GROUP VARCHAR(200) NOT NULL, + BLOB_DATA BYTEA NULL, + PRIMARY KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP), + FOREIGN KEY (SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) + REFERENCES QRTZ_TRIGGERS(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP) +); + +CREATE TABLE qrtz_calendars + ( + SCHED_NAME VARCHAR(120) NOT NULL, + CALENDAR_NAME VARCHAR(200) NOT NULL, + CALENDAR BYTEA NOT NULL, + PRIMARY KEY (SCHED_NAME,CALENDAR_NAME) +); + + +CREATE TABLE qrtz_paused_trigger_grps + ( + SCHED_NAME VARCHAR(120) NOT NULL, + TRIGGER_GROUP VARCHAR(200) NOT NULL, + PRIMARY KEY (SCHED_NAME,TRIGGER_GROUP) +); + +CREATE TABLE qrtz_fired_triggers + ( + SCHED_NAME VARCHAR(120) NOT NULL, + ENTRY_ID VARCHAR(95) NOT NULL, + TRIGGER_NAME VARCHAR(200) NOT NULL, + TRIGGER_GROUP VARCHAR(200) NOT NULL, + INSTANCE_NAME VARCHAR(200) NOT NULL, + FIRED_TIME BIGINT NOT NULL, + SCHED_TIME BIGINT NOT NULL, + PRIORITY INTEGER NOT NULL, + STATE VARCHAR(16) NOT NULL, + JOB_NAME VARCHAR(200) NULL, + JOB_GROUP VARCHAR(200) NULL, + IS_NONCONCURRENT BOOL NULL, + REQUESTS_RECOVERY BOOL NULL, + PRIMARY KEY (SCHED_NAME,ENTRY_ID) +); + +CREATE TABLE qrtz_scheduler_state + ( + SCHED_NAME VARCHAR(120) NOT NULL, + INSTANCE_NAME VARCHAR(200) NOT NULL, + LAST_CHECKIN_TIME BIGINT NOT NULL, + CHECKIN_INTERVAL BIGINT NOT NULL, + PRIMARY KEY (SCHED_NAME,INSTANCE_NAME) +); + +CREATE TABLE qrtz_locks + ( + SCHED_NAME VARCHAR(120) NOT NULL, + LOCK_NAME VARCHAR(40) NOT NULL, + PRIMARY KEY (SCHED_NAME,LOCK_NAME) +); + +create index idx_qrtz_j_req_recovery on qrtz_job_details(SCHED_NAME,REQUESTS_RECOVERY); +create index idx_qrtz_j_grp on qrtz_job_details(SCHED_NAME,JOB_GROUP); + +create index idx_qrtz_t_j on qrtz_triggers(SCHED_NAME,JOB_NAME,JOB_GROUP); +create index idx_qrtz_t_jg on qrtz_triggers(SCHED_NAME,JOB_GROUP); +create index idx_qrtz_t_c on qrtz_triggers(SCHED_NAME,CALENDAR_NAME); +create index idx_qrtz_t_g on qrtz_triggers(SCHED_NAME,TRIGGER_GROUP); +create index idx_qrtz_t_state on qrtz_triggers(SCHED_NAME,TRIGGER_STATE); +create index idx_qrtz_t_n_state on qrtz_triggers(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP,TRIGGER_STATE); +create index idx_qrtz_t_n_g_state on qrtz_triggers(SCHED_NAME,TRIGGER_GROUP,TRIGGER_STATE); +create index idx_qrtz_t_next_fire_time on qrtz_triggers(SCHED_NAME,NEXT_FIRE_TIME); +create index idx_qrtz_t_nft_st on qrtz_triggers(SCHED_NAME,TRIGGER_STATE,NEXT_FIRE_TIME); +create index idx_qrtz_t_nft_misfire on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME); +create index idx_qrtz_t_nft_st_misfire on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_STATE); +create index idx_qrtz_t_nft_st_misfire_grp on qrtz_triggers(SCHED_NAME,MISFIRE_INSTR,NEXT_FIRE_TIME,TRIGGER_GROUP,TRIGGER_STATE); + +create index idx_qrtz_ft_trig_inst_name on qrtz_fired_triggers(SCHED_NAME,INSTANCE_NAME); +create index idx_qrtz_ft_inst_job_req_rcvry on qrtz_fired_triggers(SCHED_NAME,INSTANCE_NAME,REQUESTS_RECOVERY); +create index idx_qrtz_ft_j_g on qrtz_fired_triggers(SCHED_NAME,JOB_NAME,JOB_GROUP); +create index idx_qrtz_ft_jg on qrtz_fired_triggers(SCHED_NAME,JOB_GROUP); +create index idx_qrtz_ft_t_g on qrtz_fired_triggers(SCHED_NAME,TRIGGER_NAME,TRIGGER_GROUP); +create index idx_qrtz_ft_tg on qrtz_fired_triggers(SCHED_NAME,TRIGGER_GROUP); + + +commit; \ No newline at end of file diff --git a/wflow-consoleweb/src/main/resources/templates/settings.ftl b/wflow-consoleweb/src/main/resources/templates/settings.ftl index 24f56391b3..9c913f4e1a 100644 --- a/wflow-consoleweb/src/main/resources/templates/settings.ftl +++ b/wflow-consoleweb/src/main/resources/templates/settings.ftl @@ -6,7 +6,7 @@
    - © Joget DX - Joget Inc. All Rights Reserved. + © Kecak Workflow - Kecak Inc. All Rights Reserved.
    @@console.footer.label.revision@@
    diff --git a/wflow-consoleweb/src/main/resources/ubuilder.properties b/wflow-consoleweb/src/main/resources/ubuilder.properties index 60ad61a98a..3a93e7232e 100755 --- a/wflow-consoleweb/src/main/resources/ubuilder.properties +++ b/wflow-consoleweb/src/main/resources/ubuilder.properties @@ -1,73 +1,73 @@ -ubuilder.editable.noValue=[No value. Click to edit.] -ubuilder.editable.tooltip=Click to edit -ubuilder.newCategory=New Category -ubuilder.errors=You have the following errors -ubuilder.saved=Userview Saved -ubuilder.saveFailed=Save failed. Please try again. -ubuilder.emptyLabel=Label cannot be empty -ubuilder.menu=Menu -ubuilder.dropMenu=Drop menu item here -ubuilder.edit=Edit -ubuilder.addCategory=Add Category -ubuilder.editCategory=Edit Category -ubuilder.editLabel=Edit Label -ubuilder.permission=Permission -ubuilder.deleteCategory=Delete Category -ubuilder.properties=Properties -ubuilder.deleteMenu=Delete Menu -ubuilder.delete.confirm=Confirm Delete? -ubuilder.redo=Redo -ubuilder.redo.tip=Redo (Ctrl+Y) -ubuilder.redo.disabled=Redo - Disabled -ubuilder.redo.disabled.tip=Redo - Disabled (Ctrl+Y) -ubuilder.undo=Undo -ubuilder.undo.tip=Undo (Ctrl+Z) -ubuilder.undo.disabled=Undo - Disabled -ubuilder.undo.disabled.tip=Undo - Disabled (Ctrl+Z) -ubuilder.label.undoing=Undo-ing -ubuilder.label.redoing=Redo-ing -ubuilder.save=Save -ubuilder.save.description=Save Userview -ubuilder.save.tip=Save (Ctrl+S) -ubuilder.save.disabled.tip=Save - Disabled (Ctrl+S) -ubuilder.login=Login -ubuilder.noAuthorize=We are sorry, but you are not authorized to view this page. -ubuilder.pageNotFound=Page Not Found (Code 404) -ubuilder.pageNotFound.message=Sorry, the page requested is not found. -ubuilder.pageNotFound.explanation=If you have been brought to this page unintentionally, please report the previous URL for troubleshooting purposes. -ubuilder.pageNotFound.backToMain=Click here to go back to the main page -ubuilder.loginError=Your login attempt was not successful: -ubuilder.login.username=Username -ubuilder.login.password=Password -ubuilder.saveBeforeClose=Please Save Before Closing -ubuilder.title=Userview Builder -ubuilder.designUserview=Design Userview -ubuilder.designUserview.description=Design Your Menu -ubuilder.setting=Settings -ubuilder.setting.description=Theme & Permission -ubuilder.preview=Preview -ubuilder.preview.description=Preview Userview -ubuilder.preview.tip=Preview (Ctrl+P) -ubuilder.palette=Palette -ubuilder.canvas=Canvas -ubuilder.content=Content -ubuilder.saving=Saving Userview -ubuilder.generatingScreenshot=Generating screenshot -ubuilder.description=Description -ubuilder.copy=Copy -ubuilder.pasteCategory=Paste Category -ubuilder.pasteMenu=Paste Menu -ubuilder.noCopiedItem=No element to paste -ubuilder.copied=Copied to clipboard -ubuilder.merging=Merging ... -ubuilder.permissionDisabled=Permission disabled for testing -ubuilder.development=Development -ubuilder.comment=Comment -ubuilder.thumbnail=Thumbnail -ubuilder.visible=Visible -ubuilder.readonly=Readonly -ubuilder.hidden=Hidden -ubuilder.pwa.warning=PWA Offline checking found the following issue(s): -ubuilder.pwa.confirm=Are You Sure You Want to Enable Cache for Offline Support? -cbuilder.saving=Saving... +ubuilder.editable.noValue=[No value. Click to edit.] +ubuilder.editable.tooltip=Click to edit +ubuilder.newCategory=New Category +ubuilder.errors=You have the following errors +ubuilder.saved=Userview Saved +ubuilder.saveFailed=Save failed. Please try again. +ubuilder.emptyLabel=Label cannot be empty +ubuilder.menu=Menu +ubuilder.dropMenu=Drop menu item here +ubuilder.edit=Edit +ubuilder.addCategory=Add Category +ubuilder.editCategory=Edit Category +ubuilder.editLabel=Edit Label +ubuilder.permission=Permission +ubuilder.deleteCategory=Delete Category +ubuilder.properties=Properties +ubuilder.deleteMenu=Delete Menu +ubuilder.delete.confirm=Confirm Delete? +ubuilder.redo=Redo +ubuilder.redo.tip=Redo (Ctrl+Y) +ubuilder.redo.disabled=Redo - Disabled +ubuilder.redo.disabled.tip=Redo - Disabled (Ctrl+Y) +ubuilder.undo=Undo +ubuilder.undo.tip=Undo (Ctrl+Z) +ubuilder.undo.disabled=Undo - Disabled +ubuilder.undo.disabled.tip=Undo - Disabled (Ctrl+Z) +ubuilder.label.undoing=Undo-ing +ubuilder.label.redoing=Redo-ing +ubuilder.save=Save +ubuilder.save.description=Save Userview +ubuilder.save.tip=Save (Ctrl+S) +ubuilder.save.disabled.tip=Save - Disabled (Ctrl+S) +ubuilder.login=Login +ubuilder.noAuthorize=We are sorry, but you are not authorized to view this page. +ubuilder.pageNotFound=Page Not Found (Code 404) +ubuilder.pageNotFound.message=Sorry, the page requested is not found. +ubuilder.pageNotFound.explanation=If you have been brought to this page unintentionally, please report the previous URL for troubleshooting purposes. +ubuilder.pageNotFound.backToMain=Click here to go back to the main page +ubuilder.loginError=Your login attempt was not successful: +ubuilder.login.username=Username +ubuilder.login.password=Password +ubuilder.saveBeforeClose=Please Save Before Closing +ubuilder.title=Userview Builder +ubuilder.designUserview=Design Userview +ubuilder.designUserview.description=Design Your Menu +ubuilder.setting=Settings +ubuilder.setting.description=Theme & Permission +ubuilder.preview=Preview +ubuilder.preview.description=Preview Userview +ubuilder.preview.tip=Preview (Ctrl+P) +ubuilder.palette=Palette +ubuilder.canvas=Canvas +ubuilder.content=Content +ubuilder.saving=Saving Userview +ubuilder.generatingScreenshot=Generating screenshot +ubuilder.description=Description +ubuilder.copy=Copy +ubuilder.pasteCategory=Paste Category +ubuilder.pasteMenu=Paste Menu +ubuilder.noCopiedItem=No element to paste +ubuilder.copied=Copied to clipboard +ubuilder.merging=Merging ... +ubuilder.permissionDisabled=Permission disabled for testing +ubuilder.development=Development +ubuilder.comment=Comment +ubuilder.thumbnail=Thumbnail +ubuilder.visible=Visible +ubuilder.readonly=Readonly +ubuilder.hidden=Hidden +ubuilder.pwa.warning=PWA Offline checking found the following issue(s): +ubuilder.pwa.confirm=Are You Sure You Want to Enable Cache for Offline Support? +cbuilder.saving=Saving... cbuilder.paste=Paste \ No newline at end of file diff --git a/wflow-consoleweb/src/main/resources/webApplicationContext.xml b/wflow-consoleweb/src/main/resources/webApplicationContext.xml index 3d57061ead..466bb487af 100644 --- a/wflow-consoleweb/src/main/resources/webApplicationContext.xml +++ b/wflow-consoleweb/src/main/resources/webApplicationContext.xml @@ -14,8 +14,10 @@ - - + + + + + + + + @@ -117,10 +121,17 @@ - + + + + + + + + @@ -132,13 +143,13 @@ - - + + - - + + @@ -149,6 +160,12 @@ + + + + + + @@ -159,13 +176,35 @@ + + + + + + + + + + + + + + + + + + + + + + - - + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/dispatcher-servlet.xml b/wflow-consoleweb/src/main/webapp/WEB-INF/dispatcher-servlet.xml index 9e804db7b4..a5c706b1b3 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/dispatcher-servlet.xml +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/dispatcher-servlet.xml @@ -1,17 +1,17 @@ - - - - - - + + + + + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jdbc.properties b/wflow-consoleweb/src/main/webapp/WEB-INF/jdbc.properties index ad8a927bff..c05bdbb55f 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jdbc.properties +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jdbc.properties @@ -1,6 +1,6 @@ -#jdbc.driverClassName=com.mysql.jdbc.Driver -#jdbc.url=jdbc:mysql://localhost/directorydb?autoReconnect=true -#jdbc.username=root -#jdbc.password= - -#hibernate.dialect=org.hibernate.dialect.MySQLDialect +#jdbc.driverClassName=com.mysql.jdbc.Driver +#jdbc.url=jdbc:mysql://localhost/directorydb?autoReconnect=true +#jdbc.username=root +#jdbc.password= + +#hibernate.dialect=org.hibernate.dialect.MySQLDialect diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/adminBar.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/adminBar.jsp index 064144fb07..1dc4deafb4 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/adminBar.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/adminBar.jsp @@ -12,7 +12,7 @@ loadCSS("${pageContext.request.contextPath}/css/admin_bar_custom.css");
    - target="_blank" title="" href="${pageContext.request.contextPath}/home"> + target="_blank" title="" href="${pageContext.request.contextPath}/home">
    diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/participantAdd.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/participantAdd.jsp index fa5104ac35..fb66854562 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/participantAdd.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/participantAdd.jsp @@ -150,6 +150,9 @@ + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/processView.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/processView.jsp index 8f7dac4690..ae328945ab 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/processView.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/apps/processView.jsp @@ -183,7 +183,7 @@ :
    - + : diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/monitor/scheduler.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/monitor/scheduler.jsp new file mode 100644 index 0000000000..7ba9df699c --- /dev/null +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/monitor/scheduler.jsp @@ -0,0 +1,51 @@ +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp"%> +<%@ page import="org.joget.commons.util.HostManager"%> + + + + + +
    +
    +
    +
    +
    + +
    +
    +
    + + + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/monitor/schedulerView.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/monitor/schedulerView.jsp new file mode 100644 index 0000000000..7b30a4a7ee --- /dev/null +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/monitor/schedulerView.jsp @@ -0,0 +1,66 @@ +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> + + + +
    + +
    + +
    + + + + + + + + + +
    + +
    + + + + +
    +
    + + + + +
    +
    + + + + +
    +
    + + + + +
    +
    + + + + +
    +
    +
    + " onclick="closeDialog()"/> +
    +
    +
    + + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/monitor/subMenu.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/monitor/subMenu.jsp index 1f5d2a8dbe..9d7bccff31 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/monitor/subMenu.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/monitor/subMenu.jsp @@ -17,6 +17,7 @@ +
    diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/incomingEmail.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/incomingEmail.jsp new file mode 100644 index 0000000000..1c00947ead --- /dev/null +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/incomingEmail.jsp @@ -0,0 +1,95 @@ +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp"%> +<%@ page import="org.joget.workflow.util.WorkflowUtil,org.joget.commons.util.HostManager"%> + + + + + + + +
    +
    +
    +
      +
    • + +
    • +
    +
    +
    + +
    +
    + + + + + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/incomingEmailCreate.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/incomingEmailCreate.jsp new file mode 100644 index 0000000000..32d21f3d3f --- /dev/null +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/incomingEmailCreate.jsp @@ -0,0 +1,113 @@ +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> + + + +
    + +
    + +
    + + + + + + + + + +
    + +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + +
    +
    +
    + " onclick="validateField()"/> + " onclick="closeDialog()"/> +
    +
    +
    + + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/incomingEmailEdit.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/incomingEmailEdit.jsp new file mode 100644 index 0000000000..1724594639 --- /dev/null +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/incomingEmailEdit.jsp @@ -0,0 +1,117 @@ +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> + + + +
    + +
    + +
    + + + + + + + + + +
    + +
    + + +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + +
    +
    +
    + " onclick="validateField()"/> + " onclick="closeDialog()"/> +
    +
    +
    + + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/scheduler.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/scheduler.jsp new file mode 100644 index 0000000000..5462204f32 --- /dev/null +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/scheduler.jsp @@ -0,0 +1,107 @@ +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp"%> +<%@ page import="org.joget.workflow.util.WorkflowUtil,org.joget.commons.util.HostManager"%> + + + + + + + +
    +
    +
    +
      +
    • +
    +
    +
    + +
    +
    + + + + + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/schedulerCreate.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/schedulerCreate.jsp new file mode 100644 index 0000000000..c693c902a4 --- /dev/null +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/schedulerCreate.jsp @@ -0,0 +1,90 @@ +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> + + + +
    + +
    + +
    + + + + + + + + + +
    + +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    +
    + " onclick="validateField()"/> + " onclick="closeDialog()"/> +
    +
    +
    + + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/schedulerEdit.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/schedulerEdit.jsp new file mode 100644 index 0000000000..33c84a190e --- /dev/null +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/schedulerEdit.jsp @@ -0,0 +1,94 @@ +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> + + + +
    + +
    + +
    + + + + + + + + + +
    + +
    + + +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    + + * +
    +
    +
    + " onclick="validateField()"/> + " onclick="closeDialog()"/> +
    +
    +
    + + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/subMenu.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/subMenu.jsp index 88eeb1d372..dbab374d52 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/subMenu.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/console/setting/subMenu.jsp @@ -7,6 +7,8 @@
    + +
    diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/dbuilder/builder.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/dbuilder/builder.jsp index 968464bf00..f85e166486 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/dbuilder/builder.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/dbuilder/builder.jsp @@ -1,209 +1,219 @@ -<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> -<%@ page import="org.joget.workflow.util.WorkflowUtil"%> - -<% - String rightToLeft = WorkflowUtil.getSystemSetupValue("rightToLeft"); - pageContext.setAttribute("rightToLeft", rightToLeft); -%> - - - - - - - <fmt:message key="adminBar.label.list"/>: <c:out value="${datalist.name}"/> - <fmt:message key="dbuilder.title"/> - - - - - - - - - - - - - - " /> - - - - "> - - - "> - - - - - -
    -
    - - - -
    v${appDefinition.version}: ()
    - <%----%> -
    -
    -
    -
      -
    • -
    • -
    • -
    • -
    • -
    -
    -
    - -
    -
    - -
    - - - - -
    -
    - -
    - -
    - - - - - - - - - - - - - - - - - - +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> +<%@ page import="org.joget.workflow.util.WorkflowUtil"%> + +<% + String rightToLeft = WorkflowUtil.getSystemSetupValue("rightToLeft"); + pageContext.setAttribute("rightToLeft", rightToLeft); +%> + + + + + + + <fmt:message key="adminBar.label.list"/>: <c:out value="${datalist.name}"/> - <fmt:message key="dbuilder.title"/> + + + + + + + + + + + + + + " /> + + + + "> + + + "> + + + + + +
    +
    + + + +
    v${appDefinition.version}: ()
    + <%----%> +
    +
    +
    +
      +
    • +
    • +
    • +
    • +
    • +
    +
    +
    + +
    +
    + +
    + + + + +
    +
    + +
    + +
    + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error403.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error403.jsp index 183a7ffa74..1b8625a954 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error403.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error403.jsp @@ -1,30 +1,30 @@ -<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> -<%@ page isErrorPage="true" %> -<%@ page import="java.util.Locale,org.springframework.web.servlet.support.RequestContextUtils,org.joget.commons.util.ResourceBundleUtil" %> -<% Locale locale = RequestContextUtils.getLocale(request); %> - - - - - <%= ResourceBundleUtil.getMessage("console.header.top.title", locale) %> - - - - - - -
    - -
    -
    -

    - <%= ResourceBundleUtil.getMessage("general.error.error403Description", locale) %> -

    -

     

    - <%= ResourceBundleUtil.getMessage("general.error.error403", locale) %> -
    -
    - - +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> +<%@ page isErrorPage="true" %> +<%@ page import="java.util.Locale,org.springframework.web.servlet.support.RequestContextUtils,org.joget.commons.util.ResourceBundleUtil" %> +<% Locale locale = RequestContextUtils.getLocale(request); %> + + + + + <%= ResourceBundleUtil.getMessage("console.header.top.title", locale) %> + + + + + + +
    + +
    +
    +

    + <%= ResourceBundleUtil.getMessage("general.error.error403Description", locale) %> +

    +

     

    + <%= ResourceBundleUtil.getMessage("general.error.error403", locale) %> +
    +
    + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error404.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error404.jsp index 5f6c490ece..029ce61e14 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error404.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error404.jsp @@ -1,30 +1,30 @@ -<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> -<%@ page isErrorPage="true" %> -<%@ page import="java.util.Locale,org.springframework.web.servlet.support.RequestContextUtils,org.joget.commons.util.ResourceBundleUtil" %> -<% Locale locale = RequestContextUtils.getLocale(request); %> - - - - - <%= ResourceBundleUtil.getMessage("console.header.top.title", locale) %> - - - - - - -
    - -
    -
    -

    - <%= ResourceBundleUtil.getMessage("general.error.error404", locale) %> -

    -

     

    - <%= ResourceBundleUtil.getMessage("general.error.error404Description", locale) %> -
    -
    - - +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> +<%@ page isErrorPage="true" %> +<%@ page import="java.util.Locale,org.springframework.web.servlet.support.RequestContextUtils,org.joget.commons.util.ResourceBundleUtil" %> +<% Locale locale = RequestContextUtils.getLocale(request); %> + + + + + <%= ResourceBundleUtil.getMessage("console.header.top.title", locale) %> + + + + + + +
    + +
    +
    +

    + <%= ResourceBundleUtil.getMessage("general.error.error404", locale) %> +

    +

     

    + <%= ResourceBundleUtil.getMessage("general.error.error404Description", locale) %> +
    +
    + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error500.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error500.jsp index fcb37c6ec8..80fb3a135c 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error500.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/error500.jsp @@ -1,49 +1,49 @@ -<%@ page isErrorPage="true" %> -<%@ page import="java.util.Date"%> -<%@ page import="org.joget.commons.util.LogUtil"%> -<%@ page import="org.joget.commons.util.ResourceBundleUtil"%> -<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> -<%@ page import="java.util.Locale,org.springframework.web.servlet.support.RequestContextUtils,org.joget.commons.util.ResourceBundleUtil" %> -<% Locale locale = RequestContextUtils.getLocale(request); %> - -<% -try { - LogUtil.error(getClass().getName(), exception, exception.getMessage()); -} catch(Throwable t) { - // ignore -} -%> - - - - - <%= ResourceBundleUtil.getMessage("console.header.top.title", locale) %> - - - - - - -
    - -
    -
    -

    - <%= ResourceBundleUtil.getMessage("general.error.error500", locale) %> -

    -

     

    - <%= ResourceBundleUtil.getMessage("general.error.error500Description", locale) %> -

    -
      -
    • <%= ResourceBundleUtil.getMessage("console.footer.label.revision") %>
    • -
    • <%= ResourceBundleUtil.getMessage("general.error.url", locale) %>: ${pageContext.errorData.requestURI}
    • -
    • <%= ResourceBundleUtil.getMessage("general.error.date", locale) %>:
    • - <%= ResourceBundleUtil.getMessage("general.error.errorDetails", locale) %> -
    -

     

    -
    -
    - - +<%@ page isErrorPage="true" %> +<%@ page import="java.util.Date"%> +<%@ page import="org.joget.commons.util.LogUtil"%> +<%@ page import="org.joget.commons.util.ResourceBundleUtil"%> +<%@ include file="/WEB-INF/jsp/includes/taglibs.jsp" %> +<%@ page import="java.util.Locale,org.springframework.web.servlet.support.RequestContextUtils,org.joget.commons.util.ResourceBundleUtil" %> +<% Locale locale = RequestContextUtils.getLocale(request); %> + +<% +try { + LogUtil.error(getClass().getName(), exception, exception.getMessage()); +} catch(Throwable t) { + // ignore +} +%> + + + + + <%= ResourceBundleUtil.getMessage("console.header.top.title", locale) %> + + + + + + +
    + +
    +
    +

    + <%= ResourceBundleUtil.getMessage("general.error.error500", locale) %> +

    +

     

    + <%= ResourceBundleUtil.getMessage("general.error.error500Description", locale) %> +

    +
      +
    • <%= ResourceBundleUtil.getMessage("console.footer.label.revision") %>
    • +
    • <%= ResourceBundleUtil.getMessage("general.error.url", locale) %>: ${pageContext.errorData.requestURI}
    • +
    • <%= ResourceBundleUtil.getMessage("general.error.date", locale) %>:
    • + <%= ResourceBundleUtil.getMessage("general.error.errorDetails", locale) %> +
    +

     

    +
    +
    + + diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/formBuilder.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/formBuilder.jsp index 4fe1dc7065..4664ef62c7 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/formBuilder.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/fbuilder/formBuilder.jsp @@ -90,6 +90,17 @@ }; $(document).ready(function() { + let lockSocket = new WebSocket(((window.location.protocol === "https:") ? "wss://" : "ws://") + window.location.host + '${pageContext.request.contextPath}/web/websocket/app//${appDefinition.version}/plugin/org.kecak.apps.app.lib.UrlLockSocket'); + + lockSocket.onmessage = function(event) { + let text = event.data; + if(text) { + alert(text); + } + }; + + lockSocket.onopen = () => lockSocket.send('/web/fbuilder/app//${appDefinition.version}/form/'); + // initialize the form FormBuilder.appId = ''; FormBuilder.appVersion = ''; diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/includes/taglibs.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/includes/taglibs.jsp index a06ef052e3..05d54ce67c 100755 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/includes/taglibs.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/includes/taglibs.jsp @@ -1,10 +1,10 @@ -<% response.setHeader("Cache-Control","no-cache, no-store"); %> -<% response.setContentType("text/html;charset=UTF-8"); %> - -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> -<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> -<%@ taglib tagdir="/WEB-INF/tags/ui" prefix="ui" %> -<%@ taglib tagdir="/WEB-INF/tags/commons" prefix="commons" %> +<% response.setHeader("Cache-Control","no-cache, no-store"); %> +<% response.setContentType("text/html;charset=UTF-8"); %> + +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> +<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> +<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %> +<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> +<%@ taglib tagdir="/WEB-INF/tags/ui" prefix="ui" %> +<%@ taglib tagdir="/WEB-INF/tags/commons" prefix="commons" %> diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/pbuilder/pviewer.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/pbuilder/pviewer.jsp index ff04cb71f1..4c22d8dd67 100644 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/pbuilder/pviewer.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/pbuilder/pviewer.jsp @@ -36,6 +36,89 @@ -
    -
    -
    -
    -
    -
    - - | - +
    +
    +
    +
    +
    +
    +
    +
    + + | + +
    +
    +
    + +
    + +
    +
    +
    -
    -
    - -
    - -
    -
    -
    -
    -
    -
    - +
    +
    +
    + \ No newline at end of file diff --git a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/setup/setup.jsp b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/setup/setup.jsp index 3dfb3b38b5..517a24bb75 100644 --- a/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/setup/setup.jsp +++ b/wflow-consoleweb/src/main/webapp/WEB-INF/jsp/setup/setup.jsp @@ -23,7 +23,7 @@ <%= ResourceBundleUtil.getMessage("console.header.top.title")%> - + + + <#if element.properties.readonly! == 'true'> <#list values as value> - <#if (element.properties.controlField?? && element.properties.controlField! != "" && !(element.properties.readonly! == 'true' && element.properties.readonlyLabel! == 'true')) > + <#if (element.properties.controlField?? && element.properties.controlField! != "" && !(element.properties.readonly! == 'true' && element.properties.readonlyLabel! == 'true')) > + + <#-- Select2 Implementation --> +
    diff --git a/wflow-core/src/test/resources/testAppsApplicationContext.xml b/wflow-core/src/test/resources/testAppsApplicationContext.xml index acc0e9a4e7..c71ba72800 100755 --- a/wflow-core/src/test/resources/testAppsApplicationContext.xml +++ b/wflow-core/src/test/resources/testAppsApplicationContext.xml @@ -1,18 +1,18 @@ - - - - - - - - - + + + + + + + + + diff --git a/wflow-core/src/test/resources/workflow_patterns.xpdl b/wflow-core/src/test/resources/workflow_patterns.xpdl index 17a59c187a..aad956c73d 100755 --- a/wflow-core/src/test/resources/workflow_patterns.xpdl +++ b/wflow-core/src/test/resources/workflow_patterns.xpdl @@ -1,80 +1,80 @@ - - - - 1.0 - Together - 2004-08-31 22:22:17 - Contains workflow processes that show workflow patterns defined by Wil van der Aalst that are more or less directly supported by XPDL and Shark engine - - - - - - - - - - - 2004-08-31 22:28:17 - execute activities A, B and C in sequence - - - - Just press 'Complete' button - - - - test - - - - - - - Just press 'Complete' button - - - - test - - - - - - - Just press 'Complete' button - - - - test - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + 1.0 + Together + 2004-08-31 22:22:17 + Contains workflow processes that show workflow patterns defined by Wil van der Aalst that are more or less directly supported by XPDL and Shark engine + + + + + + + + + + + 2004-08-31 22:28:17 + execute activities A, B and C in sequence + + + + Just press 'Complete' button + + + + test + + + + + + + Just press 'Complete' button + + + + test + + + + + + + Just press 'Complete' button + + + + test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wflow-designer/src/main/java/org/enhydra/shark/xpdl/elements/Deadline.java b/wflow-designer/src/main/java/org/enhydra/shark/xpdl/elements/Deadline.java index 2217db5af1..e7b161852a 100755 --- a/wflow-designer/src/main/java/org/enhydra/shark/xpdl/elements/Deadline.java +++ b/wflow-designer/src/main/java/org/enhydra/shark/xpdl/elements/Deadline.java @@ -1,227 +1,227 @@ -package org.enhydra.shark.xpdl.elements; - -import java.util.List; -import java.util.regex.Matcher; -import java.util.regex.Pattern; -import org.enhydra.shark.xpdl.XMLAttribute; -import org.enhydra.shark.xpdl.XMLComplexElement; -import org.enhydra.shark.xpdl.XMLElementChangeInfo; -import org.enhydra.shark.xpdl.XMLElementChangeListener; -import org.enhydra.shark.xpdl.XPDLConstants; - -public class Deadline extends XMLComplexElement implements XMLElementChangeListener { - public static String DURATION_UNIT_DATETIME = "t"; - public static String DURATION_UNIT_DATE = "d"; - public static String DURATION_UNIT_DATE2 = "1"; - public static String DURATION_UNIT_DATETIME2 = "2"; - - private DeadlineLimit refDeadlineLimit; - private XMLAttribute attrDurationUnit; - private DeadlineCondition refDeadlineCondition; - - public Deadline(Deadlines parent) { - super(parent, true); - parent.addListener(this); - } - - protected void fillStructure() { - //CUSTOM - refDeadlineCondition = new DeadlineCondition(this); // min=1, max=1 - ExceptionName refExceptionName = new ExceptionName(this); // min=1, max=1 - refDeadlineLimit = new DeadlineLimit(this); //min=1, max=1 - XMLAttribute attrExecution = new XMLAttribute(this, "Execution", - false, new String[]{ - XPDLConstants.EXECUTION_NONE, - XPDLConstants.EXECUTION_ASYNCHR, - XPDLConstants.EXECUTION_SYNCHR - }, 1); - - attrDurationUnit = new XMLAttribute(this, "DurationUnit", - false, new String[]{ - XPDLConstants.DURATION_UNIT_D, - XPDLConstants.DURATION_UNIT_h, - XPDLConstants.DURATION_UNIT_m, - XPDLConstants.DURATION_UNIT_s, - DURATION_UNIT_DATETIME, - DURATION_UNIT_DATETIME2, - DURATION_UNIT_DATE, - DURATION_UNIT_DATE2 - }, 0); - - add(attrExecution); - add(refDeadlineCondition); - add(refExceptionName); - - addCustomElements(); - //END CUSTOM - } - - public XMLAttribute getExecutionAttribute() { - return (XMLAttribute) get("Execution"); - } - - public String getExecution() { - return getExecutionAttribute().toValue(); - } - - public void setExecutionNONE() { - getExecutionAttribute().setValue(XPDLConstants.EXECUTION_NONE); - } - - public void setExecutionASYNCHR() { - getExecutionAttribute().setValue(XPDLConstants.EXECUTION_ASYNCHR); - } - - public void setExecutionSYNCHR() { - getExecutionAttribute().setValue(XPDLConstants.EXECUTION_SYNCHR); - } - - public XMLAttribute getDurationUnitAttribute() { - return (XMLAttribute) get("DurationUnit"); - } - - public String getDurationUnit() { - return getDurationUnitAttribute().toValue(); - } - - public String getDeadlineLimit() { - return get("DeadlineLimit").toValue(); - } - - public void setDeadlineLimit(String deadlineLimit) { - set("DeadlineLimit", deadlineLimit); - } - - public String getDeadlineCondition() { - return get("DeadlineCondition").toValue(); - } - - public void setDeadlineCondition(String deadlineCondition) { - set("DeadlineCondition", deadlineCondition); - } - - public String getExceptionName() { - return get("ExceptionName").toValue(); - } - - public void setExceptionName(String exceptionName) { - set("ExceptionName", exceptionName); - } - - //CUSTOM - public void xmlElementChanged(XMLElementChangeInfo changedInfo) { - - Deadlines changedDeadlines = (Deadlines) changedInfo.getChangedElement(); - - if (changedDeadlines != null && changedDeadlines.size() > 0) { - List deadlineList = changedInfo.getChangedSubElements(); - Deadline changedDeadline = (Deadline) deadlineList.get(0); - if (changedDeadline == this) { - XMLAttribute durationUnit = (XMLAttribute) changedDeadline.get("DurationUnit"); - - String changedDeadlineLimit = changedDeadline.getDeadlineLimit(); - if (changedDeadlineLimit != null && changedDeadlineLimit.trim().length() > 0) { - char durationUnitChar = durationUnit.toValue().charAt(0); - String variableCondition = ""; - switch (durationUnitChar) { - case 'D': - variableCondition += (24 * 60 * 60 * 1000); - break; - case 'h': - variableCondition += (60 * 60 * 1000); - break; - case 'm': - variableCondition += (60 * 1000); - break; - case 's': - variableCondition += 1000; - } - - if (durationUnitChar != 'd' && durationUnitChar != 't') { - variableCondition = "(" + changedDeadlineLimit + "*" + variableCondition + ")"; - - set("DeadlineCondition", - "var " + durationUnitChar + "=new java.util.Date(); " + durationUnitChar + ".setTime(ACTIVITY_ACTIVATED_TIME.getTime()+" + variableCondition + "); " + durationUnitChar + ";"); - } else if (durationUnitChar == 'd') { - String condition = "var d = new java.text.SimpleDateFormat('dd/MM/yyyy'); d.parse(" + changedDeadlineLimit + ");"; - set("DeadlineCondition", condition); - } else if (durationUnitChar == 't') { - String condition = "var d = new java.text.SimpleDateFormat('dd/MM/yyyy HH:mm'); d.parse(" + changedDeadlineLimit + ");"; - set("DeadlineCondition", condition); - } else if (durationUnitChar == '1') { - String condition = "var d = new java.text.SimpleDateFormat('yyyy-MM-dd'); d.parse(" + changedDeadlineLimit + ");"; - set("DeadlineCondition", condition); - } else if (durationUnitChar == '2') { - String condition = "var d = new java.text.SimpleDateFormat('yyyy-MM-dd HH:mm'); d.parse(" + changedDeadlineLimit + ");"; - set("DeadlineCondition", condition); - } - } - } - - hideCustomElements(); - } - } - - public void addCustomElements() { - add(attrDurationUnit); - add(refDeadlineLimit); - } - - public void hideCustomElements() { - // set deadline limit from deadline condition - String deadlineCondition = getDeadlineCondition(); - - if (deadlineCondition.contains("java.text.SimpleDateFormat")) { - String deadlineLimit = ""; - Pattern pattern = Pattern.compile("d.parse\\((.+)\\);"); - Matcher matcher = pattern.matcher(deadlineCondition); - if (matcher.find()) { - deadlineLimit = matcher.group(1); - } - refDeadlineLimit.setValue(deadlineLimit); - - if (deadlineCondition.contains("dd/MM/yyyy HH:mm")) { - attrDurationUnit.setValue(DURATION_UNIT_DATETIME); - } else if (deadlineCondition.contains("dd/MM/yyyy")) { - attrDurationUnit.setValue(DURATION_UNIT_DATE); - } else if (deadlineCondition.contains("yyyy-MM-dd HH:mm")) { - attrDurationUnit.setValue(DURATION_UNIT_DATETIME2); - } else if (deadlineCondition.contains("yyyy-MM-dd")) { - attrDurationUnit.setValue(DURATION_UNIT_DATE2); - } - } else { - String deadlineLimit = ""; - Pattern pattern = Pattern.compile("\\+\\(.+\\*"); - Matcher matcher = pattern.matcher(deadlineCondition); - if (matcher.find()) { - String match = matcher.group(); - deadlineLimit = match.substring(2, match.length()-1); - } - refDeadlineLimit.setValue(deadlineLimit); - - // set duration unit from deadline condition - String durationUnit = XPDLConstants.DURATION_UNIT_D; - pattern = Pattern.compile("\\*\\d+\\)"); - matcher = pattern.matcher(deadlineCondition); - if (matcher.find()) { - String match = matcher.group(); - String millis = match.substring(1, match.length()-1); - if ("1000".equals(millis)) { - durationUnit = XPDLConstants.DURATION_UNIT_s; - } else if ("60000".equals(millis)) { - durationUnit = XPDLConstants.DURATION_UNIT_m; - } else if ("3600000".equals(millis)) { - durationUnit = XPDLConstants.DURATION_UNIT_h; - } else { - durationUnit = XPDLConstants.DURATION_UNIT_D; - } - } - attrDurationUnit.setValue(durationUnit); - } - // remove elements - elements.remove(refDeadlineLimit); - elements.remove(attrDurationUnit); - } - //END CUSTOM - -} +package org.enhydra.shark.xpdl.elements; + +import java.util.List; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import org.enhydra.shark.xpdl.XMLAttribute; +import org.enhydra.shark.xpdl.XMLComplexElement; +import org.enhydra.shark.xpdl.XMLElementChangeInfo; +import org.enhydra.shark.xpdl.XMLElementChangeListener; +import org.enhydra.shark.xpdl.XPDLConstants; + +public class Deadline extends XMLComplexElement implements XMLElementChangeListener { + public static String DURATION_UNIT_DATETIME = "t"; + public static String DURATION_UNIT_DATE = "d"; + public static String DURATION_UNIT_DATE2 = "1"; + public static String DURATION_UNIT_DATETIME2 = "2"; + + private DeadlineLimit refDeadlineLimit; + private XMLAttribute attrDurationUnit; + private DeadlineCondition refDeadlineCondition; + + public Deadline(Deadlines parent) { + super(parent, true); + parent.addListener(this); + } + + protected void fillStructure() { + //CUSTOM + refDeadlineCondition = new DeadlineCondition(this); // min=1, max=1 + ExceptionName refExceptionName = new ExceptionName(this); // min=1, max=1 + refDeadlineLimit = new DeadlineLimit(this); //min=1, max=1 + XMLAttribute attrExecution = new XMLAttribute(this, "Execution", + false, new String[]{ + XPDLConstants.EXECUTION_NONE, + XPDLConstants.EXECUTION_ASYNCHR, + XPDLConstants.EXECUTION_SYNCHR + }, 1); + + attrDurationUnit = new XMLAttribute(this, "DurationUnit", + false, new String[]{ + XPDLConstants.DURATION_UNIT_D, + XPDLConstants.DURATION_UNIT_h, + XPDLConstants.DURATION_UNIT_m, + XPDLConstants.DURATION_UNIT_s, + DURATION_UNIT_DATETIME, + DURATION_UNIT_DATETIME2, + DURATION_UNIT_DATE, + DURATION_UNIT_DATE2 + }, 0); + + add(attrExecution); + add(refDeadlineCondition); + add(refExceptionName); + + addCustomElements(); + //END CUSTOM + } + + public XMLAttribute getExecutionAttribute() { + return (XMLAttribute) get("Execution"); + } + + public String getExecution() { + return getExecutionAttribute().toValue(); + } + + public void setExecutionNONE() { + getExecutionAttribute().setValue(XPDLConstants.EXECUTION_NONE); + } + + public void setExecutionASYNCHR() { + getExecutionAttribute().setValue(XPDLConstants.EXECUTION_ASYNCHR); + } + + public void setExecutionSYNCHR() { + getExecutionAttribute().setValue(XPDLConstants.EXECUTION_SYNCHR); + } + + public XMLAttribute getDurationUnitAttribute() { + return (XMLAttribute) get("DurationUnit"); + } + + public String getDurationUnit() { + return getDurationUnitAttribute().toValue(); + } + + public String getDeadlineLimit() { + return get("DeadlineLimit").toValue(); + } + + public void setDeadlineLimit(String deadlineLimit) { + set("DeadlineLimit", deadlineLimit); + } + + public String getDeadlineCondition() { + return get("DeadlineCondition").toValue(); + } + + public void setDeadlineCondition(String deadlineCondition) { + set("DeadlineCondition", deadlineCondition); + } + + public String getExceptionName() { + return get("ExceptionName").toValue(); + } + + public void setExceptionName(String exceptionName) { + set("ExceptionName", exceptionName); + } + + //CUSTOM + public void xmlElementChanged(XMLElementChangeInfo changedInfo) { + + Deadlines changedDeadlines = (Deadlines) changedInfo.getChangedElement(); + + if (changedDeadlines != null && changedDeadlines.size() > 0) { + List deadlineList = changedInfo.getChangedSubElements(); + Deadline changedDeadline = (Deadline) deadlineList.get(0); + if (changedDeadline == this) { + XMLAttribute durationUnit = (XMLAttribute) changedDeadline.get("DurationUnit"); + + String changedDeadlineLimit = changedDeadline.getDeadlineLimit(); + if (changedDeadlineLimit != null && changedDeadlineLimit.trim().length() > 0) { + char durationUnitChar = durationUnit.toValue().charAt(0); + String variableCondition = ""; + switch (durationUnitChar) { + case 'D': + variableCondition += (24 * 60 * 60 * 1000); + break; + case 'h': + variableCondition += (60 * 60 * 1000); + break; + case 'm': + variableCondition += (60 * 1000); + break; + case 's': + variableCondition += 1000; + } + + if (durationUnitChar != 'd' && durationUnitChar != 't') { + variableCondition = "(" + changedDeadlineLimit + "*" + variableCondition + ")"; + + set("DeadlineCondition", + "var " + durationUnitChar + "=new java.util.Date(); " + durationUnitChar + ".setTime(ACTIVITY_ACTIVATED_TIME.getTime()+" + variableCondition + "); " + durationUnitChar + ";"); + } else if (durationUnitChar == 'd') { + String condition = "var d = new java.text.SimpleDateFormat('dd/MM/yyyy'); d.parse(" + changedDeadlineLimit + ");"; + set("DeadlineCondition", condition); + } else if (durationUnitChar == 't') { + String condition = "var d = new java.text.SimpleDateFormat('dd/MM/yyyy HH:mm'); d.parse(" + changedDeadlineLimit + ");"; + set("DeadlineCondition", condition); + } else if (durationUnitChar == '1') { + String condition = "var d = new java.text.SimpleDateFormat('yyyy-MM-dd'); d.parse(" + changedDeadlineLimit + ");"; + set("DeadlineCondition", condition); + } else if (durationUnitChar == '2') { + String condition = "var d = new java.text.SimpleDateFormat('yyyy-MM-dd HH:mm'); d.parse(" + changedDeadlineLimit + ");"; + set("DeadlineCondition", condition); + } + } + } + + hideCustomElements(); + } + } + + public void addCustomElements() { + add(attrDurationUnit); + add(refDeadlineLimit); + } + + public void hideCustomElements() { + // set deadline limit from deadline condition + String deadlineCondition = getDeadlineCondition(); + + if (deadlineCondition.contains("java.text.SimpleDateFormat")) { + String deadlineLimit = ""; + Pattern pattern = Pattern.compile("d.parse\\((.+)\\);"); + Matcher matcher = pattern.matcher(deadlineCondition); + if (matcher.find()) { + deadlineLimit = matcher.group(1); + } + refDeadlineLimit.setValue(deadlineLimit); + + if (deadlineCondition.contains("dd/MM/yyyy HH:mm")) { + attrDurationUnit.setValue(DURATION_UNIT_DATETIME); + } else if (deadlineCondition.contains("dd/MM/yyyy")) { + attrDurationUnit.setValue(DURATION_UNIT_DATE); + } else if (deadlineCondition.contains("yyyy-MM-dd HH:mm")) { + attrDurationUnit.setValue(DURATION_UNIT_DATETIME2); + } else if (deadlineCondition.contains("yyyy-MM-dd")) { + attrDurationUnit.setValue(DURATION_UNIT_DATE2); + } + } else { + String deadlineLimit = ""; + Pattern pattern = Pattern.compile("\\+\\(.+\\*"); + Matcher matcher = pattern.matcher(deadlineCondition); + if (matcher.find()) { + String match = matcher.group(); + deadlineLimit = match.substring(2, match.length()-1); + } + refDeadlineLimit.setValue(deadlineLimit); + + // set duration unit from deadline condition + String durationUnit = XPDLConstants.DURATION_UNIT_D; + pattern = Pattern.compile("\\*\\d+\\)"); + matcher = pattern.matcher(deadlineCondition); + if (matcher.find()) { + String match = matcher.group(); + String millis = match.substring(1, match.length()-1); + if ("1000".equals(millis)) { + durationUnit = XPDLConstants.DURATION_UNIT_s; + } else if ("60000".equals(millis)) { + durationUnit = XPDLConstants.DURATION_UNIT_m; + } else if ("3600000".equals(millis)) { + durationUnit = XPDLConstants.DURATION_UNIT_h; + } else { + durationUnit = XPDLConstants.DURATION_UNIT_D; + } + } + attrDurationUnit.setValue(durationUnit); + } + // remove elements + elements.remove(refDeadlineLimit); + elements.remove(attrDurationUnit); + } + //END CUSTOM + +} diff --git a/wflow-designer/src/main/resources/org/enhydra/jawe/properties/jaweconfiguration.properties b/wflow-designer/src/main/resources/org/enhydra/jawe/properties/jaweconfiguration.properties index dfdbc91719..19e84cdb9b 100755 --- a/wflow-designer/src/main/resources/org/enhydra/jawe/properties/jaweconfiguration.properties +++ b/wflow-designer/src/main/resources/org/enhydra/jawe/properties/jaweconfiguration.properties @@ -1,138 +1,138 @@ -# JPED configuration stuff - -StartingLocale = en -AllowedLanguages = fr,nl,en,es - -LoggingManager.Class=org.jped.base.logger.LoggingManager -JaWEController.Settings=org.jped.base.controller.JPEdControllerSettings -DisplayNameGenerator.Class=org.jped.plugins.PluggableDisplayNameGenerator -TableEditor.Settings=org.jped.base.editor.TableEditorSettings -TooltipGenerator.Class=org.jped.plugins.PluggableTooltipGenerator -ComponentManager.Class=org.joget.designer.jped.CustomComponentManager -XPDLValidator.Class=org.enhydra.shark.xpdl.StandardPackageValidator -XPDLElementEditor.Class=org.enhydra.jawe.base.editor.NewStandardXPDLElementEditor -XPDLElementEditor.Settings=org.jped.base.editor.NewStandardXPDLEditorSettings -PanelGenerator.Class=org.jped.plugins.PluggablePanelGenerator -TableEditor.Class=org.enhydra.jawe.base.editor.TableEditor -#XPDLHandler.Class=org.jped.base.xpdlhandler.PluggableXPDLHandler -XPDLHandler.Class=org.joget.designer.jped.CustomXPDLHandler -XPDLHandler.Settings=org.jped.base.xpdlhandler.DefaultXPDLHandlerSettings -Graph.Settings=org.jped.components.graph.JPEdGraphSettings - -#modules/XPDLHandler/src/org/jped/base/xpdlhandler/DefaultXPDLHandlerSettings.java -#modules/XPDLValidator/src/org/jped/base/xpdlvalidator/DefaultXPDLValidatorSettings.java -#modules/TransitionHandler/src/org/jped/base/transitionhandler/DefaultTransitionHandlerSettings.java -#modules/JaWEController/src/org/jped/base/controller/JPEdControllerSettings.java -#modules/Editor/src/org/jped/base/editor/TableEditorSettings.java -#modules/Editor/src/org/jped/base/editor/StandardXPDLElementEditorSettings.java -#modules/Editor/src/org/jped/base/editor/NewStandardXPDLEditorSettings.java -#modules/Graph/src/org/jped/components/graph/JPEdGraphSettings.java -#modules/XPDLView/src/org/jped/components/xpdlview/JPEdXPDLViewSettings.java -#modules/SimpleNavigator/src/org/jped/components/simplenavigator/SimpleNavigatorSettings.java - -# -# JaWE basic configuration -# -# -# - -#Font.Size = 12 -#Font.Name = Sans Serif -#StartingLocale = default -#LookAndFeelClassName = com.sun.java.swing.plaf.windows.WindowsLookAndFeel -#LookAndFeelClassName = org.fife.plaf.Office2003.Office2003LookAndFeel -#LookAndFeelClassName = org.fife.plaf.OfficeXP.OfficeXPLookAndFeel -LookAndFeelClassName = org.fife.plaf.VisualStudio2005.VisualStudio2005LookAndFeel - -#################################################################### -# -# xpdl handler configuration -# - -#FileLocking = false - - - -#################################################################### -# -# xpdl validator configuration -# - -#ValidateSubFlowReferences=true -#ValidatePerformerExpressions=true -#ValidateActualParameterExpressions=true -#ValidateConditionExpressions=true -#ValidateDeadlineExpressions=true -#ValidateConditionByType=true -#ValidateUnusedVariables=true -#AllowUndefinedStart=true -#AllowUndefinedEnd=true - -#################################################################### -# -# jawe controller configuration -# - -# true false -AskOnDeletion = true -DesignTimeValidation=false -InitialXPDLValidation=false -#StartMaximized = true -#ShowTooltip = true - -# text -#Encoding = UTF-8 - -#################################################################### -# -# graph controller configuration -# - - -####################### GRAPH VIEW CONFIGURATION - -############# Graph -##### general -#integers -#Graph.FontSize = 12 -#Graph.GridSize = 10 -#Graph.ShadowWidth = 3 -#true false -#Graph.NameWrapping = true -#Graph.ShowGrid = false -#Graph.ShowIcon = true -#Graph.ShowShadow = true -#Graph.DefaultTransitionStyle = NO_ROUTING_SPLINE -#Graph.UseBubbles = true -#Graph.WrappingStyleWordStatus = true - -##### activity -#integers -#Graph.ActivityHeight = 55 -#Graph.ActivityWidth = 85 -#true false -#Graph.DrawBlockLines = true -#Graph.DrawSubflowLines = true - -##### participants -#integers -#Graph.ParticipantMinHeight = 150 -#Graph.ParticipantMinWidth = 800 -#Graph.ParticipantNameWidth = 50 - -##### colors Red Green Blue (1-255) -#Graph.ActivitySelectedColor = R=248,G=242,B=14 -#Graph.BackgroundColor = R=245,G=245,B=245 -#Graph.BubbleColor = R=197,G=231,B=235 -#Graph.BubbleConectionColor = SystemColor.textHighlight -#Graph.HandleColor = Color.pink -#Graph.GridColor = R=187,G=247,B=190 -#Graph.MarqueeColor = SystemColor.textHighlight -#Graph.ParticipantBorderColor = SystemColor.textText -#Graph.ParticipantFreeTextExpressionColor = Color.white -#Graph.ParticipantTextColor = SystemColor.textText -#Graph.StartActivityColor = R=102, G=204, B=51 -#Graph.EndActivityColor = R=236, G=120, B=98 -#Graph.StartEndActivityColor = R=255, G=255, B=175 - - +# JPED configuration stuff + +StartingLocale = en +AllowedLanguages = fr,nl,en,es + +LoggingManager.Class=org.jped.base.logger.LoggingManager +JaWEController.Settings=org.jped.base.controller.JPEdControllerSettings +DisplayNameGenerator.Class=org.jped.plugins.PluggableDisplayNameGenerator +TableEditor.Settings=org.jped.base.editor.TableEditorSettings +TooltipGenerator.Class=org.jped.plugins.PluggableTooltipGenerator +ComponentManager.Class=org.joget.designer.jped.CustomComponentManager +XPDLValidator.Class=org.enhydra.shark.xpdl.StandardPackageValidator +XPDLElementEditor.Class=org.enhydra.jawe.base.editor.NewStandardXPDLElementEditor +XPDLElementEditor.Settings=org.jped.base.editor.NewStandardXPDLEditorSettings +PanelGenerator.Class=org.jped.plugins.PluggablePanelGenerator +TableEditor.Class=org.enhydra.jawe.base.editor.TableEditor +#XPDLHandler.Class=org.jped.base.xpdlhandler.PluggableXPDLHandler +XPDLHandler.Class=org.joget.designer.jped.CustomXPDLHandler +XPDLHandler.Settings=org.jped.base.xpdlhandler.DefaultXPDLHandlerSettings +Graph.Settings=org.jped.components.graph.JPEdGraphSettings + +#modules/XPDLHandler/src/org/jped/base/xpdlhandler/DefaultXPDLHandlerSettings.java +#modules/XPDLValidator/src/org/jped/base/xpdlvalidator/DefaultXPDLValidatorSettings.java +#modules/TransitionHandler/src/org/jped/base/transitionhandler/DefaultTransitionHandlerSettings.java +#modules/JaWEController/src/org/jped/base/controller/JPEdControllerSettings.java +#modules/Editor/src/org/jped/base/editor/TableEditorSettings.java +#modules/Editor/src/org/jped/base/editor/StandardXPDLElementEditorSettings.java +#modules/Editor/src/org/jped/base/editor/NewStandardXPDLEditorSettings.java +#modules/Graph/src/org/jped/components/graph/JPEdGraphSettings.java +#modules/XPDLView/src/org/jped/components/xpdlview/JPEdXPDLViewSettings.java +#modules/SimpleNavigator/src/org/jped/components/simplenavigator/SimpleNavigatorSettings.java + +# +# JaWE basic configuration +# +# +# + +#Font.Size = 12 +#Font.Name = Sans Serif +#StartingLocale = default +#LookAndFeelClassName = com.sun.java.swing.plaf.windows.WindowsLookAndFeel +#LookAndFeelClassName = org.fife.plaf.Office2003.Office2003LookAndFeel +#LookAndFeelClassName = org.fife.plaf.OfficeXP.OfficeXPLookAndFeel +LookAndFeelClassName = org.fife.plaf.VisualStudio2005.VisualStudio2005LookAndFeel + +#################################################################### +# +# xpdl handler configuration +# + +#FileLocking = false + + + +#################################################################### +# +# xpdl validator configuration +# + +#ValidateSubFlowReferences=true +#ValidatePerformerExpressions=true +#ValidateActualParameterExpressions=true +#ValidateConditionExpressions=true +#ValidateDeadlineExpressions=true +#ValidateConditionByType=true +#ValidateUnusedVariables=true +#AllowUndefinedStart=true +#AllowUndefinedEnd=true + +#################################################################### +# +# jawe controller configuration +# + +# true false +AskOnDeletion = true +DesignTimeValidation=false +InitialXPDLValidation=false +#StartMaximized = true +#ShowTooltip = true + +# text +#Encoding = UTF-8 + +#################################################################### +# +# graph controller configuration +# + + +####################### GRAPH VIEW CONFIGURATION + +############# Graph +##### general +#integers +#Graph.FontSize = 12 +#Graph.GridSize = 10 +#Graph.ShadowWidth = 3 +#true false +#Graph.NameWrapping = true +#Graph.ShowGrid = false +#Graph.ShowIcon = true +#Graph.ShowShadow = true +#Graph.DefaultTransitionStyle = NO_ROUTING_SPLINE +#Graph.UseBubbles = true +#Graph.WrappingStyleWordStatus = true + +##### activity +#integers +#Graph.ActivityHeight = 55 +#Graph.ActivityWidth = 85 +#true false +#Graph.DrawBlockLines = true +#Graph.DrawSubflowLines = true + +##### participants +#integers +#Graph.ParticipantMinHeight = 150 +#Graph.ParticipantMinWidth = 800 +#Graph.ParticipantNameWidth = 50 + +##### colors Red Green Blue (1-255) +#Graph.ActivitySelectedColor = R=248,G=242,B=14 +#Graph.BackgroundColor = R=245,G=245,B=245 +#Graph.BubbleColor = R=197,G=231,B=235 +#Graph.BubbleConectionColor = SystemColor.textHighlight +#Graph.HandleColor = Color.pink +#Graph.GridColor = R=187,G=247,B=190 +#Graph.MarqueeColor = SystemColor.textHighlight +#Graph.ParticipantBorderColor = SystemColor.textText +#Graph.ParticipantFreeTextExpressionColor = Color.white +#Graph.ParticipantTextColor = SystemColor.textText +#Graph.StartActivityColor = R=102, G=204, B=51 +#Graph.EndActivityColor = R=236, G=120, B=98 +#Graph.StartEndActivityColor = R=255, G=255, B=175 + + diff --git a/wflow-designerweb/src/main/jnlp/jnlpTemplate.vm b/wflow-designerweb/src/main/jnlp/jnlpTemplate.vm index c02d42de52..fca8c97344 100755 --- a/wflow-designerweb/src/main/jnlp/jnlpTemplate.vm +++ b/wflow-designerweb/src/main/jnlp/jnlpTemplate.vm @@ -1,31 +1,31 @@ - - - - $project.Name - $project.Organization.Name - - $project.Description -#if($offlineAllowed) - - - - -#end - -#if($allPermissions) - - - -#end - - - - $dependencies - - - - + + + + $project.Name + $project.Organization.Name + + $project.Description +#if($offlineAllowed) + + + + +#end + +#if($allPermissions) + + + +#end + + + + $dependencies + + + + diff --git a/wflow-designerweb/src/main/webapp/META-INF/MANIFEST.MF b/wflow-designerweb/src/main/webapp/META-INF/MANIFEST.MF index 5e9495128c..254272e1c0 100755 --- a/wflow-designerweb/src/main/webapp/META-INF/MANIFEST.MF +++ b/wflow-designerweb/src/main/webapp/META-INF/MANIFEST.MF @@ -1,3 +1,3 @@ -Manifest-Version: 1.0 -Class-Path: - +Manifest-Version: 1.0 +Class-Path: + diff --git a/wflow-designerweb/src/main/webapp/index.jsp b/wflow-designerweb/src/main/webapp/index.jsp index 30393d6938..3bd17a48b0 100755 --- a/wflow-designerweb/src/main/webapp/index.jsp +++ b/wflow-designerweb/src/main/webapp/index.jsp @@ -1,34 +1,34 @@ -<%--@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> - - - - - - - - - - +<%--@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> + + + + + + + + + + --%> \ No newline at end of file diff --git a/wflow-designerweb/tomcat-run.bat b/wflow-designerweb/tomcat-run.bat index fa16aa845a..2a01e584d8 100755 --- a/wflow-designerweb/tomcat-run.bat +++ b/wflow-designerweb/tomcat-run.bat @@ -1,4 +1,4 @@ -REM set JAVA_HOME=c:\jdk1.6.0 -set MAVEN_OPTS= -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=5125 -start mvn -e tomcat:run - +REM set JAVA_HOME=c:\jdk1.6.0 +set MAVEN_OPTS= -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=5125 +start mvn -e tomcat:run + diff --git a/wflow-designerweb/tomcat.bat b/wflow-designerweb/tomcat.bat index 208e18a80c..a6cbc7f359 100755 --- a/wflow-designerweb/tomcat.bat +++ b/wflow-designerweb/tomcat.bat @@ -1,3 +1,3 @@ - -set MAVEN_OPTS= -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=5105 -mvn tomcat:run + +set MAVEN_OPTS= -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,suspend=n,server=y,address=5105 +mvn tomcat:run diff --git a/wflow-directory/pom.xml b/wflow-directory/pom.xml index 234d1acabf..e90cdd4e80 100755 --- a/wflow-directory/pom.xml +++ b/wflow-directory/pom.xml @@ -4,16 +4,16 @@ org.joget wflow-directory wflow-directory - 7.0.36 - http://www.joget.org + 7.0-SNAPSHOT + http://kecak.org maven-compiler-plugin - 2.0.2 + 3.6.1 - 1.7 - 1.7 + 1.8 + 1.8 @@ -59,7 +59,7 @@ javax.servlet javax.servlet-api - 3.0.1 + 4.0.1 test diff --git a/wflow-directory/src/main/java/org/joget/directory/dao/EmploymentDaoImpl.java b/wflow-directory/src/main/java/org/joget/directory/dao/EmploymentDaoImpl.java index 209e5b7c85..74cff104f5 100755 --- a/wflow-directory/src/main/java/org/joget/directory/dao/EmploymentDaoImpl.java +++ b/wflow-directory/src/main/java/org/joget/directory/dao/EmploymentDaoImpl.java @@ -1,889 +1,889 @@ -package org.joget.directory.dao; - -import java.util.ArrayList; -import java.util.Collection; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; -import org.hibernate.Query; -import org.hibernate.Session; -import org.joget.commons.spring.model.AbstractSpringDao; -import org.joget.commons.util.LogUtil; -import org.joget.directory.model.Department; -import org.joget.directory.model.Employment; -import org.joget.directory.model.EmploymentReportTo; -import org.joget.directory.model.Grade; -import org.joget.directory.model.Organization; -import org.joget.directory.model.User; - -public class EmploymentDaoImpl extends AbstractSpringDao implements EmploymentDao { - - private EmploymentReportToDao employmentReportToDao; - private UserDao userDao; - private OrganizationDao organizationDao; - private DepartmentDao departmentDao; - private GradeDao gradeDao; - - public GradeDao getGradeDao() { - return gradeDao; - } - - public void setGradeDao(GradeDao gradeDao) { - this.gradeDao = gradeDao; - } - - public OrganizationDao getOrganizationDao() { - return organizationDao; - } - - public void setOrganizationDao(OrganizationDao organizationDao) { - this.organizationDao = organizationDao; - } - - public EmploymentReportToDao getEmploymentReportToDao() { - return employmentReportToDao; - } - - public void setEmploymentReportToDao(EmploymentReportToDao employmentReportToDao) { - this.employmentReportToDao = employmentReportToDao; - } - - public DepartmentDao getDepartmentDao() { - return departmentDao; - } - - public void setDepartmentDao(DepartmentDao departmentDao) { - this.departmentDao = departmentDao; - } - - public UserDao getUserDao() { - return userDao; - } - - public void setUserDao(UserDao userDao) { - this.userDao = userDao; - } - - public Boolean addEmployment(Employment employment) { - try { - User user = employment.getUser(); - if (user != null) { - employment.setHods(new HashSet()); - Set employments = new HashSet(); - employments.add(employment); - user.setEmployments(employments); - } - save("Employment", employment); - return true; - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Add Employment Error!"); - return false; - } - } - - public Boolean updateEmployment(Employment employment) { - try { - merge("Employment", employment); - - User user = employment.getUser(); - if (user != null) { - //update all employments under same user - Set employments = user.getEmployments(); - for (Employment e : employments) { - if (!e.getId().equals(employment.getId())) { - e.setEmployeeCode(employment.getEmployeeCode()); - e.setRole(employment.getRole()); - e.setStartDate(employment.getStartDate()); - e.setEndDate(employment.getEndDate()); - merge("Employment", e); - } - } - } - - return true; - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Update Employment Error!"); - return false; - } - } - - public Boolean deleteEmployment(String id) { - try { - Employment employment = getEmployment(id); - - if (employment != null) { - // clear department HOD - Department dept = employment.getDepartment(); - if (dept != null) { - Employment hod = dept.getHod(); - if (hod != null && id.equals(hod.getId())) { - dept.setHod(null); - departmentDao.updateDepartment(dept); - } - } - - // clear employment - employment.setOrganization(null); - employment.setDepartment(null); - employment.setGrade(null); - employment.setUser(null); - employment.getHods().clear(); - - if (employment.getSubordinates() != null) { - for (EmploymentReportTo r : (Set) employment.getSubordinates()) { - employmentReportToDao.deleteEmploymentReportTo(r.getId()); - } - employment.getSubordinates().clear(); - } - - if (employment.getEmploymentReportTo() != null) { - employmentReportToDao.deleteEmploymentReportTo(employment.getEmploymentReportTo().getId()); - employment.setEmploymentReportTo(null); - } - - delete("Employment", employment); - } - return true; - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Delete Employment Error!"); - return false; - } - } - - public Employment getEmployment(String id) { - try { - return (Employment) find("Employment", id); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Employment Error!"); - return null; - } - } - - public Collection findEmployments(String condition, Object[] params, String sort, Boolean desc, Integer start, Integer rows) { - try { - return find("Employment", condition, params, sort, desc, start, rows); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Find Employments Error!"); - } - - return null; - } - - public Long countEmployments(String condition, Object[] params) { - try { - return count("Employment", condition, params); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Count Employments Error!"); - } - - return 0L; - } - - public Collection getEmployments(String filterString, String organizationId, String departmentId, String gradeId, String sort, Boolean desc, Integer start, Integer rows) { - try { - if (filterString == null) { - filterString = ""; - } - Collection param = new ArrayList(); - String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.employeeCode like ? or e.role like ?)"; - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - - if (organizationId != null) { - condition += " and e.organization.id = ?"; - param.add(organizationId); - } - if (departmentId != null) { - condition += " and e.department.id = ?"; - param.add(departmentId); - } - if (gradeId != null) { - condition += " and e.grade.id = ?"; - param.add(gradeId); - } - - return findDistinct("Employment", condition, param.toArray(), sort, desc, start, rows); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Employments Error!"); - } - - return null; - } - - public Long getTotalEmployments(String filterString, String organizationId, String departmentId, String gradeId) { - try { - if (filterString == null) { - filterString = ""; - } - Collection param = new ArrayList(); - String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.employeeCode like ? or e.role like ?)"; - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - - if (organizationId != null) { - condition += " and e.organization.id = ?"; - param.add(organizationId); - } - if (departmentId != null) { - condition += " and e.department.id = ?"; - param.add(departmentId); - } - if (gradeId != null) { - condition += " and e.grade.id = ?"; - param.add(gradeId); - } - - return countDistinct("Employment", condition, param.toArray()); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Total Employments Error!"); - } - - return 0L; - } - - public Boolean assignUserAsDepartmentHOD(String userId, String departmentId) { - try { - User user = userDao.getUserById(userId); - Department department = departmentDao.getDepartment(departmentId); - - if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && department != null) { - for (Employment employment : (Set) user.getEmployments()) { - if (department.getId().equals(employment.getDepartmentId())) { - employment.getHods().clear(); - employment.getHods().add(department); - saveOrUpdate("Employment", employment); - department.setHod(employment); - departmentDao.updateDepartment(department); - } - } - return true; - } - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Assign User As Department Hod Error!"); - } - return false; - } - - public Boolean unassignUserAsDepartmentHOD(String userId, String departmentId) { - try { - User user = userDao.getUserById(userId); - Department department = departmentDao.getDepartment(departmentId); - - if (department != null && user != null && user.getEmployments() != null && user.getEmployments().size() > 0) { - for (Employment employment : (Set) user.getEmployments()) { - if (department.getId().equals(employment.getDepartmentId()) && !employment.getHods().isEmpty()) { - employment.getHods().clear(); - saveOrUpdate("Employment", employment); - department.setHod(null); - departmentDao.updateDepartment(department); - } - } - } - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Unassign User As Department Hod Error!"); - } - return false; - } - - public Boolean assignUserReportTo(String userId, String reportToUserId) { - try { - User user = userDao.getUserById(userId); - User reportToUser = userDao.getUserById(reportToUserId); - - if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && reportToUser != null && reportToUser.getEmployments() != null && reportToUser.getEmployments().size() > 0) { - Employment ue = null; - Employment rte = null; - - for (Employment employment : (Set)user.getEmployments()) { - if (ue == null || employment.getEmploymentReportTo() != null) { - ue = employment; - } - } - for (Employment reportToEmployment : (Set)reportToUser.getEmployments()) { - if (rte == null || (reportToEmployment.getSubordinates() != null && !reportToEmployment.getSubordinates().isEmpty())) { - rte = reportToEmployment; - } - } - - if (ue != null && ue.getEmploymentReportTo() != null) { - //delete current report to - employmentReportToDao.deleteEmploymentReportTo(ue.getEmploymentReportTo().getId()); - } - - EmploymentReportTo employmentReportTo = new EmploymentReportTo(); - employmentReportTo.setSubordinate(ue); - employmentReportTo.setReportTo(rte); - employmentReportToDao.addEmploymentReportTo(employmentReportTo); - - return true; - } - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Assign User Report To Error!"); - } - return false; - } - - public Boolean unassignUserReportTo(String userId) { - try { - User user = userDao.getUserById(userId); - - if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0) { - for (Employment employment : (Set)user.getEmployments()) { - if (employment.getEmploymentReportTo() != null) { - //delete current report to - employmentReportToDao.deleteEmploymentReportTo(employment.getEmploymentReportTo().getId()); - } - } - return true; - } - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Unassign User Report To Error!"); - } - return false; - } - - public Boolean assignUserToOrganization(String userId, String organizationId) { - try { - User user = userDao.getUserById(userId); - Organization organization = organizationDao.getOrganization(organizationId); - - if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && organization != null) { - boolean found = false; - Employment isNull = null; - Employment first = null; - - for (Employment employment : (Set) user.getEmployments()) { - if (first == null) { - first = employment; - } - if (employment.getOrganizationId() == null) { - isNull = employment; - } else if (organization.getId().equals(employment.getOrganizationId())) { - found = true; - } - } - - if (!found) { - if (isNull == null) { - isNull = new Employment(); - isNull.setUserId(userId); - if (first != null) { - isNull.setEmployeeCode(first.getEmployeeCode()); - isNull.setRole(first.getRole()); - isNull.setStartDate(first.getStartDate()); - isNull.setEndDate(first.getEndDate()); - } - isNull.setHods(new HashSet()); - } - isNull.setOrganizationId(organization.getId()); - isNull.setDepartmentId(null); - isNull.setGradeId(null); - isNull.getHods().clear(); - saveOrUpdate("Employment", isNull); - } - return true; - } - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Assign User To Organization Error!"); - } - return false; - } - - public Boolean unassignUserFromOrganization(String userId, String organizationId) { - try { - User user = userDao.getUserById(userId); - Organization organization = organizationDao.getOrganization(organizationId); - - if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && organization != null) { - //always keep 1, delete the others; - int size = user.getEmployments().size(); - for (Employment e : (Set) user.getEmployments()) { - if (organization.getId().equals(e.getOrganizationId())) { - if (size > 1) { - delete("Employment", e); - size--; - } else { - e.setOrganizationId(null); - e.setDepartmentId(null); - e.setGradeId(null); - e.getHods().clear(); - saveOrUpdate("Employment", e); - } - } - } - - return true; - } - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Unassign User From Organization Error!"); - } - return false; - } - - public Boolean assignUserToDepartment(String userId, String departmentId) { - try { - User user = userDao.getUserById(userId); - Department department = departmentDao.getDepartment(departmentId); - - if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && department != null) { - boolean found = false; - Employment isNull = null; - Employment first = null; - - for (Employment employment : (Set) user.getEmployments()) { - if (first == null) { - first = employment; - } - if (employment.getOrganizationId() == null - || (employment.getOrganizationId().equals(department.getOrganization().getId()) && employment.getDepartmentId() == null)) { - isNull = employment; - } else if (department.getOrganization().getId().equals(employment.getOrganizationId()) && department.getId().equals(employment.getDepartmentId())) { - found = true; - } - } - - if (!found) { - if (isNull == null) { - isNull = new Employment(); - isNull.setUserId(userId); - if (first != null) { - isNull.setEmployeeCode(first.getEmployeeCode()); - isNull.setRole(first.getRole()); - isNull.setStartDate(first.getStartDate()); - isNull.setEndDate(first.getEndDate()); - } - isNull.setHods(new HashSet()); - } - isNull.setOrganizationId(department.getOrganization().getId()); - isNull.setDepartmentId(department.getId()); - saveOrUpdate("Employment", isNull); - } - return true; - } - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Assign User To Department Error!"); - } - return false; - } - - public Boolean unassignUserFromDepartment(String userId, String departmentId) { - try { - User user = userDao.getUserById(userId); - Department department = departmentDao.getDepartment(departmentId); - - if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && department != null) { - int sameOrg = 0; - Employment found = null; - - for (Employment e : (Set) user.getEmployments()) { - if (department.getOrganization().getId().equals(e.getOrganizationId())) { - if (department.getId().equals(e.getDepartmentId())) { - found = e; - } - sameOrg++; - } - } - - if (found != null) { - if (found.getHods() != null && !found.getHods().isEmpty() && found.getDepartment() != null) { - Department orgDepartment = found.getDepartment(); - orgDepartment.setHod(null); - departmentDao.updateDepartment(orgDepartment); - } - if (sameOrg > 1) { - delete("Employment", found); - } else { - found.setDepartmentId(null); - found.getHods().clear(); - saveOrUpdate("Employment", found); - } - } - return true; - } - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Unassign User from Department Error!"); - } - return false; - } - - public Boolean assignUserToGrade(String userId, String gradeId) { - try { - User user = userDao.getUserById(userId); - Grade grade = gradeDao.getGrade(gradeId); - - if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && grade != null) { - Employment isNull = null; - Employment first = null; - boolean isUpdated = false; - - for (Employment employment : (Set) user.getEmployments()) { - if (first == null) { - first = employment; - } - if (employment.getOrganizationId() == null) { - isNull = employment; - } else if (grade.getOrganization().getId().equals(employment.getOrganizationId())) { - employment.setGradeId(grade.getId()); - saveOrUpdate("Employment", employment); - isUpdated = true; - } - } - - if (isUpdated) { - return true; - } - - if (isNull == null) { - isNull = new Employment(); - isNull.setUserId(userId); - if (first != null) { - isNull.setEmployeeCode(first.getEmployeeCode()); - isNull.setRole(first.getRole()); - isNull.setStartDate(first.getStartDate()); - isNull.setEndDate(first.getEndDate()); - } - isNull.setHods(new HashSet()); - } - isNull.setOrganizationId(grade.getOrganization().getId()); - isNull.setGradeId(grade.getId()); - saveOrUpdate("Employment", isNull); - - return true; - } - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Assign User To Grade Error!"); - } - return false; - } - - public Boolean unassignUserFromGrade(String userId, String gradeId) { - try { - User user = userDao.getUserById(userId); - Grade grade = gradeDao.getGrade(gradeId); - - if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && grade != null) { - Collection sameOrgs = new ArrayList(); - - for (Employment e : (Set) user.getEmployments()) { - if (grade.getOrganization().getId().equals(e.getOrganizationId())) { - sameOrgs.add(e); - } - } - - int size = sameOrgs.size(); - for (Employment e : sameOrgs) { - if (gradeId.equals(e.getGradeId())) { - if (size > 1 && e.getDepartmentId() == null) { - delete("Employment", e); - size--; - } else { - e.setGradeId(null); - saveOrUpdate("Employment", e); - } - } - } - - return true; - } - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "UnAssign User from Grade Error!"); - } - return false; - } - - public Collection getEmploymentsNoHaveOrganization(String filterString, String sort, Boolean desc, Integer start, Integer rows) { - try { - if (filterString == null) { - filterString = ""; - } - Collection param = new ArrayList(); - String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - - condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId is not null) "; - - return findDistinct("Employment", condition, param.toArray(), sort, desc, start, rows); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Users No Have Organization Error!"); - } - - return null; - } - - public Long getTotalEmploymentsNoHaveOrganization(String filterString) { - try { - if (filterString == null) { - filterString = ""; - } - Collection param = new ArrayList(); - String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - - condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId is not null) "; - - return countDistinct("Employment", condition, param.toArray()); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Total Employments No Have Organization Error!"); - } - - return 0L; - } - - public Collection getEmploymentsNotInDepartment(String filterString, String organizationId, String departmentId, String sort, Boolean desc, Integer start, Integer rows) { - try { - if (filterString == null) { - filterString = ""; - } - Collection param = new ArrayList(); - String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - - condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ? and sub.departmentId = ?) and e.organizationId = ?"; - param.add(organizationId); - param.add(departmentId); - param.add(organizationId); - - return findDistinct("Employment", condition, param.toArray(), sort, desc, start, rows); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Employments Not In Department Error!"); - } - - return null; - } - - public Long getTotalEmploymentsNotInDepartment(String filterString, String organizationId, String departmentId) { - try { - if (filterString == null) { - filterString = ""; - } - Collection param = new ArrayList(); - String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - - condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ? and sub.departmentId = ?) and e.organizationId = ?"; - param.add(organizationId); - param.add(departmentId); - param.add(organizationId); - - return countDistinct("Employment", condition, param.toArray()); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Total Employments Not In Department Error!"); - } - - return 0L; - } - - public Collection getEmploymentsNotInGrade(String filterString, String organizationId, String gradeId, String sort, Boolean desc, Integer start, Integer rows) { - try { - if (filterString == null) { - filterString = ""; - } - Collection param = new ArrayList(); - String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - - condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ? and sub.gradeId = ?) and e.organizationId = ?"; - param.add(organizationId); - param.add(gradeId); - param.add(organizationId); - - return findDistinct("Employment", condition, param.toArray(), sort, desc, start, rows); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Employments Not In Grade Error!"); - } - - return null; - } - - public Long getTotalEmploymentsNotInGrade(String filterString, String organizationId, String gradeId) { - try { - if (filterString == null) { - filterString = ""; - } - Collection param = new ArrayList(); - String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - - condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ? and sub.gradeId = ?) and e.organizationId = ?"; - param.add(organizationId); - param.add(gradeId); - param.add(organizationId); - - return countDistinct("Employment", condition, param.toArray()); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Total Employments Not In Grade Error!"); - } - - return 0L; - } - - public Collection getEmploymentsNotInOrganization(String filterString, String organizationId, String sort, Boolean desc, Integer start, Integer rows) { - try { - if (filterString == null) { - filterString = ""; - } - Collection param = new ArrayList(); - String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - - condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ?) "; - param.add(organizationId); - - return findDistinct("Employment", condition, param.toArray(), sort, desc, start, rows); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Users No Have Organization Error!"); - } - - return null; - } - - public Long getTotalEmploymentsNotInOrganization(String filterString, String organizationId) { - try { - if (filterString == null) { - filterString = ""; - } - Collection param = new ArrayList(); - String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - param.add("%" + filterString + "%"); - - condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ?) "; - param.add(organizationId); - - return countDistinct("Employment", condition, param.toArray()); - } catch (Exception e) { - LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Total Employments No Have Organization Error!"); - } - - return 0L; - } - - @Override - protected void delete(String entityName, Object obj) { - //transfer reportTo if exist - Employment e = (Employment) obj; - if (e.getEmploymentReportTo() != null || (e.getSubordinates() != null && !e.getSubordinates().isEmpty())) { - User u = e.getUser(); - if (u.getEmployments().size() > 1) { - for (Employment o : (Set) u.getEmployments()) { - if (!o.getId().equals(e.getId())) { - if (e.getEmploymentReportTo() != null) { - EmploymentReportTo ert = e.getEmploymentReportTo(); - ert.setSubordinate(o); - employmentReportToDao.updateEmploymentReportTo(ert); - } - if (e.getSubordinates() != null && !e.getSubordinates().isEmpty()) { - for (EmploymentReportTo ert : (Set) e.getSubordinates()) { - ert.setReportTo(o); - employmentReportToDao.updateEmploymentReportTo(ert); - } - } - - break; - } - } - } - } - - super.delete(entityName, obj); - } - - protected Collection findDistinct(final String entityName, final String condition, final Object[] params, final String sort, final Boolean desc, final Integer start, final Integer rows) { - Session session = findSession(); - - String query = "SELECT e.userId, e.id FROM " + entityName + " e " + condition; - Query q = session.createQuery(query); - if (params != null) { - int i = 0; - for (Object param : params) { - q.setParameter(i, param); - i++; - } - } - - Map ids = new HashMap(); - Collection results = q.list(); - if (results != null) { - for (Object o : results) { - Object[] temp = (Object[]) o; - if (!ids.containsKey(temp[0].toString())) { - ids.put(temp[0].toString(), temp[1].toString()); - } - } - - if (!ids.isEmpty()) { - query = "SELECT e FROM " + entityName + " e where e.id IN (:ids)"; - - if (sort != null && !sort.equals("")) { - String filteredSort = filterSpace(sort); - query += " ORDER BY " + filteredSort; - - if (desc) { - query += " DESC"; - } - } - q = session.createQuery(query); - - int s = (start == null) ? 0 : start; - q.setFirstResult(s); - - if (rows != null && rows > 0) { - q.setMaxResults(rows); - } - - q.setParameterList("ids", ids.values().toArray(new String[0])); - - return (Collection) q.list(); - } - } - - return new ArrayList(); - } - - protected Long countDistinct(final String entityName, final String condition, final Object[] params) { - Session session = findSession(); - Query q = session.createQuery("SELECT COUNT(e.userId) FROM " + entityName + " e " + condition + " group by e.userId"); - - if (params != null) { - int i = 0; - for (Object param : params) { - q.setParameter(i, param); - i++; - } - } - - List result = q.list(); - return new Long(result.size()); - } -} +package org.joget.directory.dao; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; +import org.hibernate.Query; +import org.hibernate.Session; +import org.joget.commons.spring.model.AbstractSpringDao; +import org.joget.commons.util.LogUtil; +import org.joget.directory.model.Department; +import org.joget.directory.model.Employment; +import org.joget.directory.model.EmploymentReportTo; +import org.joget.directory.model.Grade; +import org.joget.directory.model.Organization; +import org.joget.directory.model.User; + +public class EmploymentDaoImpl extends AbstractSpringDao implements EmploymentDao { + + private EmploymentReportToDao employmentReportToDao; + private UserDao userDao; + private OrganizationDao organizationDao; + private DepartmentDao departmentDao; + private GradeDao gradeDao; + + public GradeDao getGradeDao() { + return gradeDao; + } + + public void setGradeDao(GradeDao gradeDao) { + this.gradeDao = gradeDao; + } + + public OrganizationDao getOrganizationDao() { + return organizationDao; + } + + public void setOrganizationDao(OrganizationDao organizationDao) { + this.organizationDao = organizationDao; + } + + public EmploymentReportToDao getEmploymentReportToDao() { + return employmentReportToDao; + } + + public void setEmploymentReportToDao(EmploymentReportToDao employmentReportToDao) { + this.employmentReportToDao = employmentReportToDao; + } + + public DepartmentDao getDepartmentDao() { + return departmentDao; + } + + public void setDepartmentDao(DepartmentDao departmentDao) { + this.departmentDao = departmentDao; + } + + public UserDao getUserDao() { + return userDao; + } + + public void setUserDao(UserDao userDao) { + this.userDao = userDao; + } + + public Boolean addEmployment(Employment employment) { + try { + User user = employment.getUser(); + if (user != null) { + employment.setHods(new HashSet()); + Set employments = new HashSet(); + employments.add(employment); + user.setEmployments(employments); + } + save("Employment", employment); + return true; + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Add Employment Error!"); + return false; + } + } + + public Boolean updateEmployment(Employment employment) { + try { + merge("Employment", employment); + + User user = employment.getUser(); + if (user != null) { + //update all employments under same user + Set employments = user.getEmployments(); + for (Employment e : employments) { + if (!e.getId().equals(employment.getId())) { + e.setEmployeeCode(employment.getEmployeeCode()); + e.setRole(employment.getRole()); + e.setStartDate(employment.getStartDate()); + e.setEndDate(employment.getEndDate()); + merge("Employment", e); + } + } + } + + return true; + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Update Employment Error!"); + return false; + } + } + + public Boolean deleteEmployment(String id) { + try { + Employment employment = getEmployment(id); + + if (employment != null) { + // clear department HOD + Department dept = employment.getDepartment(); + if (dept != null) { + Employment hod = dept.getHod(); + if (hod != null && id.equals(hod.getId())) { + dept.setHod(null); + departmentDao.updateDepartment(dept); + } + } + + // clear employment + employment.setOrganization(null); + employment.setDepartment(null); + employment.setGrade(null); + employment.setUser(null); + employment.getHods().clear(); + + if (employment.getSubordinates() != null) { + for (EmploymentReportTo r : (Set) employment.getSubordinates()) { + employmentReportToDao.deleteEmploymentReportTo(r.getId()); + } + employment.getSubordinates().clear(); + } + + if (employment.getEmploymentReportTo() != null) { + employmentReportToDao.deleteEmploymentReportTo(employment.getEmploymentReportTo().getId()); + employment.setEmploymentReportTo(null); + } + + delete("Employment", employment); + } + return true; + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Delete Employment Error!"); + return false; + } + } + + public Employment getEmployment(String id) { + try { + return (Employment) find("Employment", id); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Employment Error!"); + return null; + } + } + + public Collection findEmployments(String condition, Object[] params, String sort, Boolean desc, Integer start, Integer rows) { + try { + return find("Employment", condition, params, sort, desc, start, rows); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Find Employments Error!"); + } + + return null; + } + + public Long countEmployments(String condition, Object[] params) { + try { + return count("Employment", condition, params); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Count Employments Error!"); + } + + return 0L; + } + + public Collection getEmployments(String filterString, String organizationId, String departmentId, String gradeId, String sort, Boolean desc, Integer start, Integer rows) { + try { + if (filterString == null) { + filterString = ""; + } + Collection param = new ArrayList(); + String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.employeeCode like ? or e.role like ?)"; + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + + if (organizationId != null) { + condition += " and e.organization.id = ?"; + param.add(organizationId); + } + if (departmentId != null) { + condition += " and e.department.id = ?"; + param.add(departmentId); + } + if (gradeId != null) { + condition += " and e.grade.id = ?"; + param.add(gradeId); + } + + return findDistinct("Employment", condition, param.toArray(), sort, desc, start, rows); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Employments Error!"); + } + + return null; + } + + public Long getTotalEmployments(String filterString, String organizationId, String departmentId, String gradeId) { + try { + if (filterString == null) { + filterString = ""; + } + Collection param = new ArrayList(); + String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.employeeCode like ? or e.role like ?)"; + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + + if (organizationId != null) { + condition += " and e.organization.id = ?"; + param.add(organizationId); + } + if (departmentId != null) { + condition += " and e.department.id = ?"; + param.add(departmentId); + } + if (gradeId != null) { + condition += " and e.grade.id = ?"; + param.add(gradeId); + } + + return countDistinct("Employment", condition, param.toArray()); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Total Employments Error!"); + } + + return 0L; + } + + public Boolean assignUserAsDepartmentHOD(String userId, String departmentId) { + try { + User user = userDao.getUserById(userId); + Department department = departmentDao.getDepartment(departmentId); + + if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && department != null) { + for (Employment employment : (Set) user.getEmployments()) { + if (department.getId().equals(employment.getDepartmentId())) { + employment.getHods().clear(); + employment.getHods().add(department); + saveOrUpdate("Employment", employment); + department.setHod(employment); + departmentDao.updateDepartment(department); + } + } + return true; + } + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Assign User As Department Hod Error!"); + } + return false; + } + + public Boolean unassignUserAsDepartmentHOD(String userId, String departmentId) { + try { + User user = userDao.getUserById(userId); + Department department = departmentDao.getDepartment(departmentId); + + if (department != null && user != null && user.getEmployments() != null && user.getEmployments().size() > 0) { + for (Employment employment : (Set) user.getEmployments()) { + if (department.getId().equals(employment.getDepartmentId()) && !employment.getHods().isEmpty()) { + employment.getHods().clear(); + saveOrUpdate("Employment", employment); + department.setHod(null); + departmentDao.updateDepartment(department); + } + } + } + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Unassign User As Department Hod Error!"); + } + return false; + } + + public Boolean assignUserReportTo(String userId, String reportToUserId) { + try { + User user = userDao.getUserById(userId); + User reportToUser = userDao.getUserById(reportToUserId); + + if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && reportToUser != null && reportToUser.getEmployments() != null && reportToUser.getEmployments().size() > 0) { + Employment ue = null; + Employment rte = null; + + for (Employment employment : (Set)user.getEmployments()) { + if (ue == null || employment.getEmploymentReportTo() != null) { + ue = employment; + } + } + for (Employment reportToEmployment : (Set)reportToUser.getEmployments()) { + if (rte == null || (reportToEmployment.getSubordinates() != null && !reportToEmployment.getSubordinates().isEmpty())) { + rte = reportToEmployment; + } + } + + if (ue != null && ue.getEmploymentReportTo() != null) { + //delete current report to + employmentReportToDao.deleteEmploymentReportTo(ue.getEmploymentReportTo().getId()); + } + + EmploymentReportTo employmentReportTo = new EmploymentReportTo(); + employmentReportTo.setSubordinate(ue); + employmentReportTo.setReportTo(rte); + employmentReportToDao.addEmploymentReportTo(employmentReportTo); + + return true; + } + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Assign User Report To Error!"); + } + return false; + } + + public Boolean unassignUserReportTo(String userId) { + try { + User user = userDao.getUserById(userId); + + if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0) { + for (Employment employment : (Set)user.getEmployments()) { + if (employment.getEmploymentReportTo() != null) { + //delete current report to + employmentReportToDao.deleteEmploymentReportTo(employment.getEmploymentReportTo().getId()); + } + } + return true; + } + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Unassign User Report To Error!"); + } + return false; + } + + public Boolean assignUserToOrganization(String userId, String organizationId) { + try { + User user = userDao.getUserById(userId); + Organization organization = organizationDao.getOrganization(organizationId); + + if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && organization != null) { + boolean found = false; + Employment isNull = null; + Employment first = null; + + for (Employment employment : (Set) user.getEmployments()) { + if (first == null) { + first = employment; + } + if (employment.getOrganizationId() == null) { + isNull = employment; + } else if (organization.getId().equals(employment.getOrganizationId())) { + found = true; + } + } + + if (!found) { + if (isNull == null) { + isNull = new Employment(); + isNull.setUserId(userId); + if (first != null) { + isNull.setEmployeeCode(first.getEmployeeCode()); + isNull.setRole(first.getRole()); + isNull.setStartDate(first.getStartDate()); + isNull.setEndDate(first.getEndDate()); + } + isNull.setHods(new HashSet()); + } + isNull.setOrganizationId(organization.getId()); + isNull.setDepartmentId(null); + isNull.setGradeId(null); + isNull.getHods().clear(); + saveOrUpdate("Employment", isNull); + } + return true; + } + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Assign User To Organization Error!"); + } + return false; + } + + public Boolean unassignUserFromOrganization(String userId, String organizationId) { + try { + User user = userDao.getUserById(userId); + Organization organization = organizationDao.getOrganization(organizationId); + + if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && organization != null) { + //always keep 1, delete the others; + int size = user.getEmployments().size(); + for (Employment e : (Set) user.getEmployments()) { + if (organization.getId().equals(e.getOrganizationId())) { + if (size > 1) { + delete("Employment", e); + size--; + } else { + e.setOrganizationId(null); + e.setDepartmentId(null); + e.setGradeId(null); + e.getHods().clear(); + saveOrUpdate("Employment", e); + } + } + } + + return true; + } + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Unassign User From Organization Error!"); + } + return false; + } + + public Boolean assignUserToDepartment(String userId, String departmentId) { + try { + User user = userDao.getUserById(userId); + Department department = departmentDao.getDepartment(departmentId); + + if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && department != null) { + boolean found = false; + Employment isNull = null; + Employment first = null; + + for (Employment employment : (Set) user.getEmployments()) { + if (first == null) { + first = employment; + } + if (employment.getOrganizationId() == null + || (employment.getOrganizationId().equals(department.getOrganization().getId()) && employment.getDepartmentId() == null)) { + isNull = employment; + } else if (department.getOrganization().getId().equals(employment.getOrganizationId()) && department.getId().equals(employment.getDepartmentId())) { + found = true; + } + } + + if (!found) { + if (isNull == null) { + isNull = new Employment(); + isNull.setUserId(userId); + if (first != null) { + isNull.setEmployeeCode(first.getEmployeeCode()); + isNull.setRole(first.getRole()); + isNull.setStartDate(first.getStartDate()); + isNull.setEndDate(first.getEndDate()); + } + isNull.setHods(new HashSet()); + } + isNull.setOrganizationId(department.getOrganization().getId()); + isNull.setDepartmentId(department.getId()); + saveOrUpdate("Employment", isNull); + } + return true; + } + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Assign User To Department Error!"); + } + return false; + } + + public Boolean unassignUserFromDepartment(String userId, String departmentId) { + try { + User user = userDao.getUserById(userId); + Department department = departmentDao.getDepartment(departmentId); + + if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && department != null) { + int sameOrg = 0; + Employment found = null; + + for (Employment e : (Set) user.getEmployments()) { + if (department.getOrganization().getId().equals(e.getOrganizationId())) { + if (department.getId().equals(e.getDepartmentId())) { + found = e; + } + sameOrg++; + } + } + + if (found != null) { + if (found.getHods() != null && !found.getHods().isEmpty() && found.getDepartment() != null) { + Department orgDepartment = found.getDepartment(); + orgDepartment.setHod(null); + departmentDao.updateDepartment(orgDepartment); + } + if (sameOrg > 1) { + delete("Employment", found); + } else { + found.setDepartmentId(null); + found.getHods().clear(); + saveOrUpdate("Employment", found); + } + } + return true; + } + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Unassign User from Department Error!"); + } + return false; + } + + public Boolean assignUserToGrade(String userId, String gradeId) { + try { + User user = userDao.getUserById(userId); + Grade grade = gradeDao.getGrade(gradeId); + + if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && grade != null) { + Employment isNull = null; + Employment first = null; + boolean isUpdated = false; + + for (Employment employment : (Set) user.getEmployments()) { + if (first == null) { + first = employment; + } + if (employment.getOrganizationId() == null) { + isNull = employment; + } else if (grade.getOrganization().getId().equals(employment.getOrganizationId())) { + employment.setGradeId(grade.getId()); + saveOrUpdate("Employment", employment); + isUpdated = true; + } + } + + if (isUpdated) { + return true; + } + + if (isNull == null) { + isNull = new Employment(); + isNull.setUserId(userId); + if (first != null) { + isNull.setEmployeeCode(first.getEmployeeCode()); + isNull.setRole(first.getRole()); + isNull.setStartDate(first.getStartDate()); + isNull.setEndDate(first.getEndDate()); + } + isNull.setHods(new HashSet()); + } + isNull.setOrganizationId(grade.getOrganization().getId()); + isNull.setGradeId(grade.getId()); + saveOrUpdate("Employment", isNull); + + return true; + } + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Assign User To Grade Error!"); + } + return false; + } + + public Boolean unassignUserFromGrade(String userId, String gradeId) { + try { + User user = userDao.getUserById(userId); + Grade grade = gradeDao.getGrade(gradeId); + + if (user != null && user.getEmployments() != null && user.getEmployments().size() > 0 && grade != null) { + Collection sameOrgs = new ArrayList(); + + for (Employment e : (Set) user.getEmployments()) { + if (grade.getOrganization().getId().equals(e.getOrganizationId())) { + sameOrgs.add(e); + } + } + + int size = sameOrgs.size(); + for (Employment e : sameOrgs) { + if (gradeId.equals(e.getGradeId())) { + if (size > 1 && e.getDepartmentId() == null) { + delete("Employment", e); + size--; + } else { + e.setGradeId(null); + saveOrUpdate("Employment", e); + } + } + } + + return true; + } + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "UnAssign User from Grade Error!"); + } + return false; + } + + public Collection getEmploymentsNoHaveOrganization(String filterString, String sort, Boolean desc, Integer start, Integer rows) { + try { + if (filterString == null) { + filterString = ""; + } + Collection param = new ArrayList(); + String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + + condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId is not null) "; + + return findDistinct("Employment", condition, param.toArray(), sort, desc, start, rows); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Users No Have Organization Error!"); + } + + return null; + } + + public Long getTotalEmploymentsNoHaveOrganization(String filterString) { + try { + if (filterString == null) { + filterString = ""; + } + Collection param = new ArrayList(); + String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + + condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId is not null) "; + + return countDistinct("Employment", condition, param.toArray()); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Total Employments No Have Organization Error!"); + } + + return 0L; + } + + public Collection getEmploymentsNotInDepartment(String filterString, String organizationId, String departmentId, String sort, Boolean desc, Integer start, Integer rows) { + try { + if (filterString == null) { + filterString = ""; + } + Collection param = new ArrayList(); + String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + + condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ? and sub.departmentId = ?) and e.organizationId = ?"; + param.add(organizationId); + param.add(departmentId); + param.add(organizationId); + + return findDistinct("Employment", condition, param.toArray(), sort, desc, start, rows); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Employments Not In Department Error!"); + } + + return null; + } + + public Long getTotalEmploymentsNotInDepartment(String filterString, String organizationId, String departmentId) { + try { + if (filterString == null) { + filterString = ""; + } + Collection param = new ArrayList(); + String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + + condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ? and sub.departmentId = ?) and e.organizationId = ?"; + param.add(organizationId); + param.add(departmentId); + param.add(organizationId); + + return countDistinct("Employment", condition, param.toArray()); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Total Employments Not In Department Error!"); + } + + return 0L; + } + + public Collection getEmploymentsNotInGrade(String filterString, String organizationId, String gradeId, String sort, Boolean desc, Integer start, Integer rows) { + try { + if (filterString == null) { + filterString = ""; + } + Collection param = new ArrayList(); + String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + + condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ? and sub.gradeId = ?) and e.organizationId = ?"; + param.add(organizationId); + param.add(gradeId); + param.add(organizationId); + + return findDistinct("Employment", condition, param.toArray(), sort, desc, start, rows); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Employments Not In Grade Error!"); + } + + return null; + } + + public Long getTotalEmploymentsNotInGrade(String filterString, String organizationId, String gradeId) { + try { + if (filterString == null) { + filterString = ""; + } + Collection param = new ArrayList(); + String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + + condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ? and sub.gradeId = ?) and e.organizationId = ?"; + param.add(organizationId); + param.add(gradeId); + param.add(organizationId); + + return countDistinct("Employment", condition, param.toArray()); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Total Employments Not In Grade Error!"); + } + + return 0L; + } + + public Collection getEmploymentsNotInOrganization(String filterString, String organizationId, String sort, Boolean desc, Integer start, Integer rows) { + try { + if (filterString == null) { + filterString = ""; + } + Collection param = new ArrayList(); + String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + + condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ?) "; + param.add(organizationId); + + return findDistinct("Employment", condition, param.toArray(), sort, desc, start, rows); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Users No Have Organization Error!"); + } + + return null; + } + + public Long getTotalEmploymentsNotInOrganization(String filterString, String organizationId) { + try { + if (filterString == null) { + filterString = ""; + } + Collection param = new ArrayList(); + String condition = "where (e.user.username like ? or e.user.firstName like ? or e.user.lastName like ? or e.user.email like ?)"; + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + param.add("%" + filterString + "%"); + + condition += " and e.userId not in (select sub.userId from Employment as sub where sub.organizationId = ?) "; + param.add(organizationId); + + return countDistinct("Employment", condition, param.toArray()); + } catch (Exception e) { + LogUtil.error(EmploymentDaoImpl.class.getName(), e, "Get Total Employments No Have Organization Error!"); + } + + return 0L; + } + + @Override + protected void delete(String entityName, Object obj) { + //transfer reportTo if exist + Employment e = (Employment) obj; + if (e.getEmploymentReportTo() != null || (e.getSubordinates() != null && !e.getSubordinates().isEmpty())) { + User u = e.getUser(); + if (u.getEmployments().size() > 1) { + for (Employment o : (Set) u.getEmployments()) { + if (!o.getId().equals(e.getId())) { + if (e.getEmploymentReportTo() != null) { + EmploymentReportTo ert = e.getEmploymentReportTo(); + ert.setSubordinate(o); + employmentReportToDao.updateEmploymentReportTo(ert); + } + if (e.getSubordinates() != null && !e.getSubordinates().isEmpty()) { + for (EmploymentReportTo ert : (Set) e.getSubordinates()) { + ert.setReportTo(o); + employmentReportToDao.updateEmploymentReportTo(ert); + } + } + + break; + } + } + } + } + + super.delete(entityName, obj); + } + + protected Collection findDistinct(final String entityName, final String condition, final Object[] params, final String sort, final Boolean desc, final Integer start, final Integer rows) { + Session session = findSession(); + + String query = "SELECT e.userId, e.id FROM " + entityName + " e " + condition; + Query q = session.createQuery(query); + if (params != null) { + int i = 0; + for (Object param : params) { + q.setParameter(i, param); + i++; + } + } + + Map ids = new HashMap(); + Collection results = q.list(); + if (results != null) { + for (Object o : results) { + Object[] temp = (Object[]) o; + if (!ids.containsKey(temp[0].toString())) { + ids.put(temp[0].toString(), temp[1].toString()); + } + } + + if (!ids.isEmpty()) { + query = "SELECT e FROM " + entityName + " e where e.id IN (:ids)"; + + if (sort != null && !sort.equals("")) { + String filteredSort = filterSpace(sort); + query += " ORDER BY " + filteredSort; + + if (desc) { + query += " DESC"; + } + } + q = session.createQuery(query); + + int s = (start == null) ? 0 : start; + q.setFirstResult(s); + + if (rows != null && rows > 0) { + q.setMaxResults(rows); + } + + q.setParameterList("ids", ids.values().toArray(new String[0])); + + return (Collection) q.list(); + } + } + + return new ArrayList(); + } + + protected Long countDistinct(final String entityName, final String condition, final Object[] params) { + Session session = findSession(); + Query q = session.createQuery("SELECT COUNT(e.userId) FROM " + entityName + " e " + condition + " group by e.userId"); + + if (params != null) { + int i = 0; + for (Object param : params) { + q.setParameter(i, param); + i++; + } + } + + List result = q.list(); + return new Long(result.size()); + } +} diff --git a/wflow-directory/src/main/java/org/joget/directory/model/Employment.java b/wflow-directory/src/main/java/org/joget/directory/model/Employment.java index 8d2bd0d939..69bde00c88 100755 --- a/wflow-directory/src/main/java/org/joget/directory/model/Employment.java +++ b/wflow-directory/src/main/java/org/joget/directory/model/Employment.java @@ -1,160 +1,160 @@ -package org.joget.directory.model; - -import org.joget.commons.spring.model.Auditable; -import java.io.Serializable; -import java.util.Date; -import java.util.Set; - -public class Employment implements Serializable, Auditable { - - public static final String MANAGER = "Manager"; - private String id; - private String userId; - private Date startDate; - private Date endDate; - private String employeeCode; - private String role; - private String gradeId; - private String departmentId; - private String organizationId; - //join - private User user; - private Department department; - private Organization organization; - private Set hods; - private Grade grade; - private EmploymentReportTo employmentReportTo; - private Set subordinates; - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public Date getStartDate() { - return startDate; - } - - public void setStartDate(Date startDate) { - this.startDate = startDate; - } - - public Date getEndDate() { - return endDate; - } - - public void setEndDate(Date endDate) { - this.endDate = endDate; - } - - public String getEmployeeCode() { - return employeeCode; - } - - public void setEmployeeCode(String employeeCode) { - this.employeeCode = employeeCode; - } - - public User getUser() { - return user; - } - - public void setUser(User user) { - this.user = user; - } - - public Grade getGrade() { - return grade; - } - - public void setGrade(Grade grade) { - this.grade = grade; - } - - public Department getDepartment() { - return department; - } - - public void setDepartment(Department department) { - this.department = department; - } - - public String getRole() { - return role; - } - - public void setRole(String role) { - this.role = role; - } - - public Set getSubordinates() { - return subordinates; - } - - public void setSubordinates(Set subordinates) { - this.subordinates = subordinates; - } - - public Set getHods() { - return hods; - } - - public void setHods(Set hods) { - this.hods = hods; - } - - public EmploymentReportTo getEmploymentReportTo() { - return employmentReportTo; - } - - public void setEmploymentReportTo(EmploymentReportTo employmentReportTo) { - this.employmentReportTo = employmentReportTo; - } - - public String getUserId() { - return userId; - } - - public void setUserId(String userId) { - this.userId = userId; - } - - public String getGradeId() { - return gradeId; - } - - public void setGradeId(String gradeId) { - this.gradeId = gradeId; - } - - public String getDepartmentId() { - return departmentId; - } - - public void setDepartmentId(String departmentId) { - this.departmentId = departmentId; - } - - public Organization getOrganization() { - return organization; - } - - public void setOrganization(Organization organization) { - this.organization = organization; - } - - public String getOrganizationId() { - return organizationId; - } - - public void setOrganizationId(String organizationId) { - this.organizationId = organizationId; - } - - public String getAuditTrailId() { - return id; - } -} +package org.joget.directory.model; + +import org.joget.commons.spring.model.Auditable; +import java.io.Serializable; +import java.util.Date; +import java.util.Set; + +public class Employment implements Serializable, Auditable { + + public static final String MANAGER = "Manager"; + private String id; + private String userId; + private Date startDate; + private Date endDate; + private String employeeCode; + private String role; + private String gradeId; + private String departmentId; + private String organizationId; + //join + private User user; + private Department department; + private Organization organization; + private Set hods; + private Grade grade; + private EmploymentReportTo employmentReportTo; + private Set subordinates; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Date getStartDate() { + return startDate; + } + + public void setStartDate(Date startDate) { + this.startDate = startDate; + } + + public Date getEndDate() { + return endDate; + } + + public void setEndDate(Date endDate) { + this.endDate = endDate; + } + + public String getEmployeeCode() { + return employeeCode; + } + + public void setEmployeeCode(String employeeCode) { + this.employeeCode = employeeCode; + } + + public User getUser() { + return user; + } + + public void setUser(User user) { + this.user = user; + } + + public Grade getGrade() { + return grade; + } + + public void setGrade(Grade grade) { + this.grade = grade; + } + + public Department getDepartment() { + return department; + } + + public void setDepartment(Department department) { + this.department = department; + } + + public String getRole() { + return role; + } + + public void setRole(String role) { + this.role = role; + } + + public Set getSubordinates() { + return subordinates; + } + + public void setSubordinates(Set subordinates) { + this.subordinates = subordinates; + } + + public Set getHods() { + return hods; + } + + public void setHods(Set hods) { + this.hods = hods; + } + + public EmploymentReportTo getEmploymentReportTo() { + return employmentReportTo; + } + + public void setEmploymentReportTo(EmploymentReportTo employmentReportTo) { + this.employmentReportTo = employmentReportTo; + } + + public String getUserId() { + return userId; + } + + public void setUserId(String userId) { + this.userId = userId; + } + + public String getGradeId() { + return gradeId; + } + + public void setGradeId(String gradeId) { + this.gradeId = gradeId; + } + + public String getDepartmentId() { + return departmentId; + } + + public void setDepartmentId(String departmentId) { + this.departmentId = departmentId; + } + + public Organization getOrganization() { + return organization; + } + + public void setOrganization(Organization organization) { + this.organization = organization; + } + + public String getOrganizationId() { + return organizationId; + } + + public void setOrganizationId(String organizationId) { + this.organizationId = organizationId; + } + + public String getAuditTrailId() { + return id; + } +} diff --git a/wflow-directory/src/main/java/org/joget/directory/model/Role.java b/wflow-directory/src/main/java/org/joget/directory/model/Role.java index 903fa4d596..fec5d19f8b 100755 --- a/wflow-directory/src/main/java/org/joget/directory/model/Role.java +++ b/wflow-directory/src/main/java/org/joget/directory/model/Role.java @@ -1,75 +1,75 @@ -package org.joget.directory.model; - -import org.joget.commons.spring.model.Auditable; -import java.io.Serializable; -import java.util.Set; - -public class Role implements Serializable, Auditable { - - private String id; - private String name; - private String description; - //join - private Set users; - - public Set getUsers() { - return users; - } - - public void setUsers(Set users) { - this.users = users; - } - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getAuditTrailId() { - return id; - } - - @Override - public boolean equals(Object other) { - if (this == other) - return true; - if (other == null) - return false; - if (!(other instanceof Role)) - return false; - Role obj = (Role) other; - if (id == null) { - if (obj.id != null) - return false; - } else if (!id.equals(obj.id)) - return false; - return true; - } - - @Override - public int hashCode() { - final int prime = 31; - int result = 1; - result = prime * result + ((id == null) ? 0 : id.hashCode()); - return result; - } -} +package org.joget.directory.model; + +import org.joget.commons.spring.model.Auditable; +import java.io.Serializable; +import java.util.Set; + +public class Role implements Serializable, Auditable { + + private String id; + private String name; + private String description; + //join + private Set users; + + public Set getUsers() { + return users; + } + + public void setUsers(Set users) { + this.users = users; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getAuditTrailId() { + return id; + } + + @Override + public boolean equals(Object other) { + if (this == other) + return true; + if (other == null) + return false; + if (!(other instanceof Role)) + return false; + Role obj = (Role) other; + if (id == null) { + if (obj.id != null) + return false; + } else if (!id.equals(obj.id)) + return false; + return true; + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((id == null) ? 0 : id.hashCode()); + return result; + } +} diff --git a/wflow-directory/src/main/java/org/joget/directory/model/service/DirectoryManagerImpl.java b/wflow-directory/src/main/java/org/joget/directory/model/service/DirectoryManagerImpl.java index 329c545a54..b5c40ff31c 100755 --- a/wflow-directory/src/main/java/org/joget/directory/model/service/DirectoryManagerImpl.java +++ b/wflow-directory/src/main/java/org/joget/directory/model/service/DirectoryManagerImpl.java @@ -1,419 +1,419 @@ -package org.joget.directory.model.service; - -import org.joget.directory.model.Department; -import org.joget.directory.model.Employment; -import org.joget.directory.model.EmploymentReportTo; -import org.joget.directory.model.Grade; -import org.joget.directory.model.Group; -import org.joget.directory.model.Organization; -import org.joget.directory.model.Role; -import org.joget.directory.model.User; -import java.util.ArrayList; -import java.util.Collection; -import java.util.HashSet; -import org.joget.commons.util.StringUtil; -import org.joget.directory.dao.DepartmentDao; -import org.joget.directory.dao.EmploymentDao; -import org.joget.directory.dao.GradeDao; -import org.joget.directory.dao.GroupDao; -import org.joget.directory.dao.OrganizationDao; -import org.joget.directory.dao.RoleDao; -import org.joget.directory.dao.UserDao; - -public class DirectoryManagerImpl implements ExtDirectoryManager { - - private UserDao userDao; - private GroupDao groupDao; - private OrganizationDao organizationDao; - private DepartmentDao departmentDao; - private EmploymentDao employmentDao; - private GradeDao gradeDao; - private RoleDao roleDao; - - public DepartmentDao getDepartmentDao() { - return departmentDao; - } - - public void setDepartmentDao(DepartmentDao departmentDao) { - this.departmentDao = departmentDao; - } - - public EmploymentDao getEmploymentDao() { - return employmentDao; - } - - public void setEmploymentDao(EmploymentDao employmentDao) { - this.employmentDao = employmentDao; - } - - public GradeDao getGradeDao() { - return gradeDao; - } - - public void setGradeDao(GradeDao gradeDao) { - this.gradeDao = gradeDao; - } - - public GroupDao getGroupDao() { - return groupDao; - } - - public void setGroupDao(GroupDao groupDao) { - this.groupDao = groupDao; - } - - public OrganizationDao getOrganizationDao() { - return organizationDao; - } - - public void setOrganizationDao(OrganizationDao organizationDao) { - this.organizationDao = organizationDao; - } - - public RoleDao getRoleDao() { - return roleDao; - } - - public void setRoleDao(RoleDao roleDao) { - this.roleDao = roleDao; - } - - public UserDao getUserDao() { - return userDao; - } - - public void setUserDao(UserDao userDao) { - this.userDao = userDao; - } - - public Collection getGroupsByOrganizationId(String filterString, String organizationId, String sort, Boolean desc, Integer start, Integer rows) { - return getGroupDao().getGroupsByOrganizationId(filterString, organizationId, sort, desc, start, rows); - } - - public Long getTotalGroupsByOrganizationId(String filterString, String organizationId) { - return getGroupDao().getTotalGroupsByOrganizationId(filterString, organizationId); - } - - public Collection getUsersSubordinate(String username, String sort, Boolean desc, Integer start, Integer rows) { - return getUserDao().getUsersSubordinate(username, sort, desc, start, rows); - } - - public Long getTotalUsersSubordinate(String username) { - return getUserDao().getTotalUsersSubordinate(username); - } - - public Long getTotalUserList(String filterString) { - return getUserDao().getTotalUsers(filterString, null, null, null, null, null, null); - } - - public Department getDepartmentByName(String name) { - return getDepartmentDao().getDepartmentByName(name); - } - - public Department getParentDepartment(String id) { - return getDepartmentDao().getParentDepartment(id); - } - - public Department getParentDepartmentByName(String name) { - return getDepartmentDao().getDepartmentByName(name); - } - - public Collection getDepartmentsByParentId(String filterString, String parentId, String sort, Boolean desc, Integer start, Integer rows) { - return getDepartmentDao().getDepartmentsByParentId(filterString, parentId, sort, desc, start, rows); - } - - public Long getTotalDepartmentsByParentId(String filterString, String parentId) { - return getDepartmentDao().getTotalDepartmentsByParentId(filterString, parentId); - } - - public Collection getDepartmentsByOrganizationId(String filterString, String organizationId, String sort, Boolean desc, Integer start, Integer rows) { - return getDepartmentDao().getDepartmentsByOrganizationId(filterString, organizationId, sort, desc, start, rows); - } - - public Long getTotalDepartmentnsByOrganizationId(String filterString, String organizationId) { - return getDepartmentDao().getTotalDepartmentsByOrganizationId(filterString, organizationId); - } - - public Grade getGradeByName(String name) { - return getGradeDao().getGradeByName(name); - } - - public Collection getGradesByOrganizationId(String filterString, String organizationId, String sort, Boolean desc, Integer start, Integer rows) { - return getGradeDao().getGradesByOrganizationId(filterString, organizationId, sort, desc, start, rows); - } - - public Long getTotalGradesByOrganizationId(String filterString, String organizationId) { - return getGradeDao().getTotalGradesByOrganizationId(filterString, organizationId); - } - - public Organization getOrganization(String id) { - return getOrganizationDao().getOrganization(id); - } - - public Organization getOrganizationByName(String name) { - return getOrganizationDao().getOrganizationByName(name); - } - - public Collection getOrganizationsByFilter(String filterString, String sort, Boolean desc, Integer start, Integer rows) { - return getOrganizationDao().getOrganizationsByFilter(filterString, sort, desc, start, rows); - } - - public Long getTotalOrganizationsByFilter(String filterString) { - return getOrganizationDao().getTotalOrganizationsByFilter(filterString); - } - - public Employment getEmployment(String id) { - return getEmploymentDao().getEmployment(id); - } - - public boolean authenticate(String username, String password) { - User user = getUserByUsername(username); - - String userPassword = (user != null) ? user.getPassword() : null; - - // temporary code to check for unencrypted password and encrypt it for comparison - if (userPassword != null && userPassword.length() != 32) { - userPassword = StringUtil.md5Base16(userPassword); - } - - // compare passwords - boolean validLogin = (user != null && userPassword != null && password != null && userPassword.equals(StringUtil.md5Base16(password))); - - if (!validLogin) { - validLogin = (user != null && userPassword != null && user.getLoginHash().equalsIgnoreCase(password)); - } - - // check for active flag - boolean active = (user != null && user.getActive() == User.ACTIVE); - - if (!validLogin || !active) { - return false; - } else { - return true; - } - } - - public Group getGroupById(String groupId) { - return getGroupDao().getGroup(groupId); - } - - public Group getGroupByName(String groupName) { - return getGroupDao().getGroupByName(groupName); - } - - public Collection getGroupByUsername(String username) { - User user = getUserDao().getUser(username); - if (user != null) { - return getGroupDao().getGroupsByUserId("", user.getId(), null, true, "name", false, null, null); - } - return null; - } - - public Collection getGroupList() { - return getGroupDao().getGroupsByOrganizationId(null, null, null, null, null, null); - } - - public Collection getGroupList(String filterString, String sort, Boolean desc, Integer start, Integer rows) { - return getGroupDao().getGroupsByOrganizationId(filterString, null, sort, desc, start, rows); - } - - public Long getTotalGroups() { - return getGroupDao().getTotalGroupsByOrganizationId(null, null); - } - - public Collection getUserByDepartmentId(String departmentId) { - return getUserDao().getUsers(null, null, departmentId, null, null, null, null, "username", false, null, null); - } - - public Collection getUserByGradeId(String gradeId) { - return getUserDao().getUsers(null, null, null, gradeId, null, null, null, "username", false, null, null); - } - - public Collection getUserByGroupId(String groupId) { - return getUserDao().getUsers(null, null, null, null, groupId, null, null, "username", false, null, null); - } - - public Collection getUserByGroupName(String groupName) { - Group group = getGroupDao().getGroupByName(groupName); - if (group != null) { - return getUserDao().getUsers(null, null, null, null, group.getId(), null, null, "username", false, null, null); - } - return null; - } - - public User getUserById(String userId) { - return getUserDao().getUserById(userId); - } - - public User getUserByUsername(String username) { - return getUserDao().getUser(username); - } - - public Collection getUserList() { - return getUserDao().getUsers(null, null, null, null, null, null, null, "username", false, null, null); - } - - public Collection getUserList(String filterString, String sort, Boolean desc, Integer start, Integer rows) { - return getUserDao().getUsers(filterString, null, null, null, null, null, null, sort, desc, start, rows); - } - - public Long getTotalUsers() { - return getUserDao().getTotalUsers(null, null, null, null, null, null, null); - } - - public boolean isUserInGroup(String username, String groupName) { - Group group = getGroupDao().getGroupByName(groupName); - - if (group != null) { - Collection users = getUserDao().getUsers(username, null, null, null, group.getId(), null, null, null, null, null, null); - - if (users != null) { - for (User user : users) { - if (user.getUsername().equals(username)) { - return true; - } - } - } - } - - return false; - } - - public Collection getUserRoles(String username) { - return getRoleDao().getUserRoles(username, null, null, null, null); - } - - public User getDepartmentHod(String departmentId) { - Department department = getDepartmentDao().getDepartment(departmentId); - if (department != null) { - User hod = getDepartmentHod(department); - while (department != null && hod == null) { - // no HOD or user is HOD, so look for HOD of parent department - department = department.getParent(); - if (department != null) { - hod = getDepartmentHod(department); - } - } - return hod; - } - return null; - } - - protected User getDepartmentHod(Department department) { - if (department != null && department.getHod() != null) { - return employmentDao.getEmployment(department.getHod().getId()).getUser(); - } - return null; - } - - public Collection getUserHod(String username) { - Collection userList = new ArrayList(); - - User user = getUserByUsername(username); - if (user != null && user.getEmployments() != null) { - Collection employments = user.getEmployments(); - - if (employments != null && !employments.isEmpty()) { - //find reportTo - for (Employment e : employments) { - if (e.getEmploymentReportTo() != null) { - userList.add(e.getEmploymentReportTo().getReportTo().getUser()); - } - } - - if (userList.isEmpty()) { - for (Employment e : employments) { - Department dept = e.getDepartment(); - if (dept != null) { - User hod = getDepartmentHod(dept.getId()); - if (hod != null) { - userList.add(hod); - } - } - } - } - } - } - - return userList; - } - - public Collection getUserSubordinate(String username) { - return getUserDao().getUsersSubordinate(username, null, null, null, null); - } - - public Collection getUserDepartmentUser(String username) { - User user = getUserDao().getUser(username); - if (user != null && user.getEmployments() != null && !user.getEmployments().isEmpty()) { - Collection employments = user.getEmployments(); - Collection users = new HashSet(); - for (Employment e : employments) { - if (e.getDepartment() != null) { - users.addAll(getUserDao().getUsers(null, null, e.getDepartment().getId(), null, null, null, null, "username", false, null, null)); - } - } - return users; - } - return null; - } - - public Collection getDepartmentUserByGradeId(String departmentId, String gradeId) { - return getUserDao().getUsers("", null, departmentId, gradeId, null, null, null, "username", false, null, null); - } - - public Department getDepartmentById(String departmentId) { - return getDepartmentDao().getDepartment(departmentId); - } - - public Collection getDepartmentList() { - return getDepartmentDao().getDepartmentsByOrganizationId(null, null, null, null, null, null); - } - - public Collection getDepartmentList(String sort, Boolean desc, Integer start, Integer rows) { - return getDepartmentDao().getDepartmentsByOrganizationId(null, null, sort, desc, start, rows); - } - - public Collection getDepartmentListByOrganization(String organizationId, String sort, Boolean desc, Integer start, Integer rows) { - return getDepartmentDao().getDepartmentsByOrganizationId(null, organizationId, sort, desc, start, rows); - } - - public Long getTotalDepartments(String organizationId) { - return getDepartmentDao().getTotalDepartmentsByOrganizationId(null, organizationId); - } - - public Grade getGradeById(String gradeId) { - return getGradeDao().getGrade(gradeId); - } - - public Collection getGradeList() { - return getGradeDao().getGradesByOrganizationId(null, null, null, null, null, null); - } - - public Collection getUsers(String filterString, String organizationId, String departmentId, String gardeId, String groupId, String roleId, String active, String sort, Boolean desc, Integer start, Integer rows) { - return getUserDao().getUsers(filterString, organizationId, departmentId, gardeId, groupId, roleId, active, sort, desc, start, rows); - } - - public Long getTotalUsers(String filterString, String organizationId, String departmentId, String gardeId, String groupId, String roleId, String active) { - return getUserDao().getTotalUsers(filterString, organizationId, departmentId, gardeId, groupId, roleId, active); - } - - public Collection getUserByOrganizationId(String organizationId) { - return getUserDao().getUsers(null, organizationId, null, null, null, null, null, "username", false, null, null); - } - - public Collection getEmployments(String filterString, String organizationId, String departmentId, String gradeId, String sort, Boolean desc, Integer start, Integer rows) { - return getEmploymentDao().getEmployments(filterString, organizationId, departmentId, gradeId, sort, desc, start, rows); - } - - public Long getTotalEmployments(String filterString, String organizationId, String departmentId, String gradeId) { - return getEmploymentDao().getTotalEmployments(filterString, organizationId, departmentId, gradeId); - } - - public Collection getGroupsByUserId(String filterString, String userId, String organizationId, Boolean inGroup, String sort, Boolean desc, Integer start, Integer rows) { - return getGroupDao().getGroupsByUserId(filterString, userId, organizationId, inGroup, sort, desc, start, rows); - } - - public Long getTotalGroupsByUserId(String filterString, String userId, String organizationId, Boolean inGroup) { - return getGroupDao().getTotalGroupsByUserId(filterString, userId, organizationId, inGroup); - } -} +package org.joget.directory.model.service; + +import org.joget.directory.model.Department; +import org.joget.directory.model.Employment; +import org.joget.directory.model.EmploymentReportTo; +import org.joget.directory.model.Grade; +import org.joget.directory.model.Group; +import org.joget.directory.model.Organization; +import org.joget.directory.model.Role; +import org.joget.directory.model.User; +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashSet; +import org.joget.commons.util.StringUtil; +import org.joget.directory.dao.DepartmentDao; +import org.joget.directory.dao.EmploymentDao; +import org.joget.directory.dao.GradeDao; +import org.joget.directory.dao.GroupDao; +import org.joget.directory.dao.OrganizationDao; +import org.joget.directory.dao.RoleDao; +import org.joget.directory.dao.UserDao; + +public class DirectoryManagerImpl implements ExtDirectoryManager { + + private UserDao userDao; + private GroupDao groupDao; + private OrganizationDao organizationDao; + private DepartmentDao departmentDao; + private EmploymentDao employmentDao; + private GradeDao gradeDao; + private RoleDao roleDao; + + public DepartmentDao getDepartmentDao() { + return departmentDao; + } + + public void setDepartmentDao(DepartmentDao departmentDao) { + this.departmentDao = departmentDao; + } + + public EmploymentDao getEmploymentDao() { + return employmentDao; + } + + public void setEmploymentDao(EmploymentDao employmentDao) { + this.employmentDao = employmentDao; + } + + public GradeDao getGradeDao() { + return gradeDao; + } + + public void setGradeDao(GradeDao gradeDao) { + this.gradeDao = gradeDao; + } + + public GroupDao getGroupDao() { + return groupDao; + } + + public void setGroupDao(GroupDao groupDao) { + this.groupDao = groupDao; + } + + public OrganizationDao getOrganizationDao() { + return organizationDao; + } + + public void setOrganizationDao(OrganizationDao organizationDao) { + this.organizationDao = organizationDao; + } + + public RoleDao getRoleDao() { + return roleDao; + } + + public void setRoleDao(RoleDao roleDao) { + this.roleDao = roleDao; + } + + public UserDao getUserDao() { + return userDao; + } + + public void setUserDao(UserDao userDao) { + this.userDao = userDao; + } + + public Collection getGroupsByOrganizationId(String filterString, String organizationId, String sort, Boolean desc, Integer start, Integer rows) { + return getGroupDao().getGroupsByOrganizationId(filterString, organizationId, sort, desc, start, rows); + } + + public Long getTotalGroupsByOrganizationId(String filterString, String organizationId) { + return getGroupDao().getTotalGroupsByOrganizationId(filterString, organizationId); + } + + public Collection getUsersSubordinate(String username, String sort, Boolean desc, Integer start, Integer rows) { + return getUserDao().getUsersSubordinate(username, sort, desc, start, rows); + } + + public Long getTotalUsersSubordinate(String username) { + return getUserDao().getTotalUsersSubordinate(username); + } + + public Long getTotalUserList(String filterString) { + return getUserDao().getTotalUsers(filterString, null, null, null, null, null, null); + } + + public Department getDepartmentByName(String name) { + return getDepartmentDao().getDepartmentByName(name); + } + + public Department getParentDepartment(String id) { + return getDepartmentDao().getParentDepartment(id); + } + + public Department getParentDepartmentByName(String name) { + return getDepartmentDao().getDepartmentByName(name); + } + + public Collection getDepartmentsByParentId(String filterString, String parentId, String sort, Boolean desc, Integer start, Integer rows) { + return getDepartmentDao().getDepartmentsByParentId(filterString, parentId, sort, desc, start, rows); + } + + public Long getTotalDepartmentsByParentId(String filterString, String parentId) { + return getDepartmentDao().getTotalDepartmentsByParentId(filterString, parentId); + } + + public Collection getDepartmentsByOrganizationId(String filterString, String organizationId, String sort, Boolean desc, Integer start, Integer rows) { + return getDepartmentDao().getDepartmentsByOrganizationId(filterString, organizationId, sort, desc, start, rows); + } + + public Long getTotalDepartmentnsByOrganizationId(String filterString, String organizationId) { + return getDepartmentDao().getTotalDepartmentsByOrganizationId(filterString, organizationId); + } + + public Grade getGradeByName(String name) { + return getGradeDao().getGradeByName(name); + } + + public Collection getGradesByOrganizationId(String filterString, String organizationId, String sort, Boolean desc, Integer start, Integer rows) { + return getGradeDao().getGradesByOrganizationId(filterString, organizationId, sort, desc, start, rows); + } + + public Long getTotalGradesByOrganizationId(String filterString, String organizationId) { + return getGradeDao().getTotalGradesByOrganizationId(filterString, organizationId); + } + + public Organization getOrganization(String id) { + return getOrganizationDao().getOrganization(id); + } + + public Organization getOrganizationByName(String name) { + return getOrganizationDao().getOrganizationByName(name); + } + + public Collection getOrganizationsByFilter(String filterString, String sort, Boolean desc, Integer start, Integer rows) { + return getOrganizationDao().getOrganizationsByFilter(filterString, sort, desc, start, rows); + } + + public Long getTotalOrganizationsByFilter(String filterString) { + return getOrganizationDao().getTotalOrganizationsByFilter(filterString); + } + + public Employment getEmployment(String id) { + return getEmploymentDao().getEmployment(id); + } + + public boolean authenticate(String username, String password) { + User user = getUserByUsername(username); + + String userPassword = (user != null) ? user.getPassword() : null; + + // temporary code to check for unencrypted password and encrypt it for comparison + if (userPassword != null && userPassword.length() != 32) { + userPassword = StringUtil.md5Base16(userPassword); + } + + // compare passwords + boolean validLogin = (user != null && userPassword != null && password != null && userPassword.equals(StringUtil.md5Base16(password))); + + if (!validLogin) { + validLogin = (user != null && userPassword != null && user.getLoginHash().equalsIgnoreCase(password)); + } + + // check for active flag + boolean active = (user != null && user.getActive() == User.ACTIVE); + + if (!validLogin || !active) { + return false; + } else { + return true; + } + } + + public Group getGroupById(String groupId) { + return getGroupDao().getGroup(groupId); + } + + public Group getGroupByName(String groupName) { + return getGroupDao().getGroupByName(groupName); + } + + public Collection getGroupByUsername(String username) { + User user = getUserDao().getUser(username); + if (user != null) { + return getGroupDao().getGroupsByUserId("", user.getId(), null, true, "name", false, null, null); + } + return null; + } + + public Collection getGroupList() { + return getGroupDao().getGroupsByOrganizationId(null, null, null, null, null, null); + } + + public Collection getGroupList(String filterString, String sort, Boolean desc, Integer start, Integer rows) { + return getGroupDao().getGroupsByOrganizationId(filterString, null, sort, desc, start, rows); + } + + public Long getTotalGroups() { + return getGroupDao().getTotalGroupsByOrganizationId(null, null); + } + + public Collection getUserByDepartmentId(String departmentId) { + return getUserDao().getUsers(null, null, departmentId, null, null, null, null, "username", false, null, null); + } + + public Collection getUserByGradeId(String gradeId) { + return getUserDao().getUsers(null, null, null, gradeId, null, null, null, "username", false, null, null); + } + + public Collection getUserByGroupId(String groupId) { + return getUserDao().getUsers(null, null, null, null, groupId, null, null, "username", false, null, null); + } + + public Collection getUserByGroupName(String groupName) { + Group group = getGroupDao().getGroupByName(groupName); + if (group != null) { + return getUserDao().getUsers(null, null, null, null, group.getId(), null, null, "username", false, null, null); + } + return null; + } + + public User getUserById(String userId) { + return getUserDao().getUserById(userId); + } + + public User getUserByUsername(String username) { + return getUserDao().getUser(username); + } + + public Collection getUserList() { + return getUserDao().getUsers(null, null, null, null, null, null, null, "username", false, null, null); + } + + public Collection getUserList(String filterString, String sort, Boolean desc, Integer start, Integer rows) { + return getUserDao().getUsers(filterString, null, null, null, null, null, null, sort, desc, start, rows); + } + + public Long getTotalUsers() { + return getUserDao().getTotalUsers(null, null, null, null, null, null, null); + } + + public boolean isUserInGroup(String username, String groupName) { + Group group = getGroupDao().getGroupByName(groupName); + + if (group != null) { + Collection users = getUserDao().getUsers(username, null, null, null, group.getId(), null, null, null, null, null, null); + + if (users != null) { + for (User user : users) { + if (user.getUsername().equals(username)) { + return true; + } + } + } + } + + return false; + } + + public Collection getUserRoles(String username) { + return getRoleDao().getUserRoles(username, null, null, null, null); + } + + public User getDepartmentHod(String departmentId) { + Department department = getDepartmentDao().getDepartment(departmentId); + if (department != null) { + User hod = getDepartmentHod(department); + while (department != null && hod == null) { + // no HOD or user is HOD, so look for HOD of parent department + department = department.getParent(); + if (department != null) { + hod = getDepartmentHod(department); + } + } + return hod; + } + return null; + } + + protected User getDepartmentHod(Department department) { + if (department != null && department.getHod() != null) { + return employmentDao.getEmployment(department.getHod().getId()).getUser(); + } + return null; + } + + public Collection getUserHod(String username) { + Collection userList = new ArrayList(); + + User user = getUserByUsername(username); + if (user != null && user.getEmployments() != null) { + Collection employments = user.getEmployments(); + + if (employments != null && !employments.isEmpty()) { + //find reportTo + for (Employment e : employments) { + if (e.getEmploymentReportTo() != null) { + userList.add(e.getEmploymentReportTo().getReportTo().getUser()); + } + } + + if (userList.isEmpty()) { + for (Employment e : employments) { + Department dept = e.getDepartment(); + if (dept != null) { + User hod = getDepartmentHod(dept.getId()); + if (hod != null) { + userList.add(hod); + } + } + } + } + } + } + + return userList; + } + + public Collection getUserSubordinate(String username) { + return getUserDao().getUsersSubordinate(username, null, null, null, null); + } + + public Collection getUserDepartmentUser(String username) { + User user = getUserDao().getUser(username); + if (user != null && user.getEmployments() != null && !user.getEmployments().isEmpty()) { + Collection employments = user.getEmployments(); + Collection users = new HashSet(); + for (Employment e : employments) { + if (e.getDepartment() != null) { + users.addAll(getUserDao().getUsers(null, null, e.getDepartment().getId(), null, null, null, null, "username", false, null, null)); + } + } + return users; + } + return null; + } + + public Collection getDepartmentUserByGradeId(String departmentId, String gradeId) { + return getUserDao().getUsers("", null, departmentId, gradeId, null, null, null, "username", false, null, null); + } + + public Department getDepartmentById(String departmentId) { + return getDepartmentDao().getDepartment(departmentId); + } + + public Collection getDepartmentList() { + return getDepartmentDao().getDepartmentsByOrganizationId(null, null, null, null, null, null); + } + + public Collection getDepartmentList(String sort, Boolean desc, Integer start, Integer rows) { + return getDepartmentDao().getDepartmentsByOrganizationId(null, null, sort, desc, start, rows); + } + + public Collection getDepartmentListByOrganization(String organizationId, String sort, Boolean desc, Integer start, Integer rows) { + return getDepartmentDao().getDepartmentsByOrganizationId(null, organizationId, sort, desc, start, rows); + } + + public Long getTotalDepartments(String organizationId) { + return getDepartmentDao().getTotalDepartmentsByOrganizationId(null, organizationId); + } + + public Grade getGradeById(String gradeId) { + return getGradeDao().getGrade(gradeId); + } + + public Collection getGradeList() { + return getGradeDao().getGradesByOrganizationId(null, null, null, null, null, null); + } + + public Collection getUsers(String filterString, String organizationId, String departmentId, String gardeId, String groupId, String roleId, String active, String sort, Boolean desc, Integer start, Integer rows) { + return getUserDao().getUsers(filterString, organizationId, departmentId, gardeId, groupId, roleId, active, sort, desc, start, rows); + } + + public Long getTotalUsers(String filterString, String organizationId, String departmentId, String gardeId, String groupId, String roleId, String active) { + return getUserDao().getTotalUsers(filterString, organizationId, departmentId, gardeId, groupId, roleId, active); + } + + public Collection getUserByOrganizationId(String organizationId) { + return getUserDao().getUsers(null, organizationId, null, null, null, null, null, "username", false, null, null); + } + + public Collection getEmployments(String filterString, String organizationId, String departmentId, String gradeId, String sort, Boolean desc, Integer start, Integer rows) { + return getEmploymentDao().getEmployments(filterString, organizationId, departmentId, gradeId, sort, desc, start, rows); + } + + public Long getTotalEmployments(String filterString, String organizationId, String departmentId, String gradeId) { + return getEmploymentDao().getTotalEmployments(filterString, organizationId, departmentId, gradeId); + } + + public Collection getGroupsByUserId(String filterString, String userId, String organizationId, Boolean inGroup, String sort, Boolean desc, Integer start, Integer rows) { + return getGroupDao().getGroupsByUserId(filterString, userId, organizationId, inGroup, sort, desc, start, rows); + } + + public Long getTotalGroupsByUserId(String filterString, String userId, String organizationId, Boolean inGroup) { + return getGroupDao().getTotalGroupsByUserId(filterString, userId, organizationId, inGroup); + } +} diff --git a/wflow-directory/src/main/resources/directoryApplicationContext.xml b/wflow-directory/src/main/resources/directoryApplicationContext.xml index 222929a8cf..0a6416f144 100755 --- a/wflow-directory/src/main/resources/directoryApplicationContext.xml +++ b/wflow-directory/src/main/resources/directoryApplicationContext.xml @@ -1,116 +1,116 @@ - - - - - - - - - - - org/joget/directory/model/Department.hbm.xml - org/joget/directory/model/Employment.hbm.xml - org/joget/directory/model/EmploymentReportTo.hbm.xml - org/joget/directory/model/Grade.hbm.xml - org/joget/directory/model/Group.hbm.xml - org/joget/directory/model/Organization.hbm.xml - org/joget/directory/model/Role.hbm.xml - org/joget/directory/model/User.hbm.xml - org/joget/directory/model/UserMetaData.hbm.xml - - - - - update - false - false - org.hibernate.service.jta.platform.internal.BitronixJtaPlatform - after_transaction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + org/joget/directory/model/Department.hbm.xml + org/joget/directory/model/Employment.hbm.xml + org/joget/directory/model/EmploymentReportTo.hbm.xml + org/joget/directory/model/Grade.hbm.xml + org/joget/directory/model/Group.hbm.xml + org/joget/directory/model/Organization.hbm.xml + org/joget/directory/model/Role.hbm.xml + org/joget/directory/model/User.hbm.xml + org/joget/directory/model/UserMetaData.hbm.xml + + + + + update + false + false + org.kecak.commons.util.AtomikosJtaPlatform + after_transaction + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wflow-directory/src/main/resources/jdbc.properties b/wflow-directory/src/main/resources/jdbc.properties index 16685d872e..45e549a709 100755 --- a/wflow-directory/src/main/resources/jdbc.properties +++ b/wflow-directory/src/main/resources/jdbc.properties @@ -1,6 +1,6 @@ -#jdbc.driverClassName=com.mysql.jdbc.Driver -#jdbc.url=jdbc:mysql://localhost/directorydb -#jdbc.username=root -#jdbc.password= - -#hibernate.dialect=org.hibernate.dialect.MySQLDialect +#jdbc.driverClassName=com.mysql.jdbc.Driver +#jdbc.url=jdbc:mysql://localhost/directorydb +#jdbc.username=root +#jdbc.password= + +#hibernate.dialect=org.hibernate.dialect.MySQLDialect diff --git a/wflow-directory/src/test/java/org/joget/directory/model/service/TestDirectoryManager.java b/wflow-directory/src/test/java/org/joget/directory/model/service/TestDirectoryManager.java index 27f54d5034..c24f7189d0 100755 --- a/wflow-directory/src/test/java/org/joget/directory/model/service/TestDirectoryManager.java +++ b/wflow-directory/src/test/java/org/joget/directory/model/service/TestDirectoryManager.java @@ -1,265 +1,265 @@ -package org.joget.directory.model.service; - -import org.joget.directory.model.Group; -import org.joget.directory.model.Department; -import org.joget.directory.model.User; -import org.joget.directory.model.Organization; -import java.util.Collection; -import org.joget.commons.util.LogUtil; - -import org.junit.After; -import org.junit.Before; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.test.context.ContextConfiguration; -import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -import org.springframework.util.Assert; - -import org.joget.directory.dao.DepartmentDao; -import org.joget.directory.dao.EmploymentDao; -import org.joget.directory.dao.GroupDao; -import org.joget.directory.dao.OrganizationDao; -import org.joget.directory.dao.UserDao; -import org.joget.directory.model.Employment; -import org.springframework.beans.factory.annotation.Qualifier; -import org.springframework.test.annotation.Rollback; - -@RunWith(SpringJUnit4ClassRunner.class) -@ContextConfiguration(locations = {"classpath:directoryApplicationContext.xml"}) -public class TestDirectoryManager { - - public static final String TEST_ORGANIZATION = "TEST_ORGANIZATION"; - public static final String TEST_DEPARTMENT_PARENT = "TEST_DEPARTMENT_PARENT"; - public static final String TEST_DEPARTMENT_CHILD = "TEST_DEPARTMENT_CHILD"; - public static final String TEST_GROUP = "TEST_GROUP"; - public static final String TEST_USER = "TEST_USER"; - public static final String TEST_DEPARTMENT_PARENT_HOD = "TEST_DEPARTMENT_PARENT_HOD"; - public static final String TEST_DEPARTMENT_CHILD_HOD = "TEST_DEPARTMENT_CHILD_HOD"; - public static final String TEST_USER_HOD = "TEST_USER_HOD"; - - @Autowired - @Qualifier("default") - private DirectoryManager directoryManager; - - @Autowired - private OrganizationDao organizationDao; - - @Autowired - private DepartmentDao departmentDao; - - @Autowired - private EmploymentDao employmentDao; - - @Autowired - private UserDao userDao; - - @Autowired - private GroupDao groupDao; - - @Before - public void setUp() { - addOrganization(TEST_ORGANIZATION); - addDepartment(TEST_DEPARTMENT_PARENT); - addDepartment(TEST_DEPARTMENT_CHILD); - addGroup(TEST_GROUP); - addUser(TEST_USER); - addUser(TEST_DEPARTMENT_PARENT_HOD); - addUser(TEST_DEPARTMENT_CHILD_HOD); - addUser(TEST_USER_HOD); - } - - @After - public void tearDown() { - deleteDepartment(TEST_DEPARTMENT_CHILD); - deleteDepartment(TEST_DEPARTMENT_PARENT); - deleteOrganization(TEST_ORGANIZATION); - deleteGroup(TEST_GROUP); - deleteUser(TEST_USER); - deleteUser(TEST_DEPARTMENT_PARENT_HOD); - deleteUser(TEST_DEPARTMENT_CHILD_HOD); - deleteUser(TEST_USER_HOD); - } - - @Test - @Rollback(true) - public void testUsersAndGroups() { - - // assign user to group - LogUtil.info(getClass().getName(), "testUsersAndGroups: assign user to group"); - userDao.assignUserToGroup(TEST_USER, TEST_GROUP); - - // verify user - LogUtil.info(getClass().getName(), "testUsersAndGroups: verify user"); - User user = directoryManager.getUserByUsername(TEST_USER); - Assert.isTrue(TEST_USER.equals(user.getFirstName())); - - // verify group - LogUtil.info(getClass().getName(), "testUsersAndGroups: verify group"); - Group group = null; - Collection groupList = directoryManager.getGroupByUsername(TEST_USER); - if (!groupList.isEmpty()) { - group = groupList.iterator().next(); - } - Assert.isTrue(group != null && TEST_GROUP.equals(group.getId())); - - // unassign user from group - LogUtil.info(getClass().getName(), "testUsersAndGroups: unassign user from group"); - userDao.unassignUserFromGroup(TEST_USER, TEST_GROUP); - groupList = directoryManager.getGroupByUsername(TEST_USER); - Assert.isTrue(groupList == null || groupList.isEmpty()); - - // reassign user to group - LogUtil.info(getClass().getName(), "testUsersAndGroups: reassign user to group"); - userDao.assignUserToGroup(TEST_USER, TEST_GROUP); - } - - @Test - @Rollback(true) - public void testOrganizationChart() { - - // assign parent department to organization - LogUtil.info(getClass().getName(), "testOrganizationChart: assign parent department to organization"); - Department dept = directoryManager.getDepartmentById(TEST_DEPARTMENT_PARENT); - Organization organization = organizationDao.getOrganization(TEST_ORGANIZATION); - dept.setOrganization(organization); - departmentDao.updateDepartment(dept); - Department loadedDept = directoryManager.getDepartmentById(dept.getId()); - Assert.isTrue(loadedDept.getOrganization().getId().equals(organization.getId())); - - // assign sub-department to parent and organization - LogUtil.info(getClass().getName(), "testOrganizationChart: assign sub-department to parent and organization"); - Department child = directoryManager.getDepartmentById(TEST_DEPARTMENT_CHILD); - child.setOrganization(organization); - child.setParent(loadedDept); - departmentDao.updateDepartment(child); - Collection subDepartments = departmentDao.getDepartmentsByParentId(null, TEST_DEPARTMENT_PARENT, null, null, null, null); - Assert.isTrue(((Department) subDepartments.iterator().next()).getId().equals(child.getId())); - - // assign dept HOD - LogUtil.info(getClass().getName(), "testOrganizationChart: assign dept HOD"); - addEmployment(TEST_DEPARTMENT_PARENT_HOD, TEST_DEPARTMENT_PARENT, TEST_ORGANIZATION); - employmentDao.assignUserAsDepartmentHOD(TEST_DEPARTMENT_PARENT_HOD, TEST_DEPARTMENT_PARENT); - addEmployment(TEST_DEPARTMENT_CHILD_HOD, TEST_DEPARTMENT_CHILD, TEST_ORGANIZATION); - employmentDao.assignUserAsDepartmentHOD(TEST_DEPARTMENT_CHILD_HOD, TEST_DEPARTMENT_CHILD); - - // assign user to dept - LogUtil.info(getClass().getName(), "testOrganizationChart: assign user to dept"); - addEmployment(TEST_USER, TEST_DEPARTMENT_CHILD, TEST_ORGANIZATION); - Collection userHodList = directoryManager.getUserHod(TEST_USER); - String usernameHod = null; - if (userHodList != null && !userHodList.isEmpty()) { - User userHod = userHodList.iterator().next(); - usernameHod = userHod.getUsername(); - } - Assert.isTrue(TEST_DEPARTMENT_CHILD_HOD.equals(usernameHod)); - - // unassign dept HOD - LogUtil.info(getClass().getName(), "testOrganizationChart: unassign dept HOD"); - employmentDao.unassignUserAsDepartmentHOD(TEST_DEPARTMENT_CHILD_HOD, TEST_DEPARTMENT_CHILD); - userHodList = directoryManager.getUserHod(TEST_USER); - usernameHod = null; - if (userHodList != null && !userHodList.isEmpty()) { - User userHod = userHodList.iterator().next(); - usernameHod = userHod.getUsername(); - } - Assert.isTrue(TEST_DEPARTMENT_PARENT_HOD.equals(usernameHod)); - - - // set user direct report to HOD - LogUtil.info(getClass().getName(), "testOrganizationChart: set user direct report to HOD"); - addEmployment(TEST_USER_HOD, TEST_DEPARTMENT_CHILD, TEST_ORGANIZATION); - employmentDao.assignUserReportTo(TEST_USER, TEST_USER_HOD); - userHodList = directoryManager.getUserHod(TEST_USER); - User userHod = userHodList.iterator().next(); - Assert.isTrue(TEST_USER_HOD.equals(userHod.getUsername())); - } - - @Test - @Rollback(true) - public void testDeletion() { - // delete user - LogUtil.info(getClass().getName(), "testDeletion: delete user"); - userDao.deleteUser(TEST_DEPARTMENT_CHILD_HOD); - User testUser = directoryManager.getUserByUsername(TEST_DEPARTMENT_CHILD_HOD); - Assert.isTrue(testUser == null); - - // delete department - LogUtil.info(getClass().getName(), "testDeletion: delete department"); - departmentDao.deleteDepartment(TEST_DEPARTMENT_CHILD); - Department testDept = directoryManager.getDepartmentById(TEST_DEPARTMENT_CHILD); - Assert.isTrue(testDept == null); - - // delete organization - LogUtil.info(getClass().getName(), "testDeletion: delete organization"); - organizationDao.deleteOrganization(TEST_ORGANIZATION); - Organization testOrg = organizationDao.getOrganization(TEST_ORGANIZATION); - Assert.isTrue(testOrg == null); - } - - protected void addOrganization(String id) { - LogUtil.info(getClass().getName(), "addOrganization"); - Organization organization = new Organization(); - organization.setId(id); - organization.setName(id); - organization.setDescription(id); - organizationDao.addOrganization(organization); - } - - protected void addDepartment(String id) { - LogUtil.info(getClass().getName(), "addDepartment"); - Department department = new Department(); - department.setId(id); - department.setName(id); - department.setDescription(id); - departmentDao.addDepartment(department); - } - - protected void addGroup(String id) { - LogUtil.info(getClass().getName(), "addGroup"); - Group group = new Group(); - group.setId(id); - group.setName(id); - group.setDescription(id); - groupDao.addGroup(group); - } - - protected void addUser(String username) { - LogUtil.info(getClass().getName(), "addUser"); - User user = new User(); - user.setId(username); - user.setUsername(username); - user.setFirstName(username); - userDao.addUser(user); - } - - protected void addEmployment(String username, String departmentId, String organizationId) { - LogUtil.info(getClass().getName(), "addEmployment"); - Employment employment = new Employment(); - employment.setUserId(username); - employment.setEmployeeCode(username); - employment.setDepartmentId(departmentId); - employmentDao.updateEmployment(employment); - } - - protected void deleteOrganization(String id) { - LogUtil.info(getClass().getName(), "deleteOrganization"); - organizationDao.deleteOrganization(id); - } - - protected void deleteDepartment(String id) { - LogUtil.info(getClass().getName(), "deleteDepartment"); - departmentDao.deleteDepartment(id); - } - - protected void deleteGroup(String id) { - LogUtil.info(getClass().getName(), "deleteGroup"); - groupDao.deleteGroup(id); - } - - protected void deleteUser(String username) { - LogUtil.info(getClass().getName(), "deleteUser"); - userDao.deleteUser(username); - } - -} +package org.joget.directory.model.service; + +import org.joget.directory.model.Group; +import org.joget.directory.model.Department; +import org.joget.directory.model.User; +import org.joget.directory.model.Organization; +import java.util.Collection; +import org.joget.commons.util.LogUtil; + +import org.junit.After; +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.test.context.ContextConfiguration; +import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.util.Assert; + +import org.joget.directory.dao.DepartmentDao; +import org.joget.directory.dao.EmploymentDao; +import org.joget.directory.dao.GroupDao; +import org.joget.directory.dao.OrganizationDao; +import org.joget.directory.dao.UserDao; +import org.joget.directory.model.Employment; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.test.annotation.Rollback; + +@RunWith(SpringJUnit4ClassRunner.class) +@ContextConfiguration(locations = {"classpath:directoryApplicationContext.xml"}) +public class TestDirectoryManager { + + public static final String TEST_ORGANIZATION = "TEST_ORGANIZATION"; + public static final String TEST_DEPARTMENT_PARENT = "TEST_DEPARTMENT_PARENT"; + public static final String TEST_DEPARTMENT_CHILD = "TEST_DEPARTMENT_CHILD"; + public static final String TEST_GROUP = "TEST_GROUP"; + public static final String TEST_USER = "TEST_USER"; + public static final String TEST_DEPARTMENT_PARENT_HOD = "TEST_DEPARTMENT_PARENT_HOD"; + public static final String TEST_DEPARTMENT_CHILD_HOD = "TEST_DEPARTMENT_CHILD_HOD"; + public static final String TEST_USER_HOD = "TEST_USER_HOD"; + + @Autowired + @Qualifier("default") + private DirectoryManager directoryManager; + + @Autowired + private OrganizationDao organizationDao; + + @Autowired + private DepartmentDao departmentDao; + + @Autowired + private EmploymentDao employmentDao; + + @Autowired + private UserDao userDao; + + @Autowired + private GroupDao groupDao; + + @Before + public void setUp() { + addOrganization(TEST_ORGANIZATION); + addDepartment(TEST_DEPARTMENT_PARENT); + addDepartment(TEST_DEPARTMENT_CHILD); + addGroup(TEST_GROUP); + addUser(TEST_USER); + addUser(TEST_DEPARTMENT_PARENT_HOD); + addUser(TEST_DEPARTMENT_CHILD_HOD); + addUser(TEST_USER_HOD); + } + + @After + public void tearDown() { + deleteDepartment(TEST_DEPARTMENT_CHILD); + deleteDepartment(TEST_DEPARTMENT_PARENT); + deleteOrganization(TEST_ORGANIZATION); + deleteGroup(TEST_GROUP); + deleteUser(TEST_USER); + deleteUser(TEST_DEPARTMENT_PARENT_HOD); + deleteUser(TEST_DEPARTMENT_CHILD_HOD); + deleteUser(TEST_USER_HOD); + } + + @Test + @Rollback(true) + public void testUsersAndGroups() { + + // assign user to group + LogUtil.info(getClass().getName(), "testUsersAndGroups: assign user to group"); + userDao.assignUserToGroup(TEST_USER, TEST_GROUP); + + // verify user + LogUtil.info(getClass().getName(), "testUsersAndGroups: verify user"); + User user = directoryManager.getUserByUsername(TEST_USER); + Assert.isTrue(TEST_USER.equals(user.getFirstName())); + + // verify group + LogUtil.info(getClass().getName(), "testUsersAndGroups: verify group"); + Group group = null; + Collection groupList = directoryManager.getGroupByUsername(TEST_USER); + if (!groupList.isEmpty()) { + group = groupList.iterator().next(); + } + Assert.isTrue(group != null && TEST_GROUP.equals(group.getId())); + + // unassign user from group + LogUtil.info(getClass().getName(), "testUsersAndGroups: unassign user from group"); + userDao.unassignUserFromGroup(TEST_USER, TEST_GROUP); + groupList = directoryManager.getGroupByUsername(TEST_USER); + Assert.isTrue(groupList == null || groupList.isEmpty()); + + // reassign user to group + LogUtil.info(getClass().getName(), "testUsersAndGroups: reassign user to group"); + userDao.assignUserToGroup(TEST_USER, TEST_GROUP); + } + + @Test + @Rollback(true) + public void testOrganizationChart() { + + // assign parent department to organization + LogUtil.info(getClass().getName(), "testOrganizationChart: assign parent department to organization"); + Department dept = directoryManager.getDepartmentById(TEST_DEPARTMENT_PARENT); + Organization organization = organizationDao.getOrganization(TEST_ORGANIZATION); + dept.setOrganization(organization); + departmentDao.updateDepartment(dept); + Department loadedDept = directoryManager.getDepartmentById(dept.getId()); + Assert.isTrue(loadedDept.getOrganization().getId().equals(organization.getId())); + + // assign sub-department to parent and organization + LogUtil.info(getClass().getName(), "testOrganizationChart: assign sub-department to parent and organization"); + Department child = directoryManager.getDepartmentById(TEST_DEPARTMENT_CHILD); + child.setOrganization(organization); + child.setParent(loadedDept); + departmentDao.updateDepartment(child); + Collection subDepartments = departmentDao.getDepartmentsByParentId(null, TEST_DEPARTMENT_PARENT, null, null, null, null); + Assert.isTrue(((Department) subDepartments.iterator().next()).getId().equals(child.getId())); + + // assign dept HOD + LogUtil.info(getClass().getName(), "testOrganizationChart: assign dept HOD"); + addEmployment(TEST_DEPARTMENT_PARENT_HOD, TEST_DEPARTMENT_PARENT, TEST_ORGANIZATION); + employmentDao.assignUserAsDepartmentHOD(TEST_DEPARTMENT_PARENT_HOD, TEST_DEPARTMENT_PARENT); + addEmployment(TEST_DEPARTMENT_CHILD_HOD, TEST_DEPARTMENT_CHILD, TEST_ORGANIZATION); + employmentDao.assignUserAsDepartmentHOD(TEST_DEPARTMENT_CHILD_HOD, TEST_DEPARTMENT_CHILD); + + // assign user to dept + LogUtil.info(getClass().getName(), "testOrganizationChart: assign user to dept"); + addEmployment(TEST_USER, TEST_DEPARTMENT_CHILD, TEST_ORGANIZATION); + Collection userHodList = directoryManager.getUserHod(TEST_USER); + String usernameHod = null; + if (userHodList != null && !userHodList.isEmpty()) { + User userHod = userHodList.iterator().next(); + usernameHod = userHod.getUsername(); + } + Assert.isTrue(TEST_DEPARTMENT_CHILD_HOD.equals(usernameHod)); + + // unassign dept HOD + LogUtil.info(getClass().getName(), "testOrganizationChart: unassign dept HOD"); + employmentDao.unassignUserAsDepartmentHOD(TEST_DEPARTMENT_CHILD_HOD, TEST_DEPARTMENT_CHILD); + userHodList = directoryManager.getUserHod(TEST_USER); + usernameHod = null; + if (userHodList != null && !userHodList.isEmpty()) { + User userHod = userHodList.iterator().next(); + usernameHod = userHod.getUsername(); + } + Assert.isTrue(TEST_DEPARTMENT_PARENT_HOD.equals(usernameHod)); + + + // set user direct report to HOD + LogUtil.info(getClass().getName(), "testOrganizationChart: set user direct report to HOD"); + addEmployment(TEST_USER_HOD, TEST_DEPARTMENT_CHILD, TEST_ORGANIZATION); + employmentDao.assignUserReportTo(TEST_USER, TEST_USER_HOD); + userHodList = directoryManager.getUserHod(TEST_USER); + User userHod = userHodList.iterator().next(); + Assert.isTrue(TEST_USER_HOD.equals(userHod.getUsername())); + } + + @Test + @Rollback(true) + public void testDeletion() { + // delete user + LogUtil.info(getClass().getName(), "testDeletion: delete user"); + userDao.deleteUser(TEST_DEPARTMENT_CHILD_HOD); + User testUser = directoryManager.getUserByUsername(TEST_DEPARTMENT_CHILD_HOD); + Assert.isTrue(testUser == null); + + // delete department + LogUtil.info(getClass().getName(), "testDeletion: delete department"); + departmentDao.deleteDepartment(TEST_DEPARTMENT_CHILD); + Department testDept = directoryManager.getDepartmentById(TEST_DEPARTMENT_CHILD); + Assert.isTrue(testDept == null); + + // delete organization + LogUtil.info(getClass().getName(), "testDeletion: delete organization"); + organizationDao.deleteOrganization(TEST_ORGANIZATION); + Organization testOrg = organizationDao.getOrganization(TEST_ORGANIZATION); + Assert.isTrue(testOrg == null); + } + + protected void addOrganization(String id) { + LogUtil.info(getClass().getName(), "addOrganization"); + Organization organization = new Organization(); + organization.setId(id); + organization.setName(id); + organization.setDescription(id); + organizationDao.addOrganization(organization); + } + + protected void addDepartment(String id) { + LogUtil.info(getClass().getName(), "addDepartment"); + Department department = new Department(); + department.setId(id); + department.setName(id); + department.setDescription(id); + departmentDao.addDepartment(department); + } + + protected void addGroup(String id) { + LogUtil.info(getClass().getName(), "addGroup"); + Group group = new Group(); + group.setId(id); + group.setName(id); + group.setDescription(id); + groupDao.addGroup(group); + } + + protected void addUser(String username) { + LogUtil.info(getClass().getName(), "addUser"); + User user = new User(); + user.setId(username); + user.setUsername(username); + user.setFirstName(username); + userDao.addUser(user); + } + + protected void addEmployment(String username, String departmentId, String organizationId) { + LogUtil.info(getClass().getName(), "addEmployment"); + Employment employment = new Employment(); + employment.setUserId(username); + employment.setEmployeeCode(username); + employment.setDepartmentId(departmentId); + employmentDao.updateEmployment(employment); + } + + protected void deleteOrganization(String id) { + LogUtil.info(getClass().getName(), "deleteOrganization"); + organizationDao.deleteOrganization(id); + } + + protected void deleteDepartment(String id) { + LogUtil.info(getClass().getName(), "deleteDepartment"); + departmentDao.deleteDepartment(id); + } + + protected void deleteGroup(String id) { + LogUtil.info(getClass().getName(), "deleteGroup"); + groupDao.deleteGroup(id); + } + + protected void deleteUser(String username) { + LogUtil.info(getClass().getName(), "deleteUser"); + userDao.deleteUser(username); + } + +} diff --git a/wflow-install/pom.xml b/wflow-install/pom.xml index f165136bba..ae3c63ad4e 100755 --- a/wflow-install/pom.xml +++ b/wflow-install/pom.xml @@ -102,10 +102,10 @@ - - - - + + + + diff --git a/wflow-install/src/main/resources/CHANGES.txt b/wflow-install/src/main/resources/CHANGES.txt index 5ccdb8e97f..58bc35a31d 100755 --- a/wflow-install/src/main/resources/CHANGES.txt +++ b/wflow-install/src/main/resources/CHANGES.txt @@ -1,3 +1,4 @@ +<<<<<<< HEAD Joget DX 7 COMMUNITY ==================== For more information, please refer to @@ -1204,3 +1205,1179 @@ b2f9474 Modified: wflow-consoleweb : Property Editor - Change field description 1ee3aa2 Added: wflow-wfengine/wflow-core/wflow-consoleweb : Process - Support map route to Decision plugin. @7.0-SNAPSHOT 440530d Fixed: wflow-consoleweb - aspectj-maven-plugin couldn't find aspectjrt.jar on classpath during build @7.0-SNAPSHOT 1d55d94 Fixed: Builders - Fixed Hibernate session exception when saving in the datalist and userview builders @7.0-SNAPSHOT +======= +Kecak Workflow 7 COMMUNITY +==================== +For more information, please refer to +https://dev.joget.org/community/display/DX7/Joget+DX+7+Knowledge+Base + +CHANGES IN 7.0.33 +================= +e0a3dd64c Modified: wflow-core - Update jackson-annotations & jackson-core to 2.13.4 and jackson-databind to 2.13.4.2 for CVE-2022-42003 and CVE-2022-42004. @7.0-SNAPSHOT +22cebaeea Modified: wflow-core - Change git init to background for better performance. @8.0-SNAPSHOT +76b76698c Fixed: wflow-commons, wflow-core - Performance - Possible session is closed exception under load @7.0-SNAPSHOT +1fc5eb426 Fixed: wflow-core - Performance - Hibernate - Possible blocking in classloader HHH-4959 @7.0-SNAPSHOT +8f482f41a Modified: wflow-commons - Disable JMX on Bitronix to prevent blocking @7.0-SNAPSHOT +336334f72 Modified: wflow-wfengine - WorkflowManager - Return process time consuming from date started for in progress process instance. @7.0-SNAPSHOT +cd97bdad7 Fixed: wflow-core - Hidden Field - Regression of 3f63b51. @7.0-SNAPSHOT +906719c80 Fixed: wflow-core - X-admin Theme - Parent popup does not restore from full screen mode after inner popup dialog closed. T1429 @7.0-SNAPSHOT +72bd8a478 Fixed: wflow-core - X-admin Theme - Single & double quote in menu label is not escaped correctly. T1428 @7.0-SNAPSHOT +bdda50822 Fixed: wflow-directory - Directory Manager - getUserDepartmentUser always return null. T1411 @7.0-SNAPSHOT +3a8689e96 Fixed: wflow-core - Import App - jwa file with unrecognized `MESZ` timezone could not be imported. T1402 @7.0-SNAPSHOT +6016fecb4 Fixed: wflow-core - Assignment - Prevent concurrent complete assignment causing activity stuck. T1401 @7.0-SNAPSHOT +91b700730 Fixed: wflow-consoleweb - Update tinyMCE to 4.9.11. @7.0-SNAPSHOT + +CHANGES IN 7.0.32 +================= +c0350722d Fixed: wflow-core - Form Builder - Subform can't load in builder when section is set to permission hidden. T1387 @7.0-SNAPSHOT +8f14ede07 Fixed: wflow-commons - Update jsoup to 1.15.3 for CVE-2022-36033. @7.0-SNAPSHOT +7637bb25d Fixed: wflow-core - PWA - Offline support not working when in embedded mode. T1355 @7.0-SNAPSHOT +480bbf859 Fixed: wflow-core - FormPdfUtil - Fixed PDF display radiobox/checkbox differently if in main Form vs Subform. @7.0-SNAPSHOT +317d853e0 Fixed: wflow-core - Form - Form Grid's child form post-processing triggers even when main form have not been saved. @7.0-SNAPSHOT +ecf8be8f6 Fixed: wflow-core - Userview - Fixed XSS issue on key parameter. @7.0-SNAPSHOT +a1ed6f54b Fixed: wflow-consoleweb - Log - Some error info are not logged after upgrade to log4j 2. Regression of d314a7b49. @7.0-SNAPSHOT +5ba6c11c1 Fixed: wflow-consoleweb - universal/progressive/xadmin theme - Fix Misalignment between menu label and row count when having long label. @7.0-SNAPSHOT +4d4860b29 Fixed: wflow-core - AppDevUtil - Prevent NPE. T1255 @7.0-SNAPSHOT +42db96674 Fixed: wflow-consoleweb/wflow-core - Universal/Progressive Theme - Added box-shadow for horizontal menu > sidebar. @7.0-SNAPSHOT +e49850c27 Fixed: wflow-core - Report - SLA filter is not passed correctly. @7.0-SNAPSHOT + +CHANGES IN 7.0.31 +================= +2cfa4f9b2 Fixed: wflow-consoleweb - X-admin Theme - List Grid multi page selection not working. T1189 @7.0-SNAPSHOT +19e74d756 Fixed: wflow-plugin-base - Plugin Manager - Prevent NPE when weavePluginAspect return null. @7.0-SNAPSHOT +6dae17438 Fixed: wflow-consoleweb - Universal/Progressive Theme - Can't open menu when in RTL mobile mode. T1064 @7.0-SNAPSHOT +58e5c3140 Fixed: wflow-consoleweb - Advanced tools - i18n becomes blank when in RTL mode. @7.0-SNAPSHOT +65e268696 Fixed: wflow-core - AppPluginUtil - Prevent NPE during server startup. @7.0-SNAPSHOT +a5b785c32 Fixed: wflow-core - Import Menu/Tool - regression bug from 20e5339c where hidden field missing default value when import. @7.0-SNAPSHOT #T1154 +4384b0f68 Fixed: wflow-consoleweb - Form Builder - Permission readonly is always reset when edit hidden field. @7.0-SNAPSHOT +ca03561a5 Fixed: wflow-core - Userview - Hide category permission rule is not handle correctly. @7.0-SNAPSHOT +c9ed5d91f Fixed: wflow-core - Userview Theme - Prevent text field zoom on focus in IOS. @7.0-SNAPSHOT +3f63b51a1 Fixed: wflow-core - Hidden Field - No way to enforce input validation. T935 @7.0-SNAPSHOT +dafa1192f Fixed: wflow-core - Grid - Can't display encrypted text. T1121 @7.0-SNAPSHOT +f986a39dd Fixed: wflow-core - X-admin Theme - Link menu not handled correctly. T1107 @7.0-SNAPSHOT + +CHANGES IN 7.0.30 +================= +24dad94b4 Fixed: wflow-consoleweb - Userview Builder - Properties label correction. @7.0-SNAPSHOT +adcc9feed Fixed: jw-community - Update GSON to 2.9.0 for CVE-2022-25647 & CVE-2022-25647. @7.0-SNAPSHOT +dd6047dbc Fixed: wflow-core - FormDataDao - Can't handle single value non string result for custom find. @7.0-SNAPSHOT +37f380cdc Fixed: wflow-consoleweb - PWA - Regression of 6e92a55 - An extra updated notification is received. @7.0-SNAPSHOT +3bc1cd42f Modified: wflow-core - Security - Upgraded to jose4j 0.7.11 for SNYK-JAVA-ORGBITBUCKETBC-30206 Elliptic Curve Key Disclosure @7.0-SNAPSHOT +30acacb58 Fixed: wflow-directory - Regression of 1e71b17bb. @7.0-SNAPSHOT + +CHANGES IN 7.0.29 +================= +b664c9369 Modified: wflow-core - Update jackson-annotations & jackson-core to 2.13.2 and jackson-databind to 2.13.2.2 for CVE-2020-36518. @7.0-SNAPSHOT +625665ce4 Fixed:jw-enterprise - Security - Prevent client-side HTTP parameter pollution vulnerability. T948 @7.0-SNAPSHOT +11cd08b66 Fixed: wflow-commons - Security - Prevent file path traversal attacks vulnerability. T949 @7.0-SNAPSHOT +892d44858 Modified: jw-community - Update commons-codec to 1.15 for VULNDB-93555, commons-validator to 1.5.1 for VULNDB-106409, javassist to 3.28.0-GA for VULNDB-163401, protobuf to 3.19.4 for VULNDB-258475, slf4j to 1.7.36 for VULNDB-175810, freemarker to 2.3.31 for VULNDB-72405. @7.0-SNAPSHOT + +CHANGES IN 7.0.28 +================= +248a5a785 Fixed: wflow-core - Section - Show section when column label is exist, even not having any input field. @7.0-SNASPHOT #T902 +c7b427f31 Modified: wflow-install - Update Apache Tomcat to 8.5.78 for CVE-2021-44228. @7.0-SNAPSHOT +1d9c64416 Fixed: wflow-commons - More fail-safe workaround fix for CVE-2022-22965 @7.0-SNAPSHOT +95652b98b Fixed: wflow-core - Custom Html - JS to create dynamic input field causing form corrupted. T898 @7.0-SNAPSHOT +bf4467573 Fixed: wflow-commons - Workaround fixes for CVE-2022-22965. @7.0-SNAPSHOT +5adad2e84 Modified: wflow-consoleweb - Update jQuery UI to 1.13.1 to prevent CVE-2021-41184, CVE-2021-41183 & CVE-2021-41182. @7.0-SNAPSHOT +1e71b17bb Fixed: wflow-directory - Fix API Builder startProcessByUser bypassing Process Start White List. @7.0-SNAPSHOT #T853 +7dc553892 Fixed: wflow-core - Select Box - Options validation with multiple AJAX dependency values will fail validation. T833 @7.0-SNAPSHOT +7d60c3432 Fixed: wflow-core - FormPdfUtil - fix unable to see radio button value in PDF when "Display Field as Label When Readonly?" is checked. @7.0-SNAPSHOT +a94443e70 Modified: wflow-install - Update Apache Tomcat to 8.5.76 for CVE-2022-23181. @7.0-SNAPSHOT +b6ba95c2a Modified: wflow-wfenigne -Security - Update Simple XML for CVE-2017-1000190. @7.0-SNAPSHOT +437c9c8b9 Fixed: wflow-core - Xadmin Theme - Home page url redirection is not escape correctly. @7.0-SNAPSHOT +b8a8d9847 Fixed: wflow-consoleweb - Userview - Prevent login form double submission causing redirection to app center. T794 @7.0-SNAPSHOT +2b4efb9a1 Fixed: wflow-core - Userview Theme - PWA title showing html entity. @7.0-SNAPSHOT +e3de7c7f8 Fixed: wflow-consoleweb - Progressive Theme - Subform section miss-aligned. T783 @7.0-SNAPSHOT +e83965945 Fixed: wflow-core - Simple Rule Decision Plugin - Inconsistent result for `Contains` operator. T749 @7.0-SNAPSHOT +d157e377b Fixed: wflow-consoleweb - Datalist Builder - When in preview, when click "next page" button, will see tomcat 400 bad request page. @7.0-SNAPSHOT +8785e542b Fixed: wflow-consoleweb - Added %i on filePattern so when rollover will not override existing joget.log file. #T709 @7.0-SNAPSHOT. +0b563cd81 Fixed: wflow-core - FormPdfUtil - Exception when having non wellformed HTML. @7.0-SNAPSHOT +08594a528 Fixed: jw-community - Security - Upgrade xercesImpl to 2.12.2 for CVE-2022-23437. @7.0-SNAPSHOT +a4141a6ab Fixed: wflow-consoleweb - Form - Rich Text Editor - Not able to preview uploaded image. @7.0-SNAPSHOT + +CHANGES IN 7.0.27 +================= +0fa986a76 Fixed: wflow-consoleweb - Regression of 0c21a3f3. No way to access console login page. @7.0-SNAPSHOT +5bd6f3d02 Fixed: wflow-core - Userview - Theme inbox does not load in IE11. T610 @7.0-SNAPSHOT +26351f8ed Fixed: wflow-core - PWA - Offline submission is not working due to regression of 896c1b11. T638 @7.0-SNAPSHOT +756ba1771 Fixed: wflow-core - Run Process - Does not handle recordId parameter correctly due to regression on 86f5c26. @7.0-SNAPSHOT Fixed: wflow-core - FormUtil - getElementPropertyValue method does not return primary key value correctly for id field when load binder return null. @7.0-SNAPSHOT +61eaa6334 Fixed: wflow-consoleweb - Multi Tools - Property Editor ElementSelect throws 404 not found mode-undefined.js. @7.0-SNAPSHOT +0c21a3f3d Modified: wflow-consoleweb - Login - Using default landing app as default login page. T565 @7.0-SNAPSHOT +cc18c341c Fixed: wflow-consoleweb - Admin Bar - Edit User - multi selectbox selected background color is block by background color. @7.0-SNAPSHOT + +CHANGES IN 7.0.26 +================= +198ddd7b0 Modified: wflow-install - Upgraded to OpenJDK 11.0.13 due to JRE 11.0.2 crashed on log4j version 2. @7.0-SNAPSHOT +decc9fcba Fixed: wflow-consoleweb - Presence Indicator can't load on EAP, Websphere and Weblogic. @7.0-SNAPSHOT +97031d563 Fixed: wflow-core - Log Viewer - Logs of creating new app is appeared in wrong app log viewer. @7.0-SNAPSHOT +9ee74a58b Fixed: wflow-commons - Logs - Upgraded log4j to version 2.17.1 to fix CVE-2021-44832 vulnerability. @7.0-SNAPSHOT +d314a7b49 Modified: jw-community - Logs - Upgraded to log4j 2.17.0 @8.0-SNAPSHOT +4fa4654cb Modified: wflow-consoleweb - Date Picker - Support more locales. @7.0-SNAPSHOT +f9f1e25e4 Modified: wflow-consoleweb - File Upload - Show proper error 404 page when file not found. @7.0-SNAPSHOT +97a580b26 Fixed: wflow-commons - Hash Variable required HttpServletRequest object can't work in PluginThread. 7.0-SNAPSHOT +e8a5b64ff Modified: wflow-wfengine - Performance - Blocking when generating IDs in DODSUtilities.getNext. @7.0-SNAPSHOT +dad180cc3 Fixed: wflow-consoleweb - Datalist Builder - When all columns set to not export in permission, the export result exported all columns including the actions column. @7.0-SNAPSHOT +bf37cdb63 Fixed: wflow-core - Email Tool - Can't attach attachment with URL which required nonce verification. @7.0-SNAPSHOT +6b146ab25 Fixed: wflow-core - FormPdfUtil - Fail to createPdf when list > td contain special character. #T491 @7.0-SNASPHOT +abcacca82 Fixed: wflow-consoleweb - Progressive/Universal Theme - UX - Extra padding in the navbar. @7.0-SNASPSHOT +46b5d0fe7 Added: wflow-core - Added an option to set default schema on datasource.properties file to handle when user role is DBA. #T741 @7.0-SNAPSHOT + +CHANGES IN 7.0.25 +================= +33e0d3004 Fixed: wflow-plugin-base - Plugin Manager - Plugin file change monitor should only reload changed plugin. @7.0-SNAPSHOT +27826da5a Fixed: wflow-consoleweb - Security - CSRF token is passed in Form Builder preview URL. @7.0-SNAPSHOT +02c278286 Fixed: wflow-consoleweb - Security - Possible remote code execution using JSON parameter in form and list grid @7.0-SNAPSHOT +99524b136 Fixed: wflow-core - Fixed nonce verification not working when comparing different number of attributes @7.0-SNAPSHOT +56f5e97a4 Fixed: wflow-core - Creating new process does not set the new process's process start white list to admin only by default. @7.0-SNAPSHOT +b81e6e5e1 Added: wflow-core/wflow-consoleweb - Progressive/Universal/Xadmin Theme - Display userview category label even though the category only has 1 menu in it. @7.0-SNAPSHOT +c42781f0f Fixed: wflow-consoleweb - Fixed radio btn and checkbox having outline on 1st option on focus. @7.0-SNASPHOT +8338d21f2 Modified: wflow-core - Lazy load PushServiceUtil initialization to improve startup speed @7.0-SNAPSHOT +896c1b11a Fixed: wflow-consoleweb - Security - CSRF token is passed in URL. @7.0-SNAPSHOT +7c56043d1 Fixed: wflow-consoleweb - Selectbox - Missing selected indicator when having multiple select boxes. @7.0-SNASPHOT +e41cd20dd Fixed: wflow-core - FormPdfUtil - Grid having extra column in header row. @7.0-SNAPSHOT Fixed: wflow-core - FormPdfUtil - Label with `&` char does not escape correctly. @7.0-SNAPSHOT + +CHANGES IN 7.0.24 +================= +10bf1b552 Modified: wflow-core/wflow-commons - Upgrade Commons BeanUtils for CVE-2014-0114 and CVE-2019-10086 & Upgrade Commons Collections for CVE-2015-6420 and CVE-2017-15708. @7.0-SNAPSHOT +274e109ef Modified: wflow-wfengine - Update bsh to 2.0b6 for vulnerability CVE-2016-2510. @7.0-SNAPSHOT +8774079f3 Modified: wflow-commons - Upgraded Spring LDAP Core to 2.3.4.RELEASE and slf4j dependency to 1.7.25 @7.0-SNAPSHOT +9d0413f87 Modified: wflow-consoleweb - Upgraded MySQL JDBC in Community Edition to 8.0.26 @7.0-SNAPSHOT +430a2d7b6 Modified: wflow-commons - Upgraded Tomcat JDBC Pool Package to 8.5.72 @7.0-SNAPSHOT +6f51a52f3 Modified: wflow-core - Upgraded commons-compress for CVE-2021-35515, CVE-2021-35517 and CVE-2021-36090 @7.0-SNAPSHOT +307e06235 Modified: wflow-core - Update jstl to 1.2 for vulnerability CVE-2015-0254. @7.0-SNAPSHOT +e3b1df704 Modified: wflow-commons - Update commons-email to 1.5 for vulnerability CVE-2017-9801. @7.0-SNAPSHOT +86f5c26bb Fixed: wflow-core - Run Process Menu w/ "recordId" URL param - Readonly fields are deleted on form submission. @7.0-SNS +a377b5051 Modified: wflow-core - Update POI to 4.1.2 for vulnerability CVE-2019-12415 & XML Beans to 3.1.0 for vulnerability CVE-2021-23926. @7.0-SNAPSHOT +84e0fb9fd Modified: wflow-core - Form - JS utility method FormUtil.getFieldsAsUrlQueryString wrongly construct query string when field has multi values. T380 @7.0-SNAPSHOT +479e2b99d Fixed: wflow-core - Process enhancement plugin - When reassignment, user notification plugin not working. @7.0-SNAPSHOT +63eb5ff10 Modified: wflow-jdbc - Update mssql-jdbc to 9.4.0.jre8. @7.0-SNAPSHOT +6d622b65d Fixed: wflow-consoleweb - Security - Force logout once an user is deleted or inactive. T373 @7.0-SNAPSHOT +258f41a38 Fixed: wflow-core - EmailTool/ExportFormEmailTool - Mix of non-standard and standard format encoding on filename. #T372 @7.0-SNAPSHOT +d18d68625 Fixed: wflow-core - Email Tools - file upload field as attachment in email, filename shows ?????.pdf if foreign language. @7.0-SNAPSHOT +59437b29d Fixed: wflow-consoleweb - Protected (Readonly) App : Invalid Expiry Date and invalid expiry date error in server log. @7.0-SNAPSHOT +6d927389a Modified: wflow-install - Upgraded to Apache Tomcat 8.5.72 @7.0-SNAPSHOT +cb8c3edf8 Fixed: wflow-core - Date Picker - Formatting the display value to remove time when the display value has time value but format doesn't has time format. T361 @7.0-SNAPSHOT +452d74ff5 Fixed: wflow-consoleweb - AJAX subform - Hide Details link is blocked by subform. @7.0-SNAPSHOT + +CHANGES IN 7.0.23 +================= +d42cfc2d4 Fixed: wflow-commons - Datasource profile properties not added into cache due to 727b692f @7.0-SNAPSHOT +727b692f0 Fixed: wflow-commons, wflow-consoleweb - DB setup page shows System Error on first load @7.0-SNAPSHOT + +CHANGES IN 7.0.22 +================= +77b17b52d Fixed: wflow-core - Security - App Admin role not working when login through SSO. T294 @7.0-SNAPSHOT +be775d1b4 Fixed: wflow-core - when process hash variable, value is not decryp on formhashvariable and formbinderhashvariable. #9276 @7.0-SNAPSHOT. +f4eab2b69 Fixed: wflow-commons - Performance - Cloud - I/O bottleneck in DynamicDataSource.getProfileProperties and DynamicDataSource.getProperty. @7.0-SNAPSHOT +0abff0199 Fixed: wflow-consoleweb - Datalist Builder - Long column names can block the column canvas. @7.0-SNAPSHOT. +21ebde681 Fixed: wflow-core - When deploy process with process enhancement plugin, "More Settings" configurations will revert back to default for "Run Process" activity. #T275 @7.0-SNAPSHOT +5d130315f Modified: wflow-core - Removed libtensorflow_jni_gpu depenedency due to not in used and huge file size. @7.0-SNAPSHOT. +57332a934 Modified: wflow-jdbc - Security - Upgrade ojdbc6 12.1.0.2 to ojdbc8 21.1.0.0. @7.0-SNAPSHOT. +99f743920 Modified: wflow-core - Upgrade org.tensorflow from 1.9.0 to 1.15.0. @7.0-SNAPSHOT +5431b9b50 Fixed: wflow-consoleweb - Datasource & Profile: If user save as new profile, properties file created but empty. #T217 @7.0-SNAPSHOT. +5c4be4b97 Modified: wflow-commons/core - Bump jsoup from 1.7.2 to 1.14.2. @7.0-SNAPSHOT + +CHANGES IN 7.0.21 +================= +95c547988 Fixed: wflow-consoleweb - Audit Trail - The paging number are not showing correct results when there is a filter value. GH #55 @8.0-SNAPSHOT +86da1b18e Fixed: wflow-core - Git Commit Helper - Temporary working directory did not delete fully in Windows. @8.0-SNAPSHOT +57f3c9ef3 Fixed: wflow-core - Update AppWebController.java in order to fix Resource Permission. PR #53 @7.0-SNAPSHOT +282f3afec Bump bcprov-jdk15on from 1.60 to 1.67 in /wflow-core +8b3bfbe6d Fixed: wflow-core - Date Picker UI issue using X-Admin theme. #T187 @7.0-SNAPSHOT +4594a665e Fixed: wflow-core - Datalist Export converts ' to '. #T172 @7.0-SNAPSHOT +986554b4a Fixed: wflow-core - FormPdfUtil - Prevent Regex DOS and remove redundant processing. @7.0-SNAPSHOT +31557472e Fixed: wflow-core - MobileUtil - Prevent Regex DOS. @7.0-SNAPSHOT +8619a41a8 Fixed: wflow-commons, wflow-plugin-base, wflow-core - Fixed error logging not using LogUtil @7.0-SNAPSHOT +d4bfc7bc3 Modified: wflow-core - JSON Tool - Removed unused streamToString method @7.0-SNAPSHOT +dd5aa9f3e Modified: wflow-consoleweb - Plugins - Added HTTP POST method requirement for plugin refresh @7.0-SNAPSHOT +a51cc8659 Fixed: wflow-core - Security - Reflected XSS in App Name. #T149 @7.0-SNAPSHOT + +CHANGES IN 7.0.20 +================= +09072ffae Fixed: wflow-plugin-base - Plugin - Prevent NPE when label is return null. #9199 @7.0-SNAPSHOT +8fec0845f Fixed: wflow-consoleweb - Form File Upload field adds underscore to filename on save. #T123 @7.0-SNAPSHOT +b0c12cc3b Fixed: wflow-core - AppUtil - Process activity name using i18n hash caused stack overflow in user notification plugin. T93 @7.0-SNAPSHOT +b9d6339fb Fixed: wflow-consoleweb - Process Mapper - Using Process Enhancement plugin, Run Process activity does not load configuration when click on "More Settings" in Process Mapper. #9191 @7.0-SNAPSHOT +179b76bac Fixed: wflow-core: Custom Hash Variable Plugin not included in export app. #T104 @7.0-SNAPSHOT +471c648b3 Fixed: wflow-core - Download PDF Datalist Plugin has new stack overflow error. @7.0-SNAPSHOT +3835114bd Fixed: wflow-commons - StringUtil getUrlParams not working on parameters with same name. @7.0-SNAPSHOT +6d38208af Fixed: wflow-core: Resources could not upload filenames with spaces. #T91 @7.0-SNAPSHOT +60fda0c23 Fixed: wflow-consoleweb - Unable to download datalist csv file if System Locale = french. #T85 @7.0-SNAPSHOT +53ec7858b Fixed: wflow-core - PWA - manifest requests constantly generating new JSESSIONID. @7.0-SNAPSHOT +4348f6555 Fixed: wflow-core - FormPdfUtil - NPE due to missing null checker for "showAllSelectOptions" variable. #9161 @7.0-SNAPSHOT + +CHANGES IN 7.0.19 +================= +d48718e2c Fixed: wflow-core - Form Hash Variable - Hash variable in value is parsed. @7.0-SNAPSHOT +4b7387c5b Fixed: wflow-wfengine - Changing deadline checker interval from NON-ZERO to another NON-ZERO in cloud does not work. @7.0-SNAPSHOT. +6de237dc8 Fixed: wflow-consoleweb - Login to pages required authentication redirects to /presence. @7.0-SNAPSHOT +a2e0fd3a5 Fixed: wflow-core - Security - Reflected XSS using locale lang parameter. #T63 @7.0-SNAPSHOT. + +CHANGES IN 7.0.18 +================= +7e8e9a0a Modified: jw-community - Upgrade httpclient for CVE-2020-13956. @7.0-SNAPSHOT +064d2a71 Fixed: wflow-consoleweb - "gridCombine" property options used with Plugin Default Properties will throw JS error. #9131. @7.0-SNAPSHOT +855cfe90 Fixed: wflow-commons - hr tag is stripped off by jsoup whitelist in hash variable. @7.0-SNAPSHOT +fc4e10e1 Fixed: wflow-consoleweb - MultiSelectElement will not render multiselectbox in builder. @7.0-SNAPSHOT + +CHANGES IN 7.0.17 +================= +7c08e4a1 Fixed: wflow-core - File Upload - Progress bar not working when PWA enabled. @7.0-SNAPSHOT +878ac31e Fixed: jw-community - SSLHandshakeException when sending email using TLS 1.2 in latest OpenJDK @7.0-SNAPSHOT +7a40f9b6 Fixed: wflow-core - AppDevUtil - NPE when format JSON. #9047 @7.0-SNAPSHOT +94e6e091 Fixed: wflow-core, wflow-consoleweb - import from latest build will cause error & color variances. @7.0-SNAPSHOT +b3c36c33 Modified: jw-community - Updated commons-io to 2.7 for CVE-2021-29425 @7.0-SNAPSHOT +951284de Modified: wflow-install - Upgraded to Apache Tomcat 8.5.65 @7.0-SNAPSHOT +582ed0c5 Fixed: wflow-install - Duplicate shell scripts in installer bundle @7.0-SNAPSHOT +8631b4ba Added: wflow-consoleweb - Provide a new form control to have the ability to have font size variations (A A A). @7.0-SNAPSHOT +b993ee9c Fixed: wflow-core - JSON Tool/SOAP Tool - storeToForm() method throw cast exception when response only return single row. #8999 @7.0-SNAPSHOT +4e12a882 Modified: wflow-core/wflow-consoleweb - Review all the current themes on Joget to maintain the color contrast ratios specified by WCAG. 7.0-SNAPSHOT +f44a1550 Fixed: wflow-consoleweb - regression bug of 67f8f291, datalist - footable buttons missing on mobile/tablet view. @7.0-SNAPSHOT. +dfd7e21a Added: wflow-core - Date Picker - Support changing "Starting day of week" based on locale. @7.0-SNAPSHOT +d9aec593 Fixed: wflow-core - Datalist Hash Variable will display parsed hash variables if hash variables were inserted in input fields during runtime. @7.0-SNAPSHOT +22ab527e Fixed: wflow-consoleweb - Select Box form element - "Size (Rows)" property not working in runtime. @7.0-SNAPSHOT +adf1ca22 Fixed: wflow-core - Userview Name: if empty or blank will caused an error during import/app clone. @7.0-SNAPSHOT +b8a2b3ff Fixed: wflow-core - email content containing # will hit error when using multi tools with mode that creates new thread. @7.0-SNAPSHOT +861306b2 Fixed: wflow-consoleweb - Regression of c72df663, default appcenter IE Windows 10 stuck at spinning wheel. @7.0-SNAPSHOT +ce686e73 Modified: wflow-core, wflow-consoleweb - Upgraded guava library to 30.1-jre for CVE-2020-8908 @7.0-SNAPSHOT + +CHANGES IN 7.0.16 +================= +467af6a3 Fixed: wflow-core - PWA - Push notification shows multiple times. #T00006 @7.0-SNAPSHOT +40287b68 Fixed: wflow-consoleweb - Monitoring - Reevaluating running process send user notification from wrong app. #8946 @6.0-SNAPSHOT +ea69c304 Fixed: wflow-wfengine - Deadlines - DeadlineChecker throws NullPointerException after a tenant is removed #8944 @7.0-SNAPSHOT +b9640064 Fixed: wflow-consoleweb - Universal/Progressive Theme - JS error in popup dialog. #8936 @7.0-SNAPSHOT +3ae33ad8 Fixed: wflow-consoleweb - Process Builder - Fail to deploy due to cannot resolve XML schema. @7.0-SNAPSHOT +f6dae04f Added: wflow-consoleweb/wflow-core - Feature request - able to configure crud delete confirmation in order to support i18n. @7.0-SNAPSHOT +c72df663 Fixed: wflow-consoleweb - Blocked user avatar affecting Joget loading of userview and forms. @7.0-SNAPSHOT +2b664ceb Fixed: wflow-core - FormPdfUtil - Download to PDF failed. @7.0-SNAPSHOT + +CHANGES IN 7.0.15 +================= +b22250df Fixed: wflow-core - Datalist PDF export - Traditional Chinese characters not render when there is other language in same string. @7.0-SNAPSHOT +bdc82431 Fixed: wflow-core - Report Builder - "Show Unselected Options for Multi Options Field" property is not working. @7.0-SNAPSHOT. +8b7ba22c Fixed: wflow-core - Form Builder - OSGI plugin having extra properties added in multi tenant environment. @7.0-SNAPSHOT +5feba799 Fixed: wflow-consoleweb - Tooltip icon is blocking main header text. @7.0-SNAPSHOT +56cfd7e7 Fixed: wflow-commons - Nested Datalist Formatter - non-alphabetic foreign characters unable to display properly. @7.0-SNAPSHOT +940732e6 Modified: wflow-core - Update jackson-databind to 2.9.10.8 for CVE-2021-20190. @7.0-SNAPSHOT +9922e0c2 Fixed: wflow-core - TimeZone - Temporary setting of default timezone may result in permanently change to GMT 0. #8852 @7.0-SNAPSHOT + +CHANGES IN 7.0.14 +================= +cd6ab1ce Fixed: wflow-consoleweb - Correction of 3a1b3590, apply the same implementation on addon builder. @7.0-SNAPSHOT +5a29865c Fixed: wflow-consoleweb - Correction of 3a1b3590, apply the same implementation on datalist and userview. @7.0-SNAPSHOT +e3d94be3 Modified: wflow-core - Universal/Progressive Theme - Disable zoom in effect of login form in Safari mobile. #8768 @7.0-SNAPSHOT +53d69fe7 Modified: wflow-consoleweb - Admin bar - Changed overlay mode to pinned by default. @7.0-SNAPSHOT +9f1af340 Fixed: wflow-consoleweb - Process Enhancement Plugin - Problem with placement of dropdown. @7.0-SNAPSHOT +e8789521 Fixed: wflow-consoleweb - Datalist Builder Column Selection Height Problem When ID is source. @7.0-SNAPSHOT +3afc47f7 Fixed: wflow-consoleweb - Regression of 32637483 Nested form grid UI issue when using X-Admin theme. #8746 @7.0-SNAPSHOT +3a1b3590 Fixed: wflow-consoleweb - Create new form existing form listing to clone wrong. @7.0-SNAPSHOT +cfe8c7a5 Fixed: wflow-core - Form Builder - using JDBC Binder with hashvar in custom datasource generate false SQLNestedException error. @7.0-SNAPSHOT +71e0bff8 Fixed: wflow-core - Email Tool - ics file timezone wrong for windows calendar app. @7.0-SNAPSHOT +a569ea64 Fixed: wflow-consoleweb - App Center - Marketplace popup - popup header height too high ; overlapping slightly the nav bar. @7.0-SNAPSHOT + +CHANGES IN 7.0.13 +================= +21cd2f86 Fixed: wflow-core - Git to Joget sync failed for Resources files to wflow folder. #8674 @7.0-SNAPSHOT +1f8a2ce6 Fixed: wflow-core - Form Menu - If form menu have URL params, as anonymous user, after login, all URL params will be stripped away. @7.0-SNAPSHOT +5869c313 Fixed: wflow-core - Resource filename in Chinese characters displayed as underscore after upload.#8637 @7.0-SNAPSHOT +66a64665 Fixed: wflow-core - Universal/Progressive/Xadmin theme - Gravatar image not showing when email is empty. @7.0-SNAPSHOT +714b8e7c Fixed: wflow-wfengine - WorkflowManager - Can't show next assignment in main process when subflow is completed. #8223 @7.0-SNAPSHOT + +CHANGES IN 7.0.12 +================= +31aaca03 Fixed: wflow-core - Import App - Process tool is not included in Git plugin sync. #8574 @7.0-SNAPSHOT +313b5976 Modified: wflow-wfengine - Workflow Activity - Adding debugging log to check assignment creation status. @7.0-SNAPSHOT +74e1c464 Fixed: wflow-consoleweb - Process Mapper cannot show more setting for first time. @7.0-SNAPSHOT +2790a22e Fixed: wflow-consoleweb - Process Mapper - Process Mapper dont refresh after form mapping deleted. @7.0-SNAPSHOT +47087a75 Fixed: wflow-core - Userview - Login redirection not working when the page is a hidden menu. #8515 @7.0-SNAPSHOT +99e0f39c Fixed: wflow-core - Bean Shell Datalist Action - Logic does not execute if "Confirmation Message" property contains single quote character. #8532 @7.0-SNPAHOT +6c96de98 fixed: wflow-consoleweb -Form Builder - Advanced Tools - Tree Viewer - Changes done here will not save upon clicking on form save. @7.0-SNPASHOT +708b6bc6 Modified: wflow-install - Increase Tomcat resources default cacheMaxSize. @7.0-SNAPSHOT +98452638 Fixed: wflow-core - Builders - Putting single quote in description when create new causing it can't save properly in builder. @7.0-SNAPSHOT +098ff3a5 Modified: wflow-core - added a new method getDefaultColor to handle theme default value. @7.0-SNAPSHOT +d1a8f1e2 Fixed: wflow-core - Themes based on Universal Theme not setting primary color will hit server error. @7.0-SNAPSHOT +0511e3a2 Fixed: wflow-core - Selectbox - Dynamic cascading selection not selected when selected value matches more than one option. @7.0-SNAPSHOT +0b70b891 Fixed: jw-community - Security - Upgrade spring-core to 4.3.29.RELEASE for CVE-2018-15756. @6.0-SNAPSHOT +ab22e4ab Fixed: wflow-core - EnvironmentVariableDao - Simultaneous call getIncreasedCounter will sometimes return same value. @8409 @7.0-SNAPSHOT +7c8130b0 Fixed: wflow-core - PDF Audit Trail NPE if encounter vertical tab special character. #8344 @7.0-SNAPSHOT +9678eecf Fixed: wflow-consoleweb - Map Participants to Users using BeanShell Tool with chinese title causes NPE. #8421 @7.0-SNAPSHOT +c21b8de2 Fixed: wflow-core - Generate App w Process Enh plugin caused "JSONException JSONArray[2] not found" error. #8440 @7.0-SNAPSHOT +d3049c11 Fixed: wflow-core - EnvironmentVariableDaoImpl - getIncreasedCounter() - Simultaneous calls will sometimes return same value. #8409 @7.0-SNAPSHOT +32637483 Modified: wflow-consoleweb - X-admin Theme - List Grid popup can't display correctly in Firefox. #8426 @7.0-SNAPSHOT +07e19e5a Fixed: wflow-core - Import App - Vulnerability - Able to import plugin(s) maliciously when upload plugin as form data. @7.0-SNAPSHOT + +CHANGES IN 7.0.11 +================= +9ecdad42 Modified: wflow-consoleweb - Improve wording for Multi Tools @7.0snapshot +c7dff559 Fixed: wflow-wfengine - WorkflowManager - Correction of 9493f788 to prevent NPE. @7.0-SNAPSHOT +a54ac0b3 Fixed: wflow-core -Subform Repeater: Ajax options failed to work #8394 @7.0-SNAPSHOT +e5de8b02 Fixed: wflow-core - FormUtil - Concurrent modification exception when find element. #8375 @7.0-SNAPSHOT +9493f788 Fixed: wflow-wfengine - WorkflowManager - assignmentForceComplete() cannot complete assignment with multiple assignees. #8360 @7.0-SNAPSHOT +259b538b Fixed: wflow-core - Import app to handle exception if value is larger than 255 char. #7839 @7.0-SNAPSHOT +ef243a8c Modified: wflow-core/wflow-consoleweb - Form Builder - Default label value should follow the the label in the list. @7.0-SNAPSHOT +5aa6cba4 Fixed: wflowcore - ProcessDataCollector - Process Data Collector plugin does not update activity state when aborted by BeanShell. #8341 @7.0-SNAPSHOT +40b62242 Modified: wflow-consoleweb - Property Editor - Code editor - Allow disable syntax checking. @7.0-SNAPSHOT +c5d53622 Fixed: wflow-core - Remove default label on subform element. @7.0-SNAPSHOT +a13dd863 Modified: wflow-install- Update mysql-connector-java to 8.0.19. @7.0-SNAPSHOT +63fa85f0 Fixed: wflow-core - Import app did not add missing environment variables from the jwa. @7.0-SNAPSHOT +cf46f9df Modified: wflow-core - Update jackson-databind to 2.9.10.6 for CVE-2020-14060, CVE-2020-14195, CVE-2020-14061 and CVE-2020-14062. @7.0-SNAPSHOT +df4e0ad0 Modified: wflow-core - Update poi to 3.17 for CVE-2017-12626. @6.0-SNAPSHOT +1207428d Modified: wflow-consoleweb - Update mysql-connector-java to 8.0.19 for CVE-2019-2692. @6.0-SNAPSHOT +1393f106 User Profile Menu - When first Name set to readonly a * symbol will be added after the firstname. @7.0-SNAPSHOT +24795705 Inbox Menu - Process field should only available when Assignment for a Process Only is selected. @7.0-SNAPSHOT +77019b57 Modified: wflow-consoleweb - Userview - Some labels is not in title case. @7.0-SNAPSHOT +8e42c503 Modified: wflow-install - Upgraded to Apache Tomcat 8.5.58 @7.0-SNAPSHOT +92604d40 Modified: wflow-core - User Notification - Support parsing hash variables in the value of a hash variable in email message. #8304 @7.0-SNAPSHOT +fc74f929 Modified: wflow-consoleweb - Userview - Some labels is not in title case. @7.0-SNAPSHOT +986f777e Modified: wflow-consoleweb - Userview - Run Process - label "Field Name For URL Redirect Value Passover" should change to "Field ID for URL Redirect Value Passover. @7.0-SNAPSHOT +5617481a Modified: wflow-core - Form Element - Field ID to control available options based on grouping in Select Box, Check Box, radio, and MultiSelectBox should be autocomplete type, to support the use with subform @7.0-SNAPSHOT +5dc3524e Fixed: wflow-consoleweb - X-admin Theme - Menu label does not display correctly after clicked on mobile app. @7.0-SNAPSHOT +986faf63 Modified: wflow-core - PasswordField - Password Field Element default label should be PasswordField not textField. @7.0-SNAPSHOT +4c1ef544 Fixed: wflow-consoleweb - Process Mapper - Process Enhancement: "Process Mapper > Run Process" not retrieving/saving "Map Activities to Forms" configurations. #8273 @7.0-SNAPSHOT +8b4c63ff Fixed: wflow-consoleweb - Regression of 8e38317c German language with umlaut displayed incorrectly in App Console. #8258 @7.0-SNAPSHOT +b0bebcb5 Fixed: wflow-consoleweb - process mapper - more settings hover over change to hand cursor @7.0-SNAPSHOT + +CHANGES IN 7.0.10 +================= +d83e590d Fixed: wflow-wfengine - Process Migration - New created workflow variables and deadlines are not handled. #8240 @7.0-SNAPSHOT +5c4ead8b Fixed: wflow-core - PWA - Manifest doesn't have a maskable icon. @7.0-SNAPSHOT +8e3196ee Modified: wflow-consoleweb - JQuery - Upgraded to JQuery 3.5.1 @7.0-SNAPSHOT +a61e9182 Fixed: wflow-core - X-Admin Theme - X-Admin Theme: If CRUD title has bracket (...), the whole menu label is repeated in the row count. #8237 @7.0-SNAPSHOT +33c77fb7 Fixed: wflow-core - Nest Form grid in a subform did not display heading color or row border. #8222 @7.0-SNAPSHOT +6f8aa471 Fixed: wflow-core - X-Admin Theme - Custom HTML before/after Login Form is not working. #8221 @7.0-SNAPSHOT +946b03be Fixed: wflow-consoleweb - Builder Advanced Tools - Tree Viewer - Tree state is not keep after edit properties. @7.0-SNAPSHOT +8bf5ea72 Fixed: wflow-consoleweb - Universal/Progressive Theme - Unable to scroll menus in userview category when "menu position" set to horizontal menu. #8185 @7.0-SNAPSHOT +d35ea00b Modified: wflow-consoleweb - General Setting - Support user display name format. #8143 @7.0-SNAPSHOT +29f31e2f Fixed: wflow-consoleweb - I18N - Handle single/double quote in label. @7.0-SNAPSHOT +697b6dfb Fixed: wflow-consoleweb - Property Editor - Correction of ff8a334. Improper handling of undefined data. @7.0-SNAPSHOT +11470da8 Fixed: wflow-core - Import App - new table column is not created. #8202 @7.0-SNAPSHOT +bf6e1aeb Fixed: wflow-consoleweb - DX Progressive Theme: On load, auto adjust runtime userview to display the selected menu within browser view even if selected menu is at the bottom of the list. #8203 @7.0-SNAPSHOT +50a64f94 Fixed: wflow-core - XAdmin Theme - Nested Popup Dialog is not handled correctly. #8151 @7.0-SNAPSHOT +a18bf606 Fixed: wflow-core - Import app - plugins size are incorrect after imported. #8104 @6.0-SNAPSHOT +ff8a334f Fixed: wflow-consoleweb - Property Editor - "keep_value_on_change" attribute of "elementSelect" and "elementMultiSelect" type is not populate default value correctly. @7.0-SNAPSHOT +c2b09631 Modified: wflow-core - Userview Theme - Add id attribute for sidebar menu category. @7.0-SNAPSHOT +ae082284 Fixed: wflow-core - Audit Trail - StackOverflowError when using Datalist Hash Variable in User Notification plugin. #8124 @7.0-SNAPSHOT Modified: wflow-core - AppUtil - Adding utility method to check unparsed nested hash variable. @7.0-SNAPSHOT + +CHANGES IN 7.0.9 +================ +0400a06c Fixed: wflow-core - Form - Regression of 76b435b0. #8114 @7.0-SNAPSHOT +d847bea5 Fixed: wflow-commons - ServerUtil - Prevent NPE. #8076 @7.0-SNAPSHOT +48f6ee85 Fixed: wflow-core - Form - Regression of 76b435b causing multi paged form with AJAX loading mode can't load correctly. #8072 @7.0-SNAPSHOT +e6e92f8f Fixed: wflow-core - File Upload - File attachment with Chinese parentheses in filename does not handle correctly. #8064 @7.0-SNAPSHOT + +CHANGES IN 7.0.8 +================ +b39ae0c4 Modified: wflow-core - Request Hash Variable - Adding #request.domainURL# to support shorthand syntax to construct URL without context path. @7.0-SNAPSHOT +6de7aa3f Fixed: wflow-core - Hash Variable - Regression of f48e40b causing Hash Variable with "/" char cannot parsed correctly. #8057 @7.0-SNAPSHOT +c69eb099 Modified: wflow-core - Request Hash Variable - Adding #request.baseURL# to support shorthand syntax to construct URL. @7.0-SNAPSHOT +38108084 Fixed: wflow-plugin-base - PropertyUtil - getDefaultPropertyValues implementation causing Multi Paged Form page properties does not load default value. @7.0-SNAPSHOT +76b435b0 Fixed: wflow-core - Form - Fields with same id in permission/visibility controlled section does not work correctly. #8034 @7.0-SNAPSHOT +70221c6a Fixed: wflow-core - App Import/Export - Date modified is incorrect and uses the date created instead, caused by de5c8eb1 @7.0-SNAPSHOT +650956f3 Fixed: wflow-core - Date Hash Variable - Regression of fc4fdf8. @7.0-SNAPSHOT + +CHANGES IN 7.0.7 +================ +de5c8eb1 Fixed: wflow-core - App Import/Export - Date created & date modified of imported/exported form data are incorrectly. @7.0-SNAPSHOT +056726d1 Fixed: wflow-consoleweb - Presence Indicator - Refresh CSRF token when session expired. #8022 @7.0-SNAPSHOT +f8e6c2fc Fixed: wflow-core - Form/Run Process Menu - Regression of 1405f024. #7978 @6.0-SNAPSHOT +e868cd1f Fixed: wflow-core - Datalist - Date created & date modified column are not following locale date format when "Using Locale Date Format" is enabled. @7.0-SNAPSHOT +6076ddb7 Modified: wflow-core - Date Picker - Handle "dateCreated" & "dateModified" field to follow locale format and user timezone when server timezone is not UTC. @7.0-SNAPSHOT Modified: wflow-core - Date Hash Variable - Support format according to specify timezone. @7.0-SNAPSHOT +f48e40b9 Modified: wflow-core - Hash Variable - Adding `?noescape` to support hash variable to not strip and escape html tags. #7975 @7.0-SNAPSHOT Fixed: wflow-core - Hash Variable - Nested hash variable with value containing '\' char is removed incorrectly. @7.0-SNAPSHOT +60422019 Fixed: wflow-core - FormPdfUtil - Redundant hash variable parsing causing the encrypted content in form template causing HTML malformed. #7987 @6.0-SNAPSHOT +92dca2d4 Fixed: wflow-core - Import App - Thread local is not reset in finally block. @7.0-SNAPSHOT +898cbe3b Fixed: wflow-commons - Host Manager - Host is initialized multiple times for single request. @6.0-SNAPSHOT +15d8a14b Modified: wflow-core - Import App - Adding progress info log for import app. @7.0-SNAPSHOT +5113b0cb Fixed: wflow-core - Id Generator Field - Should not generate an id when in a readonly section. #7968 @7.0-SNAPSHOT +c131b323 Modified: wflow-core - Email Tool/Userview Notification - Support embedding file in HTML content. #7909 @7.0-SNAPSHOT Modified: wflow-core - Email Tool/Userview Notification - Support image convert to embedding image for rich text field. #7641 @7.0-SNAPSHOT +8e38317c Fixed: wflow-consoleweb - Userview Builder - Prevent userview name longer than 255 characters. @7.0-SNAPSHOT +f1f4ce69 Fixed: wflow-core - Date Picker - Max year range set to negative value causing selected date is incorrect. #7952 @7.0-SNAPSHOT +d6e3cf31 Fixed: wflow-core - Form Data Dao - Slow performance during retrieving form columns when there are too many old app version. #7709 @7.0-SNAPSHOT + +CHANGES IN 7.0.6 +================ +6b44e1d5 Fixed: wflow-core - Builder - Advanced Tool - Usages not working when virtualhost mode is enabled. @7.0-SNAPSHOT +31cf772a Fixed: wflow-commons - Increase default transaction timeout to 900. @7.0-SNAPSHOT +060f4db6 Fixed: wflow-consoleweb - Design App - Search by tag is not working until "Show Tags" button clicked once. #7926 @7.0-SNAPSHOT +96fe65e4 Fixed: wflow-core - Form - CSRF error when submit form during page still loading. #7920 @7.0-SNAPSHOT +78e7ecf2 Fixed: wflow-core - Form Builder - Permission readonly section still execute store binder. @7.0-SNAPSHOT +e7b2075d Fixed: wflow-core - Form Builder - Regression of 597658b. Programmatically set element to readonly is not handled correctly. @7.0-SNAPSHOT +7810960e Fixed: wflow-core - Hash Variable - Regression of a713d8b. Expression Hash Variable with "?" character can't work correctly. #7914 @7.0-SNAPSHOT +f87b4ffa Fixed: wflow-core - Git - Support disable Git feature by adding "-Dgit.disabled=true" to JAVA_OPTS. @7.0-SNAPSHOT +ccbdb86a Fixed: jw-community - Security - Upgrade xercesImpl to 2.12.0 for CVE-2012-0881. @6.0-SNAPSHOT +79d5734e Fixed: wflow-core - Run Process/Form Menu - Redirection after form submitted is not handle correctly. #7883 @6.0-SNAPSHOT +f11aecd6 Fixed: wflow-core - Import app - Improve processing time. #7888 @7.0-SNAPSHOT +42328225 Fixed: wflow-core - Run Process Menu - when action after form saved is set to reload window, new process instance is keep started indefinitely. #7886 @7.0-SNAPSHOT +aee9d2f7 Fixed: wflow-commons - I18N - Message with arguments are not able to pick up custom message added in Manage Messages. #7878 @7.0-SNAPSHOT +597658b9 Fixed: wflow-core - Form Builder - Advanced Tool - Permission - Elements in section does not follow readonly set in section. #7858 @7.0-SNAPSHOT + +CHANGES IN 7.0.5 +================ +f725b490 Fixed: wflow-consoleweb - PresenceManager - Prevent NPE. #7816 @7.0-SNAPSHOT +6c5998ce Fixed: wflow-core - Select - Regression of 913ccc5f causing Popup Selectbox not working. @6.0-SNAPSHOT + +CHANGES IN 7.0.4 +================ +913ccc5f Fixed: wflow-core - Options field - prevent manually alter the DOM value and successfully submit it. @6.0-SNAPSHOT +96b7bef3 Fixed: wflow-core - App i18n - improve performance. #7791 @7.0-SNAPSHOT +c9a296ec Fixed: wflow-consoleweb - Userview - Not styled admin bar appear and than disappear quickly when userview page loading. @7.0-SNAPSHOT +cd8e0b0a Fixed: wflow-core - Form/Userview Builder - Element default property values does not follow locale. @7.0-SNAPSHOT +e55dbd92 Fixed: wflow-consoleweb - Form/Userview Builder - Element default property values does not escape correctly. #7771 @7.0-SNAPSHOT +a713d8b5 Fixed: wflow-core - Hash Variable - Infinity loop while processing nested hash variable. #7793 @7.0-SNAPSHOT Fixed: wflow-core - Expression Hash Variable - no way to escape single quote in nested hash variable. Added `?expression` to escape syntax for expression #7793 @7.0-SNAPSHOT +86f58e0f Modified: wflow-core - Git - Remove app version from appConfig.xml & appDefinition.xml for ease merging between versions. #7643 @7.0-SNAPSHOT +6615fc14 Fixed: wflow-wfengine - Deadline - Deadlines in position 2 onward are not execute. #7779 @7.0-SNAPSHOT +7a010f4d Fixed: wflow-core - Git - prevent UUID temp folder created when there is no http request. #7776 @7.0-SNAPSHOT +c458a0f1 Fixed: wflow-consoleweb - Universal Theme - PwaUtil is not defined happened intermittently. @7.0-SNAPSHOT +f61ac19b Fixed: wflow-consoleweb - I18N - Update zh_CN & zh_TW. @7.0-SNAPSHOT +d2938657 Fixed: wflow-consoleweb - I18N - Handle single/double quote in label. @7.0-SNAPSHOT +27b3b062 Fixed: wflow-commons - ResourceBundleUtil - Import PO can't handle double quote character correctly. #7759 @7.0-SNAPSHOT +a8c08e67 Fixed: wflow-consoleweb - Form Builder - Other Data Handling property incorrectly displayed for options binder. #7752 @7.0-SNAPSHOT +9f3c5a0d Fixed: wflow-consoleweb - Builders - Handling plugin property options with incorrect syntax. @7.0-SNAPSHOT + +CHANGES IN 7.0.3 +================ +ecfb8d4f Modified: wflow-core - Date Picker - Support follow locale format when display format is empty and "Using Locale Date Format" in System Setting is enabled. #7705 @7.0-SNAPSHOT +f21691a0 Fixed: wflow-plugin-base - Plugin Manager - Regression of d5e8d427. Custom plugin interface cache is cleared unnecessary causing it does not appear in the selection of Manage Plugins. @7.0-SNAPSHOT +f8350f70 Fixed: wflow-core - Section - Radio button field with same id in 2 visibility controlled sections are not able to load value correctly. #6392 @7.0-SNAPSHOT +96647eb9 Fixed: wflow-core - Git - Merge does not work correctly in Window. @7.0-SNAPSHOT +be58aa07 Fixed: wflow-consoleweb - Builder - Advanced Tools - Usage - Prevent security vulnerability "Denial of Service: Regular Expression". @7.0-SNAPSHOT +1387f94e Fixed: wflow-consoleweb - Datalist - When datalist is empty, row "Nothing found to display" is not full width if there is more than 1 action column. @7.0-SNAPSHOT +b70416e0 Fixed: wflow-core - Git - NPE when sync a remote branch without always pull enabled. @7.0-SNAPSHOT +2634765a Fixed: wflow-core - Git - Delete app version create a git folder with null version. @7.0-SNAPSHOT +ced9781c Fixed: wflow-core - User Notification - PWA Push Notification will only work If assignee has email set. @7.0-SNAPSHOT +1640fb7d Fixed: wflow-consoleweb - Builder - Typo in label. @7.0-SNAPSHOT +6056a734 Fixed: wflow-core - Git - repo is not close correctly. @7.0-SNAPSHOT Modified: wflow-core - Git - check uncommitted changes before commit. @7.0-SNAPSHOT +02187412 Fixed: wflow-consoleweb - Security - Update dom4j to 2.1.3 for XML Injection Vulnerability : CVE-2018-1000632. @7.0-SNAPSHOT +e96e634d Fixed: wflow-commons - Security - Update dom4j to 2.1.3 for XML Injection Vulnerability : CVE-2018-1000632. @6.0-SNAPSHOT +6532030d Fixed: wflow-consoleweb - Userview - Default theme of other languages are set to Universal Theme instead of Progressive Theme. #7345 @7.0-SNAPSHOT +9adca553 Modified: wflow-wfengine - Workflow Manager - Suppressed logging for unimportant exception message when comparing XPDL. @7.0-SNAPSHOT +e6674330 Fixed: wflow-consoleweb - X-admin Theme - List filter show button not responding after clicked. #7686 @7.0-SNAPSHOT +8ce94b2e Fixed: wflow-core - Builders - Usage - Not able to detect usage in hash variable. @7.0-SNAPSHOT +2b437c13 Modified: wflow-consoleweb - Show loading overlay when changing app version as it may take some time to load, especially when retrieving from remote Git @7.0-SNAPSHOT +f0da1940 Fixed: wflow-core - Git - NullPointerException when switching to an app version in remote Git that is not yet in app_src @7.0-SNAPSHOT +6845dba6 Fixed: wflow-core/wflow-consoleweb - Bootstrap theme - Select box with multiple enabled does not work in mobile view. #7675 @7.0-SNAPSHOT +289f405c Fixed: wflow-core - Start Process - start process form with id set to id generator field does not link process and data correctly. #7678 @7.0-SNAPSHOT +839925d4 Fixed: wflow-core - Git - Sync app - Package definition is missing during sync. #7678 @7.0-SNAPSHOT +0cf9ccc1 Fixed: wflow-core - Git - git pull an app with process mapping from remote repo to a local new created app causing process mapping gone missing. #7678 @7.0-SNAPSHOT +04976ee6 Fixed: wflow-core - Git - gitconfig not within profile base directory when virtual host enabled. @7.0-SNAPSHOT +8a6d7d91 Fixed: wflow-core - File Upload - Regression bug of 721e6cff. @6.0-SNAPSHOT +a36440ef Fixed: wflow-core - Protected app - App license page styling is inconsistent. @7.0-SNAPSHOT +14f07e6f Fixed: wflow-core - Addon Builder - For cloning element in protected app, all app elements from all versions will be displayed as selection. @7.0-SNAPSHOT +8abf677f Fixed: wflow-core - Builder - For cloning element in protected app, all app elements from all versions will be displayed as selection. @6.0-SNAPSHOT +721e6cff Fixed: wflow-commons/wflow-core - File Upload - Security vulnerability - Directory traversal. #7578 @6.0-SNAPSHOT Fixed: wflow-commons/wflow-core - File Upload - Security vulnerability - File type restriction not handle correctly. #7578 @6.0-SNAPSHOT +6c6ceb23 Fixed: wflow-core - Git - Process generated by App Generator having missing mapping in app_src. @7.0-SNAPSHOT +e6e426c4 Fixed: wflow-core - Updated jackson-databind to 2.9.10.4 to fix vulnerability issue CVE-2020-10969, CVE-2020-9546, CVE-2020-11620 and CVE-2020-10672. @7.0-SNAPSHOT +4603372e Fixed: wflow-commons - Manage message - not able to handle multiline string correctly. #7625 @6.0-SNAPSHOT +3eedaf23 Fixed: wflow-commons - Manage message - not able to handle multiline string correctly. #7625 @6.0-SNAPSHOT +55c17924 Fixed: wflow-consoleweb - Property Editor - Error in AJAX option call is not handled. @7.0-SNAPSHOT +8877913a Modified: wflow-core - Date Picker - Support datetime store in UTC timezone. @7.0-SNAPSHOT +8a749c58 Fixed: wflow-commons - SecurityUtil - Support IP whitelist checking to check IP go through multiple proxies. @7.0-SNAPSHOT + +CHANGES IN 7.0.2 +================ +d73a9f65 Fixed: wflow-consoleweb/wflow-core - Log - logged the proxy server IP instead of real client IP. @7.0-SNAPSHOT +e6b3a498 Fixed: wflow-core - Run Process - unable to execute email tool on post processing form using participant ID. @7.0-SNAPSHOT Fixed: wflow-core - Subform - optimized assignment object retrieving in assignment form. @7.0-SNAPSHOT +35a69c53 Fixed: wflow-core - Datalist Filter- Unable to view date calendar in "Search Display in Popup" mode. #7610 @7.0-SNAPSHOT +83e3b19a Fixed: wflow-core - Git - Prevent concurrent pull and push. @7.0-SNAPSHOT +ae1c6863 Fixed: wflow-core - Userview - Reload parent script should close popup dialog first if any before reload the parent window. @7.0-SNAPSHOT +261c91d5 Fixed: wflow-consoleweb - User Notification - added label description +209c829f Modified: wflow-consoleweb - Improve User Notification Audit Trail labels @7.0-SNAPSHOT +d5e8d427 Modified: wflow-plugin-base - Plugin Manager - Refactored implementation for code reuse in LEE project. @7.0-SNAPSHOT +14b1a43e Fixed: wflow-consoleweb - Property Editor - Image resources dialog close button is not styled. @7.0-SNAPSHOT +afe15563 Fixed: wflow-core - Import App - Retain env variable value of a published version in stead of previous version. #7580 @7.0-SNAPSHOT +817ff5fd Fixed: wflow-core - Datalist - Regression of 32837d8. Row action is not working. #7587 @7.0-SNAPSHOT + +CHANGES IN 7.0.1 +================ +1fa72993 Fixed: wflow-core - Git - Correction for c5173bf5. @7.0-SNAPSHOT +499ee2d7 Fixed: wflow-core - File Upload - Security - File type restriction can be bypassed by direct web service URL invocation. #7578 @6.0-SNAPSHOT +37fbd072 Fixed: wflow-core - Git - Empty package.xpdl is created when init git folder for a project. @7.0-SNAPSHOT +0952a315 Fixed: wflow-core - Git - NPE not handle when process mapping is not available. @7.0-SNAPSHOT Fixed: wflow-core - Git - Window/Unix newline character not compatible. @7.0-SNAPSHOT Fixed: wflow-core - Git - Create extra commit when change process whitelist to admin only. @7.0-SNAPSHOT +f915945f Fixed: wflow-core - Git - Does not handle tagging data & custom table data correctly. @7.0-SNAPSHOT Fixed: wflow-core - Git - NPE when pull from remote and local does not having package.xpdl. @7.0-SNAPSHOT +f3dd6106 Fixed: wflow-core - Section Visibility - Correction for 8fad8435. #7546 @6.0-SNAPSHOT +609d7534 Fixed: wflow-core - FormUtil - Regression of 5086948d. Causing FORMDATA spreadsheet function not working when form using JDBC load binder. #7549 @6.0-SNAPSHOT +4423c897 Fixed: wflow-consoleweb - Process Mapper - Route displays wrong transitions when configure Simple Rules Decision. #7556 @7.0-SNAPSHOT +8fad8435 Fixed: wflow-core - Section - Section visibility control - Recursive field change event causing slow response. #7546 @7.0-SNAPSHOT +adf0edcc Fixed: wflow-commons - ParameterizedUrlHandlerMapping - Prevent `String parameter 'appId' is not present` error. @7.0-SNAPSHOT +c022f73c Fixed: wflow-core - Options Binder Cache - Handle empty value in "Pause sync after idle" property due to import app from v6.0.6. @7.0-SNAPSHOT +de520c7a Modified: wflow-core - Upgrade Jackson Databind library due to possible security vulnerabilities @7.0-SNAPSHOT +c5173bf5 Fixed: wflow-core - Git - Concurrent pull throw exception in Window. @7.0-SNAPSHOT +4817868c Fixed: wflow-core - Git - package.xpdl is empty after import app. @7.0-SNAPSHOT Fixed: wflow-core - Git - pull and merge conflict is not handle correctly. @7.0-SNAPSHOT Fixed: wflow-core - Git - NPE when source folder in app_src is deleted manually. @7.0-SNAPSHOT Fixed: wflow-core - Git - sync package is not handle correctly when compare package.xpdl committed by Window and Linux environment. @7.0-SNAPSHOT Fixed: wflow-core - Git - RefNotAdvertisedException is not handled. @7.0-SNAPSHOT +1e2a852e Modified: wflow-core - Multi tools - Labels correction. @7.0-SNAPSHOT +345c5308 Modified: wflow-core - Multi tools - support tools run in thread in correct sequence. @7.0-SNAPSHOT +8e5a035d Modified: wflow-consoleweb/wflow-core - Process - Support plugin type to customize run process form behavior. @7.0-SNAPSHOT +d76ded09 Fixed: wflow-consoleweb - Presence Indicator - Utilized all TCP connection in Chrome when more than 5 tabs are opened. #7056 @7.0-SNAPSHOT +6fa3d2e7 Fixed: wflow-core - File Upload - Cannot upload large file due to timeout. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Property Editor - Cannot upload large app resource file due to timeout. @7.0-SNAPSHOT +39fe5a9e Fixed: wflow-core/wflow-consoleweb - Progressive/Universal Theme - Multiple selectbox in datalist filter is not styled. @7.0-SNAPSHOT +ab6cbe64 Fixed: wflow-commons - SecurityUtil - Fixed possible NPE in decrypt method. @7.0-SNAPSHOT +907bb066 Fixed: wflow-core - Git - Process changes in remote git will create infinity commit on every load when "always pull" and "auto sync" is enabled. #7439 @7.0-SNAPSHOT +4793acf2 Fixed: wflow-wfengine - JBoss EAP 7.2 on OpenShift - Logs are not streaming @7.0-SNAPSHOT +ac74b5fe Fixed: wflow-core - Text Field/Textarea/Date Picker - Placeholder with double quote character not display correctly. #7500 @7.0-SNAPSHOT +93b87f48 Modified: wflow-core - Userview - support reload parent window. @7.0-SNAPSHOT Modified: wflow-core - Link Button - support close popup dialog. @7.0-SNAPSHOT Modified: wflow-core - Inbox/Universal Inbox Menu - support open assignment in popup dialog. @7.0-SNAPSHOT Modified: wflow-core - Run Process Menu - support reload window after submission. @7.0-SNAPSHOT Modified: wflow-core - Form Menu - support reload window after submission and close popup dialog on cancel button clicked. @7.0-SNAPSHOT +06ef09ff Fixed: wflow-core - Form Data Dao - Field Id started with digit causing intermittent UnknownServiceException. @7.0-SNAPSHOT +9165e08d Fixed: wflow-consoleweb - UI - Popup Dialog - Unnecessary wait for 100ms before load URL in IFrame. @6.0-SNAPSHOT +5e0f3bc7 Fixed: wflow-consoleweb - Datalist Action - Popup Dialog - Unnecessary waiting for 200ms before showing content. @6.0-SNAPSHOT +3ab2a7a1 Fixed: wflow-consoleweb - Property Editor - Regression on b379414 causing the property editor can't edit other fields directly without closing the dialog. #7485 @7.0-SNAPSHOT +09de07cd Modified: wflow-consoleweb - Quill - Switch to use inline style. #7471 @7.0-SNAPSHOT +918b1d32 Fixed: wflow-core - Id Generator Field - Environment Variable no more support Hash Variable. #7475 @7.0-SNAPSHOT +da882aa5 Fixed: wflow-consoleweb - Git - Added code to release file system locks after performing git-related operations in order to delete uuid folders + +CHANGES IN 7.0.0 +================ +276c7c29 Fixed: wflow-consoleweb - Rich Text Field - Quill - Not able to copy and paste text. @7.0-SNAPSHOT +7500e4cf Fixed: wflow-consoleweb - Console - Update help links. @7.0-SNAPSHOT +a802d416 Fixed: wflow-core - Git - Adding conflict handling for uncommitted local changes during checkout. @7.0-SNAPSHOT +4eafa3db Fixed: wflow-core - Process - Map Activities to Forms - StaleStateException when update "Remove Save as Draft Button" and "Show The Next Assignment When Completed" too frequently and quickly. @7.0-SNAPSHOT +edcbaf77 Fixed: wflow-consoleweb - Progressive/Universal Theme - Datalist overflow horizontal scrollbar is in wrong position. @7.0-SNAPSHOT +330afbf9 Fixed: wflow-core - Git - Prevent infinity resolve git checkout conflict. @7.0-SNAPSHOT +1b32fac9 Fixed: wflow-consoleweb - Universal/Progressive Theme - Horizontal long sub menu does not has scrollbar to view bottom sub menu. #7422 @7.0-SNAPSHOT +81428639 Modified: wflow-consoleweb - Console - Fix possible "Portability Flaw: Locale Dependent Comparison" issue. @7.0-SNAPSHOT +5635d5ef Fixed: wflow-commons/wflow-core - Hash Variable - Support new escape type `?img2base64` to convert image tag src pointed to platform image resource to base64 string. #7394 @7.0-SNAPSHOT +c93dcc57 Added: wflow-consoleweb/wflow-core - Duplicate Value Validator - Support custom error message for duplicate value found @7.0-SNAPSHOT +64f1b6f6 Fixed: wflow-consoleweb - Progressive Theme - 2 columns subform section without section label is not display correctly. #7426 @7.0-SNAPSHOT +e82e13a4 Fixed: wflow-consoleweb - Property Editor - Multi Select - Default properties are not loaded. #7405 @7.0-SNAPSHOT Fixed: wflow-core -Multi Tools - Default properties are not loaded. #7405 @7.0-SNAPSHOT +6853b9ca Fixed: wflow-consoleweb - Rich Text Field - Quill editor - Paste image in FF will becomes double images. #7407 @7.0-SNAPSHOT +f9050d39 Fixed: wflow-core - Process Migration - Abort process instances which missing running activities in new process version. @7.0-SNAPSHOT +7ec3f9ef Modified: wflow-core - App Service - Migrate process - print list of PIDs in process design update migration for better clarity @7.0-SNAPSHOT +d89fba5d Fixed: wflow-consoleweb - UI - Popup dialog can't show up in Mobile app. #7420 @7.0-SNAPSHOT +f60783d6 Fixed: wflow-core - datalist - enable datalist hash var to be display when "Use session to store list state?" is turned on in datalist builder +5b8bd326 Fixed: wflow-consoleweb - Form - popup dialog width in mobile is over the window width. @7.0-SNAPSHOT +103f8a61 Fixed: wflow-commons - Setup - Message label is missing. @7.0-SNAPSHOT +212a29bb Fixed: wflow-consoleweb - Universal/Progressive Theme - Header button showing user name has insufficient padding @7.0-SNAPSHOT +ad3ac5a2 Fixed: wflow-consoleweb - UI - Admin bar button is not showing in FF sometime. #7412 @7.0-SNAPSHOT +c25746d8 Added: wflow-core - Current User Hash Variable - Support #currentUser.roles#, #currentUser.locale#, #user.USERNAME.roles# and #user.USERNAME.locale#. #7410 @7.0-SNAPSHOT +28cffe5b Fixed: wflow-consoleweb - Form Builder - Section comment displayed in limited width. #7411 @7.0-SNAPSHOT +8542fe9c Fixed: wflow-core - Department/Organization Permission - Users with multiple department/organization permissions works intermittently. #7419 @7.0-SNAPSHOT +b379414e Fixed: wflow-core - Property Editor - Closing property editor via ESC or X button scrolls to top of form or page. @7.0-SNAPSHOT +f231c785 Fixed: wflow-core - Git - May locked when checkout concurrently. @7.0-SNAPSHOT +8718ed61 Fixed: wflow-consoleweb/wflow-core - Form - Tooltip for some readonly element is not display. @7.0-SNAPSHOT +07541dcd Modified: wflow-commons - Datasource - Reduce reading datasource properties from file. @7.0-SNAPSHOT +9fef0468 Fixed: wflow-core - datalist - enable datalist hash var to be displayed in email when using scheduler +05b6f6dd Fixed: wflow-wfengine - Process - Improve process version migration. #7373 @7.0-SNAPSHOT +32837d81 Fixed: wflow-core - datalist - enable datalist hash var to be displayed in email when using scheduler +84c09b27 Modified: wflow-consoleweb - Push Notifications - Web push notifications not working on Firefox @7.0-SNAPSHOT +e6138964 Fixed: wflow-consoleweb - Userview - new created userview has missing property value in theme configuration. @7.0-SNAPSHOT +e2c37b24 Fixed: wflow-consoleweb - Assignment - Not able to complete assignment without a form. @7.0-SNAPSHOT +7aa1ed2c Fixed: wflow-consoleweb - Progressive/Universal Theme - Delete button style is wrong. #7345 @7.0-SNAPSHOT +e3fb4c0c Fixed: wflow-consoleweb - Datalist Builder - Hyperlink Action - "Visible when no record or checkbox?" option is missing. #7387 @7.0-SNAPSHOT + +CHANGES IN 7.0-RC +================= +9829bf37 Fixed: wflow-consoleweb - Advanced Tool - Tree viewer - Missing plugin in permission is not handled. @7.0-SNAPSHOT +86b722c1 Fixed: wflow-consoleweb/wflow-directory - Organization - Improper handle for empty result on f1421c7. @7.0-SNAPSHOT +f1421c78 Fixed: wflow-consoleweb/wflow-directory - Organization - Changes on 27f14ba6 does not support MSSQL. @7.0-SNAPSHOT +c38b83f7 Fixed: wflow-consoleweb - Setup - Oracle script is incorrect. @7.0-SNAPSHOT +27f14ba6 Fixed: wflow-consoleweb/wflow-directory - Organization - Multi organization support does not work in MySQL8. @7.0-SNAPSHOT +0f137975 Modified: wflow-consoleweb - Update default app. @7.0-SNAPSHOT +af100d63 Modified: wflow-install - Update default database and script. @7.0-SNAPSHOT +f0d31429 Fixed: wflow-consoleweb - Locale - "_lang" parameter to switch language does not work correctly. @7.0-SNAPSHOT +d4d03598 Fixed: wflow-consoleweb - Quill Editor - Not able to focus when click on bottom part of content area. #7346 @7.0-SNAPSHOT +7b73a6b8 Fixed: wflow-consoleweb - Progressive Theme - Section columns miss aligned. #7359 @7.0-SNAPSHOT +bd8bba2e Fixed: wflow-consoleweb - Form - Can't focus on custom field during load. #7346 @7.0-SNAPSHOT Fixed: wflow-consoleweb - Quill Editor - Not able to focus when click on bottom part of content area. #7346 @7.0-SNAPSHOT +b51fd6f0 Fixed: wflow-consoleweb - Builder Advanced Tool - I18n - Can't populate the translation value if there is inconsistent label. #7352 @7.0-SNAPSHOT +2a353235 Fixed: wflow-consoleweb - Progressive Theme - Change to other themes then change back to DX Progressive theme causes the color for menus all in red. #7345 @7.0-SNAPSHOT +4e7421c5 Fixed: wflow-consoleweb - Property Editor - Button popup dialog missing padding. @7.0-SNAPSHOT +11c309c4 Fixed: wflow-consoleweb/wflow-wfengine - Switch Profile - Deadline checker did not stop for previous profile and start with new profile. @7.0-SNAPSHOT +9fe0bd9a Fixed: wflow-consoleweb - Process View - Link to Run Process URL showing redundant port number @7.0-SNAPSHOT +0bc53c21 Fixed: wflow-consoleweb - Progressive/Universal Theme - Style affected input field when field id equals to `content`. @7.0-SNAPSHOT +1634e288 Fixed: wflow-consoleweb - PWA - Serviceworker can't register when host as ROOT. @7.0-SNAPSHOT +37db42c8 Fixed: wflow-consoleweb - Web Console - JavaScript Mixed Content error: This request has been blocked; the content must be served over HTTPS @7.0-SNAPSHOT +9c7824d2 Fixed: wflow-consoleweb - General Setting - Enterprise only setting is appeared in community version. @7.0-SNAPSHOT +07b76b50 Fixed: wflow-consoleweb - Embed Datalist - Popup select box has system error if row id in list is an email value. @6.0-SNAPSHOT +6ff6b90d Fixed: wflow-consoleweb - Property Editor - Missing padding in Sync LDAP Directory Manager and Email Tool popup dialogs @7.0-SNAPSHOT +59750960 Modified: wflow-install - Update default database and script. @7.0-SNAPSHOT +a3e9f547 Modified: wflow-consoleweb - Update plugin help links. @7.0-SNAPSHOT +d10947e8 Fixed: wflow-core - Property Editor - Revert change 93eec5a. HTML menu can't support complex HTML and js anymore. @7.0-SNAPSHOT +57499800 Fixed: wflow-core - AppDevUtil - Git can't checkout correctly when there is uncommitted files. @7.0-SNAPSHOT +bb1aae22 Modified: wflow-core/wflow-consoleweb - Update KB links. @7.0-SNAPSHOT +819502a5 Modified: wflow-core/wflow-consoleweb - Update KB links. @7.0-SNAPSHOT +5ea59941 Fixed: wflow-consoleweb - Settings - Change label for Run Process Primary Key to title case @7.0-SNAPSHOT +a88318f5 Modified: wflow-jdbc, wflow-commons, wflow-consoleweb - MySQL - Upgraded MariaDB JDBC driver to 2.5.0 to support MySQL 8 default caching_sha2_password authentication @6.0-SNAPSHOT +0e1800e3 Fixed: wflow-commons - Startup - MariaDB dialect cannot resolved by Hibernate. @6.0-SNAPSHOT +aa6fab69 Modified: wflow-core - Id Generator Field - Environment variable name should validate to only allow alpha-numeric & underscore character. @7.0-SNAPSHOT +5f3b8797 Modified: wflow-consoleweb - Update plugin help links. @7.0-SNAPSHOT +244adc7f Fixed: wflow-wfengine/wflow-consoleweb - Settings - Option to select either UUID (default) or Process ID as Run Process Data Record. @7.0-SNAPSHOT +9d24ecfe Fixed: wflow-consoleweb - Userview Builder - Edit menu properties does not remove unused property from previous values. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Form Builder - Edit field properties does not remove unused property from previous values. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Datalist Builder - Edit action/row action properties does not remove unused property from previous values. @7.0-SNAPSHOT +684e9ca5 Modified: wflow-consoleweb - Userview Builder - Not able to check menu generated id. @7.0-SNAPSHOT +bfe465e5 Fixed: wflow-core - Form - Advance Permission Rule - Subform without permission rule reset the parent form permission rule to `default` causing fields after the subform is not work according to rule. @7.0-SNAPSHOT +c0f3ee0c Modified: wflow-wfengine - Deadline - Reduce DB calls to retrieve process and activity data to improve performance. @7.0-SNAPSHOT +26c74e63 Fixed: wflow-consoleweb - Hyperlink Action - Target is not working when use as list action. @7.0-SNAPSHOT +11b6f221 Fixed: wflow-consoleweb - Hyperlink Datalist Action - Not able to pass parameter when use as list action. #7246 @7.0-SNAPSHOT + +CHANGES IN 7.0-BETA3 +==================== +c0b9be06 Fixed: wflow-core - Email Tool - ICAL timezone is wrongly set. #7239 @7.0-SNAPSHOT +9b2f6cd0 Fixed: wflow-consoleweb - Property Editor - Should not fill in default value for new added field when there is already having configuration. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Quill - Missing size style. @7.0-SNAPSHOT +2e80b4a5 Fixed: wflow-consoleweb - X-Admin Theme - Unnecessary scrollbar at the bottom of datalists @7.0-SNAPSHOT +d9296472 Fixed: wflow-consoleweb - UI - Error is overlapped with form header. @7.0-SNAPSHOT +237d5421 Fixed: wflow-core - App Service - Create app definition by copy app is not working when the app id is very short. @7.0-SNAPSHOT +3875c5f8 Fixed: wflow-consoleweb - Form Builder - Custom HTML with field id "hidden" is missing from the builder. @7.0-SNAPSHOT +d316f809 Modified: wflow-directory - Adding interface for custom directory manager to provide extra user meta data. @7.0-SNAPSHOT +9ae46e29 Fixed: wflow-consoleweb - Property Editor - Improper handle for password field in a page action popup dialog. @7.0-SNAPSHOT +31bd7b9b Fixed: wflow-consoleweb - Property Editor - Simple mode conflict with single page mode. @7.0-SNAPSHOT +30a826f2 Modified: wflow-consoleweb - MS SQL Server - Updated default JDBC URL from SelectMethod cursor to direct @7.0-SNAPSHOT +6bc6f7ba Fixed: wflow-consoleweb - X-Admin Theme - Unnecessary scrollbar at the bottom of datalists @7.0-SNAPSHOT +a7519a91 Fixed: wflow-core, wflow-consoleweb - HTML Page - Too little padding, regression from 0060947b @7.0-SNAPSHOT +7b7931a8 Fixed: wflow-consoleweb - Property Editor - Link in tooltip is too difficult to read. @7.0-SNAPSHOT +0f9cede9 Fixed: wflow-core - JSON Tool - Store to form does not set the primary key correctly. @7.0-SNAPSHOT +0060947b Fixed: wflow-core - Property Editor - Rich Text editor can't initial in IE11. @7.0-SNAPSHOT Fixed: wflow-core - Property Editor - Rich Text editor can't upload image in IE11 & MS Edge. @7.0-SNAPSHOT Fixed: wflow-core - HTML Page - Missing rich text editor styles. @7.0-SNAPSHOT Fixed: wflow-core - Progressive/Universal Theme - Rich Text editor buttons throws js error. @7.0-SNAPSHOT +72102ac7 Fixed: wflow-consoleweb - Theme - Rich text field in inline edit mode is not styled. @7.0-SNAPSHOT +06be3e05 Modified: wflow-consoleweb - UI - Update KB links. @7.0-SNAPSHOT +bb5df10a Fixed: wflow-consoleweb - Monitoring - SLA indicator is missing. @7.0-SNAPSHOT +00a36ddf Fixed: wflow-core - JSON API - Start process API did not return UUID. @7.0-SNAPSHOT +bd412d80 Fixed: wflow-core - FormUtil/FormService - Fixed possible NPE. @7.0-SNAPSHOT +3c5fa2f1 Modified: wflow-consoleweb - App Center - Updated to latest Joget logo @7.0-SNAPSHOT +a2988656 Added: wflow-core - Custom Builder - Support custom processing when export/import app or save/update/delete definition. @7.0-SNAPSHOT +8a984800 Modified: wflow-consoleweb, wflow-install - Logo - Updated to latest Joget logo @7.0-SNAPSHOT +0c0c95df Fixed: wflow-consoleweb - Embedded Datalist - nl2br data is not handle correctly. @7.0-SNAPSHOT +2fc875da Fixed: wflow-consoleweb - Datalist - Responsive table print debugging message to browser. @7.0-SNAPSHOT +da82f3e7 Fixed: wflow-core - Section - Visibility control with regex contains "\" character can't store data correctly. #7195 @6.0-SNAPSHOT +5086948d Fixed: wflow-core - Form - FormUtil.loadFormData not supporting grid data. #7167 @6.0-SNAPSHOT +70bf1605 Fixed: wflow-core - Text Field - Field with number formatting enabled can't import correctly with import userview menu. #7187 @6.0-SNAPSHOT +dbee4708 Fixed: wflow-consoleweb - Property Editor - Code editor style is affected by form custom html style. @7.0-SNAPSHOT +f4fa15f5 Modified: wflow-consoleweb - Userview Builder - Showing some old themes without PWA feature are deprecated. @7.0-SNAPSHOT +c2886bb2 Fixed: wflow-consoleweb - App Center - License alert message not positioned correctly in desktop view. @7.0-SNAPSHOT +85adb867 Fixed: wflow-consoleweb - Form - Missing form.css for embedded form due to 7a0eed9b. @7.0-SNAPSHOT +176983cc Fixed: wflow-consoleweb - Monitoring - View graph not working due to JS error. @7.0-SNAPSHOT +6ca53677 Fixed: wflow-core - Workflow Form Binder - Revert changes of be9da26 due to backward compatible issue. @7.0-SNAPSHOT +93eec5a7 Modified: wflow-consoleweb - Property Editor - Change HTML Editor implementation to Quill editor. @7.0-SNAPSHOT +40276225 Modified: wflow-consoleweb - UI - Adding support Quill editor. @7.0-SNAPSHOT +2ef4050a Fixed: wflow-consoleweb - DX X-Admin Theme - Login page in iframe does not redirect correctly. @7.0-SNAPSHOT Fixed: wflow-consoleweb - DX X-Admin Theme - Chosen select does not display correctly after 30ffb87 change. @7.0-SNAPSHOT +6c0f9bcc Fixed: wflow-core - App Version - Catch JGitInternalException during creating new app version. @7.0-SNAPSHOT +58d63f29 Fixed: wflow-wfengine - Monitoring - Running/Completed processes list does not list the process instances which does not have a record ID. @7.0-SNAPSHOT +40b43af8 Fixed: wflow-consoleweb - Property Editor - Click outside the checkbox or checkbox label will toggle the checkbox value. @7.0-SNAPSHOT +f0f87e49 Fixed: wflow-core - DX X-Admin Theme - When datalist set to non responsive, it can't scroll to view overflow columns in mobile. @7.0-SNAPSHOT +56d0485f Fixed: wflow-core - DX X-Admin Theme - Default showing login page even there are pages for anonymous user. @7.0-SNAPSHOT +2da73e3f Fixed: wflow-consoleweb - Property Editor - Color picker - Disable popup picker when focus. @7.0-SNAPSHOT +30ffb87c Fixed: wflow-core - DX X-Admin Theme - Remove small gap between first tab and menus. @7.0-SNAPSHOT Fixed: wflow-core - DX X-Admin Theme - Content
      and
        style is mess up. @7.0-SNAPSHOT Fixed: wflow-core - DX X-Admin Theme - Header tag style in a form is mess up. @7.0-SNAPSHOT Fixed: wflow-core - DX X-Admin Theme - Quick edit link to userview builder is missing. @7.0-SNAPSHOT Fixed: wflow-core - DX X-Admin Theme - Menu font size is inconsistent when label has icon appended on behind. @7.0-SNAPSHOT +b2a9e46b Fixed: wflow-plugin-base - Plugin Manager - Backward compatibility issue due to db0d3a28 changes. #7149 @7.0-SNAPSHOT +bc993ea0 Modified: wflow-consoleweb - App - Change label from "Custom App Admin Role" to "Delegate App Designer Role". @7.0-SNAPSHOT +530ade24 Fixed: wflow-core - Email Tool - ICal attachment can't send in jdk 11. @7.0-SNAPSHOT +305818a2 Fixed: wflow-consoleweb - Universal/Progressive Theme - Textarea field in Ajax subform does not follow row size property on display. #7121 @7.0-SNAPSHOT +05d8f9cf Fixed: wflow-consoleweb - Universal Theme - Textarea field in Ajax subform does not follow row size property on display. #7121 @6.0-SNAPSHOT +f7f4fd3f Fixed: wflow-consoleweb - Datalist - Filter configured as hidden is displayed in mobile. #7130 @7.0-SNAPSHOT +2ccbec6e Fixed: wflow-consoleweb - Form Builder - Changes in `Properties` tab will not store after click "Save" button and continue edit. @7.0-SNAPSHOT +2adf27d3 Fixed: wflow-core - Form Builder - Section - Adding label to a section with empty label in an existing form does not show the label correctly. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Progressive Theme - Section with empty label does not show correctly. #7130 @7.0-SNAPSHOT Fixed: wflow-consoleweb - Datalist - Filter configured as hidden is displayed in mobile. #7130 @7.0-SNAPSHOT +05d8e4a2 Fixed: wflow-core - Deadline checker - Causing NPE when server startup. #7127 @7.0-SNAPSHOT +6f81dcea Fixed: wflow-consoleweb - Analyzer - Style glitch when userview loaded on slow network speed. @7.0-SNAPSHOT +5ee68968 Fixed: wflow-plugin-base - Manage Plugins - Correction of 69db0cb6. @7.0-SNAPSHOT +be9da267 Modified: wflow-core - Form Builder - Support workflow variable & file handling for form load/store binder other than the workflow/multirow form binder. @7.0-SNAPSHOT +5e1eedef Fixed: wflow-consoleweb - PWA - Service worker fetching presence and web console URLs causing requests to be in "stalled" state @7.0-SNAPSHOT +f810fa5e Fixed: wflow-core - PWA - Service worker cache name using possibly non-unique userview ID @7.0-SNAPSHOT +69db0cb6 Modified: wflow-consoleweb - Manage Plugin - Show installed plugin in a different tab. @7.0-SNAPSHOT Modified: wflow-consoleweb - Manage Plugin - Add audit trail on install/uninstall plugin event. #7088 @7.0-SNAPSHOT +cb65e535 Fixed: wflow-consoleweb - Property Editor - Element select box - Can't load property pages for empty value. @7.0-SNAPSHOT +473a8a3f Modified: wflow-consoleweb - Builders - Advanced Tool - Changed Chinese label. #7093 @7.0-SNAPSHOT +6e22dcf7 Fixed: wflow-consoleweb - Process - Participant Mapping - Remove unused "Map to the Performer" and "Map to Workflow Variable" from process start whitelist mapping. #7077 @7.0-SNAPSHOT +01b3e9ab Fixed: wflow-consoleweb - ApiServlet - API not able to get current user object. @7.0-SNAPSHOT +5f1f760c Fixed: wflow-consolewb - Property editor - regression on ddfdbd6c causing Multi Tools properties not able to load. #7097 @7.0-SNAPSHOT Fixed: wflow-consolewb - Property editor - regression on 8d0066fb causing selectbox style has extra underline. @7.0-SNAPSHOT + +CHANGES IN 7.0-BETA2 +==================== +8d0066fb Modified: wflow-consoleweb - UI - Make content links underlined. @7.0-SNAPSHOT +ddfdbd6c Fixed: wflow-consoleweb - Property Editor - Fail to load cascading options correctly when more than 1 element select pages having the same property name. #7090 @7.0-SNAPSHOT +ed4760d7 Fixed: wflow-consoleweb - App center - Info button affected display if browser zoom > 100%. #7089 @7.0-SNAPSHOT +ebe8d142 Modified: wflow-core - Tensorflow - Image detection boxes post processing - support custom output file name. #7081 @7.0-SNAPSHOT +6b8721d1 Fixed: wflow-plugin-base - Plugin Manager - Backward compatibility issue due to db0d3a2 changes. #7043 @7.0-SNAPSHOT +f48442a1 Fixed: wflow-consoleweb - Property Editor - correction for 0edb431. @7.0-SNAPSHOT +7e48a5ec Fixed: wflow-consoleweb - Builders - Property Editor opens exceeding window width. @7.0-SNAPSHOT +9d69ea7e Fixed: wflow-consoleweb - Builder - Properties tab font size is not display correctly in mobile device. @7.0-SNAPSHOT Modified: wflow-consoleweb - Property Editor - Adjusted style for link and label. @7.0-SNAPSHOT +46944d30 Fixed: wflow-consoleweb - Form Builder - Extra buttons are added to form tag after form saved. @7.0-SNAPSHOT +a23a4d28 Fixed: wflow-core - Section - Regression of 027bcd6. @7.0-SNAPSHOT +2c80cbb2 Modified: wflow-core - Multi Tools - Support run tool in multithread. @7.0-SNAPSHOT +86b9062b Modified: wflow-consoleweb - App center - Fix script error. 7.0-SNAPSHOT Modified: wflow-install - Update app center and default database. 7.0-SNAPSHOT +dd6875c4 Modified: wflow-core - AppDevUtil - Prevent path manipulation. @7.0-SNAPSHOT +d47e99ee Fixed: wflow-core - Tensorflow - Fix non released input stream. @7.0-SNAPSHOT +95e6c25f Fixed: wflow-core - Tensorflow - Fix possible NPE. @7.0-SNAPSHOT +7f14070d Fixed: wflow-consoleweb - Console UI - Grid checkbox is covered by column picker. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Console UI - Long text grid cell causing incorrect grid height. @7.0-SNAPSHOT +0edb4316 Fixed: wflow-consoleweb - Property Editor - Checkbox miss-aligned. @7.0-SNAPSHOT +345b7e5c Modified: wflow-consoleweb - Userview Builder - Show icon instead of HTML in category & menu label. @7.0-SNAPSHOT +cb836547 Fixed: wflow-core - DataListService - Can't retrieve join table attribute data eg. "jointable.attr1" when there is another attribute called "jointable". #7055 @7.0-SNAPSHOT +027bcd67 Fixed: wflow-consoleweb/wflow-core - Form Section - Section with only hidden field having border and padding in some userview theme. #7050 @7.0-SNAPSHOT +d7c0f71b Fixed: wflow-consoleweb - Form Section - Visibility control rules can't be delete when there is only one rule. #7051 @7.0-SNAPSHOT +478a92ec Fixed: wflow-core - Import App - Import app with form data storing extra column 'c_jsonrow'. @7.0-SNAPSHOT +eba68627 Fixed: wflow-consoleweb - System Logs and Presence - Cannot load logs and show presence indicators on JBoss EAP, Websphere and Weblogic @7.0-SNAPSHOT +ccbd7db7 Fixed: wflow-consoleweb - Security - Logs - System logs accessible via unauthorized websocket @7.0-SNAPSHOT +35423c0e Modified: wflow-consoleweb - Datalist Builder - Support using column name to choose which column to display in responsive mode. @7.0-SNAPSHOT +ad40c389 Modified: wflow-consoleweb - Datalist Builder - Show details of columns in canvas. @7.0-SNAPSHOT +0eb6039c Fixed: wflow-core - Multi Tools - NullPointerException when using Form Data Update Tool @7.0-SNAPSHOT +c6a71690 Fixed: wflow-consoleweb - Process view - Process image cannot be generated due to JavaScript error $processHeader.chosen is not a function, regression caused by bb7e6bc6 @7.0-SNAPSHOT +931b80cb Fixed: wflow-consoleweb - JBoss EAP - 500 Error after logout or session timeout @7.0-SNAPSHOT +7b459448 Modified: wflow-consoleweb - App center - Update button color. 7.0-SNAPSHOT +e298d77a Fixed: wflow-consoleweb - Console Inbox - Popup dialog can't scroll. 7.0-SNAPSHOT +245bf0e8 Modified: wflow-core - AppWebController - Support download for internal form data table. 7.0-SNAPSHOT +de07a325 Fixed: wflow-consoleweb - Fix message typo on datalist builder dbuilder.responsiveView.desc @7.0-SNAPSHOT +5f3e2293 Fixed: wflow-consoleweb - Web Console - Run Process popup does not load the form CSS @7.0-SNAPSHOT +8930f2bc Fixed: wflow-core - AppServiceImpl - Fixed possible NPE. 6.0-SNAPSHOT +d08bdba3 Fixed: wflow-core - Grid - Data not display in sequence due to UUID changes. 7.0-SNAPSHOT +bb7e6bc6 Modified: wflow-consoleweb - Process Builder - Change process name tab to a selector. #6993 7.0-SNAPSHOT +ff4f59c1 Fixed: wflow-core - PWA - App Center - Image missing and wrong layout in PWA desktop mode @7.0-SNAPSHOT +6359e855 Fixed: wflow-consoleweb - X-Admin Theme - X-Admin theme form display problem regression due to 7a0eed9b @7.0-SNAPSHOT +4bc399d6 Modified: wflow-consoleweb - FormUtil - Added optional element parameter to retrieve fields and values for a specific DOM subtree, required to support repeated elements eg in the subform repeater @6.0-SNAPSHOT +0bff10c1 Fixed: wflow-core - Run Process - 403 Forbidden error when Run Process menu is the first userview menu element @6.0-SNAPSHOT +568e70a1 Fixed: wflow-consoleweb - Builder - Cached property editor size caused the editor larger than window size after window resized. @7.0-SNAPSHOT +35b8580d Fixed: wflow-consoleweb - App Resource - No link to view or download the resource. @7.0-SNAPSHOT +50bd4ea7 Fixed: wflow-consoleweb - UI - Popup dialog iframe's height is incorrect after window resize. @7.0-SNAPSHOT +c9b8c001 Fixed: wflow-core - Git - Concurrent edit causing lock exception. #6939 @7.0-SNAPSHOT +a22bcb01 Fixed: wflow-consoleweb - Performance - Fixed JavaScript regression errors from 7a0eed9b in date and time picker, form grid and advanced grid @7.0-SNAPSHOT Modified: wflow-consoleweb - Performance - Reduced size of JQuery UI library by removing unused components @7.0-SNAPSHOT +17436be0 Fixed: wflow-consoleweb - App Center - JavaScript error "guiders is not defined" when loading the App Center @7.0-SNAPSHOT +ec5b8d59 Fixed: wflow-consoleweb - Tensorflow - label fix +7a0eed9b Modified: wflow-core, wflow-consoleweb - Performance - Merge, defer, preload and remove resources to optimize perceptual speed @7.0-SNAPSHOT - In wro.xml, merge /js/hubspot-offline/offline.min.js into universal.min.js and progressive.min.js - In wro.xml, merge pwa.js into universal.min.js, progressive.min.js and xadmin.min.js - In UniversalTheme.java, use link rel=”preload” for: /js/fontawesome5/fonts/fontawesome-webfont.woff2?v=4.6.1 /js/fontawesome5/webfonts/fa-brands-400.woff2 /js/fontawesome5/webfonts/fa-solid-900.woff2 /lib/material-design-iconic-font/fonts/Material-Design-Iconic-Font.woff2?v=2.2.0 - In UniversalTheme.java and XadminTheme.java, set fixed image 30x30 for gravatar icons - In adminBar.jsp, remove loadCSS("${pageContext.request.contextPath}/js/fontawesome5/css/all.min.css"); since the CSS is already in wro/common.css - In scripts.jsp and UserviewThemeProcesser.java, append image_alive img tag only in keepMeAlive function to prevent unnecessary initial loading of image - Split common.js into common.js and common.preload.js and defer common.js - Merge /universal/js/preload.js into universal.min.js and /progressive/js/progressive.js into progressive.min.js, to remove unnecessary preloading - Merge /css/form.css into userview.min.css, userview_v5.min.css, universal.preload.min.css and progressive.preload.min.css to preload - In dataListView.jsp, use link rel=”reload” for /js/footable/fonts/footable.woff +4016229b Fixed: wflow-core - Tensorflow - Fixed image input label error. @7.0-SNAPSHOT +80e535f6 Modified: wflow-core - Tensorflow - Support image input with no normalization. @7.0-SNAPSHOT Modified: wflow-core - Tensorflow - Adding image detection boxes post-processing. @7.0-SNAPSHOT Modified: wflow-core - Tensorflow - Support scores and threshold for values to label post processing. @7.0-SNAPSHOT +7324e9fc Fixed: wflow-plugin-base - Plugin Manager - Plugin label locale is wrong when switching locale. @6.0-SNAPSHOT +d88c62ce Fixed: wflow-plugin-base - Plugin Manager - Plugin label locale is wrong when switching locale. @7.0-SNAPSHOT +5cd2e0d4 Modified: wflow-consoleweb - Process Mapper - Participant mapping title is wrong. @7.0-SNAPSHOT +a71ce7fc Fixed: wflow-install - Setup - Sample SQL DDL table names are not in the correct case @7.0-SNAPSHOT +3e6cf851 Modified: wflow-core - Performance - Hotspot - Cache slow dirLastModified method in AppDevUtil @7.0-SNAPSHOT +435bd9a5 Modified: wflow-commons - Performance - Hotspot - Reduce slow LESS compilation calls @7.0-SNAPSHOT +bc34be66 Modified: wflow-core - Tensorflow AI plugin - Adding "File bytes" as input type. @7.0-SNAPSHOT +a0f61ced Fixed: wflow-core - Environment Variable - Error committing to Git during concurrent requests under load e.g. updating Env Variables by ID Generator field. @7.0-SNAPSHOT + +CHANGES IN 7.0-BETA +======================= +804580af Fixed: wflow-core - UserviewUtil - Fixed possible NPE. @7.0-SNAPSHOT +6cb186e3 Fixed: wflow-console - System Logs - Cannot load logs on JBoss EAP @7.0-SNAPSHOT +b5de0096 Fixed: wflow-wfengine - Workflow Assignment - Changes on 7a7182e not working on PostgreSQL. @7.0-SNAPSHOT +d7d33dcc Fixed: wflow-core - File Upload - Value is wrong after the form is submitted and render back the form. #6909 @6.0-SNAPSHOT +52ee583b Fixed: wflow-core - DateHashVariable - Unparseable date error for empty/invalid nested date @6.0-SNAPSHOT +a5297858 Fixed: wflow-consoleweb - Date Picker - Time slider not working in touch device. #6908 @6.0-SNAPSHOT +d757e6f5 Fixed: wflow-wfengine - Monitoring - Can't retrieve data in oracle. @7.0-SNAPSHOT +c4972f36 Modified: wflow-install - Update sample database script and default database data. @7.0-SNAPSHOT +1414bf6b Fixed: wflow-commons - Startup - MariaDB dialect cannot resolved by Hibernate. @7.0-SNAPSHOT +581e2662 Fixed: wflow-core - FormRow - NPE when comparing row IDs #6907 @6.0-SNAPSHOT +98ea1278 Modified: wflow-consoleweb - App Center - Update CSS & JS. @7.0-SNAPSHOT +2fed0458 Modified: wflow-jdbc, wflow-commons, wflow-consoleweb - MySQL - Upgraded MariaDB JDBC driver to 2.5.0 to support MySQL 8 default caching_sha2_password authentication @7.0-SNAPSHOT +4e0ed7e5 Modified: wflow-consoleweb - App Center - Clean Up CSS +a13b24f5 Added: wflow-core - Expression Hash Variable - Support #exp.EXPRESSION#. @7.0-SNAPSHOT +fa22fe34 Modified: wflow-consoleweb - App Center - Add Resizable Feature, Rotating Background, Fixed Assignment Text Typo @7.0-SNAPSHOT +06a5c691 Fixed: wflow-consoleweb - Console - JSON Table need to click on text to open popup editing. @7.0-SNAPSHOT +5564a46a Fixed: wflow-consoleweb - CustomFormDataTable - Form Data Table does not created after custom form data table definition is create. @7.0-SNAPSHOT +da5d1ee5 Fixed: wflow-consoleweb - Console - Json table can't display correctly. @7.0-SNAPSHOT +3ee5e745 Modified: wflow-core - PWA Offline - Refresh offline data list after syncing. @7.0-SNAPSHOT +49014cee Fixed: wflow-core - PWA Offline - Missing Icons. @7.0-SNAPSHOT +8b90c8af Fixed: wflow-consoleweb - clear.gif is being blocked by adblocker. @7.0-SNAPSHOT +4943afd9 Fixed: wflow-core/wflow-consoleweb - PWA Offline - offline detection method. @7.0-SNAPSHOT +f07e88ff Fixed: wflow-consoleweb - Advanced Tool - Permission - Default permission plugin can't save for form & userview builder. @7.0-SNAPSHOT +34bd242b Fixed: wflow-consoleweb - Run Apps- App name and its userview name formatting is distorted. @7.0-SNAPSHOT +df4ee3fb Fixed: wflow-consoleweb - UserviewWebController - Prevent possible XSS. @7.0-SNAPSHOT +df240de0 Fixed: wflow-consoleweb - Mobile - Datalist action button `Show all details` can't expand the list columns. @7.0-SNAPSHOT +afd73238 Fixed: wflow-consoleweb - Mobile - APM - Top menu is truncated, and actions button appears over menu. @7.0-SNAPSHOT +011e9569 Fixed: wflow-wfengine - Monitoring - Process Name filter throw error when contains space. @7.0-SNAPSHOT +ae26e778 Fixed: wflow-consoleweb - Property Editor - Fields validation for page button is not working correctly. @7.0-SNAPSHOT +d5bbd47e Modified: wflow-consoleweb - Manage Plugin - changed Uninstallable to Removable +9dc6ee31 Fixed: wflow-core - UserviewUtil - Fixed possible path manipulation. @7.0-SNAPSHOT Fixed: wflow-core - App - Fixed possible unreleased Resource. @7.0-SNAPSHOT +a0c30cb8 Fixed: wflow-wfengine - Monitoring - Search & start time does not work correctly for running/completed processes list. @7.0-SNAPSHOT +f2ff9d09 Modified: wflow-consoleweb - Setup - Remove unused apps. @7.0-SNAPSHOT +c048d0d5 Modified: wflow-consoleweb -App Center - Updated background. @7.0-SNAPSHOT +552311a2 Fixed: wflow-consoleweb - App Center - Fixed hardcoded context path. @7.0-SNAPSHOT +53041f25 Fixed: wflow-wfengine - Monitoring - Regression on f5cbb4f. Displaying record id for processes. @7.0-SNAPSHOT +face132b Fixed: wflow-consoleweb/wflow-core - Builder - Font awesome 4 icons does not display in the builder. @7.0-SNAPSHOT +7f9e18b3 Fixed: wflow-consoleweb - Builder Advanced Tool - Tree viewer - Error indicator does not clear after error fixed. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Builder Advanced Tool - Tree viewer - False error indicator shown for subform. @7.0-SNAPSHOT +f5cbb4f8 Modified: wflow-consoleweb - Monitoring - Displaying record id for processes. @7.0-SNAPSHOT +78901056 Fixed: wflow-core/wflow-consoleweb - PWA Offline - responsive offline data table. @7.0-SNAPSHOT +29883fca Fixed: wflow-core - Regression - Vulnerable jackson-databind-2.3.3.jar is repackaged into the WAR. @7.0-SNAPSHOT +469eb321 Fixed: wflow-consoleweb - Universal/Progressive Theme - 404 error loading responsive-switch.min.js. @7.0-SNAPSHOT +f986cf45 Fixed: wflow-core - Text Field Datalist Filter Type - Placeholder not working for joined table field. #6877 @6.0-SNAPSHOT +2e658f1d Fixed: wflow-consoleweb - PWA - Fixed grammatical error in PWA Offline setting description @7.0-SNAPSHOT +7ba5501b Modified: wflow-consoleweb - File Upload - Update properties label. @7.0-SNAPSHOT +5214f1b4 Fixed: wflow-consoleweb - Mobile - Login page incorrectly redirects to the old mlogin page when viewed from a mobile device @7.0-SNAPSHOT +8dd44178 Fixed: wflow-consoleweb - Mobile - Console home is not formatted for mobile @7.0-SNAPSHOT +2d888715 Modified: wflow-consoleweb - Form Builder - Add validation for reserve ids in field id field. #6804 @7.0-SNAPSHOT +e56a606d Fixed: wflow-wfengine/wflow-core - Process Data Collector - Subflow activity is not tracked. @7.0-SNAPSHOT Modified: wflow-core - Report Manager - Add method to retrieve activities instance list by process instance id. @7.0-SNAPSHOT +c81a7aa2 Fixed: wflow-consoleweb - Datalist Builder - CSS issues. @7.0-SNAPSHOT +0ef74ffc Fixed: wflow-commons, wflow-consoleweb - Tomcat console does not shutdown gracefully on Windows due to running ScheduledExecutorService @7.0-SNAPSHOT +823ad15b Fixed: wflow-consoleweb - Builders - Properties page scrollable causing the properties editor covering the builder tabs. @7.0-SNAPSHOT +5a118fb6 Fixed: wflow-core - Cannot import app - regression #6866 @7.0-SNAPSHOT +f73c21e9 Modified: wflow-core/wflow-consoleweb - Datalist - Adding interface to allow datalist action & formatter plugin to inject extra one time HTML to datalist rendering. @7.0-SNAPSHOT +6699e459 Fixed: wflow-consoleweb - "Do not import plugins" & "Do not import form data" checkbox cannot be checked @7.0-SNAPSHOT +1f73d57c Fixed: wflow-core - MfaAuthenticator - Does not log for login event. #6859 @6.0-SNAPSHOT +d6dd6115 Fixed: wflow-consoleweb - App - App name cannot handle & character correctly. @6.0-SNAPSHOT +f78c6194 Fixed: wflow-core - Text Field - Thousand separator caused calculation error. #6868 @6.0-SNAPSHOT +8613362c Fixed: wflow-consoleweb - App - App name cannot handle & character correctly. @7.0-SNAPSHOT +ece4de68 Fixed: wflow-core - Datalist - Exporting parameter value is retrieved from session causing NPE. #6863 @6.0-SNAPSHOT +84fbafdc Fixed: wflow-consoleweb - PWA to not initialise when in an iframe +fe1db73d Fixed: correction to wflow-app - pom.xml @7.0-SNAPSHOT +b7d68b95 Fixed: wflow-core - Datalist Builder - Hidden action plugin is appear in the builder. @6.0-SNAPSHOT +323ff784 Fixed: wflow-core - Git - Added missing hashCode method in GitCommitHelper @7.0-SNAPSHOT +c614c2b7 Modified: wflow-core, wfengine - Form - Use UUID instead of process instance ID for form record ID @7.0-SNAPSHOT +db46dc83 Modified: wflow-commons - UUID - Modified UuidGenerator to generate a globally unique identifier based on UUIDv4 @7.0-SNAPSHOT +29607402 Added: wflow-core - GeneratorUtil - Adding more utility methods. @7.0-SNAPSHOT +812b0d3c Fixed: wflow-core - Datalist Builder - Hidden action plugin is appear in the builder. @7.0-SNAPSHOT +7a7182eb Added: wflow-wfengine - Workflow Manager - Added new methods. @7.0-SNAPSHOT +2ef900df Fixed: wflow-consoleweb - Property Editor - Screen blocked by background AJAX loading and never unblock it later. @7.0-SNAPSHOT +1cdbf6b4 Modified: wflow-consoleweb - JQuery - Upgraded to JQuery 3.4.1 @7.0-SNAPSHOT +c5e4089d Added: wflow-core - PWA - Added apple-touch-icon for Lighthouse PWA audit requirement @7.0-SNAPSHOT +e42bb9be Fixed: wflow-consoleweb - Admin Bar - Quick edit buttons are mistakenly displayed in iframes @7.0-SNAPSHOT +8aac2571 Fixed: wflow-consoleweb - Column - Horizontal layout does not work in subform. #6834 @6.0-SNAPSHOT +7af4042c Fixed: wflow-core - Section - Visibility control checking does not work correctly on empty value during PDF generation. #6837 @6.0-SNAPSHOT +1c7e14a0 Fixed: wflow-plugin-base - PropertyUtil - NPE when plugin properties is null. @7.0-SNAPSHOT Modified: wflow-wfengine - WorkflowManager - Allow multiple assignee complete same activity. @7.0-SNAPSHOT Modified: wflow-core - Form Row Datalist Binder - Support for internal form data table. @7.0-SNAPSHOT +972a7c06 Added: wflow-consoleweb/wflow-core - Added ProcessFormModifier plugin type to extend assignment form feature. @7.0-SNAPSHOT +f619362b Fixed: wflow-consoleweb - X-admin Theme - Multi Selectbox not working correctly when in single select mode. @7.0-SNAPSHOT +a9656ba2 Fixed: wflow-core/wflow-consoleweb - Duplicate cache URL exception when installing/initializing Service Worker for PWA Offline support. @7.0-SNAPSHOT +7a5751b5 Fixed: wflow-core - FormPdfUtil - NPE when system locale is null. #6744 @6.0-SNAPSHOT +2ba9a8cc Fixed: wflow-plugin-base - Plugin Manager - Not installed when plugin jar override an existing jar with same filename. @7.0-SNAPSHOT +ef1d810e Fixed: wflow-core - FormPdfUtil - English text font is switch from times to STSONG. #6744 @6.0-SNAPSHOT +75589643 Modified: wflow-core - Form Options Cache - Improve debugging message and adding fallback if error. @6.0-SNAPSHOT +0f79b425 Fixed: wflow-core - FormPdfUtil - English text font is switch from times to STSONG. #6744 @6.0-SNAPSHOT +de68e4e8 Modified: wflow-consoleweb - Admin Bar - Should be hidden by default upon first login @7.0-SNAPSHOT +05293787 Fixed: wflow-core - Duplicate Value Validator - Does not work correctly when a form is save as draft before. @6.0-SNAPSHOT +0d56747c Modified: wflow-core - Date Hash Variable - Using date hash variable to format value in form grid does not work correctly. #6806 @6.0-SNAPSHOT +fb53080c Modified: wflow-consoleweb - Grammatical fixes in messages for PWA Offline support @7.0-SNAPSHOT +b530e254 Fixed: wflow-consoleweb - Missing online message for PWA Offline support @7.0-SNAPSHOT +2cf30b1d Modified: wflow-consoleweb/wflow-core - Advanced Tool - Tree viewer - Show warning for missing plugins, missing element & PWA Offline compatible issue. @7.0-SNAPSHOT Modified: wflow-consoleweb/wflow-core - Advanced Tool - Tree viewer - Show indicator for PWA Offline compatible issue. @7.0-SNAPSHOT Modified: wflow-consoleweb - Userview Builder - Show confirmation dialog for userview menu enabled PWA Offline and having compatible issue. @7.0-SNAPSHOT Modified: wflow-core - Plugins - Implement PWA offline compatible checking. @7.0-SNAPSHOT +df209959 Added: wflow-core/wflow-consoleweb - PWA Offline Support. @7.0-SNAPSHOT +f8424145 Fixed: wflow-consoleweb - Embed Datalist - JSON data is HTML encoded. #6785 @6.0-SNAPSHOT +7f50ffbd Fixed: wflow-core - GridInnerDataStoreBinderWrapper - Incorrectly handle preloaded data during storing. #6777 @6.0-SNAPSHOT +d889d6fe Fixed: wflow-consoleweb - Update ace editor to 1.4.5 to fix missing sql syntax highlight. @6.0-SNAPSHOT +da4dcb42 Fixed: wflow-consoleweb - Process Tool - Support to configure multiple plugins. @7.0-SNAPSHOT +318ac1ce Fixed: wflow-consoleweb - Property Editor - Property page position render incorrectly in single page mode when code editor height getting longer. @7.0-SNAPSHOT +ecd20f83 Fixed: wflow-consoleweb - Builder - Property page can't go back to design page without click on property editor first. @7.0-SNAPSHOT +9da44d75 Fixed: wflow-consoleweb - Property Editor - Element plugin property pages are not appended in sequence. @7.0-SNAPSHOT +af19f629 Fixed: wflow-core - Git - Does not handle custom builder definition. @7.0-SNAPSHOT Fixed: wflow-core - Create new app version - Does not handle custom builder definition. @7.0-SNAPSHOT Fixed: wflow-core - Generate Message PO - Does not include message in custom builder definition. @7.0-SNAPSHOT +73a8facd Modified: wflow-core - PWA Offline - Provided form/userview element static resources in cache URLs API. @7.0-SNAPSHOT +c02f8358 Fixed: wflow-core - PWA Offline Support - Missing menu id for URL started with "?" character. @7.0-SNAPSHOT +18f0fd46 Fixed: wflow-consoleweb - Grid - Visibility controlled section did not display grid values after validation error. #6406 @6.0-SNAPSHOT +d22fd47c Fixed: wflow-consoleweb - Process Builder - Add checking for invalid format workflow variable. #6717 @6.0-SNAPSHOT +1e80c009 Fixed: wflow-plugin-base - Plugin Manager - Possible NullPointerException when new plugin uploaded by another instance @6.0-SNAPSHOT +373645d0 Fixed: wflow-consoleweb - X-Admin Theme - Side bar not able to scroll to view long menus. @7.0-SNAPSHOT +1d73e378 Fixed: wflow-consoleweb - X-Admin Theme - The time field of datetime picker is blocked by slider. @7.0-SNAPSHOT Fixed: wflow-consoleweb - X-Admin Theme - Spreadsheet dropdown selectbox does not display correctly. @7.0-SNAPSHOT Fixed: wflow-consoleweb - X-Admin Theme - Multi page form aligned element in center. @7.0-SNAPSHOT +a65be49c Fixed: wflow-consoleweb - Quick Edit - Enabled/disabled does not show/hide the quick edit link in iframe. @7.0-SNAPSHOT +3140490a Fixed: wflow-core - File Upload - Not working correctly with Advanced Grid. @6.0-SNAPSHOT +b816c5c6 Fixed: wflow-core/wflow-consoleweb - Fixed typos in a17a403. @7.0-SNAPSHOT +a17a4036 Modified: wflow-core/wflow-consoleweb - Userview Menu - Support PWA offline based on theme. @7.0-SNAPSHOT + +CHANGES IN 7.0-PREVIEW3 +======================= +d40c5f93 Fixed: wflow-consoleweb - X-Admin Theme - Prevent redirect away from index page. @7.0-SNAPSHOT +27dd23fc Fixed: wflow-consoleweb - Install from marketplace - Fixed install plugin from marketplace on 543cf99 not working correctly. @7.0-SNAPSHOT +18bab6fe Fixed: wflow-commons - Plugin Manager - FileAlterationListener class not found after merged. @7.0-SNAPSHOT +d16068f6 Fixed: wflow-consoleweb - Log Viewer - Buttons overlapped with presence indicator. @7.0-SNAPSHOT +c76a86ee Fixed: wflow-core - X-Admin Theme - Link color is not configurable. @7.0-SNAPSHOT Modified: wflow-core - X-Admin Theme - Change default theme color to blue. @7.0-SNAPSHOT Modified: wflow-core - X-Admin Theme - Support remember opened tabs option. @7.0-SNAPSHOT Fixed: wflow-core - X-Admin Theme - Header & side menu are not shown in userview preview. @7.0-SNAPSHOT Modified: wflow-core - X-Admin Theme - Show leaving window alert. @7.0-SNAPSHOT Fixed: wflow-core - X-Admin Theme - Padding top of no label section is incorrect. @7.0-SNAPSHOT +543cf999 Fixed: wflow-plugin-base - Plugin Manager - Previous plugin version is not removed when upload new version. @7.0-SNAPSHOT +58c4682f Modified: wflow-consoleweb - Install from marketplace - Support install plugin. @7.0-SNAPSHOT +9779ccea Fixed: wflow-core - Removed accidentally committed file 7e80fa71. 7.0-SNAPSHOT +76085cc5 Fixed: wflow-consoleweb - Removed accidentally committed file 7e80fa71. 7.0-SNAPSHOT +7e80fa71 Added: wflow-core - Added X-admin userview theme. 7.0-SNAPSHOT +6b8c7f37 Fixed: wflow-core - Email Tool - ics attachment not working in outlook. #6637 @6.0-SNAPSHOT +b4d384cd Modified: wflow-consoleweb - Update message bundle for Arabic. @6.0-SNAPSHOT Fixed: wflow-consoleweb - Removed duplicate keys in message bundle. @6.0-SNAPSHOT +ef85cf38 Fixed: wflow-consoleweb - Log Viewer - HTML in log is not escaped. @7.0-SNAPSHOT +8a247772 Modified: wflow-consoleweb - Presence Indicator - Too hard to read the small font. @7.0-SNAPSHOT +def2452f Fixed: wflow-core - Progressive Userview Theme - Style for no title form section is incorrect. @7.0-SNAPSHOT +b6044ee3 Fixed: wflow-core - Process - Id generator field in first process activity is not handled correctly. #6637 @6.0-SNAPSHOT +c05c89d8 Modified: wflow-plugin-base - Plugin Manager - Automatically reload uploaded plugins from other nodes in a clustered environment. @6.0-SNAPSHOT +f1d197a9 Fixed: wflow-core - Process - Form Hash Variable not able to retrieve value due to custom id generated by Id generator field. #6637 @6.0-SNAPSHOT +4c79af99 Modified: wflow-consoleweb - Process Mapper - reload process view page if there is changes. @7.0-SNAPSHOT +0afa7f30 Fixed: wflow-consoleweb - Admin bar - maximize does not work correctly. @7.0-SNAPSHOT +37e7b339 Fixed: wflow-consoleweb - Directory - Edit Group not displaying saved organization value in select box. @7.0-SNAPSHOT +dee0b072 Fixed: wflow-consoleweb - Process Mapper - Change remove mapping icon to trash icon. @7.0-SNAPSHOT +7dcd91f4 Fixed: wflow-core/wflow-consoleweb - Tensorflow plugin - Fixed wrong label for Audio MelSpectrogram. @7.0-SNAPSHOT +d9b0c064 Fixed: wflow-core/wflow-consoleweb - Tensorflow plugin - Validation not showing correctly. @7.0-SNAPSHOT +97b93d1b Fixed: wflow-plugin-base - Plugin Manager - Custom builder interface is missing after a plugin is installed. @7.0-SNAPSHOT +761efff5 Fixed: wflow-core - App admin role is not working for custom builder. @7.0-SNAPSHOT +ce387ae7 Fixed: wflow-consoleweb - Fixed possible NPE. @7.0-SNAPSHOT +4b53d7da Fixed: wflow-commons - Correction of d7058b11. @7.0-SNAPSHOT + +CHANGES IN 7.0-PREVIEW2 +======================= +d7058b11 Fixed: wflow-commons - AbstractSpringDao - Incorrectly handle count with group by. @7.0-SNAPSHOT +4f63cf21 Fixed: wflow-core - Userview - Redirection URL after login is double encoded. #6609 @6.0-SNAPSHOT +1a713ed3 Modified: wflow-install - Update crm app icon. @7.0-SNAPSHOT +7ee0cb9f Modified: wflow-install - Update database data. @7.0-SNAPSHOT +db434e5b Modified: wflow-consoleweb - Update zh_CN & zh_TW message bundle. @7.0-SNAPSHOT +b5beee9d Fixed: wflow-wfengine - Monitoring - Number of activities in activities listing is incorrect on last page. @7.0-SNAPSHOT +fb318aba Fixed: wflow-consoleweb - APM - Refactoring. @7.0-SNAPSHOT +d4aa7082 Fixed: wflow-core - FormPdfUtil - Double quote in value is not render correctly in PDF. #6605 @6.0-SNAPSHOT +37f1fc4f Fixed: wflow-core - Grid - Style affected other grid. #6603 @6.0-SNAPSHOT +49890c72 Modified: wflow-consoleweb - Log Viewer - Support download log. @7.0-SNAPSHOT +b56f71f9 Modified: wflow-consoleweb - Design App - Tagging - Support click tag to search by tag. @7.0-SNAPSHOT +67c4e5dd Modified: wflow-consoleweb - Design App - Tagging - Support search by tag color if there is no name for the tag. @7.0-SNAPSHOT +93128fc2 Fixed: wflow-consoleweb - PWA - NPE exception when userview is deleted. @7.0-SNAPSHOT +5b820e24 Fixed: wflow-core/wflow-directory - Fixed possible NPE. @7.0-SNAPSHOT +540b7a12 Modified: wflow-consoleweb - Design App - Add placeholder for search field & change tags toggle link icon. @7.0-SNAPSHOT +fd3799e9 Modified: wflow-consoleweb - Design App - Support tagging for builder items. @7.0-SNAPSHOT +cacf80a6 Modified: jw-community - Updated Git URLs @6.0-SNAPSHOT +c7fcf6af Fixed: wflow-core - FormUtil - Format dateCreated & dateModified according to System Date Format. #6527 6.0-SNAPSHOT +8254984d Fixed: wflow-consoleweb - Presence Indicator - Inactive session did not clear correctly sometime. 7.0-SNAPSHOT +6b7d45ae Fixed: wflow-plugin-base - Plugin Manager - OSGI plugin does not show as Uninstallable. 6.0-SNAPSHOT +55e88aef Fixed: wflow-core - FormUtil - dateCreated & dateModified from JDBC binder is not handle correctly. #6527 6.0-SNAPSHOT +48678eee Fixed: wflow-core - Text Field - Encryption is not handled correctly for readonly. #6577 6.0-SNAPSHOT +ba42a6ac Modified: wflow-core - Universal/Progressive Theme - Home icon link point to landing page by default. 7.0-SNAPSHOT +b970f78f Modified: wflow-core - Date Picker - Make data format default to 'yyyy-MM-dd' for new added field. 7.0-SNAPSHOT +f26ace7c Modified: wflow-core - File Upload - Support image resize. 7.0-SNAPSHOT +22cef39a Fixed: wflow-consoleweb - Form Builder Properties - When changing table name, it trigger validation error on unfilled mandatory field. 7.0-SNAPSHOT +25a7147d Modified: wflow-consoleweb - Export App - Display used plugin jars list. 7.0-SNAPSHOT +b1900a16 Modified: wflow-consoleweb - Form Properties - Show form table prefix. 7.0-SNAPSHOT +969ec0d3 Modified: wflow-consoleweb - Process View - Added search feature for every tabs. 7.0-SNAPSHOT +e44e19c7 Fixed: wflow-consoleweb - Process Builder - Process Deadline duration unit "yyyy-MM-dd HH:mm" reverts to "yyyy-MM-dd" after save. #6571 6.0-SNAPSHOT +bf6d397f Fixed: wflow-designer/wflow-core - Correction for d83450a. Fixed possible NPE. 6.0-SNAPSHOT +12d895b7 Fixed: wflow-consoleweb - Builder - Edit properties - label trimmed when having validation error. 7.0-SNAPSHOT +d83450ac Fixed: wflow-designer/wflow-core - Fixed possible NPE. 6.0-SNAPSHOT +82467bc5 Modified: wflow-consoleweb - Property Editor - Support required validation checking based on the value of another field. @7.0-SNAPSHOT Modified: wflow-consoleweb - Property Editor - Repeater field type - support dynamic field and dynamic required validation checking. @7.0-SNAPSHOT +4fec39f9 Fixed: wflow-consoleweb - Property Editor - Icons of repeater row property type is miss-aligned in IE. @7.0-SNAPSHOT +b47d870a Modified: wflow-core - Admin Bar - Enable quick edit by default. @7.0-SNAPSHOT +d18c25b0 Fixed: wflow-core - Form Menu - Cancel link target set to parent does not handle correctly. @7.0-SNAPSHOT +5997a1f9 Modified: wflow-consoleweb - MS SQL Server - Updated DDL schema SQL @6.0-SNAPSHOT +d576a0bf Modified: wflow-directory/wflow-consoleweb - Support assign user to multiple organizations, departments & grades. @7.0-SNAPSHOT +9436b91c Modified: wflow-consoleweb - Oracle - Updated DDL schema SQL @6.0-SNAPSHOT +20229e14 Modified: wflow-core - Added description to fields in plugins +eabf5bc6 Fixed: wflow-consoleweb - Presence - Fixed ERR_INCOMPLETE_CHUNKED_ENCODING error appearing in the browser console @7.0-SNAPSHOT +6480118b Modified: wflow-install - Installer - Updated README to indicate Java 8 as minimum requirement @6.0-SNAPSHOT +79dd8782 Modified: wflow-install - Installer - Increase default max heap space config in tomcat startup script to 768M @7.0-SNAPSHOT +192d89a8 Fixed: wflow-core - PWA - start_url does not respond with a 200 when offline @7.0-SNAPSHOT +40c6de06 Fixed: wflow-consoleweb - App Center - User task notification is not enabled by default @7.0-SNAPSHOT +50a804d1 Modified: wflow-consoleweb - App Center - Reduced size of app icons for mobile to 100x100 @7.0-SNAPSHOT +00494e3c Fixed: wflow-install - Invalid setup.nsi after 6.0-SNAPSHOT merge @7.0-SNAPSHOT +3d179670 Modified: wflow-install - Upgraded to Apache Tomcat 8.5.41 @6.0-SNAPSHOT +67585726 Modified: wflow-consoleweb - JS Libraries - Upgraded to Bootstrap 3.4.1 @7.0-SNAPSHOT +6c85f75e Modified: wflow-consoleweb - App Center - Slightly reduced size of app icons for mobile @7.0-SNAPSHOT +a9dc6519 Modified: jw-community - Apps - Updated default app and DB SQL @7.0-SNAPSHOT +27fde663 Modified: wflow-consoleweb - Userview - New default app userview icon @7.0-SNAPSHOT +882683bf Modified: wflow-consoleweb - App Center - New default userview design and added alternate userview design @7.0-SNAPSHOT +f5647d8e Modified: wflow-consoleweb - Design App - Rearrange the sub menu. @7.0-SNAPSHOT +173dd557 Fixed: wflow-core - FormDataDao - Not able retrieve form field ids by tablename when one of form is protected and license is missing. #6476 @7.0-SNAPSHOT +31674f6a Fixed: wflow-core - Grid - Data type exception when grid does not having store binder and dateCreated/dateModified is used as grid column. #6529 @6.0-SNAPSHOT +a4b3cc18 Modified: wflow-core - Added common task scheduler. @7.0-SNAPSHOT +b2577d43 Modified: wflow-consoleweb - Property Editor - Allow page button to send all fields data to AJAX call. @7.0-SNAPSHOT +b0d24eb4 Fixed: wflow-consoleweb - Mobile - Web console with flexigrid tables on iOS not showing responsive mobile view @7.0-SNAPSHOT +592b28d8 Fixed: wflow-core - File Upload - File not store when form having partially store enabled Multi Paged Form element. #6520 @6.0-SNAPSHOT +7ed96e9e Modified: wflow-consoleweb - Mobile - Removed unused commented code from 6e0b9369 @7.0-SNAPSHOT +6a750b0c Fixed: wflow-consoleweb - Mobile - Scrolling userview menu on Joget Mobile App scrolls the background instead @7.0-SNAPSHOT +6e0b9369 Modified: wflow-consoleweb - Mobile - Hide admin bar when accessing from Joget Mobile App @7.0-SNAPSHOT +90cd319a Fixed: wflow-consoleweb: Update ace editor to 1.4.4 to fix IOS not rendering editor issue. @6.0-SNAPSHOT +799fcbbd Fixed: wflow-app: Unintended commit in 644322c8 @7.0-SNAPSHOT +ac9c3dcd Modified: wflow-consoleweb - Custom Builder - Enhanced builder implementation. @7.0-SNAPSHOT +4b9ae3a4 Modified: wflow-consoleweb - Property Editor - Adding simple mode. @7.0-SNAPSHOT +644322c8 Modified: wflow-core, wflow-consoleweb - Delegated App Admin - Normal users can be assigned as app admin, and admin users can access all apps @7.0-SNAPSHOT +b78015cc Fixed: wflow-consoleweb - App Center - "Install App" button in "Download from Marketplace" overlay is hidden behind overlay buttons @7.0-SNAPSHOT +1ace9817 Fixed: wflow-consoleweb - Security - Additional validation to prevent marketplace URL server-side request forgery reported in Fortify scan @7.0-SNAPSHOT +e97f6aed Fixed: wflow-consoleweb - Security - Additional validation to prevent heeader manipulation reported in Fortify scan @7.0-SNAPSHOT +a52d297d Fixed: wflow-core, wflow-consoleweb - Security - Additional validation to prevent path manipulation reported in Fortify scan @7.0-SNAPSHOT +0a231862 Fixed: wflow-core - AppServiceImpl - Additional checks to prevent null dereference @7.0-SNAPSHOT +a4c7609c Fixed: wflow-core - TensorFlow - Close inputstream in finally block when processing inputs @7.0-SNAPSHOT +dbcd7951 Fixed: wflow-plugin-base - Plugin Manager - Additional null check to ensure inputstream closed after upload @7.0-SNAPSHOT +25c9cd45 Fixed: wflow-consoleweb - Security - Added string escaping to prevent XSS in plugin configuration page @7.0-SNAPSHOT +631ed6d9 Fixed: wflow-core - Form - Added string validation to prevent SQL injection when exporting form data @7.0-SNAPSHOT +b84885a3 Fixed: wflow-core - Userview Menu - Regression of ad363a causing redirection not working correctly. @7.0-SNAPSHOT +ad363a5e Modified: wflow-core/wflow-consoleweb - Form/Run Process Menu - Support redirection target option for after form submission redirection. @7.0-SNAPSHOT +634740bf Fixed: wflow-consoleweb - UI - Regression of update FontAwesome 5. @7.0-SNAPSHOT +e202a57a Fixed: wflow-consoleweb - Admin Bar - Overlay buttons new style is not consistent with other popup. @7.0-SNAPSHOT +cea44ffa Fixed: wflow-core - Property Editor - Incorrectly handling for plugin without property. @7.0-SNAPSHOT +e8ded611 Fixed: wflow-core - Git - Used plugins are not manage correctly in multi tenant. @7.0-SNAPSHOT +4824f210 Fixed: wflow-consoleweb - Property Editor - Property editor is blank with JavaScript error "AdvancedTools is not defined", regression from d185b7 @7.0-SNAPSHOT +819aa482 Fixed: wflow-consoleweb - Advanced Tool - Close button style is affected by admin bar @7.0-SNAPSHOT +f6d82aaf Fixed: wflow-consoleweb - Process Builder - Participants of removed process is not clean from XPDL and causing App Generator fail to regenerate the same process. #6460 @6.0-SNAPSHOT +85c8acf9 Fixed: wflow-consoleweb - Process Builder - Not able to deploy after update from "Debug" textarea. @6.0-SNAPSHOT +fce9062d Fixed: wflow-core - Date Picker - Picker is covered by on-screen keyboard on IOS. #6461 @6.0-SNAPSHOT +c9d60258 Modified: wflow-consoleweb/wflow-install - Update glowroot to version 0.13.4. @7.0-SNAPSHOT Fixed: wflow-commons - Regression of bf1619. @7.0-SNAPSHOT +bf1619b4 Modified: wflow-consoleweb - LogViewer - Support for clustering without extra configuration. @7.0-SNAPSHOT +d28a1524 Fixed: wflow-consoleweb - UI - Popup - Enlarged parent iframe cannot be restored to original position & size when its does has style attribute. @7.0-SNAPSHOT +d77d3158 Fixed: wflow-consoleweb - Admin Bar - Regression for disable auto shrinking affect changes. @7.0-SNAPSHOT +a551e954 Fixed: wflow-core - Form Permission - Regression bug caused Advanced Grid cell data cannot render. @7.0-SNAPSHOT +e6261f14 Modified: wflow-consoleweb - Admin Bar - Allow to disable the auto shrinking affect. @7.0-SNAPSHOT +a9b357d9 Modified: wflow-consoleweb - Export App - Disabled export plugin feature for multitenant and secure mode. @7.0-SNAPSHOT +7da1117b Fixed: wflow-consoleweb - UI - Flexigrid row height too large if cell has a lot of content e.g. notes column in app versions @7.0-SNAPSHOT +c0eaa07b Modified: wflow-consoleweb - Log Viewer - Only show log web socket and IO errors when debug level is enabled to avoid unnecessary logging @7.0-SNAPSHOT +e3f6ebb0 Fixed: wflow-consoleweb - Log Viewer - Rolling log file not working, log file does not rollover even after MAX_FILESIZE limit @7.0-SNAPSHOT +e3c7abf6 Fixed: wflow-consoleweb - Log Viewer - Browser freezes while viewing System Logs page when log is large @7.0-SNAPSHOT +d3c384a3 Fixed: wflow-consoleweb - Advanced Tools - Permission - Support for Custom Builder is limited. @7.0-SNAPSHOT +0483b012 Fixed: wflow-consoleweb - Advanced Tools - Tab navigator is covered by scrollbar in Mac OS Chrome browser smaller resolution. @7.0-SNAPSHOT +f6866b72 Fixed: wflow-consoleweb - Advanced Tools - Tree Viewer - Support for Custom Builder is limited. @7.0-SNAPSHOT +2dabf913 Fixed: wflow-consoleweb - Custom Builder - Builder properties is not saved after navigated away. @7.0-SNAPSHOT +d185b7ad Fixed: wflow-consoleweb - Property Editor - Open builder link of selectbox field does not support custom builder. @7.0-SNAPSHOT +7def07d8 Fixed: wflow-consoleweb - Custom Builder - Save & merge work incorrectly. @7.0-SNAPSHOT +f5720ebb Fixed: wflow-core - FormPdfUtil - Refactoring for reusability. @7.0-SNAPSHOT +81139a7a Fixed: wflow-consoleweb - Custom Builder - Fail to load when JSON definition has new line character. @7.0-SNAPSHOT +9193898f Fixed: wflow-consoleweb - Custom Builder - Wrong message shown when saving. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Custom Builder - Support adding custom css and metadata for palette element. @7.0-SNAPSHOT +c76201ec Modified: wflow-consoleweb - Design App - Separated custom builder listing to a new menu. @7.0-SNAPSHOT +71bce881 Fixed: wflow-consoleweb - Property Editor - Dependency Field can't be control by element select field. @7.0-SNAPSHOT Added: wflow-consoleweb - Property Editor - Add Image Radio Button field type. @7.0-SNAPSHOT +720eb884 Modified: wflow-consoleweb - Update font awesome 5 to 5.8.1. @7.0-SNAPSHOT +5a452619 Modified: wflow-consoleweb - Update font awesome 5 to 5.8.1. @7.0-SNAPSHOT +2a44b1fc Modified: wflow-consoleweb - UI - Enlarge the iframe if opening popup dialog inside the iframe. @7.0-SNAPSHOT +fbe2c116 Modified: wflow-core - SLA Report - Support list only processes & activities have SLA set in the report. @7.0-SNAPSHOT +4874b9a4 Modified: wflow-consoleweb - UI - System alert is not styled. @7.0-SNAPSHOT +dd533197 Modified: wflow-consoleweb - Datalist Builder - Support set field to not filterable. @7.0-SNAPSHOT +7e5f170a Fixed: wflow-consoleweb - Log viewer - Log shows from the wrong profile. @7.0-SNAPSHOT +20245efc Modified: wflow-consoleweb - Datalist Builder - Support set field to not filterable. @7.0-SNAPSHOT +c0dccae3 Fixed: wflow-consoleweb - Form - Header title is not allowed to put HTML tag. #6393 @6.0-SNAPSHOT +974c7f07 Fixed: wflow-consoleweb - Manage Plugins - New added plugin types are not shown in filter list. @7.0-SNAPSHOT +f98fac0a Fixed: wflow-consoleweb - Manage Plugins - New added plugin types are not shown in filter list. @7.0-SNAPSHOT +514691a2 Fixed: wflow-consoleweb - UI - Tab navigator is covered by scrollbar in Mac OS Chrome browser smaller resolution. @7.0-SNAPSHOT +96789f25 Fixed: wflow-core - Grid - In readonly mode, fail to display data after form submission with validation error. #6406 @6.0-SNAPSHOT +309e2baa Fixed: wflow-core - FormPdfUtil/ Datalist PDF export - Arabic font is not embedded. #6141 @6.0-SNAPSHOT +2648b6cb Fixed: wflow-consoleweb - Process Mapper - Missing plugin causing NPE. @7.0-SNAPSHOT +7fcd7040 Fixed: wflow-core - Section - Permission property option is accidentally removed. #6404 @7.0-SNAPSHOT +81cc7128 Modified: wflow-consoleweb - Web Console - Updated welcome and help URL for DX 7 @7.0-SNAPSHOT +3d17097f Fixed: wflow-core - Section - Radio button field with same id in 2 visibility controlled sections are not able to load value correctly. #6392 @6.0-SNAPSHOT +8b497284 Modified: wflow-core - Default Validator - Support case-sensitive regex checking. #6388 @7.0-SNAPSHOT +00e9a00a Fixed: wflow-consoleweb - Datalist Builder Advanced Tool - Permission - Not able to delete permission rule. @7.0-SNAPSHOT +fe9e589d Fixed: wflow-consoleweb - Builder Advanced Tool - I18n tab keep adding language selectors every time it is visited. @7.0-SNAPSHOT +1b878e66 Fixed: wflow-core - Import App - Environment Variable in previous app version is removed if it does not exist in the imported zip even override environment variables is disabled. #6379 @6.0-SNAPSHOT +9b510044 Fixed: wflow-consoleweb - Embeded Datalist - Regression bug caused list grid does not work correctly. #6260 #6377 @6.0-SNAPSHOT +c806b98e Fixed: wflow-consoleweb - Monitoring - Not able to reassign activity to username which are email address. #6378 @6.0-SNAPSHOT +9d367693 Fixed: wflow-core - AppService - Userview manage permission menu to control listing in AppCenter works intermittently. #6373 @6.0-SNAPSHOT + +CHANGES IN 7.0-PREVIEW +====================== +b844e25 Fixed: wflow-core - PWA - "URL was not normalized" exception when clicking on "Import App" in App Center @7.0-SNAPSHOT +d3588ce Fixed: wflow-core - Simple Rule/Tensorflow AI Decision Plugin - Input fields placeholder does not readable when field having value. @7.0-SNAPSHOT +578642e Fixed: wflow-core - UI - Buttons/link tabindex focus is not observable. @7.0-SNAPSHOT +7f61710 Fixed: wflow-core - FormUtil - NPE due to permission not handle correctly. @7.0-SNAPSHOT +403d1b3 Fixed: wflow-consoleweb - Userview - Dashboard could not load portlets due to relative path does not contains key parameter. @7.0-SNAPSHOT +0be3377 Fixed: wflow-consoleweb - Builder - Tree Viewer keeps refreshing. @7.0-SNAPSHOT +de4cc57 Fixed: wflow-consoleweb - Dependency Controller - Validate input to prevent XPath Injection. @7.0-SNAPSHOT +ef33b86 Modified: wflow-core - Simple Tensorflow AI - Support Audio MelSpectrogram. @7.0-SNAPSHOT +a235777 Deleted: wflow-core - Simple Tensorflow AI - Delete Audio MelSpectrogram implementation due to license issue. @7.0-SNAPSHOT +93f4698 Modified: wflow-core - Simple Tensorflow AI - Support Audio MelSpectrogram. @7.0-SNAPSHOT +34b5029 Fixed: wflow-consoleweb - Online presence indicator - Did not clear when server shutdown. @7.0-SNAPSHOT +b029dbb Fixed: wflow-consoleweb - Setup - Style is not consistent. @7.0-SNAPSHOT +e304893 Fixed: wflow-core - Decision Plugin - Does not parse form hash variable in configuration. @7.0-SNAPSHOT Fixed: wflow-core - TensorFlowUtil - Handle Tensor to float array incorrectly. @7.0-SNAPSHOT +09b1320 Modified: wflow-consoleweb - App Center - Updated default app userview icon @7.0-SNAPSHOT +c89942e Fixed: wflow-consoleweb - Web Console - Update embed inbox code to use updated JQuery @7.0-SNAPSHOT +122fe10 Fixed: wflow-consoleweb - Web Console - Published apps not displaying under Run Apps @7.0-SNAPSHOT +0cc7771 Fixed: wflow-consoleweb - App Center - Inbox task buttons not showing @7.0-SNAPSHOT +f830552 Fixed: wflow-core, wflow-consoleweb - DevOps - No access to system pages when login via custom directory managers @7.0-SNAPSHOT +9a605db Fixed: wflow-consoleweb - Builder Advanced Tool - JSON Definition is not editable. @7.0-SNAPSHOT +89d40bb Fixed: wflow-consoleweb - Property Editor - Sortable select does not display correctly. @7.0-SNAPSHOT +db0d3a2 Added: wflow-consoleweb/wflow-core - Plugin - Support custom builder. @7.0-SNAPSHOT +ccc759a Fixed: wflow-consoleweb - Additional JS compatibility changes for JQuery 3 to fix checkbox selection issues @7.0-SNAPSHOT +e7dc5cc Fixed: wflow-core, wflow-consoleweb - Additional JS compatibility changes for JQuery 3 to fix CSRF and checkbox selection issues @7.0-SNAPSHOT +d440d16 Fixed: wflow-consoleweb - Additional JS compatibility changes for JQuery 3 to fix csrf & validation issue. @7.0-SNAPSHOT +03fa4fd Fixed: wflow-core, wflow-consoleweb - Additional JS compatibility changes for JQuery 3 @7.0-SNAPSHOT +1c7ae5d Fixed: wflow-consoleweb - Popup dialog not centered after upgrade to JQuery 3 @7.0-SNAPSHOT +625fc0a Modified: wflow-install - Upgraded to OpenJDK 11.0.2 @7.0-SNAPSHOT +8ed4ff9 Fixed: wflow-plugin-base - Upgraded to Apache Felix 6.0.2 to fix "Unknown protocol: jrt" error on Java 11.0.2 @7.0-SNAPSHOT +625fc0a Modified: wflow-install - Upgraded to OpenJDK 11.0.2 @7.0-SNAPSHOT +8ed4ff9 Fixed: wflow-plugin-base - Upgraded to Apache Felix 6.0.2 to fix "Unknown protocol: jrt" error on Java 11.0.2 @7.0-SNAPSHOT +1165122 Fixed: wflow-app - Build - Reverted accidental comment in pom.xml @7.0-SNAPSHOT +9e36ed6 Modified: wflow-install - Upgraded to Apache Tomcat 8.5.38 @7.0-SNAPSHOT +33f22f7 Modified: wflow-consoleweb - JS Libraries - Upgraded to JQuery 3.3.1, JQuery UI 1.12.1 and Bootstrap 3.4.0 @7.0-SNAPSHOT +cd7ca74 Fixed: wflow-core, wflow-consoleweb - PWA - Service Worker fails if API domain not whitelisted @7.0-SNAPSHOT +5aed8df Fixed: wflow-consoleweb - Online Presence - System error page after relogin from session timeout @7.0-SNAPSHOT +db85d50 Fixed: wflow-install - Setup - Default db uses "utf8_general_ci" instead of "utf8_unicode_ci" so triggered "Illegal mix of collations" error @7.0-SNAPSHOT +a30528c Modified: wflow-core - PWA - Added description for custom offline URL property @7.0-SNAPSHOT +68d720a Added: wflow-core, wflow-consoleweb - PWA - Added userview properties to specify custom offline URLs to cache @7.0-SNAPSHOT +b0bead8 Added: wflow-core, wflow-consoleweb - JSON API - Added API calls to publish and unpublish apps @7.0-SNAPSHOT +2899c37 Added: wflow-consoleweb - Datalist Builder - Support manage permission set and visible/hidden in Advanced Tools. @7.0-SNAPSHOT +9c176c1 Fixed: wflow-consoleweb - JSON API - Error clearing credentials in token when authenticating in JSON API calls, regression from 695796e @7.0-SNAPSHOT +4b9df35 Fixed: wflow-consoleweb - Git Integration - HTTP Status 405 Method Not Allowed when submitting Git configuration form, regression from 3d29b76 @7.0-SNAPSHOT +c918d34 Modified: wflow-core - Update for permission changes. @7.0-SNAPSHOT +f03f318 Modified: wflow-enterprise-plugins - Form Builder - Support manage permission set and visible/readonly/hidden in Advanced Tools. @7.0-SNAPSHOT Modified: wflow-core/wflow-consoleweb - Userview Builder - Support manage permission set and accessible/hidden/deny access in Advanced Tools. @7.0-SNAPSHOT +eee33bb Modified: wflow-core/wflow-consoleweb - Userview Builder - Support manage permission set and accessible/hidden/deny access in Advanced Tools. @7.0-SNAPSHOT +00ce504 Modified: wflow-core/wflow-consoleweb - Form Builder - Support manage permission and readonly/hidden in Advanced Tools. @7.0-SNAPSHOT +6e6bb24 Modified: wflow-commons - FileManager - Purge temp file upload folder automatically. @7.0-SNAPSHOT +75b7584 Modified: wflow-consoleweb/wflow-core - Export App - Provide options to export plugins & form data. @7.0-SNAPSHOT Modified: wflow-consoleweb/wflow-core - Import App - Support import form data. @7.0-SNAPSHOT +4461e22 Modified: wflow-consoleweb - AppWebController - Form file download link to support file uploaded by rich text field. @7.0-SNAPSHOT +a5f583e Modified: wflow-consoleweb - Update tinymce library from 4.5.1 to 4.9.2. @7.0-SNAPSHOT +cd2ba12 Modified: wflow-commons - FileManager - Support store file with custom file name. @7.0-SNAPSHOT +85fbc1f Fixed: wflow-core - User Notification - Support attachments. @7.0-SNAPSHOT +96df3b2 Fixed: wflow-core - User Notification - NPE when user no subscribe to user push notification. @7.0-SNAPSHOT +42c1276 Modified: wflow-install - Update NOTICE.txt. @7.0-SNAPSHOT +538b6d7 Added: wflow-consoleweb - Log Viewer - Added log viewer in manage app page and monitoring. @7.0-SNAPSHOT +6999a4c Modified: wflow-consoleweb - Performance Monitor - Show only userview related transactions to reduce confusion. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Performance Monitor - Sorting to working correctly. @7.0-SNAPSHOT Modified: wflow-consoleweb - Performance Monitor - Standardize UI buttons. @7.0-SNAPSHOT Fixed: wflow-consoleweb - App Performance Monitor - Userview transactions appear under others when the app only has 1 userview. @7.0-SNAPSHOT +116ab4b Modified: wflow-consoleweb - Performance Monitor - Provide link to open a traced URL in Userview Builder. @7.0-SNAPSHOT Added: wflow-consoleweb - Performance Monitor - Added app level performance monitor under the app. @7.0-SNAPSHOT Added: wflow-consoleweb - Performance Monitor - Added option to remove collected data. @7.0-SNAPSHOT Modified: wflow-consoleweb - Performance Monitor - Remove key and embed keyword in URL of userview transaction name for better tracing. @7.0-SNAPSHOT +1a341f4 Modified: wflow-consoleweb - Performance Monitoring - Support for cloud. @7.0-SNAPSHOT Modified: wflow-consoleweb - Performance Monitoring - Reduce service API call when populating web requests performance table. @7.0-SNAPSHOT +70bd1cf Modified: wflow-consoleweb/wflow-core - Datalist Builder - Support responsive settings. @7.0-SNAPSHOT Modified: wflow-consoleweb/wflow-core - Datalist Builder - Support option to show filter form is a popup in mobile. @7.0-SNAPSHOT Modified: wflow-consoleweb - Property Editor - Added "number" property type and support number field in grid. @7.0-SNAPSHOT +9ce5658 Fixed: wflow-consoleweb - Process Mapper - Add button in plugin configuration page to back to choose plugin page. @7.0-SNAPSHOT +7282adf Fixed: wflow-consoleweb - Process Mapper - Edit mapping does not close opened node details. @7.0-SNAPSHOT +333a8b7 Fixed: wflow-consoleweb - Process Builder - Drag to draw node popup is not able to close. @7.0-SNAPSHOT +c63245f Fixed: wflow-consoleweb - Console Run Apps - Missing icon for quick edit buttons. @7.0-SNAPSHOT Fixed: wflow-consoleweb - App Version - Missing tick icon for published app version. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Process View - Remove single participant mapping throw exception. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Monitor - Re-evaluate assignment for user popup is not styled. @7.0-SNAPSHOT +3d29b76 Modified: wflow-consoleweb - Console UI - Block UI when form submission. @7.0-SNAPSHOT +202e440 Modified: wflow-consoleweb - Builder - Auto save/validate properties in properties tab when navigate away. @7.0-SNAPSHOT +0ed22ae Added: wflow-core - Process Tool - Added Simple Tensorflow AI Tool. @7.0-SNAPSHOT Modified: wflow-core/wflow-plugin-base - SimpleTensorFlowAIDecisionPlugin - Refactoring tensorflow editor to allow extend input/post processing by plugin. @7.0-SNAPSHOT Modified: wflow-core - SimpleTensorFlowAIDecisionPlugin - Support beanshell input & post processing options. @7.0-SNAPSHOT +18e1e85 Fixed: wflow-plugin-archetype - Create Plugin - OSGI plugin created using create-plugin.sh cannot start after uploaded in Manage Plugin. @7.0-SNAPSHOT +cdbedd0 Fixed: wflow-consoleweb - Console UI - Run apps & inbox page are not styled. @7.0-SNAPSHOT +391d933 Modified: wflow-consoleweb - Builder - Standardize Advanced Tool UI style. @7.0-SNAPSHOT +e40a6c6 Modified: wflow-consoleweb - Builder - Auto save/validate properties in properties tab when navigate away. @7.0-SNAPSHOT +5671afb Fixed: wflow-consoleweb - Builder - Quite edit toggle button is missing. @7.0-SNAPSHOT +f3fb317 Fixed: wflow-consoleweb - Create form - if hit id already exist error will caused URL was not normalized exception on next submission. @7.0-SNAPSHOT +94f34cf Fixed: wflow-consoleweb - Console UI - Popup confirmation pages not css-handled. @7.0-SNAPSHOT +714f775 Fixed: wflow-consoleweb - Admin Bar - Not showing in userview on IOS. @7.0-SNAPSHOT +d299657 Fixed: wflow-consoleweb - Universal Theme - Having gap on top when menu set to display horizontally on IOS. @7.0-SNAPSHOT +17a7bdc Fixed: wflow-consoleweb - Admin Bar - Overlay cannot scroll in IOS. @7.0-SNAPSHOT +fd2819c Fixed: wflow-consoleweb - Admin Bar - Ctrl-0 shortcut toggle does not hide admin bar in the landing page app @7.0-SNAPSHOT +f98a015 Fixed: wflow-consoleweb - Popup Dialog - Removed duplicate fontawesome CSS and fixed invalid color value for close button @7.0-SNAPSHOT +5fc439c Fixed: wflow-consoleweb - Userview Builder - Builder does not render in IE11 @7.0-SNAPSHOT +eb86af6 Fixed: wflow-consoleweb - Process - Unable to save tool and route plugin settings @7.0-SNAPSHOT +b0c9419 Fixed: wflow-consoleweb - Form Builder - CSRF error when opening property editor before any auto save setting set @7.0-SNAPSHOT +fb6a586 Modified: wflow-consoleweb/wflow-core/wflow-plugin-base - Builder/Property Editor - Enhance property editor changes checking. @7.0-SNAPSHOT +6517b72 Modified: wflow-consoleweb - Builder - Support resize, move and auto save when close for properties editing dialog. @7.0-SNAPSHOT Modified: wflow-consoleweb - Builder - Standardize properties editing dialog UI with console UI. @7.0-SNAPSHOT +61d230a Modified: wflow-consoleweb - Performance - Missing label. @7.0-SNAPSHOT +77a7c7e Modified: wflow-consoleweb - Admin Bar - Not opening link in overlay at builder. @7.0-SNAPSHOT +bdbfb97 Fixed: wflow-consoleweb - PWA - Web push notification not being sent @7.0-SNAPSHOT +c70a65f Fixed: wflow-consoleweb - App Versioning - Deleting all versions throws NullPointerException @7.0-SNAPSHOT +d9e87a6 Modified: wflow-consoleweb - App Center - Improved CSS for various mobile phones and tablet sizes @7.0-SNAPSHOT +115fe53 Modified: wflow-consoleweb - Builder - Update popup dialog style to standardize with console UI. @7.0-SNAPSHOT +73f9ace Fixed: wflow-consoleweb - Performance - Wrong value unit for "Percent of Total Time & Throughput (per min)". @7.0-SNAPSHOT +7fb6a96 Fixed: wflow-consoleweb - Console UI - Mobile Menu show/hide animation is not working. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Console UI - Error message is not style. @7.0-SNAPSHOT +250252b Fixed: wflow-consoleweb - Process Mapper - Error when mapping for new process. @7.0-SNAPSHOT +2fd3866 Fixed: wflow-consoleweb - Console UI - Property Editor border is not visible for some part. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Console UI - Buttons of some popup dialog is not visible. @7.0-SNAPSHOT +ab12c84 Fixed: wflow-consoleweb - App Center - Alignment issue. @7.0-SNAPSHOT +cfef514 Fixed: All - Setup - Missing new app icons in default database setup @7.0-SNAPSHOT +c9614c8 Modified: All - Setup - Updated default apps and database @7.0-SNAPSHOT +e417a5e Modified: wflow-core - Universal Theme - Added alt attribute for profile image @7.0-SNAPSHOT +b581458 Modified: wflow-core - PWA - Modified userview thumbnail preview to 100x100 square for PWA @7.0-SNAPSHOT +496d4af Modified: wflow-consoleweb - Console UI - Support rtl. @7.0-SNAPSHOT Fixed: wflow-consoleweb - Console UI - Fixed UI issues. @7.0-SNAPSHOT +0d5f736 Modified: wflow-consoleweb - Console UI - Support mobile. @7.0-SNAPSHOT +19a0b5e Fixed: wflow-consoleweb - Performance - Not able to view alert list when new alert added with 1 min time period. @7.0-SNAPSHOT +74dc0cf Merge branch '7.0-SNAPSHOT' of ssh://repo.joget.org/opt/git/git-svn-jw-community into 7.0-SNAPSHOT +d51b259 Fixed: wflow-consoleweb - Performance - Not able to set SMTP password for the first time. @7.0-SNAPSHOT Modified: wflow-consoleweb - Performance - Set Glowroot agent name when SMTP is setup. @7.0-SNAPSHOT +9f83701 Modified: wflow-consoleweb - App Center - Added tagline and minor CSS changes @7.0-SNAPSHOT +6509228 Fixed: wflow-consoleweb - Guide - Help guide popup appears below the admin bar @7.0-SNAPSHOT +ac849b7 Fixed: wflow-core - PWA - Manifest theme-color not correctly set for custom primary color @7.0-SNAPSHOT +9590acd Modified: wflow-install - Move glowroot under wflow directory. @7.0-SNAPSHOT +141b009 Modified: All - Changed labels from Joget Workflow to Kecak Workflow @7.0-SNAPSHOT +1dd2dc8 Modified: wflow-consoleweb - Performance - Show Free Physical Memory & and Head Memory Usage in 100% scale. @7.0-SNAPSHOT +e611bbd Fixed: wflow-consoleweb - Admin Bar - Adjust css. @7.0-SNAPSHOT +593f6d4 Fixed: wflow-consoleweb - Process Mapper - Dropdown of "Display All Info" control is not clickable. @7.0-SNAPSHOT +6468d63 Modified: wflow-consoleweb - Builder - Adjust floating button icon. @7.0-SNAPSHOT +f16cae1 Modified: wflow-consoleweb/wflow-core - Builder - Proper icon for elements. @7.0-SNAPSHOT +40535d2 Modified: wflow-core, wflow-consoleweb - App Center - New default App Center design with pink color scheme @7.0-SNAPSHOT +c4680fe Fixed: wflow-core - Git Integration - Initial app imports during DB setup fails due to NullPointerException @7.0-SNAPSHOT +55a6d0d Fixed: wflow-consoleweb - Online Presence - Gravatar not loading under HTTPS @7.0-SNAPSHOT +a5a38d0 Fixed: wflow-consoleweb - UI - Update font-awesome to 5.5.0. @7.0-SNAPSHOT +355a8d9 Fixed: wflow-consoleweb - Admin Bar - Correction of e13bf1. @7.0-SNAPSHOT +e13bf12 Fixed: wflow-consoleweb - Admin Bar - Popup peeking is not working well with browser autocomplete and file select dialog. @7.0-SNAPSHOT +71be858 Fixed: wflow-core - Simple Rule/Tensorflow AI Decision Plugin - Remove ${} bracket from variable to reduce confusion. @7.0-SNAPSHOT +9def305 Fixed: wflow-install - Correction for 9c768b. @7.0-SNAPSHOT +6f7512d Modified: wflow-install - Remove jwdesigner.war from window installer. @7.0-SNAPSHOT +fc09363 Fixed: wflow-install - Correction for 9c768b. @7.0-SNAPSHOT +9c768b0 Added: wflow-consoleweb - Performance - Added performance dashboard supported by glowroot. @7.0-SNAPSHOT +469d70b Fixed: wflow-core - Git Integration - Exception committing to Git when user email is null @7.0-SNAPSHOT +04ac7f0 Fixed: wflow-consoleweb - Git Integration - Userview configured to "Hide this Userview in App Center" still shows up @7.0-SNAPSHOT +2c3d6a1 Modified: wflow-core, wflow-consoleweb - Userview - Pass Lighthouse audit for Accessibility, Best Practices and SEO @7.0-SNAPSHOT +ce497c4 Fixed: wflow-consoleweb - Admin Bar - Ctrl-0 shortcut toggle shows admin bar but does not hide it @7.0-SNAPSHOT +2b0c747 Fixed: wflow-consoleweb - Admin Bar - Browser title becomes blank when admin is logged in @7.0-SNAPSHOT +3800452 Modified: wflow-core, wflow-consoleweb - Progressive Theme - Minor styling change to multi paged forms on mobile with reduced borders and margin @7.0-SNAPSHOT +7ce9e0d Modified: wflow-consoleweb - Progressive Theme - Set as the default userview theme @7.0-SNAPSHOT +5499428 Added: wflow-core, wflow-consoleweb - Progressive Theme - Added new PWA compliant Progressive Theme @7.0-SNAPSHOT +5ae5182 Modified: wflow-core, wflow-consoleweb - Universal Theme - Refactored theme for easier extension @7.0-SNAPSHOT +f5cd897 Fixed: wflow-consoleweb - PWA - Missing default icon @7.0-SNAPSHOT +62a752a Fixed: wflow-core - PWA - User will not be prompted to Install the Web App @7.0-SNAPSHOT +01735bc Fixed: wflow-consoleweb - PWA - Service worker undefined error for non-HTTPS @7.0-SNAPSHOT +5b7015d Fixed: wflow-consoleweb - Builder - Should not push content when admin bar shown. @7.0-SNAPSHOT +ff35e37 Fixed: wflow-consoleweb - Online Presence - Only appears after a delay @7.0-SNAPSHOT +e44b4e2 Fixed: wflow-core - Git Integration - Slow initial creation of git repo for large apps due to repeated calls to sync plugins @7.0-SNAPSHOT +6c4902a Modified: wflow-consoleweb - UI - Update admin bar look and feel. @7.0-SNAPSHOT +248fcd7 Fixed: wflow-core - Git Integration - Fixed form table name missing on sync @7.0-SNAPSHOT +9f5af51 Added: wflow-core, wflow-consoleweb - PWA - Added Progressive Web App support @7.0-SNAPSHOT +e4627a3 Added: wflow-consoleweb - Online Presence - Added online presence indicator feature for admin @7.0-SNAPSHOT +bf875b9 Added: wflow-plugin-base, wflow-core, wflow-consoleweb - Git Integration - Added Git integration feature @7.0-SNAPSHOT +695796e Added: wflow-core, wflow-consoleweb - Delegated App Admin - Added delegated app admin feature @7.0-SNAPSHOT +4470969 Fixed: wflow-commons - Java 11 - Remove older aspectjweaver version @7.0-SNAPSHOT +554dcda Added: wflow-core/wflow-wfengine/wflow-consoleweb - Process - Support i18n on process name & activity name. @7.0-SNAPSHOT +4b0aa65 Added: wflow-consoleweb : Form Builder - Support field tooltip. @7.0-SNAPSHOT +4a1e28e Added: wflow-consoleweb : Process Mapper - Support show/hide control. @7.0-SNAPSHOT +ddf1006 Added: wflow-consoleweb/wfow-wfengine : Process - Support mapping from process flow. @7.0-SNAPSHOT +9accfa1 Added: wflow-consoleweb/wflow-core : Decision Plugin - Added Simple Tensorflow AI Decision plugin. @7.0-SNAPSHOT +2f3d0e0 Added: wflow-consoleweb/wflow-core : Decision Plugin - Added Simple Rules Decision plugin. @7.0-SNAPSHOT Modified: wflow-consoleweb : Plugin Config - Support retrive request url in properties option method. @7.0-SNAPSHOT Modified: wflow-wfengine : Workflow Manager - Support retrive out going transitions of a route. @7.0-SNAPSHOT +63d3ce4 Modified: wflow-consoleweb : Process view - Show other processes link as quick navigation. @7.0-SNAPSHOT +c34bf7e Added: wflow-consoleweb : Property Editor - Support repeater property type. @7.0-SNAPSHOT +28e4274 Modified: wflow-consoleweb : Property Editor - Support open selectbox option value in builder. @7.0-SNAPSHOT +b2f9474 Modified: wflow-consoleweb : Property Editor - Change field description to tooltip. @7.0-SNAPSHOT +7ca51e1 Added: wflow-consoleweb : Property Editor - Support custom property type. @7.0-SNAPSHOT +6b1e496 Added: wflow-core : Decision Plugin - Add Bean Shell Decision. @7.0-SNAPSHOT +1ee3aa2 Added: wflow-wfengine/wflow-core/wflow-consoleweb : Process - Support map route to Decision plugin. @7.0-SNAPSHOT +440530d Fixed: wflow-consoleweb - aspectj-maven-plugin couldn't find aspectjrt.jar on classpath during build @7.0-SNAPSHOT +1d55d94 Fixed: Builders - Fixed Hibernate session exception when saving in the datalist and userview builders @7.0-SNAPSHOT +>>>>>>> kecak-workflow-development-ui-normalize diff --git a/wflow-install/src/main/resources/LICENSE.txt b/wflow-install/src/main/resources/LICENSE.txt index abf09eef33..a3997e678c 100755 --- a/wflow-install/src/main/resources/LICENSE.txt +++ b/wflow-install/src/main/resources/LICENSE.txt @@ -1,619 +1,619 @@ - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -them if you wish), that you receive source code or can get it if you -want it, that you can change the software or use pieces of it in new -free programs, and that you know you can do these things. - - To protect your rights, we need to prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. You must make sure that they, too, receive -or can get the source code. And you must show them these terms so they -know their rights. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey verbatim copies of the Program's source code as you -receive it, in any medium, provided that you conspicuously and -appropriately publish on each copy an appropriate copyright notice; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - - Each version is given a distinguishing version number. If the -Program specifies that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY -APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT -HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY -OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM -IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF -ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY -GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE -USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF -DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD -PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), -EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF -SUCH DAMAGES. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. \ No newline at end of file diff --git a/wflow-install/src/main/resources/NOTICE.txt b/wflow-install/src/main/resources/NOTICE.txt index 06442f86b9..d365b0599b 100755 --- a/wflow-install/src/main/resources/NOTICE.txt +++ b/wflow-install/src/main/resources/NOTICE.txt @@ -1,132 +1,132 @@ -Joget DX -Copyright 2022 www.joget.org - -This product includes software developed by -The Apache Software Foundation (http://www.apache.org/). - -This product includes software developed by the -Spring Framework Project (http://www.springframework.org). - -Joget Workflow Designer is an independent component that is licensed under the GPL http://www.gnu.org/copyleft/gpl.html - -All other products or name brands are the trademarks and copyright of -their respective holders. - -The following are respective licenses of libraries used: - -Apache Software Foundation Libraries: -http://www.apache.org/licenses/LICENSE-2.0.html - -Antlr: -http://www.antlr2.org/license.html - -ACE 1.4.5: -https://github.com/ajaxorg/ace/blob/master/LICENSE - -ASM: -http://asm.ow2.org/license.html - -Carol: -http://carol.ow2.org/license.html - -Castor: -http://castor.codehaus.org/license.html - -CGLib: -http://cglib.sourceforge.net/license.html - -Display Tag: -http://www.displaytag.org/10/license.html - -Howl: -http://howl.ow2.org/license.html - -ical4j 3.0.7 -https://github.com/ical4j/ical4j/blob/ical4j-3.0.7/LICENSE - -Groovy: -http://groovy.codehaus.org/License+Information - -Guava -http://www.apache.org/licenses/LICENSE-2.0.html - -Jaxen: -http://jaxen.codehaus.org/license.html - -JCL implementation over SLF4J: -http://www.slf4j.org/license.html - -JCommon: -http://www.gnu.org/licenses/lgpl.html - -JDOM: -http://www.jdom.org/docs/faq.html#a0030 - -JFree: -http://www.gnu.org/licenses/lgpl.html - -JGit -https://www.eclipse.org/org/documents/edl-v10.php - -OpenPDF -https://github.com/LibrePDF/OpenPDF/blob/master/License.md - -Rhino: -https://developer.mozilla.org/en-US/docs/Rhino/License - -SLF4J: -http://www.slf4j.org/license.html - -Spring Framework Libraries: -http://www.apache.org/licenses/LICENSE-2.0.html - -Stax: -http://stax.codehaus.org/ - -Tensorflow -http://www.apache.org/licenses/LICENSE-2.0.html - -True License: -http://www.apache.org/licenses/LICENSE-2.0.html - -XOM: -http://www.xom.nu/license.xhtml - -Enhydra Shark 2.0.1: -http://www.gnu.org/licenses/lgpl.html - -Hibernate: -http://www.hibernate.org/license - -FreeMarker: -http://freemarker.sourceforge.net/docs/app_license.html - -JavaBeans Activation Framework (JAF), JavaMail API: -http://opensource.org/licenses/CDDL-1.0 - -Java Transaction API (JTA): -http://download.oracle.com/otndocs/jcp/7286-jta-1.0.1-spec-oth-JSpec/7286-jta-1.0.1-spec-oth-JSpec-license.html - -json-patch -https://github.com/java-json-tools/json-patch - -JTransforms -http://opensource.org/licenses/BSD-2-Clause - -Oracle JDBC Driver: -http://www.oracle.com/technetwork/licenses/distribution-license-152002.html - -Microsoft SQL JDBC Driver: -https://github.com/microsoft/mssql-jdbc/blob/dev/LICENSE - -WebSocket Server API -https://oss.oracle.com/licenses/CDDL+GPL-1.1 - -X-Admin Template -https://gitee.com/daniuit/X-admin - -Lay UI -https://github.com/sentsin/layui/blob/master/LICENSE - -Quill +Kecak Workflow +Copyright 2022 www.joget.org + +This product includes software developed by +The Apache Software Foundation (http://www.apache.org/). + +This product includes software developed by the +Spring Framework Project (http://www.springframework.org). + +Joget Workflow Designer is an independent component that is licensed under the GPL http://www.gnu.org/copyleft/gpl.html + +All other products or name brands are the trademarks and copyright of +their respective holders. + +The following are respective licenses of libraries used: + +Apache Software Foundation Libraries: +http://www.apache.org/licenses/LICENSE-2.0.html + +Antlr: +http://www.antlr2.org/license.html + +ACE 1.4.5: +https://github.com/ajaxorg/ace/blob/master/LICENSE + +ASM: +http://asm.ow2.org/license.html + +Carol: +http://carol.ow2.org/license.html + +Castor: +http://castor.codehaus.org/license.html + +CGLib: +http://cglib.sourceforge.net/license.html + +Display Tag: +http://www.displaytag.org/10/license.html + +Howl: +http://howl.ow2.org/license.html + +ical4j 3.0.7 +https://github.com/ical4j/ical4j/blob/ical4j-3.0.7/LICENSE + +Groovy: +http://groovy.codehaus.org/License+Information + +Guava +http://www.apache.org/licenses/LICENSE-2.0.html + +Jaxen: +http://jaxen.codehaus.org/license.html + +JCL implementation over SLF4J: +http://www.slf4j.org/license.html + +JCommon: +http://www.gnu.org/licenses/lgpl.html + +JDOM: +http://www.jdom.org/docs/faq.html#a0030 + +JFree: +http://www.gnu.org/licenses/lgpl.html + +JGit +https://www.eclipse.org/org/documents/edl-v10.php + +OpenPDF +https://github.com/LibrePDF/OpenPDF/blob/master/License.md + +Rhino: +https://developer.mozilla.org/en-US/docs/Rhino/License + +SLF4J: +http://www.slf4j.org/license.html + +Spring Framework Libraries: +http://www.apache.org/licenses/LICENSE-2.0.html + +Stax: +http://stax.codehaus.org/ + +Tensorflow +http://www.apache.org/licenses/LICENSE-2.0.html + +True License: +http://www.apache.org/licenses/LICENSE-2.0.html + +XOM: +http://www.xom.nu/license.xhtml + +Enhydra Shark 2.0.1: +http://www.gnu.org/licenses/lgpl.html + +Hibernate: +http://www.hibernate.org/license + +FreeMarker: +http://freemarker.sourceforge.net/docs/app_license.html + +JavaBeans Activation Framework (JAF), JavaMail API: +http://opensource.org/licenses/CDDL-1.0 + +Java Transaction API (JTA): +http://download.oracle.com/otndocs/jcp/7286-jta-1.0.1-spec-oth-JSpec/7286-jta-1.0.1-spec-oth-JSpec-license.html + +json-patch +https://github.com/java-json-tools/json-patch + +JTransforms +http://opensource.org/licenses/BSD-2-Clause + +Oracle JDBC Driver: +http://www.oracle.com/technetwork/licenses/distribution-license-152002.html + +Microsoft SQL JDBC Driver: +https://github.com/microsoft/mssql-jdbc/blob/dev/LICENSE + +WebSocket Server API +https://oss.oracle.com/licenses/CDDL+GPL-1.1 + +X-Admin Template +https://gitee.com/daniuit/X-admin + +Lay UI +https://github.com/sentsin/layui/blob/master/LICENSE + +Quill https://github.com/quilljs/quill/blob/develop/LICENSE \ No newline at end of file diff --git a/wflow-install/src/main/resources/README.txt b/wflow-install/src/main/resources/README.txt index ec08bae347..a0a81a9c34 100755 --- a/wflow-install/src/main/resources/README.txt +++ b/wflow-install/src/main/resources/README.txt @@ -1,39 +1,39 @@ -README -====== -For an introduction to DX 7, please refer to -https://dev.joget.org/community/display/DX7/Joget+DX+7+Knowledge+Base - -UPGRADING -========= -For details on upgrading from previous releases, please refer to -https://dev.joget.org/community/display/DX7/Upgrade+Guide - - -Prerequisites: -============== -- Java 8 and above -- MySQL 5.5 and above - - -Installation for Linux: -======================= -1. Create a new directory (e.g. /opt/joget) and extract the tar.gz bundle into that directory -2. Install the Java Runtime Environment (JRE) or Java Development Kit (JDK) version 8 and above -3. Install MySQL Server version 5.5 and above -4. Create an empty database 'jwdb' in the MySQL server -5. Execute the setup script to create the required database tables: ./setup.sh -6. Execute the bundled Apache Tomcat application server: ./tomcat8.sh run -7. Access the App Center at http://localhost:8080/jw - - -Installation for Windows: -========================= -1. Create a new folder e.g. C:\Joget and extract the ZIP bundle -2. Install the Java Runtime Environment (JRE) or Java Development Kit (JDK) version 8 and above -3. Install MySQL Server version 5.5 and above -4. Create an empty database 'jwdb' in the MySQL server -5. Populate the jwdb database with the SQL script in data\jwdb-empty.sql -6. Edit wflow\app_datasource-default.properties to match your database settings -7. Edit tomcat8-run.bat and change JAVA_HOME to your Java installation directory -8. Run tomcat8-run.bat to start the bundled Apache Tomcat application server -9. Access the App Center at http://localhost:8080/jw +README +====== +For an introduction to DX 7, please refer to +https://dev.joget.org/community/display/DX7/Joget+DX+7+Knowledge+Base + +UPGRADING +========= +For details on upgrading from previous releases, please refer to +https://dev.joget.org/community/display/DX7/Upgrade+Guide + + +Prerequisites: +============== +- Java 8 and above +- MySQL 5.5 and above + + +Installation for Linux: +======================= +1. Create a new directory (e.g. /opt/joget) and extract the tar.gz bundle into that directory +2. Install the Java Runtime Environment (JRE) or Java Development Kit (JDK) version 8 and above +3. Install MySQL Server version 5.5 and above +4. Create an empty database 'jwdb' in the MySQL server +5. Execute the setup script to create the required database tables: ./setup.sh +6. Execute the bundled Apache Tomcat application server: ./tomcat8.sh run +7. Access the App Center at http://localhost:8080/jw + + +Installation for Windows: +========================= +1. Create a new folder e.g. C:\Joget and extract the ZIP bundle +2. Install the Java Runtime Environment (JRE) or Java Development Kit (JDK) version 8 and above +3. Install MySQL Server version 5.5 and above +4. Create an empty database 'jwdb' in the MySQL server +5. Populate the jwdb database with the SQL script in data\jwdb-empty.sql +6. Edit wflow\app_datasource-default.properties to match your database settings +7. Edit tomcat8-run.bat and change JAVA_HOME to your Java installation directory +8. Run tomcat8-run.bat to start the bundled Apache Tomcat application server +9. Access the App Center at http://localhost:8080/jw diff --git a/wflow-install/src/main/resources/build.xml b/wflow-install/src/main/resources/build.xml index 7d73faec94..50f650a5e5 100755 --- a/wflow-install/src/main/resources/build.xml +++ b/wflow-install/src/main/resources/build.xml @@ -1,69 +1,69 @@ - - - - Joget setup - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + Joget setup + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wflow-install/src/main/resources/data/jwdb-sample.sql b/wflow-install/src/main/resources/data/jwdb-sample.sql index 15a19fabfe..3d1418cc2d 100644 --- a/wflow-install/src/main/resources/data/jwdb-sample.sql +++ b/wflow-install/src/main/resources/data/jwdb-sample.sql @@ -1900,7 +1900,7 @@ CREATE TABLE `SHKXPDLData` ( LOCK TABLES `SHKXPDLData` WRITE; /*!40000 ALTER TABLE `SHKXPDLData` DISABLE KEYS */; -INSERT INTO `SHKXPDLData` VALUES ('\n\n \n 1.0\n \n \n \n