Merge branch 'feature/WEBBPMNEXT-9175_migrate_to_tomcat' into release/1.0.0
This commit is contained in:
commit
2a5d2da697
78 changed files with 1514 additions and 6654 deletions
23
Dockerfile
23
Dockerfile
|
|
@ -1,23 +0,0 @@
|
|||
FROM maven:3-openjdk-17-slim AS build
|
||||
RUN apt update \
|
||||
&& apt upgrade -y \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
|
||||
&& apt install -y git nodejs \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN mvn clean && mvn package -T4C
|
||||
|
||||
FROM gitlab.micord.ru:5050/common/base/webbpm/webbpm-tomcat-cprocsp:8.0.15-jre17-webprofile
|
||||
ARG ADMIN_PASSWORD=Secr3t
|
||||
|
||||
COPY config/tomcat/tomee /usr/local/tomee
|
||||
|
||||
RUN rm -rf /usr/local/tomee/webapps/ROOT \
|
||||
&& cat /usr/local/tomee/conf/webbpm.properties >> /usr/local/tomee/conf/catalina.properties \
|
||||
&& sed -i -r "s/<must-be-changed>/$ADMIN_PASSWORD/g" /usr/local/tomee/conf/tomcat-users.xml
|
||||
|
||||
COPY --from=build /app/backend/libs/ /usr/local/tomee/lib/
|
||||
COPY --from=build /app/frontend/target/*.war /usr/local/tomee/webapps/ROOT.war
|
||||
COPY --from=build /app/backend/target/*.war /usr/local/tomee/webapps/fl.war
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
FROM maven:3-openjdk-17-slim AS build
|
||||
RUN apt update \
|
||||
&& apt upgrade -y \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
|
||||
&& apt install -y git nodejs \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN mvn clean && mvn package -T4C
|
||||
|
||||
FROM gitlab.micord.ru:5050/common/base/webbpm/webbpm-tomcat-cprocsp:8.0.15-jre17-webprofile
|
||||
|
||||
RUN \
|
||||
rm -rf /usr/local/tomee/webapps/ROOT && \
|
||||
echo "fias.enable=false" >> /usr/local/tomee/conf/catalina.properties && \
|
||||
echo "webbpm.jbpm.hibernate_statistics.enabled=false" >> /usr/local/tomee/conf/catalina.properties && \
|
||||
echo "webbpm.mode=production" >> /usr/local/tomee/conf/catalina.properties && \
|
||||
echo "authentication.method=form" >> /usr/local/tomee/conf/catalina.properties && \
|
||||
echo "webbpm.cache.hazelcast.hosts=127.0.0.1" >> /usr/local/tomee/conf/catalina.properties && \
|
||||
echo "webbpm.cache.hazelcast.outbound_port_definitions=5801-5820" >> /usr/local/tomee/conf/catalina.properties && \
|
||||
echo "gar.enable=false" >> /usr/local/tomee/conf/catalina.properties && \
|
||||
echo "reset_password.mail.template.path=mail/reset_password.html" >> /usr/local/tomee/conf/catalina.properties && \
|
||||
echo "security.password.regex=^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9]+$" >> /usr/local/tomee/conf/catalina.properties && \
|
||||
echo "bpmn.enable=false" >> /usr/local/tomee/conf/catalina.properties
|
||||
COPY config/context.xml /usr/local/tomee/conf/
|
||||
#COPY config/tomcat-users.xml /usr/local/tomee/conf/
|
||||
COPY --from=build /app/backend/libs/ /usr/local/tomee/lib/
|
||||
COPY --from=build /app/frontend/target/*.war /usr/local/tomee/webapps/ROOT.war
|
||||
COPY --from=build /app/backend/target/*.war /usr/local/tomee/webapps/fl.war
|
||||
Binary file not shown.
|
|
@ -11,10 +11,6 @@
|
|||
<artifactId>backend</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-jwt</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
|
|
@ -61,7 +57,6 @@
|
|||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
|
|
@ -138,6 +133,7 @@
|
|||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.database</groupId>
|
||||
<artifactId>database-impl</artifactId>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.jndi</groupId>
|
||||
|
|
@ -216,18 +212,6 @@
|
|||
<groupId>org.apache.tika</groupId>
|
||||
<artifactId>tika-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk15on</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcpkix-jdk15on</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mnode.ical4j</groupId>
|
||||
<artifactId>ical4j</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.javacrumbs.shedlock</groupId>
|
||||
<artifactId>shedlock-spring</artifactId>
|
||||
|
|
@ -248,9 +232,24 @@
|
|||
<groupId>com.google.protobuf</groupId>
|
||||
<artifactId>protobuf-java-util</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-slf4j2-impl</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-jul</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-web</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<finalName>${parent.artifactId}</finalName>
|
||||
<extensions>
|
||||
<extension>
|
||||
<groupId>kr.motd.maven</groupId>
|
||||
|
|
@ -258,6 +257,7 @@
|
|||
<version>1.6.2</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
<finalName>${project.parent.artifactId}</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ import org.springframework.web.servlet.config.annotation.EnableWebMvc;
|
|||
*/
|
||||
@Configuration
|
||||
@ComponentScan(basePackages = {
|
||||
"ervu_lkrp_fl",
|
||||
"service",
|
||||
"dao",
|
||||
"bpmn",
|
||||
|
|
|
|||
|
|
@ -1,56 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Constants;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.impl.CatalogImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DefaultCatalog extends CatalogImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>DEFAULT_CATALOG</code>
|
||||
*/
|
||||
public static final DefaultCatalog DEFAULT_CATALOG = new DefaultCatalog();
|
||||
|
||||
/**
|
||||
* The schema <code>security</code>.
|
||||
*/
|
||||
public final Security SECURITY = Security.SECURITY;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private DefaultCatalog() {
|
||||
super("");
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Schema> getSchemas() {
|
||||
return Arrays.asList(
|
||||
Security.SECURITY
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* A reference to the 3.19 minor release of the code generator. If this
|
||||
* doesn't compile, it's because the runtime library uses an older minor
|
||||
* release, namely: 3.19. You can turn off the generation of this reference
|
||||
* by specifying /configuration/generator/generate/jooqVersionReference
|
||||
*/
|
||||
private static final String REQUIRE_RUNTIME_JOOQ_VERSION = Constants.VERSION_3_19;
|
||||
}
|
||||
|
|
@ -1,86 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.AccessLevel;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.Authority;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.EsiaUser;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.OrgUnit;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccount;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccountRefreshToken;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserGroup;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserRole;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.AccessLevelRecord;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.AuthorityRecord;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.EsiaUserRecord;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.LinkUserAccountUserGroupRecord;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.LinkUserGroupUserRoleRecord;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.LinkUserRoleAuthorityRecord;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.OrgUnitRecord;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.UserAccountRecord;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.UserAccountRefreshTokenRecord;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.UserGroupRecord;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.UserRoleRecord;
|
||||
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.Internal;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships and constraints of tables in
|
||||
* security.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<AccessLevelRecord> PK_ACCESS_LEVEL = Internal.createUniqueKey(AccessLevel.ACCESS_LEVEL, DSL.name("pk_access_level"), new TableField[] { AccessLevel.ACCESS_LEVEL.ACCESS_LEVEL_ID }, true);
|
||||
public static final UniqueKey<AccessLevelRecord> UNI_ACCESS_LEVEL = Internal.createUniqueKey(AccessLevel.ACCESS_LEVEL, DSL.name("uni_access_level"), new TableField[] { AccessLevel.ACCESS_LEVEL.LEVEL }, true);
|
||||
public static final UniqueKey<AuthorityRecord> PK_AUTHORITY = Internal.createUniqueKey(Authority.AUTHORITY, DSL.name("pk_authority"), new TableField[] { Authority.AUTHORITY.AUTHORITY_ID }, true);
|
||||
public static final UniqueKey<AuthorityRecord> UNI_AUTHORITY_NAME = Internal.createUniqueKey(Authority.AUTHORITY, DSL.name("uni_authority_name"), new TableField[] { Authority.AUTHORITY.NAME }, true);
|
||||
public static final UniqueKey<EsiaUserRecord> PK_ESIA_USER = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("pk_esia_user"), new TableField[] { EsiaUser.ESIA_USER.ESIA_USER_ID }, true);
|
||||
public static final UniqueKey<EsiaUserRecord> UNI_ESIA_USER1 = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("uni_esia_user1"), new TableField[] { EsiaUser.ESIA_USER.USER_ACCOUNT_ID }, true);
|
||||
public static final UniqueKey<EsiaUserRecord> UNI_ESIA_USER2 = Internal.createUniqueKey(EsiaUser.ESIA_USER, DSL.name("uni_esia_user2"), new TableField[] { EsiaUser.ESIA_USER.PERSON_CONTACT_ID }, true);
|
||||
public static final UniqueKey<LinkUserAccountUserGroupRecord> PK_USER_GROUP = Internal.createUniqueKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("pk_user_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.LINK_USER_ACCOUNT_USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<LinkUserAccountUserGroupRecord> UNI_USER_GROUP = Internal.createUniqueKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("uni_user_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_ACCOUNT_ID, LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<LinkUserGroupUserRoleRecord> PK_GROUP_ROLE = Internal.createUniqueKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("pk_group_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.LINK_USER_GROUP_USER_ROLE_ID }, true);
|
||||
public static final UniqueKey<LinkUserGroupUserRoleRecord> UNI_GROUP_ROLE = Internal.createUniqueKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("uni_group_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_GROUP_ID, LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final UniqueKey<LinkUserRoleAuthorityRecord> PK_ROLE_AUTHORITY = Internal.createUniqueKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("pk_role_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_AUTHORITY_ID }, true);
|
||||
public static final UniqueKey<LinkUserRoleAuthorityRecord> UNI_ROLE_AUTHORITY = Internal.createUniqueKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("uni_role_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_ID, LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.AUTHORITY_ID }, true);
|
||||
public static final UniqueKey<OrgUnitRecord> ORG_UNIT_CODE_KEY = Internal.createUniqueKey(OrgUnit.ORG_UNIT, DSL.name("org_unit_code_key"), new TableField[] { OrgUnit.ORG_UNIT.CODE }, true);
|
||||
public static final UniqueKey<OrgUnitRecord> PK_ORG_UNIT = Internal.createUniqueKey(OrgUnit.ORG_UNIT, DSL.name("pk_org_unit"), new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
|
||||
public static final UniqueKey<UserAccountRecord> PK_USER = Internal.createUniqueKey(UserAccount.USER_ACCOUNT, DSL.name("pk_user"), new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final UniqueKey<UserAccountRecord> USER_ACCOUNT_USERNAME_UNIQUE = Internal.createUniqueKey(UserAccount.USER_ACCOUNT, DSL.name("user_account_username_unique"), new TableField[] { UserAccount.USER_ACCOUNT.USERNAME }, true);
|
||||
public static final UniqueKey<UserAccountRefreshTokenRecord> PK_USER_ACCOUNT_REFRESH_TOKEN = Internal.createUniqueKey(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN, DSL.name("pk_user_account_refresh_token"), new TableField[] { UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN.USER_ACCOUNT_REFRESH_TOKEN_ID }, true);
|
||||
public static final UniqueKey<UserGroupRecord> PK_GROUP = Internal.createUniqueKey(UserGroup.USER_GROUP, DSL.name("pk_group"), new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final UniqueKey<UserGroupRecord> UNI_GROUP_NAME = Internal.createUniqueKey(UserGroup.USER_GROUP, DSL.name("uni_group_name"), new TableField[] { UserGroup.USER_GROUP.NAME }, true);
|
||||
public static final UniqueKey<UserRoleRecord> PK_ROLE = Internal.createUniqueKey(UserRole.USER_ROLE, DSL.name("pk_role"), new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final UniqueKey<UserRoleRecord> UNI_ROLE_NAME = Internal.createUniqueKey(UserRole.USER_ROLE, DSL.name("uni_role_name"), new TableField[] { UserRole.USER_ROLE.NAME }, true);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final ForeignKey<EsiaUserRecord, UserAccountRecord> ESIA_USER__FK_ESIA_USER1 = Internal.createForeignKey(EsiaUser.ESIA_USER, DSL.name("fk_esia_user1"), new TableField[] { EsiaUser.ESIA_USER.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<LinkUserAccountUserGroupRecord, UserGroupRecord> LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP = Internal.createForeignKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("fk_user_group_group"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_GROUP_ID }, Keys.PK_GROUP, new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final ForeignKey<LinkUserAccountUserGroupRecord, UserAccountRecord> LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER = Internal.createForeignKey(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP, DSL.name("fk_user_group_user"), new TableField[] { LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<LinkUserGroupUserRoleRecord, UserGroupRecord> LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP = Internal.createForeignKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("fk_group_role_group"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_GROUP_ID }, Keys.PK_GROUP, new TableField[] { UserGroup.USER_GROUP.USER_GROUP_ID }, true);
|
||||
public static final ForeignKey<LinkUserGroupUserRoleRecord, UserRoleRecord> LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE = Internal.createForeignKey(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE, DSL.name("fk_group_role_role"), new TableField[] { LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE.USER_ROLE_ID }, Keys.PK_ROLE, new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final ForeignKey<LinkUserRoleAuthorityRecord, AuthorityRecord> LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY = Internal.createForeignKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("fk_role_authority_authority"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.AUTHORITY_ID }, Keys.PK_AUTHORITY, new TableField[] { Authority.AUTHORITY.AUTHORITY_ID }, true);
|
||||
public static final ForeignKey<LinkUserRoleAuthorityRecord, UserRoleRecord> LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE = Internal.createForeignKey(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY, DSL.name("fk_role_authority_role"), new TableField[] { LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY.USER_ROLE_ID }, Keys.PK_ROLE, new TableField[] { UserRole.USER_ROLE.USER_ROLE_ID }, true);
|
||||
public static final ForeignKey<OrgUnitRecord, OrgUnitRecord> ORG_UNIT__FK_ORG_UNIT_PARENT_ID = Internal.createForeignKey(OrgUnit.ORG_UNIT, DSL.name("fk_org_unit_parent_id"), new TableField[] { OrgUnit.ORG_UNIT.PARENT_ID }, Keys.PK_ORG_UNIT, new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
|
||||
public static final ForeignKey<UserAccountRecord, OrgUnitRecord> USER_ACCOUNT__FK_USER_ORG_UNIT_ID = Internal.createForeignKey(UserAccount.USER_ACCOUNT, DSL.name("fk_user_org_unit_id"), new TableField[] { UserAccount.USER_ACCOUNT.ORG_UNIT_ID }, Keys.PK_ORG_UNIT, new TableField[] { OrgUnit.ORG_UNIT.ID }, true);
|
||||
public static final ForeignKey<UserAccountRefreshTokenRecord, UserAccountRecord> USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN = Internal.createForeignKey(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN, DSL.name("fk_user_account_refresh_token"), new TableField[] { UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN.USER_ACCOUNT_ID }, Keys.PK_USER, new TableField[] { UserAccount.USER_ACCOUNT.USER_ACCOUNT_ID }, true);
|
||||
public static final ForeignKey<UserGroupRecord, AccessLevelRecord> USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL = Internal.createForeignKey(UserGroup.USER_GROUP, DSL.name("fk_user_group_access_level"), new TableField[] { UserGroup.USER_GROUP.ACCESS_LEVEL_ID }, Keys.PK_ACCESS_LEVEL, new TableField[] { AccessLevel.ACCESS_LEVEL.ACCESS_LEVEL_ID }, true);
|
||||
}
|
||||
|
|
@ -1,125 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.DefaultCatalog;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.AccessLevel;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.Authority;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.EsiaUser;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.OrgUnit;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccount;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccountRefreshToken;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserGroup;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserRole;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.impl.SchemaImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Security extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security</code>
|
||||
*/
|
||||
public static final Security SECURITY = new Security();
|
||||
|
||||
/**
|
||||
* The table <code>security.access_level</code>.
|
||||
*/
|
||||
public final AccessLevel ACCESS_LEVEL = AccessLevel.ACCESS_LEVEL;
|
||||
|
||||
/**
|
||||
* The table <code>security.authority</code>.
|
||||
*/
|
||||
public final Authority AUTHORITY = Authority.AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.esia_user</code>.
|
||||
*/
|
||||
public final EsiaUser ESIA_USER = EsiaUser.ESIA_USER;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_account_user_group</code>.
|
||||
*/
|
||||
public final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_group_user_role</code>.
|
||||
*/
|
||||
public final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_role_authority</code>.
|
||||
*/
|
||||
public final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.org_unit</code>.
|
||||
*/
|
||||
public final OrgUnit ORG_UNIT = OrgUnit.ORG_UNIT;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account</code>.
|
||||
*/
|
||||
public final UserAccount USER_ACCOUNT = UserAccount.USER_ACCOUNT;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account_refresh_token</code>.
|
||||
*/
|
||||
public final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_group</code>.
|
||||
*/
|
||||
public final UserGroup USER_GROUP = UserGroup.USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_role</code>.
|
||||
*/
|
||||
public final UserRole USER_ROLE = UserRole.USER_ROLE;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private Security() {
|
||||
super("security", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
AccessLevel.ACCESS_LEVEL,
|
||||
Authority.AUTHORITY,
|
||||
EsiaUser.ESIA_USER,
|
||||
LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP,
|
||||
LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE,
|
||||
LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY,
|
||||
OrgUnit.ORG_UNIT,
|
||||
UserAccount.USER_ACCOUNT,
|
||||
UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN,
|
||||
UserGroup.USER_GROUP,
|
||||
UserRole.USER_ROLE
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -1,80 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.AccessLevel;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.Authority;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.EsiaUser;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.OrgUnit;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccount;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccountRefreshToken;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserGroup;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserRole;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in security.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>security.access_level</code>.
|
||||
*/
|
||||
public static final AccessLevel ACCESS_LEVEL = AccessLevel.ACCESS_LEVEL;
|
||||
|
||||
/**
|
||||
* The table <code>security.authority</code>.
|
||||
*/
|
||||
public static final Authority AUTHORITY = Authority.AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.esia_user</code>.
|
||||
*/
|
||||
public static final EsiaUser ESIA_USER = EsiaUser.ESIA_USER;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_account_user_group</code>.
|
||||
*/
|
||||
public static final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_group_user_role</code>.
|
||||
*/
|
||||
public static final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>security.link_user_role_authority</code>.
|
||||
*/
|
||||
public static final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY;
|
||||
|
||||
/**
|
||||
* The table <code>security.org_unit</code>.
|
||||
*/
|
||||
public static final OrgUnit ORG_UNIT = OrgUnit.ORG_UNIT;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account</code>.
|
||||
*/
|
||||
public static final UserAccount USER_ACCOUNT = UserAccount.USER_ACCOUNT;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_account_refresh_token</code>.
|
||||
*/
|
||||
public static final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_group</code>.
|
||||
*/
|
||||
public static final UserGroup USER_GROUP = UserGroup.USER_GROUP;
|
||||
|
||||
/**
|
||||
* The table <code>security.user_role</code>.
|
||||
*/
|
||||
public static final UserRole USER_ROLE = UserRole.USER_ROLE;
|
||||
}
|
||||
|
|
@ -1,284 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.AccessLevelRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccessLevel extends TableImpl<AccessLevelRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.access_level</code>
|
||||
*/
|
||||
public static final AccessLevel ACCESS_LEVEL = new AccessLevel();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<AccessLevelRecord> getRecordType() {
|
||||
return AccessLevelRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.access_level.access_level_id</code>.
|
||||
*/
|
||||
public final TableField<AccessLevelRecord, String> ACCESS_LEVEL_ID = createField(DSL.name("access_level_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.access_level.level</code>.
|
||||
*/
|
||||
public final TableField<AccessLevelRecord, Short> LEVEL = createField(DSL.name("level"), SQLDataType.SMALLINT.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.access_level.description</code>.
|
||||
*/
|
||||
public final TableField<AccessLevelRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.VARCHAR(256).nullable(false), this, "");
|
||||
|
||||
private AccessLevel(Name alias, Table<AccessLevelRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private AccessLevel(Name alias, Table<AccessLevelRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.access_level</code> table reference
|
||||
*/
|
||||
public AccessLevel(String alias) {
|
||||
this(DSL.name(alias), ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.access_level</code> table reference
|
||||
*/
|
||||
public AccessLevel(Name alias) {
|
||||
this(alias, ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.access_level</code> table reference
|
||||
*/
|
||||
public AccessLevel() {
|
||||
this(DSL.name("access_level"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> AccessLevel(Table<O> path, ForeignKey<O, AccessLevelRecord> childPath, InverseForeignKey<O, AccessLevelRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AccessLevelPath extends AccessLevel implements Path<AccessLevelRecord> {
|
||||
public <O extends Record> AccessLevelPath(Table<O> path, ForeignKey<O, AccessLevelRecord> childPath, InverseForeignKey<O, AccessLevelRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AccessLevelPath(Name alias, Table<AccessLevelRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevelPath as(String alias) {
|
||||
return new AccessLevelPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevelPath as(Name alias) {
|
||||
return new AccessLevelPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevelPath as(Table<?> alias) {
|
||||
return new AccessLevelPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<AccessLevelRecord> getPrimaryKey() {
|
||||
return Keys.PK_ACCESS_LEVEL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<AccessLevelRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
private transient UserGroupPath _userGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_group</code> table
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
if (_userGroup == null)
|
||||
_userGroup = new UserGroupPath(this, null, Keys.USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL.getInverseKey());
|
||||
|
||||
return _userGroup;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevel as(String alias) {
|
||||
return new AccessLevel(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevel as(Name alias) {
|
||||
return new AccessLevel(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccessLevel as(Table<?> alias) {
|
||||
return new AccessLevel(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel rename(String name) {
|
||||
return new AccessLevel(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel rename(Name name) {
|
||||
return new AccessLevel(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel rename(Table<?> name) {
|
||||
return new AccessLevel(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Condition condition) {
|
||||
return new AccessLevel(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccessLevel where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccessLevel whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,294 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserRoleAuthority.LinkUserRoleAuthorityPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.AuthorityRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Authority extends TableImpl<AuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.authority</code>
|
||||
*/
|
||||
public static final Authority AUTHORITY = new Authority();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<AuthorityRecord> getRecordType() {
|
||||
return AuthorityRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.authority.authority_id</code>.
|
||||
*/
|
||||
public final TableField<AuthorityRecord, String> AUTHORITY_ID = createField(DSL.name("authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.authority.name</code>.
|
||||
*/
|
||||
public final TableField<AuthorityRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.authority.created</code>.
|
||||
*/
|
||||
public final TableField<AuthorityRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private Authority(Name alias, Table<AuthorityRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Authority(Name alias, Table<AuthorityRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.authority</code> table reference
|
||||
*/
|
||||
public Authority(String alias) {
|
||||
this(DSL.name(alias), AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.authority</code> table reference
|
||||
*/
|
||||
public Authority(Name alias) {
|
||||
this(alias, AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.authority</code> table reference
|
||||
*/
|
||||
public Authority() {
|
||||
this(DSL.name("authority"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> Authority(Table<O> path, ForeignKey<O, AuthorityRecord> childPath, InverseForeignKey<O, AuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath, AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AuthorityPath extends Authority implements Path<AuthorityRecord> {
|
||||
public <O extends Record> AuthorityPath(Table<O> path, ForeignKey<O, AuthorityRecord> childPath, InverseForeignKey<O, AuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AuthorityPath(Name alias, Table<AuthorityRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorityPath as(String alias) {
|
||||
return new AuthorityPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorityPath as(Name alias) {
|
||||
return new AuthorityPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthorityPath as(Table<?> alias) {
|
||||
return new AuthorityPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<AuthorityRecord> getPrimaryKey() {
|
||||
return Keys.PK_AUTHORITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<AuthorityRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_AUTHORITY_NAME);
|
||||
}
|
||||
|
||||
private transient LinkUserRoleAuthorityPath _linkUserRoleAuthority;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_role_authority</code> table
|
||||
*/
|
||||
public LinkUserRoleAuthorityPath linkUserRoleAuthority() {
|
||||
if (_linkUserRoleAuthority == null)
|
||||
_linkUserRoleAuthority = new LinkUserRoleAuthorityPath(this, null, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY.getInverseKey());
|
||||
|
||||
return _linkUserRoleAuthority;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_role</code> table
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
return linkUserRoleAuthority().userRole();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Authority as(String alias) {
|
||||
return new Authority(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Authority as(Name alias) {
|
||||
return new Authority(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Authority as(Table<?> alias) {
|
||||
return new Authority(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Authority rename(String name) {
|
||||
return new Authority(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Authority rename(Name name) {
|
||||
return new Authority(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Authority rename(Table<?> name) {
|
||||
return new Authority(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Condition condition) {
|
||||
return new Authority(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Authority where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Authority whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,289 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.EsiaUserRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class EsiaUser extends TableImpl<EsiaUserRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.esia_user</code>
|
||||
*/
|
||||
public static final EsiaUser ESIA_USER = new EsiaUser();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<EsiaUserRecord> getRecordType() {
|
||||
return EsiaUserRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.esia_user.esia_user_id</code>.
|
||||
*/
|
||||
public final TableField<EsiaUserRecord, String> ESIA_USER_ID = createField(DSL.name("esia_user_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.esia_user.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<EsiaUserRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.esia_user.person_contact_id</code>.
|
||||
*/
|
||||
public final TableField<EsiaUserRecord, Long> PERSON_CONTACT_ID = createField(DSL.name("person_contact_id"), SQLDataType.BIGINT.nullable(false), this, "");
|
||||
|
||||
private EsiaUser(Name alias, Table<EsiaUserRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private EsiaUser(Name alias, Table<EsiaUserRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.esia_user</code> table reference
|
||||
*/
|
||||
public EsiaUser(String alias) {
|
||||
this(DSL.name(alias), ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.esia_user</code> table reference
|
||||
*/
|
||||
public EsiaUser(Name alias) {
|
||||
this(alias, ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.esia_user</code> table reference
|
||||
*/
|
||||
public EsiaUser() {
|
||||
this(DSL.name("esia_user"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> EsiaUser(Table<O> path, ForeignKey<O, EsiaUserRecord> childPath, InverseForeignKey<O, EsiaUserRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class EsiaUserPath extends EsiaUser implements Path<EsiaUserRecord> {
|
||||
public <O extends Record> EsiaUserPath(Table<O> path, ForeignKey<O, EsiaUserRecord> childPath, InverseForeignKey<O, EsiaUserRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private EsiaUserPath(Name alias, Table<EsiaUserRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUserPath as(String alias) {
|
||||
return new EsiaUserPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUserPath as(Name alias) {
|
||||
return new EsiaUserPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUserPath as(Table<?> alias) {
|
||||
return new EsiaUserPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<EsiaUserRecord> getPrimaryKey() {
|
||||
return Keys.PK_ESIA_USER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<EsiaUserRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ESIA_USER1, Keys.UNI_ESIA_USER2);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<EsiaUserRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.ESIA_USER__FK_ESIA_USER1);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.ESIA_USER__FK_ESIA_USER1, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUser as(String alias) {
|
||||
return new EsiaUser(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUser as(Name alias) {
|
||||
return new EsiaUser(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EsiaUser as(Table<?> alias) {
|
||||
return new EsiaUser(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser rename(String name) {
|
||||
return new EsiaUser(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser rename(Name name) {
|
||||
return new EsiaUser(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser rename(Table<?> name) {
|
||||
return new EsiaUser(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Condition condition) {
|
||||
return new EsiaUser(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public EsiaUser where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public EsiaUser whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,315 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.LinkUserAccountUserGroupRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserAccountUserGroup extends TableImpl<LinkUserAccountUserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>security.link_user_account_user_group</code>
|
||||
*/
|
||||
public static final LinkUserAccountUserGroup LINK_USER_ACCOUNT_USER_GROUP = new LinkUserAccountUserGroup();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LinkUserAccountUserGroupRecord> getRecordType() {
|
||||
return LinkUserAccountUserGroupRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, String> LINK_USER_ACCOUNT_USER_GROUP_ID = createField(DSL.name("link_user_account_user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_account_user_group.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.VARCHAR(150).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_account_user_group.user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_account_user_group.created</code>.
|
||||
*/
|
||||
public final TableField<LinkUserAccountUserGroupRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private LinkUserAccountUserGroup(Name alias, Table<LinkUserAccountUserGroupRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private LinkUserAccountUserGroup(Name alias, Table<LinkUserAccountUserGroupRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_account_user_group</code>
|
||||
* table reference
|
||||
*/
|
||||
public LinkUserAccountUserGroup(String alias) {
|
||||
this(DSL.name(alias), LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_account_user_group</code>
|
||||
* table reference
|
||||
*/
|
||||
public LinkUserAccountUserGroup(Name alias) {
|
||||
this(alias, LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.link_user_account_user_group</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserAccountUserGroup() {
|
||||
this(DSL.name("link_user_account_user_group"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> LinkUserAccountUserGroup(Table<O> path, ForeignKey<O, LinkUserAccountUserGroupRecord> childPath, InverseForeignKey<O, LinkUserAccountUserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath, LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LinkUserAccountUserGroupPath extends LinkUserAccountUserGroup implements Path<LinkUserAccountUserGroupRecord> {
|
||||
public <O extends Record> LinkUserAccountUserGroupPath(Table<O> path, ForeignKey<O, LinkUserAccountUserGroupRecord> childPath, InverseForeignKey<O, LinkUserAccountUserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LinkUserAccountUserGroupPath(Name alias, Table<LinkUserAccountUserGroupRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroupPath as(String alias) {
|
||||
return new LinkUserAccountUserGroupPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroupPath as(Name alias) {
|
||||
return new LinkUserAccountUserGroupPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroupPath as(Table<?> alias) {
|
||||
return new LinkUserAccountUserGroupPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<LinkUserAccountUserGroupRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER_GROUP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<LinkUserAccountUserGroupRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_USER_GROUP);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<LinkUserAccountUserGroupRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
private transient UserGroupPath _userGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_group</code> table.
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
if (_userGroup == null)
|
||||
_userGroup = new UserGroupPath(this, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP, null);
|
||||
|
||||
return _userGroup;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroup as(String alias) {
|
||||
return new LinkUserAccountUserGroup(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroup as(Name alias) {
|
||||
return new LinkUserAccountUserGroup(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserAccountUserGroup as(Table<?> alias) {
|
||||
return new LinkUserAccountUserGroup(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup rename(String name) {
|
||||
return new LinkUserAccountUserGroup(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup rename(Name name) {
|
||||
return new LinkUserAccountUserGroup(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup rename(Table<?> name) {
|
||||
return new LinkUserAccountUserGroup(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Condition condition) {
|
||||
return new LinkUserAccountUserGroup(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserAccountUserGroup where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserAccountUserGroup whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,310 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.LinkUserGroupUserRoleRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserGroupUserRole extends TableImpl<LinkUserGroupUserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.link_user_group_user_role</code>
|
||||
*/
|
||||
public static final LinkUserGroupUserRole LINK_USER_GROUP_USER_ROLE = new LinkUserGroupUserRole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LinkUserGroupUserRoleRecord> getRecordType() {
|
||||
return LinkUserGroupUserRoleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_group_user_role.link_user_group_user_role_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, String> LINK_USER_GROUP_USER_ROLE_ID = createField(DSL.name("link_user_group_user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_group_user_role.user_group_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_group_user_role.user_role_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_group_user_role.created</code>.
|
||||
*/
|
||||
public final TableField<LinkUserGroupUserRoleRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private LinkUserGroupUserRole(Name alias, Table<LinkUserGroupUserRoleRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private LinkUserGroupUserRole(Name alias, Table<LinkUserGroupUserRoleRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_group_user_role</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserGroupUserRole(String alias) {
|
||||
this(DSL.name(alias), LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_group_user_role</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserGroupUserRole(Name alias) {
|
||||
this(alias, LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.link_user_group_user_role</code> table reference
|
||||
*/
|
||||
public LinkUserGroupUserRole() {
|
||||
this(DSL.name("link_user_group_user_role"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> LinkUserGroupUserRole(Table<O> path, ForeignKey<O, LinkUserGroupUserRoleRecord> childPath, InverseForeignKey<O, LinkUserGroupUserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath, LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LinkUserGroupUserRolePath extends LinkUserGroupUserRole implements Path<LinkUserGroupUserRoleRecord> {
|
||||
public <O extends Record> LinkUserGroupUserRolePath(Table<O> path, ForeignKey<O, LinkUserGroupUserRoleRecord> childPath, InverseForeignKey<O, LinkUserGroupUserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LinkUserGroupUserRolePath(Name alias, Table<LinkUserGroupUserRoleRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRolePath as(String alias) {
|
||||
return new LinkUserGroupUserRolePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRolePath as(Name alias) {
|
||||
return new LinkUserGroupUserRolePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRolePath as(Table<?> alias) {
|
||||
return new LinkUserGroupUserRolePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<LinkUserGroupUserRoleRecord> getPrimaryKey() {
|
||||
return Keys.PK_GROUP_ROLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<LinkUserGroupUserRoleRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_GROUP_ROLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<LinkUserGroupUserRoleRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE);
|
||||
}
|
||||
|
||||
private transient UserGroupPath _userGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_group</code> table.
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
if (_userGroup == null)
|
||||
_userGroup = new UserGroupPath(this, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP, null);
|
||||
|
||||
return _userGroup;
|
||||
}
|
||||
|
||||
private transient UserRolePath _userRole;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_role</code> table.
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
if (_userRole == null)
|
||||
_userRole = new UserRolePath(this, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE, null);
|
||||
|
||||
return _userRole;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRole as(String alias) {
|
||||
return new LinkUserGroupUserRole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRole as(Name alias) {
|
||||
return new LinkUserGroupUserRole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserGroupUserRole as(Table<?> alias) {
|
||||
return new LinkUserGroupUserRole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole rename(String name) {
|
||||
return new LinkUserGroupUserRole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole rename(Name name) {
|
||||
return new LinkUserGroupUserRole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole rename(Table<?> name) {
|
||||
return new LinkUserGroupUserRole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Condition condition) {
|
||||
return new LinkUserGroupUserRole(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserGroupUserRole where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserGroupUserRole whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,310 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.Authority.AuthorityPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.LinkUserRoleAuthorityRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserRoleAuthority extends TableImpl<LinkUserRoleAuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.link_user_role_authority</code>
|
||||
*/
|
||||
public static final LinkUserRoleAuthority LINK_USER_ROLE_AUTHORITY = new LinkUserRoleAuthority();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<LinkUserRoleAuthorityRecord> getRecordType() {
|
||||
return LinkUserRoleAuthorityRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.link_user_role_authority.user_role_authority_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, String> USER_ROLE_AUTHORITY_ID = createField(DSL.name("user_role_authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_role_authority.user_role_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_role_authority.authority_id</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, String> AUTHORITY_ID = createField(DSL.name("authority_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.link_user_role_authority.created</code>.
|
||||
*/
|
||||
public final TableField<LinkUserRoleAuthorityRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private LinkUserRoleAuthority(Name alias, Table<LinkUserRoleAuthorityRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private LinkUserRoleAuthority(Name alias, Table<LinkUserRoleAuthorityRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_role_authority</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserRoleAuthority(String alias) {
|
||||
this(DSL.name(alias), LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.link_user_role_authority</code> table
|
||||
* reference
|
||||
*/
|
||||
public LinkUserRoleAuthority(Name alias) {
|
||||
this(alias, LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.link_user_role_authority</code> table reference
|
||||
*/
|
||||
public LinkUserRoleAuthority() {
|
||||
this(DSL.name("link_user_role_authority"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> LinkUserRoleAuthority(Table<O> path, ForeignKey<O, LinkUserRoleAuthorityRecord> childPath, InverseForeignKey<O, LinkUserRoleAuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath, LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class LinkUserRoleAuthorityPath extends LinkUserRoleAuthority implements Path<LinkUserRoleAuthorityRecord> {
|
||||
public <O extends Record> LinkUserRoleAuthorityPath(Table<O> path, ForeignKey<O, LinkUserRoleAuthorityRecord> childPath, InverseForeignKey<O, LinkUserRoleAuthorityRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private LinkUserRoleAuthorityPath(Name alias, Table<LinkUserRoleAuthorityRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthorityPath as(String alias) {
|
||||
return new LinkUserRoleAuthorityPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthorityPath as(Name alias) {
|
||||
return new LinkUserRoleAuthorityPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthorityPath as(Table<?> alias) {
|
||||
return new LinkUserRoleAuthorityPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<LinkUserRoleAuthorityRecord> getPrimaryKey() {
|
||||
return Keys.PK_ROLE_AUTHORITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<LinkUserRoleAuthorityRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<LinkUserRoleAuthorityRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY);
|
||||
}
|
||||
|
||||
private transient UserRolePath _userRole;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_role</code> table.
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
if (_userRole == null)
|
||||
_userRole = new UserRolePath(this, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE, null);
|
||||
|
||||
return _userRole;
|
||||
}
|
||||
|
||||
private transient AuthorityPath _authority;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.authority</code> table.
|
||||
*/
|
||||
public AuthorityPath authority() {
|
||||
if (_authority == null)
|
||||
_authority = new AuthorityPath(this, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_AUTHORITY, null);
|
||||
|
||||
return _authority;
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthority as(String alias) {
|
||||
return new LinkUserRoleAuthority(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthority as(Name alias) {
|
||||
return new LinkUserRoleAuthority(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LinkUserRoleAuthority as(Table<?> alias) {
|
||||
return new LinkUserRoleAuthority(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority rename(String name) {
|
||||
return new LinkUserRoleAuthority(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority rename(Name name) {
|
||||
return new LinkUserRoleAuthority(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority rename(Table<?> name) {
|
||||
return new LinkUserRoleAuthority(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Condition condition) {
|
||||
return new LinkUserRoleAuthority(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public LinkUserRoleAuthority where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public LinkUserRoleAuthority whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,312 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.OrgUnit.OrgUnitPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.OrgUnitRecord;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OrgUnit extends TableImpl<OrgUnitRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.org_unit</code>
|
||||
*/
|
||||
public static final OrgUnit ORG_UNIT = new OrgUnit();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<OrgUnitRecord> getRecordType() {
|
||||
return OrgUnitRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.id</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> ID = createField(DSL.name("id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.name</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(1000).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.code</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(50).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.parent_id</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, String> PARENT_ID = createField(DSL.name("parent_id"), SQLDataType.CHAR(36), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.org_unit.removed</code>.
|
||||
*/
|
||||
public final TableField<OrgUnitRecord, Boolean> REMOVED = createField(DSL.name("removed"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
private OrgUnit(Name alias, Table<OrgUnitRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private OrgUnit(Name alias, Table<OrgUnitRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.org_unit</code> table reference
|
||||
*/
|
||||
public OrgUnit(String alias) {
|
||||
this(DSL.name(alias), ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.org_unit</code> table reference
|
||||
*/
|
||||
public OrgUnit(Name alias) {
|
||||
this(alias, ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.org_unit</code> table reference
|
||||
*/
|
||||
public OrgUnit() {
|
||||
this(DSL.name("org_unit"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> OrgUnit(Table<O> path, ForeignKey<O, OrgUnitRecord> childPath, InverseForeignKey<O, OrgUnitRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class OrgUnitPath extends OrgUnit implements Path<OrgUnitRecord> {
|
||||
public <O extends Record> OrgUnitPath(Table<O> path, ForeignKey<O, OrgUnitRecord> childPath, InverseForeignKey<O, OrgUnitRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private OrgUnitPath(Name alias, Table<OrgUnitRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitPath as(String alias) {
|
||||
return new OrgUnitPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitPath as(Name alias) {
|
||||
return new OrgUnitPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnitPath as(Table<?> alias) {
|
||||
return new OrgUnitPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<OrgUnitRecord> getPrimaryKey() {
|
||||
return Keys.PK_ORG_UNIT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<OrgUnitRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.ORG_UNIT_CODE_KEY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<OrgUnitRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.ORG_UNIT__FK_ORG_UNIT_PARENT_ID);
|
||||
}
|
||||
|
||||
private transient OrgUnitPath _orgUnit;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.org_unit</code> table.
|
||||
*/
|
||||
public OrgUnitPath orgUnit() {
|
||||
if (_orgUnit == null)
|
||||
_orgUnit = new OrgUnitPath(this, Keys.ORG_UNIT__FK_ORG_UNIT_PARENT_ID, null);
|
||||
|
||||
return _orgUnit;
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_account</code> table
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, null, Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID.getInverseKey());
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnit as(String alias) {
|
||||
return new OrgUnit(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnit as(Name alias) {
|
||||
return new OrgUnit(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrgUnit as(Table<?> alias) {
|
||||
return new OrgUnit(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit rename(String name) {
|
||||
return new OrgUnit(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit rename(Name name) {
|
||||
return new OrgUnit(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit rename(Table<?> name) {
|
||||
return new OrgUnit(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Condition condition) {
|
||||
return new OrgUnit(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public OrgUnit where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public OrgUnit whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,395 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.EsiaUser.EsiaUserPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserAccountUserGroup.LinkUserAccountUserGroupPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.OrgUnit.OrgUnitPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccountRefreshToken.UserAccountRefreshTokenPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.UserAccountRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccount extends TableImpl<UserAccountRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.user_account</code>
|
||||
*/
|
||||
public static final UserAccount USER_ACCOUNT = new UserAccount();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserAccountRecord> getRecordType() {
|
||||
return UserAccountRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.email</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(150).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.first_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> FIRST_NAME = createField(DSL.name("first_name"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.last_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> LAST_NAME = createField(DSL.name("last_name"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.middle_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> MIDDLE_NAME = createField(DSL.name("middle_name"), SQLDataType.VARCHAR(100), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.created</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.updated</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Timestamp> UPDATED = createField(DSL.name("updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.locked</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Boolean> LOCKED = createField(DSL.name("locked"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.org_unit_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> ORG_UNIT_ID = createField(DSL.name("org_unit_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.username</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> USERNAME = createField(DSL.name("username"), SQLDataType.VARCHAR(150).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.phone</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(16), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.email_confirmed</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, Boolean> EMAIL_CONFIRMED = createField(DSL.name("email_confirmed"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.user_source</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> USER_SOURCE = createField(DSL.name("user_source"), SQLDataType.VARCHAR(20).nullable(false).defaultValue(DSL.field(DSL.raw("'LOCAL'::character varying"), SQLDataType.VARCHAR)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account.source_name</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRecord, String> SOURCE_NAME = createField(DSL.name("source_name"), SQLDataType.VARCHAR(20), this, "");
|
||||
|
||||
private UserAccount(Name alias, Table<UserAccountRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserAccount(Name alias, Table<UserAccountRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account</code> table reference
|
||||
*/
|
||||
public UserAccount(String alias) {
|
||||
this(DSL.name(alias), USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account</code> table reference
|
||||
*/
|
||||
public UserAccount(Name alias) {
|
||||
this(alias, USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_account</code> table reference
|
||||
*/
|
||||
public UserAccount() {
|
||||
this(DSL.name("user_account"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserAccount(Table<O> path, ForeignKey<O, UserAccountRecord> childPath, InverseForeignKey<O, UserAccountRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserAccountPath extends UserAccount implements Path<UserAccountRecord> {
|
||||
public <O extends Record> UserAccountPath(Table<O> path, ForeignKey<O, UserAccountRecord> childPath, InverseForeignKey<O, UserAccountRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserAccountPath(Name alias, Table<UserAccountRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountPath as(String alias) {
|
||||
return new UserAccountPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountPath as(Name alias) {
|
||||
return new UserAccountPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountPath as(Table<?> alias) {
|
||||
return new UserAccountPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserAccountRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<UserAccountRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT_USERNAME_UNIQUE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserAccountRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID);
|
||||
}
|
||||
|
||||
private transient OrgUnitPath _orgUnit;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.org_unit</code> table.
|
||||
*/
|
||||
public OrgUnitPath orgUnit() {
|
||||
if (_orgUnit == null)
|
||||
_orgUnit = new OrgUnitPath(this, Keys.USER_ACCOUNT__FK_USER_ORG_UNIT_ID, null);
|
||||
|
||||
return _orgUnit;
|
||||
}
|
||||
|
||||
private transient EsiaUserPath _esiaUser;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the <code>security.esia_user</code>
|
||||
* table
|
||||
*/
|
||||
public EsiaUserPath esiaUser() {
|
||||
if (_esiaUser == null)
|
||||
_esiaUser = new EsiaUserPath(this, null, Keys.ESIA_USER__FK_ESIA_USER1.getInverseKey());
|
||||
|
||||
return _esiaUser;
|
||||
}
|
||||
|
||||
private transient LinkUserAccountUserGroupPath _linkUserAccountUserGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_account_user_group</code> table
|
||||
*/
|
||||
public LinkUserAccountUserGroupPath linkUserAccountUserGroup() {
|
||||
if (_linkUserAccountUserGroup == null)
|
||||
_linkUserAccountUserGroup = new LinkUserAccountUserGroupPath(this, null, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_USER.getInverseKey());
|
||||
|
||||
return _linkUserAccountUserGroup;
|
||||
}
|
||||
|
||||
private transient UserAccountRefreshTokenPath _userAccountRefreshToken;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.user_account_refresh_token</code> table
|
||||
*/
|
||||
public UserAccountRefreshTokenPath userAccountRefreshToken() {
|
||||
if (_userAccountRefreshToken == null)
|
||||
_userAccountRefreshToken = new UserAccountRefreshTokenPath(this, null, Keys.USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN.getInverseKey());
|
||||
|
||||
return _userAccountRefreshToken;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_group</code> table
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
return linkUserAccountUserGroup().userGroup();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccount as(String alias) {
|
||||
return new UserAccount(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccount as(Name alias) {
|
||||
return new UserAccount(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccount as(Table<?> alias) {
|
||||
return new UserAccount(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount rename(String name) {
|
||||
return new UserAccount(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount rename(Name name) {
|
||||
return new UserAccount(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount rename(Table<?> name) {
|
||||
return new UserAccount(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Condition condition) {
|
||||
return new UserAccount(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccount where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccount whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,302 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.UserAccountRefreshTokenRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountRefreshToken extends TableImpl<UserAccountRefreshTokenRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>security.user_account_refresh_token</code>
|
||||
*/
|
||||
public static final UserAccountRefreshToken USER_ACCOUNT_REFRESH_TOKEN = new UserAccountRefreshToken();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserAccountRefreshTokenRecord> getRecordType() {
|
||||
return UserAccountRefreshTokenRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.user_account_refresh_token_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> USER_ACCOUNT_REFRESH_TOKEN_ID = createField(DSL.name("user_account_refresh_token_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.user_account_id</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> USER_ACCOUNT_ID = createField(DSL.name("user_account_id"), SQLDataType.CHAR(36), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.refresh_token</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> REFRESH_TOKEN = createField(DSL.name("refresh_token"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_account_refresh_token.access_token</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, String> ACCESS_TOKEN = createField(DSL.name("access_token"), SQLDataType.CLOB, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>security.user_account_refresh_token.expiration_time</code>.
|
||||
*/
|
||||
public final TableField<UserAccountRefreshTokenRecord, Timestamp> EXPIRATION_TIME = createField(DSL.name("expiration_time"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
private UserAccountRefreshToken(Name alias, Table<UserAccountRefreshTokenRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserAccountRefreshToken(Name alias, Table<UserAccountRefreshTokenRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account_refresh_token</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserAccountRefreshToken(String alias) {
|
||||
this(DSL.name(alias), USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_account_refresh_token</code> table
|
||||
* reference
|
||||
*/
|
||||
public UserAccountRefreshToken(Name alias) {
|
||||
this(alias, USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_account_refresh_token</code> table reference
|
||||
*/
|
||||
public UserAccountRefreshToken() {
|
||||
this(DSL.name("user_account_refresh_token"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserAccountRefreshToken(Table<O> path, ForeignKey<O, UserAccountRefreshTokenRecord> childPath, InverseForeignKey<O, UserAccountRefreshTokenRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserAccountRefreshTokenPath extends UserAccountRefreshToken implements Path<UserAccountRefreshTokenRecord> {
|
||||
public <O extends Record> UserAccountRefreshTokenPath(Table<O> path, ForeignKey<O, UserAccountRefreshTokenRecord> childPath, InverseForeignKey<O, UserAccountRefreshTokenRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserAccountRefreshTokenPath(Name alias, Table<UserAccountRefreshTokenRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshTokenPath as(String alias) {
|
||||
return new UserAccountRefreshTokenPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshTokenPath as(Name alias) {
|
||||
return new UserAccountRefreshTokenPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshTokenPath as(Table<?> alias) {
|
||||
return new UserAccountRefreshTokenPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserAccountRefreshTokenRecord> getPrimaryKey() {
|
||||
return Keys.PK_USER_ACCOUNT_REFRESH_TOKEN;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserAccountRefreshTokenRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
private transient UserAccountPath _userAccount;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.user_account</code>
|
||||
* table.
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
if (_userAccount == null)
|
||||
_userAccount = new UserAccountPath(this, Keys.USER_ACCOUNT_REFRESH_TOKEN__FK_USER_ACCOUNT_REFRESH_TOKEN, null);
|
||||
|
||||
return _userAccount;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshToken as(String alias) {
|
||||
return new UserAccountRefreshToken(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshToken as(Name alias) {
|
||||
return new UserAccountRefreshToken(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserAccountRefreshToken as(Table<?> alias) {
|
||||
return new UserAccountRefreshToken(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken rename(String name) {
|
||||
return new UserAccountRefreshToken(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken rename(Name name) {
|
||||
return new UserAccountRefreshToken(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken rename(Table<?> name) {
|
||||
return new UserAccountRefreshToken(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Condition condition) {
|
||||
return new UserAccountRefreshToken(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserAccountRefreshToken where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserAccountRefreshToken whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,346 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.AccessLevel.AccessLevelPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserAccountUserGroup.LinkUserAccountUserGroupPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserGroupUserRole.LinkUserGroupUserRolePath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccount.UserAccountPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserRole.UserRolePath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.UserGroupRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserGroup extends TableImpl<UserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.user_group</code>
|
||||
*/
|
||||
public static final UserGroup USER_GROUP = new UserGroup();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserGroupRecord> getRecordType() {
|
||||
return UserGroupRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.user_group_id</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, String> USER_GROUP_ID = createField(DSL.name("user_group_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.name</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.created</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.updated</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, Timestamp> UPDATED = createField(DSL.name("updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_group.access_level_id</code>.
|
||||
*/
|
||||
public final TableField<UserGroupRecord, String> ACCESS_LEVEL_ID = createField(DSL.name("access_level_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
private UserGroup(Name alias, Table<UserGroupRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserGroup(Name alias, Table<UserGroupRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_group</code> table reference
|
||||
*/
|
||||
public UserGroup(String alias) {
|
||||
this(DSL.name(alias), USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_group</code> table reference
|
||||
*/
|
||||
public UserGroup(Name alias) {
|
||||
this(alias, USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_group</code> table reference
|
||||
*/
|
||||
public UserGroup() {
|
||||
this(DSL.name("user_group"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserGroup(Table<O> path, ForeignKey<O, UserGroupRecord> childPath, InverseForeignKey<O, UserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserGroupPath extends UserGroup implements Path<UserGroupRecord> {
|
||||
public <O extends Record> UserGroupPath(Table<O> path, ForeignKey<O, UserGroupRecord> childPath, InverseForeignKey<O, UserGroupRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserGroupPath(Name alias, Table<UserGroupRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroupPath as(String alias) {
|
||||
return new UserGroupPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroupPath as(Name alias) {
|
||||
return new UserGroupPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroupPath as(Table<?> alias) {
|
||||
return new UserGroupPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserGroupRecord> getPrimaryKey() {
|
||||
return Keys.PK_GROUP;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<UserGroupRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_GROUP_NAME);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<UserGroupRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
private transient AccessLevelPath _accessLevel;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>security.access_level</code>
|
||||
* table.
|
||||
*/
|
||||
public AccessLevelPath accessLevel() {
|
||||
if (_accessLevel == null)
|
||||
_accessLevel = new AccessLevelPath(this, Keys.USER_GROUP__FK_USER_GROUP_ACCESS_LEVEL, null);
|
||||
|
||||
return _accessLevel;
|
||||
}
|
||||
|
||||
private transient LinkUserAccountUserGroupPath _linkUserAccountUserGroup;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_account_user_group</code> table
|
||||
*/
|
||||
public LinkUserAccountUserGroupPath linkUserAccountUserGroup() {
|
||||
if (_linkUserAccountUserGroup == null)
|
||||
_linkUserAccountUserGroup = new LinkUserAccountUserGroupPath(this, null, Keys.LINK_USER_ACCOUNT_USER_GROUP__FK_USER_GROUP_GROUP.getInverseKey());
|
||||
|
||||
return _linkUserAccountUserGroup;
|
||||
}
|
||||
|
||||
private transient LinkUserGroupUserRolePath _linkUserGroupUserRole;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_group_user_role</code> table
|
||||
*/
|
||||
public LinkUserGroupUserRolePath linkUserGroupUserRole() {
|
||||
if (_linkUserGroupUserRole == null)
|
||||
_linkUserGroupUserRole = new LinkUserGroupUserRolePath(this, null, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_GROUP.getInverseKey());
|
||||
|
||||
return _linkUserGroupUserRole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_account</code> table
|
||||
*/
|
||||
public UserAccountPath userAccount() {
|
||||
return linkUserAccountUserGroup().userAccount();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_role</code> table
|
||||
*/
|
||||
public UserRolePath userRole() {
|
||||
return linkUserGroupUserRole().userRole();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroup as(String alias) {
|
||||
return new UserGroup(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroup as(Name alias) {
|
||||
return new UserGroup(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserGroup as(Table<?> alias) {
|
||||
return new UserGroup(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup rename(String name) {
|
||||
return new UserGroup(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup rename(Name name) {
|
||||
return new UserGroup(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup rename(Table<?> name) {
|
||||
return new UserGroup(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Condition condition) {
|
||||
return new UserGroup(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserGroup where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserGroup whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,322 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Keys;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.Security;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.Authority.AuthorityPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserGroupUserRole.LinkUserGroupUserRolePath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserRoleAuthority.LinkUserRoleAuthorityPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserGroup.UserGroupPath;
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records.UserRoleRecord;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserRole extends TableImpl<UserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>security.user_role</code>
|
||||
*/
|
||||
public static final UserRole USER_ROLE = new UserRole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<UserRoleRecord> getRecordType() {
|
||||
return UserRoleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.user_role_id</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, String> USER_ROLE_ID = createField(DSL.name("user_role_id"), SQLDataType.CHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.name</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.created</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, Timestamp> CREATED = createField(DSL.name("created"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>security.user_role.updated</code>.
|
||||
*/
|
||||
public final TableField<UserRoleRecord, Timestamp> UPDATED = createField(DSL.name("updated"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
private UserRole(Name alias, Table<UserRoleRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private UserRole(Name alias, Table<UserRoleRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_role</code> table reference
|
||||
*/
|
||||
public UserRole(String alias) {
|
||||
this(DSL.name(alias), USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>security.user_role</code> table reference
|
||||
*/
|
||||
public UserRole(Name alias) {
|
||||
this(alias, USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>security.user_role</code> table reference
|
||||
*/
|
||||
public UserRole() {
|
||||
this(DSL.name("user_role"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> UserRole(Table<O> path, ForeignKey<O, UserRoleRecord> childPath, InverseForeignKey<O, UserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath, USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class UserRolePath extends UserRole implements Path<UserRoleRecord> {
|
||||
public <O extends Record> UserRolePath(Table<O> path, ForeignKey<O, UserRoleRecord> childPath, InverseForeignKey<O, UserRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private UserRolePath(Name alias, Table<UserRoleRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRolePath as(String alias) {
|
||||
return new UserRolePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRolePath as(Name alias) {
|
||||
return new UserRolePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRolePath as(Table<?> alias) {
|
||||
return new UserRolePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Security.SECURITY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<UserRoleRecord> getPrimaryKey() {
|
||||
return Keys.PK_ROLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<UniqueKey<UserRoleRecord>> getUniqueKeys() {
|
||||
return Arrays.asList(Keys.UNI_ROLE_NAME);
|
||||
}
|
||||
|
||||
private transient LinkUserGroupUserRolePath _linkUserGroupUserRole;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_group_user_role</code> table
|
||||
*/
|
||||
public LinkUserGroupUserRolePath linkUserGroupUserRole() {
|
||||
if (_linkUserGroupUserRole == null)
|
||||
_linkUserGroupUserRole = new LinkUserGroupUserRolePath(this, null, Keys.LINK_USER_GROUP_USER_ROLE__FK_GROUP_ROLE_ROLE.getInverseKey());
|
||||
|
||||
return _linkUserGroupUserRole;
|
||||
}
|
||||
|
||||
private transient LinkUserRoleAuthorityPath _linkUserRoleAuthority;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>security.link_user_role_authority</code> table
|
||||
*/
|
||||
public LinkUserRoleAuthorityPath linkUserRoleAuthority() {
|
||||
if (_linkUserRoleAuthority == null)
|
||||
_linkUserRoleAuthority = new LinkUserRoleAuthorityPath(this, null, Keys.LINK_USER_ROLE_AUTHORITY__FK_ROLE_AUTHORITY_ROLE.getInverseKey());
|
||||
|
||||
return _linkUserRoleAuthority;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.user_group</code> table
|
||||
*/
|
||||
public UserGroupPath userGroup() {
|
||||
return linkUserGroupUserRole().userGroup();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>security.authority</code> table
|
||||
*/
|
||||
public AuthorityPath authority() {
|
||||
return linkUserRoleAuthority().authority();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(String alias) {
|
||||
return new UserRole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(Name alias) {
|
||||
return new UserRole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public UserRole as(Table<?> alias) {
|
||||
return new UserRole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(String name) {
|
||||
return new UserRole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(Name name) {
|
||||
return new UserRole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole rename(Table<?> name) {
|
||||
return new UserRole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Condition condition) {
|
||||
return new UserRole(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public UserRole where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public UserRole whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,94 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.AccessLevel;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccessLevelRecord extends UpdatableRecordImpl<AccessLevelRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.access_level.access_level_id</code>.
|
||||
*/
|
||||
public void setAccessLevelId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.access_level.access_level_id</code>.
|
||||
*/
|
||||
public String getAccessLevelId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.access_level.level</code>.
|
||||
*/
|
||||
public void setLevel(Short value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.access_level.level</code>.
|
||||
*/
|
||||
public Short getLevel() {
|
||||
return (Short) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.access_level.description</code>.
|
||||
*/
|
||||
public void setDescription(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.access_level.description</code>.
|
||||
*/
|
||||
public String getDescription() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AccessLevelRecord
|
||||
*/
|
||||
public AccessLevelRecord() {
|
||||
super(AccessLevel.ACCESS_LEVEL);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AccessLevelRecord
|
||||
*/
|
||||
public AccessLevelRecord(String accessLevelId, Short level, String description) {
|
||||
super(AccessLevel.ACCESS_LEVEL);
|
||||
|
||||
setAccessLevelId(accessLevelId);
|
||||
setLevel(level);
|
||||
setDescription(description);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.Authority;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AuthorityRecord extends UpdatableRecordImpl<AuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.authority.authority_id</code>.
|
||||
*/
|
||||
public void setAuthorityId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.authority.authority_id</code>.
|
||||
*/
|
||||
public String getAuthorityId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.authority.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.authority.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.authority.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.authority.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AuthorityRecord
|
||||
*/
|
||||
public AuthorityRecord() {
|
||||
super(Authority.AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AuthorityRecord
|
||||
*/
|
||||
public AuthorityRecord(String authorityId, String name, Timestamp created) {
|
||||
super(Authority.AUTHORITY);
|
||||
|
||||
setAuthorityId(authorityId);
|
||||
setName(name);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,94 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.EsiaUser;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class EsiaUserRecord extends UpdatableRecordImpl<EsiaUserRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.esia_user.esia_user_id</code>.
|
||||
*/
|
||||
public void setEsiaUserId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.esia_user.esia_user_id</code>.
|
||||
*/
|
||||
public String getEsiaUserId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.esia_user.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.esia_user.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.esia_user.person_contact_id</code>.
|
||||
*/
|
||||
public void setPersonContactId(Long value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.esia_user.person_contact_id</code>.
|
||||
*/
|
||||
public Long getPersonContactId() {
|
||||
return (Long) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached EsiaUserRecord
|
||||
*/
|
||||
public EsiaUserRecord() {
|
||||
super(EsiaUser.ESIA_USER);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised EsiaUserRecord
|
||||
*/
|
||||
public EsiaUserRecord(String esiaUserId, String userAccountId, Long personContactId) {
|
||||
super(EsiaUser.ESIA_USER);
|
||||
|
||||
setEsiaUserId(esiaUserId);
|
||||
setUserAccountId(userAccountId);
|
||||
setPersonContactId(personContactId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,117 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserAccountUserGroup;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserAccountUserGroupRecord extends UpdatableRecordImpl<LinkUserAccountUserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
|
||||
*/
|
||||
public void setLinkUserAccountUserGroupId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_account_user_group.link_user_account_user_group_id</code>.
|
||||
*/
|
||||
public String getLinkUserAccountUserGroupId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_account_user_group.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_account_user_group.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_account_user_group.user_group_id</code>.
|
||||
*/
|
||||
public void setUserGroupId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_account_user_group.user_group_id</code>.
|
||||
*/
|
||||
public String getUserGroupId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_account_user_group.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_account_user_group.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LinkUserAccountUserGroupRecord
|
||||
*/
|
||||
public LinkUserAccountUserGroupRecord() {
|
||||
super(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LinkUserAccountUserGroupRecord
|
||||
*/
|
||||
public LinkUserAccountUserGroupRecord(String linkUserAccountUserGroupId, String userAccountId, String userGroupId, Timestamp created) {
|
||||
super(LinkUserAccountUserGroup.LINK_USER_ACCOUNT_USER_GROUP);
|
||||
|
||||
setLinkUserAccountUserGroupId(linkUserAccountUserGroupId);
|
||||
setUserAccountId(userAccountId);
|
||||
setUserGroupId(userGroupId);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,113 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserGroupUserRole;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserGroupUserRoleRecord extends UpdatableRecordImpl<LinkUserGroupUserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_group_user_role.link_user_group_user_role_id</code>.
|
||||
*/
|
||||
public void setLinkUserGroupUserRoleId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_group_user_role.link_user_group_user_role_id</code>.
|
||||
*/
|
||||
public String getLinkUserGroupUserRoleId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_group_user_role.user_group_id</code>.
|
||||
*/
|
||||
public void setUserGroupId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_group_user_role.user_group_id</code>.
|
||||
*/
|
||||
public String getUserGroupId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_group_user_role.user_role_id</code>.
|
||||
*/
|
||||
public void setUserRoleId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_group_user_role.user_role_id</code>.
|
||||
*/
|
||||
public String getUserRoleId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_group_user_role.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_group_user_role.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LinkUserGroupUserRoleRecord
|
||||
*/
|
||||
public LinkUserGroupUserRoleRecord() {
|
||||
super(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LinkUserGroupUserRoleRecord
|
||||
*/
|
||||
public LinkUserGroupUserRoleRecord(String linkUserGroupUserRoleId, String userGroupId, String userRoleId, Timestamp created) {
|
||||
super(LinkUserGroupUserRole.LINK_USER_GROUP_USER_ROLE);
|
||||
|
||||
setLinkUserGroupUserRoleId(linkUserGroupUserRoleId);
|
||||
setUserGroupId(userGroupId);
|
||||
setUserRoleId(userRoleId);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,113 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.LinkUserRoleAuthority;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class LinkUserRoleAuthorityRecord extends UpdatableRecordImpl<LinkUserRoleAuthorityRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.link_user_role_authority.user_role_authority_id</code>.
|
||||
*/
|
||||
public void setUserRoleAuthorityId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.link_user_role_authority.user_role_authority_id</code>.
|
||||
*/
|
||||
public String getUserRoleAuthorityId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_role_authority.user_role_id</code>.
|
||||
*/
|
||||
public void setUserRoleId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_role_authority.user_role_id</code>.
|
||||
*/
|
||||
public String getUserRoleId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_role_authority.authority_id</code>.
|
||||
*/
|
||||
public void setAuthorityId(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_role_authority.authority_id</code>.
|
||||
*/
|
||||
public String getAuthorityId() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.link_user_role_authority.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.link_user_role_authority.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached LinkUserRoleAuthorityRecord
|
||||
*/
|
||||
public LinkUserRoleAuthorityRecord() {
|
||||
super(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised LinkUserRoleAuthorityRecord
|
||||
*/
|
||||
public LinkUserRoleAuthorityRecord(String userRoleAuthorityId, String userRoleId, String authorityId, Timestamp created) {
|
||||
super(LinkUserRoleAuthority.LINK_USER_ROLE_AUTHORITY);
|
||||
|
||||
setUserRoleAuthorityId(userRoleAuthorityId);
|
||||
setUserRoleId(userRoleId);
|
||||
setAuthorityId(authorityId);
|
||||
setCreated(created);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,124 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.OrgUnit;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class OrgUnitRecord extends UpdatableRecordImpl<OrgUnitRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.code</code>.
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.code</code>.
|
||||
*/
|
||||
public String getCode() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.parent_id</code>.
|
||||
*/
|
||||
public void setParentId(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.parent_id</code>.
|
||||
*/
|
||||
public String getParentId() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.org_unit.removed</code>.
|
||||
*/
|
||||
public void setRemoved(Boolean value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.org_unit.removed</code>.
|
||||
*/
|
||||
public Boolean getRemoved() {
|
||||
return (Boolean) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached OrgUnitRecord
|
||||
*/
|
||||
public OrgUnitRecord() {
|
||||
super(OrgUnit.ORG_UNIT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised OrgUnitRecord
|
||||
*/
|
||||
public OrgUnitRecord(String id, String name, String code, String parentId, Boolean removed) {
|
||||
super(OrgUnit.ORG_UNIT);
|
||||
|
||||
setId(id);
|
||||
setName(name);
|
||||
setCode(code);
|
||||
setParentId(parentId);
|
||||
setRemoved(removed);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,261 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccount;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountRecord extends UpdatableRecordImpl<UserAccountRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.email</code>.
|
||||
*/
|
||||
public void setEmail(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.email</code>.
|
||||
*/
|
||||
public String getEmail() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.first_name</code>.
|
||||
*/
|
||||
public void setFirstName(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.first_name</code>.
|
||||
*/
|
||||
public String getFirstName() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.last_name</code>.
|
||||
*/
|
||||
public void setLastName(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.last_name</code>.
|
||||
*/
|
||||
public String getLastName() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.middle_name</code>.
|
||||
*/
|
||||
public void setMiddleName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.middle_name</code>.
|
||||
*/
|
||||
public String getMiddleName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.updated</code>.
|
||||
*/
|
||||
public void setUpdated(Timestamp value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.updated</code>.
|
||||
*/
|
||||
public Timestamp getUpdated() {
|
||||
return (Timestamp) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.locked</code>.
|
||||
*/
|
||||
public void setLocked(Boolean value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.locked</code>.
|
||||
*/
|
||||
public Boolean getLocked() {
|
||||
return (Boolean) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.org_unit_id</code>.
|
||||
*/
|
||||
public void setOrgUnitId(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.org_unit_id</code>.
|
||||
*/
|
||||
public String getOrgUnitId() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.username</code>.
|
||||
*/
|
||||
public void setUsername(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.username</code>.
|
||||
*/
|
||||
public String getUsername() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.phone</code>.
|
||||
*/
|
||||
public void setPhone(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.phone</code>.
|
||||
*/
|
||||
public String getPhone() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.email_confirmed</code>.
|
||||
*/
|
||||
public void setEmailConfirmed(Boolean value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.email_confirmed</code>.
|
||||
*/
|
||||
public Boolean getEmailConfirmed() {
|
||||
return (Boolean) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.user_source</code>.
|
||||
*/
|
||||
public void setUserSource(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.user_source</code>.
|
||||
*/
|
||||
public String getUserSource() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account.source_name</code>.
|
||||
*/
|
||||
public void setSourceName(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account.source_name</code>.
|
||||
*/
|
||||
public String getSourceName() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserAccountRecord
|
||||
*/
|
||||
public UserAccountRecord() {
|
||||
super(UserAccount.USER_ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserAccountRecord
|
||||
*/
|
||||
public UserAccountRecord(String userAccountId, String email, String firstName, String lastName, String middleName, Timestamp created, Timestamp updated, Boolean locked, String orgUnitId, String username, String phone, Boolean emailConfirmed, String userSource, String sourceName) {
|
||||
super(UserAccount.USER_ACCOUNT);
|
||||
|
||||
setUserAccountId(userAccountId);
|
||||
setEmail(email);
|
||||
setFirstName(firstName);
|
||||
setLastName(lastName);
|
||||
setMiddleName(middleName);
|
||||
setCreated(created);
|
||||
setUpdated(updated);
|
||||
setLocked(locked);
|
||||
setOrgUnitId(orgUnitId);
|
||||
setUsername(username);
|
||||
setPhone(phone);
|
||||
setEmailConfirmed(emailConfirmed);
|
||||
setUserSource(userSource);
|
||||
setSourceName(sourceName);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,134 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserAccountRefreshToken;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserAccountRefreshTokenRecord extends UpdatableRecordImpl<UserAccountRefreshTokenRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.user_account_refresh_token_id</code>.
|
||||
*/
|
||||
public void setUserAccountRefreshTokenId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.user_account_refresh_token_id</code>.
|
||||
*/
|
||||
public String getUserAccountRefreshTokenId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.user_account_id</code>.
|
||||
*/
|
||||
public void setUserAccountId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.user_account_id</code>.
|
||||
*/
|
||||
public String getUserAccountId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.refresh_token</code>.
|
||||
*/
|
||||
public void setRefreshToken(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.refresh_token</code>.
|
||||
*/
|
||||
public String getRefreshToken() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_account_refresh_token.access_token</code>.
|
||||
*/
|
||||
public void setAccessToken(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_account_refresh_token.access_token</code>.
|
||||
*/
|
||||
public String getAccessToken() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>security.user_account_refresh_token.expiration_time</code>.
|
||||
*/
|
||||
public void setExpirationTime(Timestamp value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>security.user_account_refresh_token.expiration_time</code>.
|
||||
*/
|
||||
public Timestamp getExpirationTime() {
|
||||
return (Timestamp) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserAccountRefreshTokenRecord
|
||||
*/
|
||||
public UserAccountRefreshTokenRecord() {
|
||||
super(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserAccountRefreshTokenRecord
|
||||
*/
|
||||
public UserAccountRefreshTokenRecord(String userAccountRefreshTokenId, String userAccountId, String refreshToken, String accessToken, Timestamp expirationTime) {
|
||||
super(UserAccountRefreshToken.USER_ACCOUNT_REFRESH_TOKEN);
|
||||
|
||||
setUserAccountRefreshTokenId(userAccountRefreshTokenId);
|
||||
setUserAccountId(userAccountId);
|
||||
setRefreshToken(refreshToken);
|
||||
setAccessToken(accessToken);
|
||||
setExpirationTime(expirationTime);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,126 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserGroup;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserGroupRecord extends UpdatableRecordImpl<UserGroupRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.user_group_id</code>.
|
||||
*/
|
||||
public void setUserGroupId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.user_group_id</code>.
|
||||
*/
|
||||
public String getUserGroupId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.updated</code>.
|
||||
*/
|
||||
public void setUpdated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.updated</code>.
|
||||
*/
|
||||
public Timestamp getUpdated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_group.access_level_id</code>.
|
||||
*/
|
||||
public void setAccessLevelId(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_group.access_level_id</code>.
|
||||
*/
|
||||
public String getAccessLevelId() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserGroupRecord
|
||||
*/
|
||||
public UserGroupRecord() {
|
||||
super(UserGroup.USER_GROUP);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserGroupRecord
|
||||
*/
|
||||
public UserGroupRecord(String userGroupId, String name, Timestamp created, Timestamp updated, String accessLevelId) {
|
||||
super(UserGroup.USER_GROUP);
|
||||
|
||||
setUserGroupId(userGroupId);
|
||||
setName(name);
|
||||
setCreated(created);
|
||||
setUpdated(updated);
|
||||
setAccessLevelId(accessLevelId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,111 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.records;
|
||||
|
||||
|
||||
import ervu_lkrp_fl.ervu_lkrp_fl.db_beans.security.tables.UserRole;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class UserRoleRecord extends UpdatableRecordImpl<UserRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.user_role_id</code>.
|
||||
*/
|
||||
public void setUserRoleId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.user_role_id</code>.
|
||||
*/
|
||||
public String getUserRoleId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.created</code>.
|
||||
*/
|
||||
public void setCreated(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.created</code>.
|
||||
*/
|
||||
public Timestamp getCreated() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>security.user_role.updated</code>.
|
||||
*/
|
||||
public void setUpdated(Timestamp value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>security.user_role.updated</code>.
|
||||
*/
|
||||
public Timestamp getUpdated() {
|
||||
return (Timestamp) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached UserRoleRecord
|
||||
*/
|
||||
public UserRoleRecord() {
|
||||
super(UserRole.USER_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised UserRoleRecord
|
||||
*/
|
||||
public UserRoleRecord(String userRoleId, String name, Timestamp created, Timestamp updated) {
|
||||
super(UserRole.USER_ROLE);
|
||||
|
||||
setUserRoleId(userRoleId);
|
||||
setName(name);
|
||||
setCreated(created);
|
||||
setUpdated(updated);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
151
backend/src/main/java/ru/micord/ervu/db/DbConfiguration.java
Normal file
151
backend/src/main/java/ru/micord/ervu/db/DbConfiguration.java
Normal file
|
|
@ -0,0 +1,151 @@
|
|||
package ru.micord.ervu.db;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.sql.DataSource;
|
||||
|
||||
import org.jooq.ConnectionProvider;
|
||||
import org.jooq.DSLContext;
|
||||
import org.jooq.ExecuteListener;
|
||||
import org.jooq.conf.Settings;
|
||||
import org.jooq.impl.DefaultConfiguration;
|
||||
import org.jooq.impl.DefaultDSLContext;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.context.annotation.Primary;
|
||||
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
|
||||
import org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy;
|
||||
import org.springframework.transaction.PlatformTransactionManager;
|
||||
import ru.fix.aggregating.profiler.PrefixedProfiler;
|
||||
import ru.fix.aggregating.profiler.Profiler;
|
||||
|
||||
import ru.cg.webbpm.modules.core.metrics.MetricsConfig;
|
||||
import ru.cg.webbpm.modules.core.runtime.api.context.ExecutionContextHelper;
|
||||
import ru.cg.webbpm.modules.database.api.ConfigurationProvider;
|
||||
import ru.cg.webbpm.modules.database.api.metrics.DataSourceWithMetrics;
|
||||
import ru.cg.webbpm.modules.database.api.provider.DslProvider;
|
||||
import ru.cg.webbpm.modules.database.bean.config.Datasource;
|
||||
import ru.cg.webbpm.modules.database.impl.DbConfInitializer;
|
||||
import ru.cg.webbpm.modules.database.impl.data_source.DataSourceConfigReader;
|
||||
import ru.cg.webbpm.modules.database.impl.data_source.DataSourceFactory;
|
||||
import ru.cg.webbpm.modules.database.impl.data_source.HikariDataSourceFactory;
|
||||
import ru.cg.webbpm.modules.database.impl.data_source.JndiDataSourceFactory;
|
||||
import ru.cg.webbpm.modules.database.impl.provider.DefaultConnectionProvider;
|
||||
import ru.cg.webbpm.modules.database.impl.provider.DslProviderImpl;
|
||||
import ru.cg.webbpm.modules.database.impl.service.ProcessSqlService;
|
||||
import ru.cg.webbpm.modules.resources.api.ResourceProvider;
|
||||
|
||||
@Configuration
|
||||
@Import(MetricsConfig.class)
|
||||
public class DbConfiguration {
|
||||
@Value("${webbpm.db.query_timeout:120}")
|
||||
private Integer queryTimeout;
|
||||
@Autowired
|
||||
private ResourceProvider resourceProvider;
|
||||
@Autowired
|
||||
private ProcessSqlService processSqlService;
|
||||
@Autowired
|
||||
private Profiler profiler;
|
||||
@Autowired
|
||||
private ExecutionContextHelper executionContextHelper;
|
||||
|
||||
@Autowired
|
||||
private ExecuteListener[] executeListeners;
|
||||
|
||||
private final Map<String, DSLContext> dslContextMap = new HashMap<>();
|
||||
private final Map<String, ConnectionProvider> connectionProviderMap = new HashMap<>();
|
||||
|
||||
@Bean
|
||||
public Datasource datasourceConfig() {
|
||||
return DataSourceConfigReader.read(resourceProvider);
|
||||
}
|
||||
|
||||
@Bean(destroyMethod = "destroy")
|
||||
public DataSourceFactory dataSourceFactory(HikariDataSourceFactory hikariDataSourceFactory) {
|
||||
return new DataSourceFactory(hikariDataSourceFactory);
|
||||
}
|
||||
|
||||
@Bean
|
||||
@Primary
|
||||
public DataSource datasource(DataSourceFactory dataSourceFactory) {
|
||||
DataSource dataSource = dataSourceFactory.createDataSource(datasourceConfig(),
|
||||
JndiDataSourceFactory::createDataSource
|
||||
);
|
||||
return new DataSourceWithMetrics(
|
||||
dataSource,
|
||||
"project",
|
||||
new PrefixedProfiler(profiler, "webbpm.db"),
|
||||
executionContextHelper
|
||||
);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public PlatformTransactionManager txManager(@Qualifier("datasource") DataSource dataSource) {
|
||||
return new DataSourceTransactionManager(dataSource);
|
||||
}
|
||||
|
||||
@Bean
|
||||
@Primary
|
||||
public TransactionAwareDataSourceProxy transactionAwareDataSource(DataSource dataSource) {
|
||||
return new TransactionAwareDataSourceProxy(dataSource);
|
||||
}
|
||||
|
||||
@Bean
|
||||
@Primary
|
||||
public DefaultConnectionProvider connectionProvider(
|
||||
TransactionAwareDataSourceProxy transactionAwareDataSourceProxy) {
|
||||
return new DefaultConnectionProvider(transactionAwareDataSourceProxy, processSqlService,
|
||||
connectionProviderMap
|
||||
);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public Settings jooqSettings(DataSourceFactory dataSourceFactory) {
|
||||
Settings settings = new Settings();
|
||||
if (dataSourceFactory.dataSourceType() == DataSourceFactory.DataSourceType.HIKARI) {
|
||||
settings.setQueryTimeout(queryTimeout);
|
||||
}
|
||||
return settings;
|
||||
}
|
||||
|
||||
@Bean
|
||||
@Primary
|
||||
public org.jooq.Configuration jooqConfiguration(ConnectionProvider connectionProvider,
|
||||
Settings jooqSettings) {
|
||||
DefaultConfiguration configuration = new DefaultConfiguration();
|
||||
configuration.setSQLDialect(datasourceConfig().getSqlDialect());
|
||||
jooqSettings = jooqSettings.withExecuteLogging(false);
|
||||
configuration.setSettings(jooqSettings);
|
||||
configuration.setConnectionProvider(connectionProvider);
|
||||
configuration.set(executeListeners);
|
||||
return configuration;
|
||||
}
|
||||
|
||||
@Bean
|
||||
@Primary
|
||||
public DSLContext dsl(org.jooq.Configuration configuration) {
|
||||
return new DefaultDSLContext(configuration);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ConfigurationProvider configurationProvider(
|
||||
PlatformTransactionManager platformTransactionManager) {
|
||||
return () -> platformTransactionManager;
|
||||
}
|
||||
|
||||
@Bean
|
||||
public DslProvider dslProvider(@Qualifier("dsl") DSLContext dsl) {
|
||||
return new DslProviderImpl(dsl, this.dslContextMap);
|
||||
}
|
||||
|
||||
@Bean
|
||||
public DbConfInitializer dbConfInitializer(DataSourceFactory dataSourceFactory,
|
||||
org.jooq.Configuration masterConfiguration, Datasource datasource) {
|
||||
return new DbConfInitializer(dataSourceFactory, masterConfiguration, datasource,
|
||||
processSqlService, connectionProviderMap, dslContextMap);
|
||||
}
|
||||
}
|
||||
|
|
@ -38,7 +38,7 @@ public class EsiaConfig {
|
|||
@Value("${esia.logout.url:idp/ext/Logout}")
|
||||
private String esiaLogoutUrl;
|
||||
|
||||
@Value("${esia.code.url:aas/oauth2/v3/te}")
|
||||
@Value("${esia.code.url:aas/oauth2/v2/ac}")
|
||||
private String esiaCodeUrl;
|
||||
|
||||
@Value("${esia.token.url:aas/oauth2/v3/te}")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
package ru.micord.ervu.security.esia.controller;
|
||||
|
||||
import java.text.DateFormat;
|
||||
import java.text.SimpleDateFormat;
|
||||
import javax.servlet.http.Cookie;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
|
|
@ -52,16 +54,17 @@ public class EsiaController {
|
|||
if (accessToken == null) {
|
||||
return null;
|
||||
}
|
||||
DateFormat df = new SimpleDateFormat("dd.MM.yyyy");
|
||||
PersonModel personModel = personalDataService.getPersonModel(accessToken);
|
||||
PersonDataModel personDataModel = new PersonDataModel();
|
||||
personDataModel.birthDate = personModel.getBirthDate().toString();
|
||||
personDataModel.birthDate = df.format(personModel.getBirthDate());
|
||||
personDataModel.fullname = personModel.getLastName() + " " + personModel.getFirstName() + " "
|
||||
+ personModel.getMiddleName();
|
||||
personDataModel.snils = personModel.getSnils();
|
||||
personDataModel.seriesAndNumber =
|
||||
personModel.getPassportModel().getSeries() + " " + personModel.getPassportModel()
|
||||
.getNumber();
|
||||
personDataModel.issueDate = personModel.getPassportModel().getIssueDate().toString();
|
||||
personDataModel.issueDate = df.format(personModel.getPassportModel().getIssueDate());
|
||||
personDataModel.issuedBy = personModel.getPassportModel().getIssuedBy();
|
||||
personDataModel.issueId = personModel.getPassportModel().getIssueId();
|
||||
return personDataModel;
|
||||
|
|
|
|||
|
|
@ -222,9 +222,9 @@ public class EsiaAuthService {
|
|||
.setAuthentication(
|
||||
new UsernamePasswordAuthenticationToken(esiaAccessToken.getSbj_id(), null));
|
||||
|
||||
Cookie isAuth = new Cookie("is_auth", "true");
|
||||
isAuth.setPath(cookiePath);
|
||||
Cookie isAuth = new Cookie("webbpm.ervu-lkrp-fl", "true");
|
||||
isAuth.setMaxAge(tokenResponse.getExpires_in().intValue());
|
||||
isAuth.setPath("/");
|
||||
response.addCookie(isAuth);
|
||||
return true;
|
||||
}
|
||||
|
|
@ -321,9 +321,9 @@ public class EsiaAuthService {
|
|||
.setAuthentication(
|
||||
new UsernamePasswordAuthenticationToken(esiaAccessToken.getSbj_id(), null));
|
||||
|
||||
Cookie isAuth = new Cookie("is_auth", "true");
|
||||
Cookie isAuth = new Cookie("webbpm.ervu-lkrp-fl", "true");
|
||||
isAuth.setMaxAge(tokenResponse.getExpires_in().intValue());
|
||||
isAuth.setPath(cookiePath);
|
||||
isAuth.setPath("/");
|
||||
response.addCookie(isAuth);
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
|
@ -368,9 +368,16 @@ public class EsiaAuthService {
|
|||
Cookie[] cookies = request.getCookies();
|
||||
if (cookies != null)
|
||||
for (Cookie cookie : cookies) {
|
||||
if (cookie.getName().equals("auth_token") || cookie.getName().equals("refresh_token")
|
||||
|| cookie.getName().equals("access_token") || cookie.getName().equals("is_auth")) {
|
||||
if (cookie.getName().equals("webbpm.ervu-lkrp-fl")) {
|
||||
cookie.setValue("");
|
||||
cookie.setPath("/");
|
||||
cookie.setMaxAge(0);
|
||||
response.addCookie(cookie);
|
||||
}
|
||||
else if (cookie.getName().equals("auth_token") || cookie.getName().equals("refresh_token")
|
||||
|| cookie.getName().equals("access_token")) {
|
||||
cookie.setValue("");
|
||||
cookie.setPath(cookie.getPath());
|
||||
cookie.setMaxAge(0);
|
||||
response.addCookie(cookie);
|
||||
}
|
||||
|
|
|
|||
30
backend/src/main/webapp/WEB-INF/log4j2.xml
Normal file
30
backend/src/main/webapp/WEB-INF/log4j2.xml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<Configuration status="WARN" monitorInterval="30">
|
||||
<Appenders>
|
||||
<Console name="Console" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
|
||||
</Console>
|
||||
|
||||
<RollingRandomAccessFile name="LogToRollingRandomAccessFile" fileName="${sys:catalina.home}/logs/ervu-fl.log"
|
||||
filePattern="${sys:catalina.home}/logs/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.log.gz">
|
||||
<PatternLayout>
|
||||
<Pattern>%d %p %c{1.} [%t] %m%n</Pattern>
|
||||
</PatternLayout>
|
||||
<Policies>
|
||||
<TimeBasedTriggeringPolicy/>
|
||||
<SizeBasedTriggeringPolicy size="20MB"/>
|
||||
</Policies>
|
||||
<DefaultRolloverStrategy max="10"/>
|
||||
</RollingRandomAccessFile>
|
||||
|
||||
<Async name="Async">
|
||||
<AppenderRef ref="LogToRollingRandomAccessFile"/>
|
||||
</Async>
|
||||
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
<Root level="INFO">
|
||||
<AppenderRef ref="Console"/>
|
||||
<AppenderRef ref="Async"/>
|
||||
</Root>
|
||||
</Loggers>
|
||||
</Configuration>
|
||||
1
config/.gitignore
vendored
1
config/.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
/*.ear
|
||||
/*.jar
|
||||
/*.war
|
||||
|
|
|
|||
|
|
@ -1,22 +1,49 @@
|
|||
FROM gitlab.micord.ru:5050/common/base/webbpm/webbpm:26.1.3.Final-jdk17
|
||||
ARG BUILDER_IMAGE=registry.altlinux.org/basealt/altsp:c10f1
|
||||
ARG BACKEND_IMAGE=repo.micord.ru/alt/alt-tomcat:c10f1-9.0.59-20240903
|
||||
ARG FRONTEND_IMAGE=docker.angie.software/angie:latest
|
||||
|
||||
USER jboss
|
||||
WORKDIR $JBOSS_HOME
|
||||
ENV JAVA_ARGS=-Xmx3g
|
||||
FROM $BUILDER_IMAGE AS builder
|
||||
|
||||
ARG POSTGRES_DRIVER_VERSION=42.7.3
|
||||
ARG MVN_FLAGS="-Pprod"
|
||||
|
||||
COPY --chown=jboss entrypoint.sh .
|
||||
COPY --chown=jboss patches patches
|
||||
RUN (cd patches && wget https://repo.micord.ru/repository/libs-releases-local/org/jboss/ironjacamar/ironjacamar-core-impl/1.5.3.Final/ironjacamar-core-impl-1.5.3.Final.jar)
|
||||
RUN (cd patches/system && wget https://repo1.maven.org/maven2/org/postgresql/postgresql/$POSTGRES_DRIVER_VERSION/postgresql-$POSTGRES_DRIVER_VERSION.jar -O postgresql-driver.jar)
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install git glibc-locales java-17-openjdk-devel maven node \
|
||||
&& apt-get clean
|
||||
|
||||
RUN chmod -R +x patches && \
|
||||
chmod +x entrypoint.sh && \
|
||||
./entrypoint.sh && \
|
||||
rm -rf patches
|
||||
ENV JAVA_HOME=/usr/lib/jvm/java
|
||||
ENV LANG=ru_RU.UTF-8
|
||||
ENV LANGUAGE=ru_RU.UTF-8
|
||||
ENV LC_ALL=ru_RU.UTF-8
|
||||
|
||||
ENV SERVER_START=true
|
||||
COPY --chown=jboss *.ear $JBOSS_HOME/standalone/deployments/
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN mkdir -p $HOME/.m2 \
|
||||
# && cp -f config/pgs-settings.xml $HOME/.m2/settings.xml \
|
||||
# && cp -f config/pgs-npmrc frontend/.npmrc \
|
||||
&& mvn clean \
|
||||
&& mvn package -T4C ${MVN_FLAGS}
|
||||
|
||||
HEALTHCHECK --timeout=3s --start-period=3600s CMD curl --fail 127.0.0.1:8080/fl/version || exit 1
|
||||
|
||||
FROM $BACKEND_IMAGE AS backend
|
||||
ARG ADMIN_PASSWORD=Secr3t
|
||||
|
||||
USER root
|
||||
|
||||
COPY config/tomcat /
|
||||
|
||||
RUN cat /etc/tomcat/webbpm.properties >> /etc/tomcat/catalina.properties \
|
||||
&& sed -i -r "s/<must-be-changed>/$ADMIN_PASSWORD/g" /etc/tomcat/tomcat-users.xml \
|
||||
&& chown root:tomcat /var/lib/tomcat/webapps \
|
||||
&& chmod g+rw /var/lib/tomcat/webapps
|
||||
|
||||
USER tomcat
|
||||
|
||||
COPY --from=builder /app/backend/target/fl.war /var/lib/tomcat/webapps/fl.war
|
||||
|
||||
FROM backend AS combo
|
||||
COPY --from=builder /app/frontend/target/frontend*.war /var/lib/tomcat/webapps/ROOT.war
|
||||
|
||||
FROM $FRONTEND_IMAGE AS frontend
|
||||
|
||||
COPY config/angie.conf /etc/angie/angie.conf
|
||||
COPY --from=builder /app/frontend/dist /frontend
|
||||
|
|
|
|||
22
config/Dockerfile.TC
Normal file
22
config/Dockerfile.TC
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#Dockerfile for TeamCity build "run in docker"
|
||||
|
||||
FROM repo.micord.ru/alt/alt-tomcat:c10f1-9.0.59-20240917
|
||||
ARG ADMIN_PASSWORD=Secr3t
|
||||
|
||||
USER root
|
||||
|
||||
COPY tomcat /
|
||||
|
||||
RUN cat /etc/tomcat/webbpm.properties >> /etc/tomcat/catalina.properties \
|
||||
&& sed -i -r "s/<must-be-changed>/$ADMIN_PASSWORD/g" /etc/tomcat/tomcat-users.xml \
|
||||
&& chown root:tomcat /var/lib/tomcat/webapps \
|
||||
&& chmod g+rw /var/lib/tomcat/webapps
|
||||
|
||||
COPY frontend.war /var/lib/tomcat/webapps/ROOT.war
|
||||
COPY fl.war /var/lib/tomcat/webapps/fl.war
|
||||
|
||||
USER tomcat
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
49
config/Dockerfile.alt
Normal file
49
config/Dockerfile.alt
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
ARG BUILDER_IMAGE=registry.altlinux.org/basealt/altsp:c10f1
|
||||
ARG RUNTIME_IMAGE=registry.altlinux.org/basealt/altsp:c10f1
|
||||
|
||||
FROM $BUILDER_IMAGE AS builder
|
||||
|
||||
ARG MVN_FLAGS="-Pprod"
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install git glibc-locales java-17-openjdk-devel maven node \
|
||||
&& apt-get clean
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV JAVA_HOME=/usr/lib/jvm/java
|
||||
ENV LANG ru_RU.UTF-8
|
||||
ENV LANGUAGE ru_RU.UTF-8
|
||||
ENV LC_ALL ru_RU.UTF-8
|
||||
|
||||
RUN mvn clean \
|
||||
&& mvn package -T4C ${MVN_FLAGS}
|
||||
|
||||
FROM $RUNTIME_IMAGE
|
||||
ARG ADMIN_PASSWORD=Secr3t
|
||||
|
||||
COPY config/entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install glibc-locales java-17-openjdk-headless mc \
|
||||
tomcat tomcat-admin-webapps \
|
||||
&& apt-get clean \
|
||||
&& chmod +x /entrypoint.sh
|
||||
|
||||
COPY config/tomcat /
|
||||
|
||||
RUN cat /etc/tomcat/webbpm.properties >> /etc/tomcat/catalina.properties \
|
||||
&& sed -i -r "s/<must-be-changed>/$ADMIN_PASSWORD/g" /etc/tomcat/tomcat-users.xml \
|
||||
&& chown root:tomcat /var/lib/tomcat/webapps \
|
||||
&& chmod g+rw /var/lib/tomcat/webapps
|
||||
|
||||
COPY --from=builder /app/frontend/target/frontend*.war /var/lib/tomcat/webapps/ROOT.war
|
||||
COPY --from=builder /app/backend/target/fl*.war /var/lib/tomcat/webapps/fl.war
|
||||
|
||||
USER tomcat
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
40
config/Dockerfile.backend
Normal file
40
config/Dockerfile.backend
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
ARG BUILDER_IMAGE=registry.altlinux.org/basealt/altsp:c10f1
|
||||
ARG RUNTIME_IMAGE=repo.micord.ru/alt/alt-tomcat:c10f1-9.0.59-20240917
|
||||
|
||||
FROM $BUILDER_IMAGE AS builder
|
||||
|
||||
ARG MVN_FLAGS="-Pprod"
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install git glibc-locales java-17-openjdk-devel maven node \
|
||||
&& apt-get clean
|
||||
|
||||
ENV JAVA_HOME=/usr/lib/jvm/java
|
||||
ENV LANG=ru_RU.UTF-8
|
||||
ENV LANGUAGE=ru_RU.UTF-8
|
||||
ENV LC_ALL=ru_RU.UTF-8
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN mkdir -p $HOME/.m2 \
|
||||
# && cp -f config/pgs-settings.xml $HOME/.m2/settings.xml \
|
||||
# && cp -f config/pgs-npmrc frontend/.npmrc \
|
||||
&& mvn clean \
|
||||
&& mvn package -T4C ${MVN_FLAGS}
|
||||
|
||||
|
||||
FROM $RUNTIME_IMAGE
|
||||
ARG ADMIN_PASSWORD=Secr3t
|
||||
|
||||
USER root
|
||||
|
||||
COPY config/tomcat /
|
||||
|
||||
RUN cat /etc/tomcat/webbpm.properties >> /etc/tomcat/catalina.properties \
|
||||
&& sed -i -r "s/<must-be-changed>/$ADMIN_PASSWORD/g" /etc/tomcat/tomcat-users.xml \
|
||||
&& chown root:tomcat /var/lib/tomcat/webapps \
|
||||
&& chmod g+rw /var/lib/tomcat/webapps
|
||||
|
||||
USER tomcat
|
||||
|
||||
COPY --from=builder /app/backend/target/fl*.war /var/lib/tomcat/webapps/fl.war
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
FROM maven:3-jdk-11-slim
|
||||
RUN apt update \
|
||||
&& apt upgrade -y \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
|
||||
&& apt install -y git nodejs \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
COPY ../ .
|
||||
RUN mvn clean -T4C && mvn package -T4C
|
||||
|
|
@ -1,4 +1,29 @@
|
|||
FROM repo.micord.ru/nginx/nginx-krb:1.24.0
|
||||
ARG BUILDER_IMAGE=registry.altlinux.org/basealt/altsp:c10f1
|
||||
ARG RUNTIME_IMAGE=nginx:1.24-alpine-slim
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
COPY ./frontend /frontend
|
||||
FROM $BUILDER_IMAGE AS builder
|
||||
|
||||
ARG MVN_FLAGS="-Pprod"
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get -y install git glibc-locales java-17-openjdk-devel maven node \
|
||||
&& apt-get clean
|
||||
|
||||
ENV JAVA_HOME=/usr/lib/jvm/java
|
||||
ENV LANG=ru_RU.UTF-8
|
||||
ENV LANGUAGE=ru_RU.UTF-8
|
||||
ENV LC_ALL=ru_RU.UTF-8
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN mkdir -p $HOME/.m2 \
|
||||
# && cp config/pgs-settings.xml $HOME/.m2/settings.xml \
|
||||
# && cp -f config/pgs-npmrc frontend/.npmrc \
|
||||
&& mvn clean \
|
||||
&& mvn package -T4C ${MVN_FLAGS}
|
||||
|
||||
|
||||
FROM $RUNTIME_IMAGE
|
||||
|
||||
COPY config/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY --from=builder /app/frontend/dist /frontend
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
FROM postgres:11-alpine
|
||||
|
||||
COPY secdb.sql .
|
||||
|
||||
CMD psql "postgresql://${DB_SEC_USERNAME:-security}:${DB_SEC_PASSWORD:-secpassword}@${DB_SEC_HOST:-db}/${DB_SEC_NAME:-security}" < secdb.sql
|
||||
|
|
@ -1 +0,0 @@
|
|||
17
|
||||
84
config/angie.conf
Normal file
84
config/angie.conf
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
include /etc/angie/modules-enabled.d/*.conf;
|
||||
|
||||
worker_processes 10;
|
||||
|
||||
error_log /var/log/angie/error.log;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
include /etc/angie/conf-enabled.d/*.conf;
|
||||
|
||||
http {
|
||||
include /etc/angie/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
sendfile on;
|
||||
|
||||
gzip on;
|
||||
|
||||
# text/html doesn't need to be defined there, it's compressed always
|
||||
gzip_types text/plain text/css text/xml application/x-javascript application/atom+xml;
|
||||
|
||||
# gzip_comp_level 9;
|
||||
include /etc/angie/sites-enabled.d/*.conf;
|
||||
|
||||
log_format angie_main
|
||||
'$remote_addr - $remote_user [$time_local] $request '
|
||||
'"$status" $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for" '
|
||||
'"$request_filename" "$gzip_ratio" $upstream_response_time server: $host : $document_root $fastcgi_script_name ';
|
||||
|
||||
server {
|
||||
listen 80 default;
|
||||
|
||||
access_log /var/log/angie/access.log angie_main;
|
||||
error_log /var/log/angie/error.log error;
|
||||
|
||||
charset utf-8;
|
||||
|
||||
client_max_body_size 32m;
|
||||
|
||||
##
|
||||
# `gzip` Settings
|
||||
#
|
||||
#
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
|
||||
gzip_vary on;
|
||||
gzip_proxied any;
|
||||
gzip_comp_level 6;
|
||||
gzip_buffers 16 8k;
|
||||
gzip_http_version 1.1;
|
||||
gzip_min_length 256;
|
||||
gzip_types
|
||||
application/atom+xml
|
||||
application/geo+json
|
||||
application/javascript
|
||||
application/x-javascript
|
||||
application/json
|
||||
application/ld+json
|
||||
application/manifest+json
|
||||
application/rdf+xml
|
||||
application/rss+xml
|
||||
application/xhtml+xml
|
||||
application/xml
|
||||
font/eot
|
||||
font/otf
|
||||
font/ttf
|
||||
image/svg+xml
|
||||
text/css
|
||||
text/javascript
|
||||
text/plain
|
||||
text/xml;
|
||||
|
||||
location / {
|
||||
root /frontend;
|
||||
index index.html;
|
||||
expires -1;
|
||||
try_files $uri $uri/ $uri/index.html;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
{
|
||||
"firefox": {
|
||||
"default": "112.0",
|
||||
"versions": {
|
||||
"112.0": {
|
||||
"image": "selenoid/firefox:112.0",
|
||||
"port": "4444",
|
||||
"path": "/wd/hub",
|
||||
"tmpfs": {
|
||||
"/tmp": "size=512m"
|
||||
},
|
||||
"env" : ["LANG=ru_RU.UTF-8", "LANGUAGE=ru:en", "LC_ALL=ru_RU.UTF-8"],
|
||||
"shmSize": 1073741824
|
||||
}
|
||||
}
|
||||
},
|
||||
"chrome": {
|
||||
"default": "121.0",
|
||||
"versions": {
|
||||
"121.0": {
|
||||
"image": "selenoid/chrome:121.0",
|
||||
"port": "4444",
|
||||
"tmpfs": {
|
||||
"/tmp": "size=512m"
|
||||
},
|
||||
"env" : ["LANG=ru_RU.UTF-8", "LANGUAGE=ru:en", "LC_ALL=ru_RU.UTF-8"],
|
||||
"shmSize": 1073741824
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<!-- The contents of this file will be loaded for each web application -->
|
||||
<Context>
|
||||
|
||||
<!-- Default set of monitored resources. If one of these changes, the -->
|
||||
<!-- web application will be reloaded. -->
|
||||
<WatchedResource>WEB-INF/web.xml</WatchedResource>
|
||||
<WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
|
||||
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
|
||||
|
||||
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
|
||||
<!--
|
||||
<Manager pathname="" />
|
||||
-->
|
||||
|
||||
<Resource name="java:/webbpm/AppDS" auth="Container"
|
||||
type="javax.sql.DataSource" driverClassName="org.postgresql.Driver"
|
||||
url="jdbc:postgresql://10.10.31.119:5432/ervu-lkrp-fl"
|
||||
username="ervu-lkrp-fl" password="ervu-lkrp-fl" maxTotal="20" maxIdle="10" maxWaitMillis="-1"/>
|
||||
</Context>
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
IFS=','
|
||||
for databases in $WILDFLY_DATABASES
|
||||
do
|
||||
IFS=':' read name user password <<< $databases
|
||||
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
||||
CREATE USER $user WITH PASSWORD '$password';
|
||||
CREATE DATABASE $name WITH OWNER $user;
|
||||
EOSQL
|
||||
done
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
version: "3"
|
||||
services:
|
||||
secdb:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.secdb
|
||||
depends_on:
|
||||
- db
|
||||
env_file:
|
||||
- testing.env
|
||||
labels:
|
||||
- "tmp=true"
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
version: "3"
|
||||
services:
|
||||
selenoid:
|
||||
network_mode: bridge
|
||||
image: aerokube/selenoid:latest-release
|
||||
container_name: "selenoid"
|
||||
environment:
|
||||
- OVERRIDE_VIDEO_OUTPUT_DIR=$PWD/video
|
||||
volumes:
|
||||
- ".:/etc/selenoid/:ro"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
- "./logs:/opt/selenoid/logs/"
|
||||
- "./video/:/opt/selenoid/video/"
|
||||
command: -session-attempt-timeout 1m -retry-count 3 -limit ${LIMIT:-4} -save-all-logs -log-output-dir /opt/selenoid/logs -video-output-dir /opt/selenoid/video
|
||||
ports:
|
||||
- "4444:4444"
|
||||
|
||||
selenoid-ui:
|
||||
image: aerokube/selenoid-ui
|
||||
container_name: "selenoid-ui"
|
||||
network_mode: bridge
|
||||
depends_on:
|
||||
- selenoid
|
||||
links:
|
||||
- "selenoid:selenoid"
|
||||
ports:
|
||||
- "8080:8080"
|
||||
command: --selenoid-uri http://selenoid:4444`
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
version: "3"
|
||||
services:
|
||||
db:
|
||||
ports:
|
||||
- 5432:5432
|
||||
environment:
|
||||
- WILDFLY_DATABASES=app:app_user:apppassword,security:security_user:secpassword,jbpm:jbpm:jbpmpassword
|
||||
|
||||
webbpm-app:
|
||||
env_file:
|
||||
- testing.env
|
||||
|
||||
selenoid:
|
||||
network_mode: bridge
|
||||
image: aerokube/selenoid:latest-release
|
||||
container_name: "selenoid"
|
||||
environment:
|
||||
- OVERRIDE_VIDEO_OUTPUT_DIR=$PWD/video
|
||||
volumes:
|
||||
- "$PWD:/etc/selenoid/:ro"
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
- "$PWD/logs:/opt/selenoid/logs/"
|
||||
- "$PWD/video/:/opt/selenoid/video/"
|
||||
command: -session-attempt-timeout 1m -retry-count 3 -limit ${LIMIT:-4} -save-all-logs -log-output-dir /opt/selenoid/logs -video-output-dir /opt/selenoid/video
|
||||
ports:
|
||||
- "4444:4444"
|
||||
depends_on:
|
||||
- webbpm-app
|
||||
|
||||
selenoid-ui:
|
||||
image: aerokube/selenoid-ui
|
||||
container_name: "selenoid-ui"
|
||||
network_mode: bridge
|
||||
depends_on:
|
||||
- selenoid
|
||||
links:
|
||||
- "selenoid:selenoid"
|
||||
ports:
|
||||
- "8080:8080"
|
||||
command: --selenoid-uri http://selenoid:4444
|
||||
|
||||
|
|
@ -1,31 +1,10 @@
|
|||
version: "3"
|
||||
services:
|
||||
db:
|
||||
image: postgres:15
|
||||
volumes:
|
||||
- ./create-databases.sh:/docker-entrypoint-initdb.d/create-databases.sh
|
||||
command:
|
||||
- "--max_prepared_transactions=100"
|
||||
ports:
|
||||
- 5432
|
||||
environment:
|
||||
- WILDFLY_DATABASES=security:security_user:secpassword,jbpm:jbpm:jbpmpassword
|
||||
- POSTGRES_PASSWORD=supersecretpassword
|
||||
labels:
|
||||
- "tmp=true"
|
||||
|
||||
webbpm-app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
depends_on:
|
||||
- db
|
||||
dockerfile: Dockerfile.TC
|
||||
ports:
|
||||
- 9990
|
||||
- 8080
|
||||
- 8787
|
||||
- 12345
|
||||
env_file:
|
||||
- testing.env
|
||||
labels:
|
||||
- "tmp=true"
|
||||
- micord.env
|
||||
|
|
|
|||
|
|
@ -1,48 +1,6 @@
|
|||
#! /bin/bash
|
||||
set -e
|
||||
|
||||
function wait_for_server() {
|
||||
until `$JBOSS_HOME/bin/jboss-cli.sh -c ":read-attribute(name=server-state)" 2> /dev/null | grep -q running`; do
|
||||
echo "Retry ..."
|
||||
done
|
||||
}
|
||||
. /etc/tomcat/tomcat.conf
|
||||
. /etc/sysconfig/tomcat
|
||||
|
||||
echo "dump environment variables to env.properties file"
|
||||
printenv > env.properties
|
||||
|
||||
echo "starting JBoss"
|
||||
nohup $JBOSS_HOME/bin/standalone.sh --admin-only 1>&2 2>/dev/null &
|
||||
|
||||
# running system patches
|
||||
wait_for_server
|
||||
$JBOSS_HOME/bin/jboss-cli.sh --connect --file="./patches/system/init.cli" --properties=env.properties
|
||||
$JBOSS_HOME/bin/jboss-cli.sh --connect --file="./patches/system/add-postgresql-driver.cli" --properties=env.properties
|
||||
bash "./patches/system/add-demo-user.sh"
|
||||
|
||||
# running project patches
|
||||
find ./patches/ -type f -name '*.cli' -not -path './patches/system/*' -print0 |
|
||||
while IFS= read -r -d '' f; do
|
||||
wait_for_server
|
||||
echo "running $f"
|
||||
$JBOSS_HOME/bin/jboss-cli.sh --connect --file="$f" --properties=env.properties
|
||||
done;
|
||||
|
||||
find ./patches/ -type f -name '*.sh' -not -path './patches/system/*' -print0 |
|
||||
while IFS= read -r -d '' f; do
|
||||
wait_for_server
|
||||
echo "running $f"
|
||||
bash "$f"
|
||||
done
|
||||
|
||||
echo "stopping JBoss"
|
||||
wait_for_server
|
||||
$JBOSS_HOME/bin/jboss-cli.sh --connect --command=:shutdown
|
||||
|
||||
if ! [[ -z $SERVER_START ]]; then
|
||||
echo "starting JBoss in standalone"
|
||||
sleep 10 # without this occurs error "address already in use"
|
||||
/opt/jboss/wildfly/bin/standalone.sh -c standalone.xml -b 0.0.0.0 -bmanagement 0.0.0.0
|
||||
else
|
||||
echo "cleaning up JBoss logs"
|
||||
rm -rf $JBOSS_HOME/standalone/log
|
||||
fi
|
||||
/usr/libexec/tomcat/server start
|
||||
|
|
|
|||
|
|
@ -29,3 +29,7 @@ ERVU_KAFKA_SUBPOENA_EXTRACT_REPLY_TOPIC=ervu.subpoena.info.response
|
|||
ERVU_KAFKA_REGISTRY_EXTRACT_REQUEST_TOPIC=ervu.extract.info.request
|
||||
ERVU_KAFKA_REGISTRY_EXTRACT_REPLY_TOPIC=ervu.extract.info.response
|
||||
ERVU_KAFKA_EXTRACT_HEADER_CLASS=Request@urn://rostelekom.ru/ERVU-extractFromRegistryTR/1.0.3
|
||||
ERVU_KAFKA_SECURITY_PROTOCOL=SASL_PLAINTEXT
|
||||
ERVU_KAFKA_USERNAME=user1
|
||||
ERVU_KAFKA_PASSWORD=Blfi9d2OFG
|
||||
ERVU_KAFKA_DOC_LOGIN_MODULE=org.apache.kafka.common.security.scram.ScramLoginModule
|
||||
|
|
@ -1,8 +1,5 @@
|
|||
# load dynamic nginx modules
|
||||
include /etc/nginx/modules-enabled.d/*.conf;
|
||||
|
||||
# see http://nginx.net for info & docs
|
||||
|
||||
worker_processes 10;
|
||||
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
|
@ -14,10 +11,6 @@ events {
|
|||
include /etc/nginx/conf-enabled.d/*.conf;
|
||||
|
||||
http {
|
||||
# proxy_temp_path /var/spool/nginx/tmp/proxy;
|
||||
# fastcgi_temp_path /var/spool/nginx/tmp/fastcgi;
|
||||
# client_body_temp_path /var/spool/nginx/tmp/client;
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
/subsystem=logging/logger=org.jooq.tools:add()
|
||||
/subsystem=logging/logger=org.jooq.tools:write-attribute(name=level, value=DEBUG)
|
||||
/subsystem=logging/logger=org.jooq.tools:add-handler(name=CONSOLE)
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
xa-data-source add \
|
||||
--name=AppDS \
|
||||
--enabled=true \
|
||||
--driver-name=postgresql \
|
||||
--jndi-name=java:/webbpm/AppDS \
|
||||
--user-name=${env.DB_APP_USERNAME:app_user} \
|
||||
--password=${env.DB_APP_PASSWORD:apppassword} \
|
||||
--use-ccm=true \
|
||||
--valid-connection-checker-class-name=org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker \
|
||||
--validate-on-match=false \
|
||||
--background-validation=true \
|
||||
--background-validation-millis=5000 \
|
||||
--exception-sorter-class-name=org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter \
|
||||
--statistics-enabled=true \
|
||||
--max-pool-size=50 \
|
||||
--query-timeout=300 \
|
||||
--xa-datasource-properties=ServerName=${env.DB_APP_HOST:db},PortNumber=${env.DB_APP_PORT:5432},DatabaseName=${env.DB_APP_NAME:app}
|
||||
|
||||
/system-property=ldap.mapping.login.param:add(value=${env.WEBBPM_LDAP_LOGIN_ATTR:uid})
|
||||
/system-property=ldap.mapping.org.code.param:add(value=${env.WEBBPM_LDAP_ORGANIZATION_ATTR:ou})
|
||||
/system-property=jboss.as.management.blocking.timeout:add(value=900)
|
||||
/subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=record-request-start-time,value=true)
|
||||
/subsystem=undertow/server=default-server/host=default-host/setting=access-log:add(pattern=%h %t "%r" %s %b %D)
|
||||
/system-property=webbpm.cache.hazelcast.hosts:add(value="127.0.0.1")
|
||||
/system-property=webbpm.cache.hazelcast.outbound_port_definitions:add(value="5801-5820")
|
||||
/system-property=webbpm.security.session.active.count:add(value="20")
|
||||
/system-property=gar.enable:add(value=false)
|
||||
/system-property=security.password.regex:add(value="^((?=(.*\\d){1,})(?=.*[a-zа-яё])(?=.*[A-ZА-ЯЁ]).{8,})$")
|
||||
/system-property=fias.enable:add(value=false)
|
||||
/system-property=bpmn.enable:add(value=false)
|
||||
/system-property=esia.scopes:add(value="snils, fullname, birthdate, id_doc")
|
||||
/system-property=esia.base.uri:add(value="https://esia-portal1.test.gosuslugi.ru/")
|
||||
/system-property=esia.client.id:add(value="MNSV89")
|
||||
/system-property=esia.redirect.url:add(value="https://lkrp-dev.micord.ru/fl/")
|
||||
/system-property=sign.url:add(value="https://ervu-sign-dev.k8s.micord.ru/sign")
|
||||
/system-property=esia.client.cert.hash:add(value="04508B4B0B58776A954A0E15F574B4E58799D74C61EE020B3330716C203E3BDD")
|
||||
/system-property=ervu.kafka.bootstrap.servers:add(value="localhost:9092")
|
||||
/system-property=ervu.kafka.reply.topic:add(value="ervu.lkpr.person.search.response")
|
||||
/system-property=ervu.kafka.group.id:add(value="1")
|
||||
/system-property=ervu.kafka.request.topic:add(value="ervu.lkpr.person.search.request")
|
||||
/system-property=ervu.kafka.reply.timeout:add(value="30")
|
||||
/system-property=ervu.kafka.security.protocol:add(value="SASL_PLAINTEXT")
|
||||
/system-property=ervu.kafka.doc.login.module:add(value="org.apache.kafka.common.security.scram.ScramLoginModule")
|
||||
/system-property=ervu.kafka.sasl.mechanism:add(value="SCRAM-SHA-256")
|
||||
/system-property=ervu.kafka.username:add(value="user1")
|
||||
/system-property=ervu.kafka.password:add(value="Blfi9d2OFG")
|
||||
/system-property=ervu.kafka.recruit.request.topic:add(value="ervu.recruit.info.request")
|
||||
/system-property=ervu.kafka.recruit.reply.topic:add(value="ervu.recruit.info.response")
|
||||
/system-property=ervu.kafka.recruit.header.class:add(value="Request@urn://rostelekom.ru/RP-SummonsTR/1.0.5")
|
||||
/system-property=ervu.kafka.subpoena.extract.request.topic:add(value="ervu.subpoena.info.request")
|
||||
/system-property=ervu.kafka.subpoena.extract.reply.topic:add(value="ervu.subpoena.info.response")
|
||||
/system-property=ervu.kafka.registry.extract.request.topic:add(value="ervu.extract.info.request")
|
||||
/system-property=ervu.kafka.registry.extract.reply.topic:add(value="ervu.extract.info.response")
|
||||
/system-property=ervu.kafka.extract.header.class:add(value="Request@urn://rostelekom.ru/ERVU-extractFromRegistryTR/1.0.3")
|
||||
|
|
@ -1 +0,0 @@
|
|||
$JBOSS_HOME/bin/add-user.sh demo@example.com demo
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
/subsystem=datasources/jdbc-driver=postgresql:add( \
|
||||
driver-name="postgresql", \
|
||||
driver-module-name="org.postgresql", \
|
||||
driver-xa-datasource-class-name="org.postgresql.xa.PGXADataSource" \
|
||||
)
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
/system-property=webbpm.mode:add(value=production)
|
||||
/system-property=authentication.method:add(value=form)
|
||||
/subsystem=undertow/configuration=filter/gzip=gzipFilter:add()
|
||||
/subsystem=undertow/server=default-server/host=default-host/\
|
||||
filter-ref=gzipFilter:add(predicate="exists('%{o,Content-Type}') and regex(pattern='(?:application/javascript|text/css|text/html|text/xml|application/json)(;.*)?', value=%{o,Content-Type}, full-match=true)")
|
||||
/subsystem=undertow/configuration=filter/response-header=vary-header:add(header-name="Vary", header-value="Accept-Encoding")
|
||||
/subsystem=undertow/server=default-server/host=default-host/filter-ref=vary-header:add()
|
||||
/subsystem=undertow/server=default-server/http-listener=default/:write-attribute(name=max-post-size,value=${env.MAX_POST_SIZE:104857600})
|
||||
data-source remove --name=ExampleDS
|
||||
/subsystem=ee/service=default-bindings:remove
|
||||
/system-property=jboss.bind.address.management:add(value=0.0.0.0)
|
||||
/system-property=jboss.bind.address:add(value=0.0.0.0)
|
||||
module add --name=org.postgresql --resources=./patches/system/postgresql-driver.jar --dependencies=javax.api,javax.transaction.api
|
||||
shutdown --restart
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
INSERT INTO security.user_group(user_group_id, name, created, updated, access_level_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), 'Example', '2019-07-04 11:12:01.263+03', '2019-08-26 16:40:11.953+03', (SELECT access_level_id FROM security.access_level where level = 0)) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_group_user_role(link_user_group_user_role_id, user_group_id, user_role_id) SELECT uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_group_id FROM security.user_group where name = 'Example'), user_role_id FROM security.user_role WHERE name = 'Example' ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_group_user_role(link_user_group_user_role_id, user_group_id, user_role_id) SELECT uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_group_id FROM security.user_group where name = 'Demo'), user_role_id FROM security.user_role WHERE name = 'Example' ON CONFLICT DO NOTHING;
|
||||
|
||||
INSERT INTO security.user_group(user_group_id, name, created, updated, access_level_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), 'Example', '2019-07-04 11:12:01.263+03', '2019-08-26 16:40:11.953+03', (SELECT access_level_id FROM security.access_level where level = 0)) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_group_user_role(link_user_group_user_role_id, user_group_id, user_role_id) SELECT uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_group_id FROM security.user_group where name = 'Example'), user_role_id FROM security.user_role WHERE name = 'Example' ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_group_user_role(link_user_group_user_role_id, user_group_id, user_role_id) SELECT uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_group_id FROM security.user_group where name = 'Demo'), user_role_id FROM security.user_role WHERE name = 'Example' ON CONFLICT DO NOTHING;
|
||||
|
||||
INSERT INTO security.user_account(user_account_id, email, first_name, last_name, middle_name, created, updated, locked, org_unit_id, username) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), 'qa_test@micord.ru', 'Пользователь', 'Основной-Тестовый', NULL, '2020-01-20 08:41:25.526+03', '2020-01-20 09:57:07.25+03', false, (SELECT id from security.org_unit where code = 'DEFAULT'), 'qa_test') ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.simple_credentials( user_account_id, password, password_expires, password_updated) VALUES ((SELECT user_account_id from security.user_account where username = 'qa_test'), '$2a$11$uTzaeewDp2NehwjmfRe/euxP.cy.4ecl5nYA.E5TV9AGjjDKdJwI2', NULL, '2020-01-20 05:41:25.746') ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_test'), (SELECT user_group_id FROM security.user_group where name = 'Security Admin')) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_test'), (SELECT user_group_id FROM security.user_group where name = 'BPMN Superuser')) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_test'), (SELECT user_group_id FROM security.user_group where name = 'BPMN Admin')) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_test'), (SELECT user_group_id FROM security.user_group where name = 'Example')) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_test'), (SELECT user_group_id FROM security.user_group where name = 'BPMN User')) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_test'), (SELECT user_group_id FROM security.user_group where name = 'Demo')) ON CONFLICT DO NOTHING;
|
||||
|
||||
INSERT INTO security.user_account(user_account_id, email, first_name, last_name, middle_name, created, updated, locked, org_unit_id, username) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), 'qa_admin@micord.ru', 'qa_admin', 'qa_admin', NULL, '2020-01-20 08:41:25.526+03', '2020-01-20 09:57:07.25+03', false, (SELECT id from security.org_unit where code = 'DEFAULT'), 'qa_admin') ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.simple_credentials( user_account_id, password, password_expires, password_updated) VALUES ((SELECT user_account_id from security.user_account where username = 'qa_admin'), '$2a$11$Zzmuga/xw1c1UnUe9nP9c.aqJ2O.OAI/AbmphOm2jurxMI0S6VAcy', NULL, '2020-01-20 05:41:25.746') ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_admin'), (SELECT user_group_id FROM security.user_group where name = 'Security Admin')) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_admin'), (SELECT user_group_id FROM security.user_group where name = 'BPMN Superuser')) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_admin'), (SELECT user_group_id FROM security.user_group where name = 'BPMN Admin')) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_admin'), (SELECT user_group_id FROM security.user_group where name = 'Example')) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_admin'), (SELECT user_group_id FROM security.user_group where name = 'BPMN User')) ON CONFLICT DO NOTHING;
|
||||
INSERT INTO security.link_user_account_user_group(link_user_account_user_group_id, user_account_id, user_group_id) VALUES (uuid_in(md5(random()::text || now()::text)::cstring), (SELECT user_account_id from security.user_account where username = 'qa_admin'), (SELECT user_group_id FROM security.user_group where name = 'Demo')) ON CONFLICT DO NOTHING;
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
# Security datasource
|
||||
DB_SEC_USERNAME=ervu-lkrp-fl-sec
|
||||
DB_SEC_PASSWORD=ervu-lkrp-fl-sec
|
||||
DB_SEC_HOST=10.10.31.119
|
||||
DB_SEC_PORT=5432
|
||||
DB_SEC_NAME=ervu-lkrp-fl
|
||||
# App datasource
|
||||
DB_APP_USERNAME=ervu-lkrp-fl
|
||||
DB_APP_PASSWORD=ervu-lkrp-fl
|
||||
DB_APP_HOST=10.10.31.119
|
||||
DB_APP_PORT=5432
|
||||
DB_APP_NAME=ervu-lkrp-fl
|
||||
# jBPM datasorce
|
||||
DB_JBPM_USERNAME=jbpm-ervu-fl
|
||||
DB_JBPM_PASSWORD=jbpm-ervu-fl
|
||||
DB_JBPM_HOST=10.10.31.119
|
||||
DB_JBPM_PORT=5432
|
||||
DB_JBPM_NAME=jbpm-ervu-fl
|
||||
# Elasticsearch
|
||||
WEBBPM_ELASTIC_HOST=
|
||||
WEBBPM_ELASTIC_USER_PASSWORD=
|
||||
# LDAP
|
||||
WEBBPM_LDAP_URL=
|
||||
WEBBPM_LDAP_BASE=
|
||||
WEBBPM_LDAP_USER=
|
||||
WEBBPM_LDAP_PASSWORD=
|
||||
WEBBPM_LDAP_SYNC_ENABLED=false
|
||||
WEBBPM_LDAP_SYNC_CRON=0 0 * * * *
|
||||
WEBBPM_LDAP_LOGIN_ATTR=uid
|
||||
WEBBPM_LDAP_ORGANIZATION_ATTR=ou
|
||||
# JIRA
|
||||
WEBBPM_JIRA_URL=https:/jira.com
|
||||
WEBBPM_JIRA_USER=jiraUser
|
||||
WEBBPM_JIRA_PASSWORD=jiraPass
|
||||
TZ=Europe/Moscow
|
||||
WEBBPM_TELEGRAM_BOT_TOKEN=
|
||||
WEBBPM_TELEGRAM_BOT_NAME=
|
||||
|
|
@ -1,9 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
export JAVA_OPTS="$JAVA_OPTS \
|
||||
JDK_JAVA_OPTIONS="$JDK_JAVA_OPTIONS \
|
||||
-Ddb.app.host=${DB_APP_HOST:-db} \
|
||||
-Ddb.app.port=${DB_APP_PORT:-5432} \
|
||||
-Ddb.app.name=${DB_APP_NAME:-app} \
|
||||
-Ddb.app.username=${DB_APP_USERNAME:-app_user} \
|
||||
-Ddb.app.password=${DB_APP_PASSWORD:-apppassword} \
|
||||
"
|
||||
export JDK_JAVA_OPTIONS
|
||||
|
|
@ -29,7 +29,7 @@
|
|||
<Manager pathname="" />
|
||||
-->
|
||||
|
||||
<Resource name="java:/webbpm/AppDS" auth="Container"
|
||||
<Resource name="webbpm/AppDS" auth="Container"
|
||||
type="javax.sql.DataSource" driverClassName="org.postgresql.Driver"
|
||||
url="jdbc:postgresql://${db.app.host}:${db.app.port}/${db.app.name}"
|
||||
username="${db.app.username}" password="${db.app.password}" maxTotal="20" maxIdle="10" maxWaitMillis="-1"/>
|
||||
52
config/tomcat/etc/tomcat/tomcat.conf
Normal file
52
config/tomcat/etc/tomcat/tomcat.conf
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
# System-wide configuration file for tomcat services
|
||||
# This will be loaded by systemd as an environment file,
|
||||
# so please keep the syntax. For shell expansion support
|
||||
# place your custom files as /etc/tomcat/conf.d/*.conf
|
||||
#
|
||||
# There are 2 "classes" of startup behavior in this package.
|
||||
# The old one, the default service named tomcat.service.
|
||||
# The new named instances are called tomcat@instance.service.
|
||||
#
|
||||
# Use this file to change default values for all services.
|
||||
# Change the service specific ones to affect only one service.
|
||||
# For tomcat.service it's /etc/sysconfig/tomcat, for
|
||||
# tomcat@instance it's /etc/sysconfig/tomcat@instance.
|
||||
|
||||
# This variable is used to figure out if config is loaded or not.
|
||||
TOMCAT_CFG_LOADED="1"
|
||||
|
||||
# In new-style instances, if CATALINA_BASE isn't specified, it will
|
||||
# be constructed by joining TOMCATS_BASE and NAME.
|
||||
TOMCATS_BASE="/var/lib/tomcats/"
|
||||
|
||||
# Where your java installation lives
|
||||
JAVA_HOME="/usr/lib/jvm/jre"
|
||||
|
||||
# Where your tomcat installation lives
|
||||
CATALINA_HOME="/usr/share/tomcat"
|
||||
|
||||
# System-wide tmp
|
||||
CATALINA_TMPDIR="/var/cache/tomcat/temp"
|
||||
|
||||
# You can pass some parameters to java here if you wish to
|
||||
#JAVA_OPTS="-Xminf0.1 -Xmaxf0.3"
|
||||
|
||||
# Use JAVA_OPTS to set java.library.path for libtcnative.so
|
||||
#JAVA_OPTS="-Djava.library.path=/usr/lib"
|
||||
|
||||
# Set default javax.sql.DataSource factory to apache commons one. See rhbz#1214381
|
||||
#JAVA_OPTS="-Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory"
|
||||
JAVA_OPTS="-Djavax.sql.DataSource.Factory=org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory"
|
||||
|
||||
# You can change your tomcat locale here
|
||||
#LANG="en_US"
|
||||
|
||||
# Run tomcat under the Java Security Manager
|
||||
SECURITY_MANAGER="false"
|
||||
|
||||
# SHUTDOWN_WAIT has been deprecated. To change the shutdown wait time, set
|
||||
# TimeoutStopSec in tomcat.service.
|
||||
|
||||
# If you wish to further customize your tomcat environment,
|
||||
# put your own definitions here
|
||||
# (i.e. LD_LIBRARY_PATH for some jdbc drivers)
|
||||
|
|
@ -1,4 +1,7 @@
|
|||
|
||||
#
|
||||
# WebBPM properties
|
||||
#
|
||||
|
||||
authentication.method=form
|
||||
|
||||
|
|
@ -6,6 +9,8 @@ bpmn.enable=false
|
|||
fias.enable=false
|
||||
gar.enable=false
|
||||
|
||||
mail.jndi.resource.name=
|
||||
|
||||
reset_password.mail.template.path=mail/reset_password.html
|
||||
security.password.regex=^(?=.*[a-zA-Z])(?=.*[0-9])[a-zA-Z0-9]+$
|
||||
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
"filter_cleanup_check_period_minutes": 30,
|
||||
"auth_method": "form",
|
||||
"enable.version.in.url": "%enable.version.in.url%",
|
||||
"backend.context": "fl/fl",
|
||||
"backend.context": "fl",
|
||||
"guard.confirm_exit": false,
|
||||
"message_service_error_timeout": "",
|
||||
"message_service_warning_timeout": "",
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ export class PersonDataRoot extends Behavior{
|
|||
let personScripts: PersonData[] = this.container.getScriptsInThisAndChildren(PersonData);
|
||||
let httpClient = this.injector.get(HttpClient);
|
||||
let cookieService = this.injector.get(CookieService);
|
||||
if (cookieService.get("is_auth")) {
|
||||
if (cookieService.get("webbpm.ervu-lkrp-fl")) {
|
||||
httpClient.get<PersonDataModel>("esia/person")
|
||||
.toPromise()
|
||||
.then(personModel => {
|
||||
|
|
|
|||
|
|
@ -38,6 +38,6 @@ export class LogOutComponent implements OnInit{
|
|||
}
|
||||
|
||||
public getIsAuth(): boolean {
|
||||
return this.cookieService.get("is_auth") != null;
|
||||
return this.cookieService.get("webbpm.ervu-lkrp-fl") != null;
|
||||
}
|
||||
}
|
||||
|
|
@ -56,6 +56,6 @@ export abstract class AuthGuard implements CanActivate {
|
|||
};
|
||||
|
||||
public getIsAuth(): string {
|
||||
return this.cookieService.get('is_auth');
|
||||
return this.cookieService.get('webbpm.ervu-lkrp-fl');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
71
pom.xml
71
pom.xml
|
|
@ -101,6 +101,22 @@
|
|||
<groupId>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-adapter</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>ru.micord.fias</groupId>
|
||||
<artifactId>client</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>ru.micord.gar</groupId>
|
||||
<artifactId>gar-client</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>net.javacrumbs.shedlock</groupId>
|
||||
<artifactId>shedlock-spring</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>net.javacrumbs.shedlock</groupId>
|
||||
<artifactId>shedlock-provider-jdbc-template</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
|
@ -177,11 +193,6 @@
|
|||
<version>${webbpm-platform.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-beans</artifactId>
|
||||
<version>${webbpm-platform.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-api</artifactId>
|
||||
|
|
@ -275,21 +286,6 @@
|
|||
<version>${webbpm-platform.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-esia</artifactId>
|
||||
<version>${webbpm-platform.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-db-synchronization-api</artifactId>
|
||||
<version>${webbpm-platform.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm.modules.security</groupId>
|
||||
<artifactId>security-db-synchronization-ldap-impl</artifactId>
|
||||
<version>${webbpm-platform.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ru.cg.webbpm</groupId>
|
||||
<artifactId>web-tests-core</artifactId>
|
||||
|
|
@ -305,16 +301,6 @@
|
|||
<artifactId>bcpkix-jdk15on</artifactId>
|
||||
<version>${org.bouncycastle.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security.kerberos</groupId>
|
||||
<artifactId>spring-security-kerberos-core</artifactId>
|
||||
<version>${spring-security-kerberos.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security.kerberos</groupId>
|
||||
<artifactId>spring-security-kerberos-web</artifactId>
|
||||
<version>${spring-security-kerberos.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
|
|
@ -366,6 +352,31 @@
|
|||
<artifactId>protobuf-java-util</artifactId>
|
||||
<version>4.27.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>2.0.13</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-slf4j2-impl</artifactId>
|
||||
<version>2.23.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
<version>2.23.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-jul</artifactId>
|
||||
<version>2.23.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-web</artifactId>
|
||||
<version>2.23.1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<repositories>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -55,97 +55,82 @@
|
|||
<scripts id="87f3fefa-b77b-4137-aab6-b2bcd83ce380"/>
|
||||
<scripts id="ef21ca22-3f81-4484-ba6f-58d670c12d4f"/>
|
||||
<scripts id="277e6fbc-9e2e-4080-bf20-5d8be18e6764"/>
|
||||
<children id="0b171601-3ae4-479c-9ef4-cddc16627316">
|
||||
<prototypeId>e8095a58-164a-46b5-b477-fe2ce685dad5</prototypeId>
|
||||
<componentRootId>0b171601-3ae4-479c-9ef4-cddc16627316</componentRootId>
|
||||
<name>LoadForm</name>
|
||||
<container>true</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="9ad247a3-9c46-4f12-9949-b1c905bd73bc"/>
|
||||
<scripts id="79188cdc-d646-433e-9751-1482b9247ee6"/>
|
||||
<scripts id="0f6e16d9-2380-4d49-900c-be8c221ef394"/>
|
||||
<scripts id="e7a22d20-f502-4c58-a798-57b023606541">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>formService</key>
|
||||
<value>
|
||||
<implRef type="JAVA">
|
||||
<className>LoadFormService</className>
|
||||
<packageName>ru.micord.ervu.service.form</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<children id="fe895e77-d4f6-4cdb-b6f1-02b4b4a0e429">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>fe895e77-d4f6-4cdb-b6f1-02b4b4a0e429</componentRootId>
|
||||
<name>ФИО</name>
|
||||
<container>false</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>collectible</key>
|
||||
<value>
|
||||
<simple>false</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
<value>
|
||||
<item id="3d27dc24-ebaf-441f-bbfc-493e001a6731" removed="false">
|
||||
<value>
|
||||
<simple>"title"</simple>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>initialValue</key>
|
||||
<value>
|
||||
<simple>null</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="737b67e2-295f-4356-a1e1-9419344d8c85"/>
|
||||
<scripts id="a6ccccd9-354c-4725-9d34-c716cf626048"/>
|
||||
<scripts id="d38c1af5-2bfe-41cd-ab0f-67040f498127"/>
|
||||
<scripts id="f203f156-be32-4131-9c86-4d6bac6d5d56">
|
||||
<enabled>false</enabled>
|
||||
</scripts>
|
||||
<scripts id="26e8800e-9850-44a4-b8bc-00c12f3a3fdf">
|
||||
<classRef type="JAVA">
|
||||
<className>SubpoenaFieldLoadComponent</className>
|
||||
<packageName>ru.micord.ervu.component.field</packageName>
|
||||
</classRef>
|
||||
<enabled>true</enabled>
|
||||
<expanded>true</expanded>
|
||||
<properties>
|
||||
<entry>
|
||||
<key>fieldId</key>
|
||||
<value>
|
||||
<simple>"personName"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
</children>
|
||||
</children>
|
||||
<children id="e4e75327-dde5-499c-b76f-890e6a45dea2">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>e4e75327-dde5-499c-b76f-890e6a45dea2</componentRootId>
|
||||
<name>Дата</name>
|
||||
<container>false</container>
|
||||
<removed>true</removed>
|
||||
</children>
|
||||
<scripts id="feab10bc-1a81-49d6-b522-2078de42859c">
|
||||
<classRef type="TS">
|
||||
<className>PersonDataRoot</className>
|
||||
<packageName>esia</packageName>
|
||||
</classRef>
|
||||
<enabled>true</enabled>
|
||||
<expanded>true</expanded>
|
||||
</scripts>
|
||||
<children id="fe895e77-d4f6-4cdb-b6f1-02b4b4a0e429">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>fe895e77-d4f6-4cdb-b6f1-02b4b4a0e429</componentRootId>
|
||||
<name>ФИО</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c">
|
||||
<properties>
|
||||
<entry>
|
||||
<key>collectible</key>
|
||||
<value>
|
||||
<simple>false</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>cssClasses</key>
|
||||
<value>
|
||||
<item id="3d27dc24-ebaf-441f-bbfc-493e001a6731" removed="false">
|
||||
<value>
|
||||
<simple>"title"</simple>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>initialValue</key>
|
||||
<value>
|
||||
<simple>null</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="737b67e2-295f-4356-a1e1-9419344d8c85"/>
|
||||
<scripts id="a6ccccd9-354c-4725-9d34-c716cf626048"/>
|
||||
<scripts id="d38c1af5-2bfe-41cd-ab0f-67040f498127"/>
|
||||
<scripts id="f203f156-be32-4131-9c86-4d6bac6d5d56">
|
||||
<enabled>false</enabled>
|
||||
</scripts>
|
||||
<scripts id="f83a9c5c-9f6c-4c2f-a2b3-df094e6366f7">
|
||||
<classRef type="TS">
|
||||
<className>PersonData</className>
|
||||
<packageName>esia</packageName>
|
||||
</classRef>
|
||||
<enabled>true</enabled>
|
||||
<expanded>true</expanded>
|
||||
<properties>
|
||||
<entry>
|
||||
<key>personDataId</key>
|
||||
<value>
|
||||
<simple>"fullname"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="26e8800e-9850-44a4-b8bc-00c12f3a3fdf">
|
||||
<classRef type="JAVA">
|
||||
<className>SubpoenaFieldLoadComponent</className>
|
||||
<packageName>ru.micord.ervu.component.field</packageName>
|
||||
</classRef>
|
||||
<expanded>true</expanded>
|
||||
<removed>true</removed>
|
||||
</scripts>
|
||||
</children>
|
||||
<children id="0b171601-3ae4-479c-9ef4-cddc16627316">
|
||||
<prototypeId>e8095a58-164a-46b5-b477-fe2ce685dad5</prototypeId>
|
||||
<componentRootId>0b171601-3ae4-479c-9ef4-cddc16627316</componentRootId>
|
||||
<name>LoadForm</name>
|
||||
<container>true</container>
|
||||
<removed>true</removed>
|
||||
</children>
|
||||
<children id="367d1b29-5968-49be-9d34-a30ed45fdb57">
|
||||
|
|
@ -174,6 +159,7 @@
|
|||
<componentRootId>af2ef4b8-f975-4fef-b0ad-c5e268788556</componentRootId>
|
||||
<name>HB - 1</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<datasource>
|
||||
<dbBeanPackage>ervu_lkrp_fl.ervu_lkrp_fl.db_beans</dbBeanPackage>
|
||||
<dbBeanPackage>ervu.lkrp.fl.db_beans</dbBeanPackage>
|
||||
<dbName>ervu-lkrp-fl</dbName>
|
||||
<driverClassName>org.postgresql.Driver</driverClassName>
|
||||
<host>10.10.31.119</host>
|
||||
|
|
@ -8,7 +8,6 @@
|
|||
<password>ervu-lkrp-fl</password>
|
||||
<port>5432</port>
|
||||
<schemas>public</schemas>
|
||||
<schemas>security</schemas>
|
||||
<sqlDialect>POSTGRES</sqlDialect>
|
||||
<url>jdbc:postgresql://10.10.31.119:5432/ervu-lkrp-fl</url>
|
||||
<urlPrefix>jdbc:postgresql:</urlPrefix>
|
||||
|
|
|
|||
|
|
@ -49,11 +49,6 @@
|
|||
<artifactId>client</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!--JWT-->
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-jwt</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-core</artifactId>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue