META-INF.sql.tables.sql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.portal.workflow.kaleo.service
Show all versions of com.liferay.portal.workflow.kaleo.service
Liferay Portal Workflow Kaleo Service
create table KaleoAction (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoActionId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoClassName VARCHAR(200) null,
kaleoClassPK LONG,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoNodeName VARCHAR(200) null,
name VARCHAR(200) null,
description STRING null,
executionType VARCHAR(20) null,
script TEXT null,
scriptLanguage VARCHAR(255) null,
scriptRequiredContexts STRING null,
priority INTEGER,
type_ VARCHAR(75) null,
status INTEGER,
primary key (kaleoActionId, ctCollectionId)
);
create table KaleoCondition (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoConditionId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoNodeId LONG,
script TEXT null,
scriptLanguage VARCHAR(75) null,
scriptRequiredContexts STRING null,
primary key (kaleoConditionId, ctCollectionId)
);
create table KaleoDefinition (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoDefinitionId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
name VARCHAR(200) null,
title STRING null,
description STRING null,
content TEXT null,
scope VARCHAR(75) null,
version INTEGER,
active_ BOOLEAN,
primary key (kaleoDefinitionId, ctCollectionId)
);
create table KaleoDefinitionVersion (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoDefinitionVersionId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
name VARCHAR(200) null,
title STRING null,
description STRING null,
content TEXT null,
version VARCHAR(75) null,
startKaleoNodeId LONG,
status INTEGER,
statusByUserId LONG,
statusByUserName VARCHAR(75) null,
statusDate DATE null,
primary key (kaleoDefinitionVersionId, ctCollectionId)
);
create table KaleoInstance (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoInstanceId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoDefinitionName VARCHAR(200) null,
kaleoDefinitionVersion INTEGER,
rootKaleoInstanceTokenId LONG,
active_ BOOLEAN,
className VARCHAR(200) null,
classPK LONG,
completed BOOLEAN,
completionDate DATE null,
workflowContext TEXT null,
primary key (kaleoInstanceId, ctCollectionId)
);
create table KaleoInstanceToken (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoInstanceTokenId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoInstanceId LONG,
parentKaleoInstanceTokenId LONG,
currentKaleoNodeId LONG,
currentKaleoNodeName VARCHAR(200) null,
className VARCHAR(200) null,
classPK LONG,
completed BOOLEAN,
completionDate DATE null,
primary key (kaleoInstanceTokenId, ctCollectionId)
);
create table KaleoLog (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoLogId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoClassName VARCHAR(200) null,
kaleoClassPK LONG,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoInstanceId LONG,
kaleoInstanceTokenId LONG,
kaleoTaskInstanceTokenId LONG,
kaleoNodeName VARCHAR(200) null,
terminalKaleoNode BOOLEAN,
kaleoActionId LONG,
kaleoActionName VARCHAR(200) null,
kaleoActionDescription STRING null,
previousKaleoNodeId LONG,
previousKaleoNodeName VARCHAR(200) null,
previousAssigneeClassName VARCHAR(200) null,
previousAssigneeClassPK LONG,
currentAssigneeClassName VARCHAR(200) null,
currentAssigneeClassPK LONG,
type_ VARCHAR(50) null,
comment_ TEXT null,
startDate DATE null,
endDate DATE null,
duration LONG,
workflowContext TEXT null,
primary key (kaleoLogId, ctCollectionId)
);
create table KaleoNode (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoNodeId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
name VARCHAR(200) null,
label STRING null,
metadata STRING null,
description STRING null,
type_ VARCHAR(20) null,
initial_ BOOLEAN,
terminal BOOLEAN,
primary key (kaleoNodeId, ctCollectionId)
);
create table KaleoNotification (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoNotificationId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoClassName VARCHAR(200) null,
kaleoClassPK LONG,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoNodeName VARCHAR(200) null,
name VARCHAR(200) null,
description STRING null,
executionType VARCHAR(20) null,
template TEXT null,
templateLanguage VARCHAR(75) null,
notificationTypes VARCHAR(255) null,
primary key (kaleoNotificationId, ctCollectionId)
);
create table KaleoNotificationRecipient (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoNotificationRecipientId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoNotificationId LONG,
recipientClassName VARCHAR(200) null,
recipientClassPK LONG,
recipientRoleType INTEGER,
recipientScript TEXT null,
recipientScriptLanguage VARCHAR(75) null,
recipientScriptContexts STRING null,
address VARCHAR(255) null,
notificationReceptionType VARCHAR(3) null,
primary key (kaleoNotificationRecipientId, ctCollectionId)
);
create table KaleoTask (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoTaskId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoNodeId LONG,
name VARCHAR(200) null,
description STRING null,
primary key (kaleoTaskId, ctCollectionId)
);
create table KaleoTaskAssignment (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoTaskAssignmentId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoClassName VARCHAR(200) null,
kaleoClassPK LONG,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoNodeId LONG,
assigneeClassName VARCHAR(200) null,
assigneeClassPK LONG,
assigneeActionId VARCHAR(75) null,
assigneeScript TEXT null,
assigneeScriptLanguage VARCHAR(75) null,
assigneeScriptRequiredContexts STRING null,
primary key (kaleoTaskAssignmentId, ctCollectionId)
);
create table KaleoTaskAssignmentInstance (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoTaskAssignmentInstanceId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoInstanceId LONG,
kaleoInstanceTokenId LONG,
kaleoTaskInstanceTokenId LONG,
kaleoTaskId LONG,
kaleoTaskName VARCHAR(200) null,
assigneeClassName VARCHAR(200) null,
assigneeClassPK LONG,
completed BOOLEAN,
completionDate DATE null,
primary key (kaleoTaskAssignmentInstanceId, ctCollectionId)
);
create table KaleoTaskForm (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoTaskFormId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoNodeId LONG,
kaleoTaskId LONG,
kaleoTaskName VARCHAR(200) null,
name VARCHAR(200) null,
description STRING null,
formCompanyId LONG,
formDefinition STRING null,
formGroupId LONG,
formId LONG,
formUuid VARCHAR(75) null,
metadata STRING null,
priority INTEGER,
primary key (kaleoTaskFormId, ctCollectionId)
);
create table KaleoTaskFormInstance (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoTaskFormInstanceId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(75) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoInstanceId LONG,
kaleoTaskId LONG,
kaleoTaskInstanceTokenId LONG,
kaleoTaskFormId LONG,
formValues STRING null,
formValueEntryGroupId LONG,
formValueEntryId LONG,
formValueEntryUuid VARCHAR(75) null,
metadata STRING null,
primary key (kaleoTaskFormInstanceId, ctCollectionId)
);
create table KaleoTaskInstanceToken (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoTaskInstanceTokenId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoInstanceId LONG,
kaleoInstanceTokenId LONG,
kaleoTaskId LONG,
kaleoTaskName VARCHAR(200) null,
className VARCHAR(200) null,
classPK LONG,
completionUserId LONG,
completed BOOLEAN,
completionDate DATE null,
dueDate DATE null,
workflowContext TEXT null,
primary key (kaleoTaskInstanceTokenId, ctCollectionId)
);
create table KaleoTimer (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoTimerId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoClassName VARCHAR(200) null,
kaleoClassPK LONG,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
name VARCHAR(75) null,
blocking BOOLEAN,
description STRING null,
duration DOUBLE,
scale VARCHAR(75) null,
recurrenceDuration DOUBLE,
recurrenceScale VARCHAR(75) null,
primary key (kaleoTimerId, ctCollectionId)
);
create table KaleoTimerInstanceToken (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoTimerInstanceTokenId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoClassName VARCHAR(200) null,
kaleoClassPK LONG,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoInstanceId LONG,
kaleoInstanceTokenId LONG,
kaleoTaskInstanceTokenId LONG,
kaleoTimerId LONG,
kaleoTimerName VARCHAR(200) null,
blocking BOOLEAN,
completionUserId LONG,
completed BOOLEAN,
completionDate DATE null,
workflowContext TEXT null,
primary key (kaleoTimerInstanceTokenId, ctCollectionId)
);
create table KaleoTransition (
mvccVersion LONG default 0 not null,
ctCollectionId LONG default 0 not null,
kaleoTransitionId LONG not null,
groupId LONG,
companyId LONG,
userId LONG,
userName VARCHAR(200) null,
createDate DATE null,
modifiedDate DATE null,
kaleoDefinitionId LONG,
kaleoDefinitionVersionId LONG,
kaleoNodeId LONG,
name VARCHAR(200) null,
label STRING null,
description STRING null,
sourceKaleoNodeId LONG,
sourceKaleoNodeName VARCHAR(200) null,
targetKaleoNodeId LONG,
targetKaleoNodeName VARCHAR(200) null,
defaultTransition BOOLEAN,
primary key (kaleoTransitionId, ctCollectionId)
);
© 2015 - 2024 Weber Informatics LLC | Privacy Policy