Sfoglia il codice sorgente

sql and values

feature/portos_bo_portlet
E-A B 2 anni fa
parent
commit
6759da0d74
  1. 4
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoInstanceModelImpl.java
  2. 2
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoInstanceTokenModelImpl.java
  3. 6
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoLogModelImpl.java
  4. 2
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoNodeModelImpl.java
  5. 2
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoTaskAssignmentInstanceModelImpl.java
  6. 4
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoTaskInstanceTokenModelImpl.java
  7. 2
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoTaskModelImpl.java
  8. 2
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/model/impl/FormDefinitionLinkModelImpl.java
  9. 2
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/model/impl/FormLogModelImpl.java
  10. 2
      liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/model/impl/FormTemplateLinkModelImpl.java
  11. 3
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/init.jsp
  12. 25
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/mail_manager/edit.jsp
  13. 12
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/mail_manager/email_action.jsp
  14. 8
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/mail_manager/email_history_popup_button.jsp
  15. 23
      liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/mail_manager/view.jsp
  16. 53
      liferay-plugins-sdk-6.2/portlets/portos-maintenance-portlet/docroot/html/admin_maintenance/edit.jsp
  17. 22
      liferay-plugins-sdk-6.2/portlets/portos-maintenance-portlet/docroot/html/admin_maintenance/maintenance_action.jsp
  18. 57
      liferay-plugins-sdk-6.2/portlets/portos-maintenance-portlet/docroot/html/admin_maintenance/view.jsp
  19. 2
      liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/model/impl/KaleoInstanceModelImpl.java
  20. 2
      liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/model/impl/KaleoTaskAssignmentInstanceModelImpl.java

4
liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoInstanceModelImpl.java

@ -76,9 +76,9 @@ public class KaleoInstanceModelImpl extends BaseModelImpl<KaleoInstance>
{ "classPK", Types.BIGINT },
{ "completed", Types.BOOLEAN },
{ "completionDate", Types.TIMESTAMP },
{ "workflowContext", Types.CLOB }
{ "workflowContext", Types.VARCHAR }
};
public static final String TABLE_SQL_CREATE = "create table kaleoinstance (kaleoInstanceId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoDefinitionName VARCHAR(200) null,kaleoDefinitionVersion INTEGER,rootKaleoInstanceTokenId LONG,className VARCHAR(200) null,classPK LONG,completed BOOLEAN,completionDate DATE null,workflowContext TEXT null)";
public static final String TABLE_SQL_CREATE = "create table kaleoinstance (kaleoInstanceId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoDefinitionName VARCHAR(75) null,kaleoDefinitionVersion INTEGER,rootKaleoInstanceTokenId LONG,className VARCHAR(75) null,classPK LONG,completed BOOLEAN,completionDate DATE null,workflowContext VARCHAR(75) null)";
public static final String TABLE_SQL_DROP = "drop table kaleoinstance";
public static final String ORDER_BY_JPQL = " ORDER BY kaleoInstance.kaleoInstanceId ASC";
public static final String ORDER_BY_SQL = " ORDER BY kaleoinstance.kaleoInstanceId ASC";

2
liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoInstanceTokenModelImpl.java

@ -78,7 +78,7 @@ public class KaleoInstanceTokenModelImpl extends BaseModelImpl<KaleoInstanceToke
{ "completed", Types.BOOLEAN },
{ "completionDate", Types.TIMESTAMP }
};
public static final String TABLE_SQL_CREATE = "create table kaleoinstancetoken (kaleoInstanceTokenId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoInstanceId LONG,parentKaleoInstanceTokenId LONG,currentKaleoNodeId LONG,currentKaleoNodeName VARCHAR(200) null,className VARCHAR(200) null,classPK LONG,completed BOOLEAN,completionDate DATE null)";
public static final String TABLE_SQL_CREATE = "create table kaleoinstancetoken (kaleoInstanceTokenId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoInstanceId LONG,parentKaleoInstanceTokenId LONG,currentKaleoNodeId LONG,currentKaleoNodeName VARCHAR(75) null,className VARCHAR(75) null,classPK LONG,completed BOOLEAN,completionDate DATE null)";
public static final String TABLE_SQL_DROP = "drop table kaleoinstancetoken";
public static final String ORDER_BY_JPQL = " ORDER BY kaleoInstanceToken.kaleoInstanceTokenId ASC";
public static final String ORDER_BY_SQL = " ORDER BY kaleoinstancetoken.kaleoInstanceTokenId ASC";

6
liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoLogModelImpl.java

@ -86,13 +86,13 @@ public class KaleoLogModelImpl extends BaseModelImpl<KaleoLog>
{ "currentAssigneeClassName", Types.VARCHAR },
{ "currentAssigneeClassPK", Types.BIGINT },
{ "type_", Types.VARCHAR },
{ "comment_", Types.CLOB },
{ "comment_", Types.VARCHAR },
{ "startDate", Types.TIMESTAMP },
{ "endDate", Types.TIMESTAMP },
{ "duration", Types.BIGINT },
{ "workflowContext", Types.CLOB }
{ "workflowContext", Types.VARCHAR }
};
public static final String TABLE_SQL_CREATE = "create table kaleolog (kaleoLogId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoClassName VARCHAR(200) null,kaleoClassPK LONG,kaleoDefinitionId 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(75) null,comment_ TEXT null,startDate DATE null,endDate DATE null,duration LONG,workflowContext TEXT null)";
public static final String TABLE_SQL_CREATE = "create table kaleolog (kaleoLogId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,kaleoClassName VARCHAR(75) null,kaleoClassPK LONG,kaleoDefinitionId LONG,kaleoInstanceId LONG,kaleoInstanceTokenId LONG,kaleoTaskInstanceTokenId LONG,kaleoNodeName VARCHAR(75) null,terminalKaleoNode BOOLEAN,kaleoActionId LONG,kaleoActionName VARCHAR(75) null,kaleoActionDescription VARCHAR(75) null,previousKaleoNodeId LONG,previousKaleoNodeName VARCHAR(75) null,previousAssigneeClassName VARCHAR(75) null,previousAssigneeClassPK LONG,currentAssigneeClassName VARCHAR(75) null,currentAssigneeClassPK LONG,type_ VARCHAR(75) null,comment_ VARCHAR(75) null,startDate DATE null,endDate DATE null,duration LONG,workflowContext VARCHAR(75) null)";
public static final String TABLE_SQL_DROP = "drop table kaleolog";
public static final String ORDER_BY_JPQL = " ORDER BY kaleoLog.kaleoLogId ASC";
public static final String ORDER_BY_SQL = " ORDER BY kaleolog.kaleoLogId ASC";

2
liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoNodeModelImpl.java

@ -76,7 +76,7 @@ public class KaleoNodeModelImpl extends BaseModelImpl<KaleoNode>
{ "initial_", Types.BOOLEAN },
{ "terminal", Types.BOOLEAN }
};
public static final String TABLE_SQL_CREATE = "create table kaleonode (kaleoNodeId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,name VARCHAR(200) null,metadata STRING null,description STRING null,type_ VARCHAR(75) null,initial_ BOOLEAN,terminal BOOLEAN)";
public static final String TABLE_SQL_CREATE = "create table kaleonode (kaleoNodeId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,name VARCHAR(75) null,metadata VARCHAR(75) null,description VARCHAR(75) null,type_ VARCHAR(75) null,initial_ BOOLEAN,terminal BOOLEAN)";
public static final String TABLE_SQL_DROP = "drop table kaleonode";
public static final String ORDER_BY_JPQL = " ORDER BY kaleoNode.kaleoNodeId ASC";
public static final String ORDER_BY_SQL = " ORDER BY kaleonode.kaleoNodeId ASC";

2
liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoTaskAssignmentInstanceModelImpl.java

@ -79,7 +79,7 @@ public class KaleoTaskAssignmentInstanceModelImpl extends BaseModelImpl<KaleoTas
{ "completed", Types.BOOLEAN },
{ "completionDate", Types.TIMESTAMP }
};
public static final String TABLE_SQL_CREATE = "create table kaleotaskassignmentinstance (kaleoTaskAssignmentInstanceId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoInstanceId LONG,kaleoInstanceTokenId LONG,kaleoTaskInstanceTokenId LONG,kaleoTaskId LONG,kaleoTaskName VARCHAR(200) null,assigneeClassName VARCHAR(200) null,assigneeClassPK LONG,completed BOOLEAN,completionDate DATE null)";
public static final String TABLE_SQL_CREATE = "create table kaleotaskassignmentinstance (kaleoTaskAssignmentInstanceId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoInstanceId LONG,kaleoInstanceTokenId LONG,kaleoTaskInstanceTokenId LONG,kaleoTaskId LONG,kaleoTaskName VARCHAR(75) null,assigneeClassName VARCHAR(75) null,assigneeClassPK LONG,completed BOOLEAN,completionDate DATE null)";
public static final String TABLE_SQL_DROP = "drop table kaleotaskassignmentinstance";
public static final String ORDER_BY_JPQL = " ORDER BY kaleoTaskAssignmentInstance.kaleoTaskAssignmentInstanceId ASC";
public static final String ORDER_BY_SQL = " ORDER BY kaleotaskassignmentinstance.kaleoTaskAssignmentInstanceId ASC";

4
liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoTaskInstanceTokenModelImpl.java

@ -79,9 +79,9 @@ public class KaleoTaskInstanceTokenModelImpl extends BaseModelImpl<KaleoTaskInst
{ "completed", Types.BOOLEAN },
{ "completionDate", Types.TIMESTAMP },
{ "dueDate", Types.TIMESTAMP },
{ "workflowContext", Types.CLOB }
{ "workflowContext", Types.VARCHAR }
};
public static final String TABLE_SQL_CREATE = "create table kaleotaskinstancetoken (kaleoTaskInstanceTokenId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId 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)";
public static final String TABLE_SQL_CREATE = "create table kaleotaskinstancetoken (kaleoTaskInstanceTokenId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoInstanceId LONG,kaleoInstanceTokenId LONG,kaleoTaskId LONG,kaleoTaskName VARCHAR(75) null,className VARCHAR(75) null,classPK LONG,completionUserId LONG,completed BOOLEAN,completionDate DATE null,dueDate DATE null,workflowContext VARCHAR(75) null)";
public static final String TABLE_SQL_DROP = "drop table kaleotaskinstancetoken";
public static final String ORDER_BY_JPQL = " ORDER BY kaleoTaskInstanceToken.kaleoTaskInstanceTokenId ASC";
public static final String ORDER_BY_SQL = " ORDER BY kaleotaskinstancetoken.kaleoTaskInstanceTokenId ASC";

2
liferay-plugins-sdk-6.2/portlets/portos-kaleo-controller-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/controller/model/impl/KaleoTaskModelImpl.java

@ -73,7 +73,7 @@ public class KaleoTaskModelImpl extends BaseModelImpl<KaleoTask>
{ "name", Types.VARCHAR },
{ "description", Types.VARCHAR }
};
public static final String TABLE_SQL_CREATE = "create table kaleotask (kaleoTaskId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoNodeId LONG,name VARCHAR(200) null,description STRING null)";
public static final String TABLE_SQL_CREATE = "create table kaleotask (kaleoTaskId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoNodeId LONG,name VARCHAR(75) null,description VARCHAR(75) null)";
public static final String TABLE_SQL_DROP = "drop table kaleotask";
public static final String ORDER_BY_JPQL = " ORDER BY kaleoTask.kaleoTaskId ASC";
public static final String ORDER_BY_SQL = " ORDER BY kaleotask.kaleoTaskId ASC";

2
liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/model/impl/FormDefinitionLinkModelImpl.java

@ -74,7 +74,7 @@ public class FormDefinitionLinkModelImpl extends BaseModelImpl<FormDefinitionLin
{ "definitionVersion", Types.INTEGER },
{ "ddmStructureId", Types.BIGINT }
};
public static final String TABLE_SQL_CREATE = "create table portos_Kaleo_FormDefinitionLink (formDefinitionLinkId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,name VARCHAR(200) null,definitionName VARCHAR(200) null,definitionVersion INTEGER,ddmStructureId LONG)";
public static final String TABLE_SQL_CREATE = "create table portos_Kaleo_FormDefinitionLink (formDefinitionLinkId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,name VARCHAR(75) null,definitionName VARCHAR(75) null,definitionVersion INTEGER,ddmStructureId LONG)";
public static final String TABLE_SQL_DROP = "drop table portos_Kaleo_FormDefinitionLink";
public static final String ORDER_BY_JPQL = " ORDER BY formDefinitionLink.createDate ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_Kaleo_FormDefinitionLink.createDate ASC";

2
liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/model/impl/FormLogModelImpl.java

@ -74,7 +74,7 @@ public class FormLogModelImpl extends BaseModelImpl<FormLog>
{ "transitionName", Types.VARCHAR },
{ "formParameters", Types.CLOB }
};
public static final String TABLE_SQL_CREATE = "create table portos_Kaleo_FormLog (formLogId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,workflowInstanceId LONG,workflowTaskId LONG,transitionName VARCHAR(200) null,formParameters TEXT null)";
public static final String TABLE_SQL_CREATE = "create table portos_Kaleo_FormLog (formLogId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,workflowInstanceId LONG,workflowTaskId LONG,transitionName VARCHAR(75) null,formParameters TEXT null)";
public static final String TABLE_SQL_DROP = "drop table portos_Kaleo_FormLog";
public static final String ORDER_BY_JPQL = " ORDER BY formLog.createDate ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_Kaleo_FormLog.createDate ASC";

2
liferay-plugins-sdk-6.2/portlets/portos-kaleo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/model/impl/FormTemplateLinkModelImpl.java

@ -64,7 +64,7 @@ public class FormTemplateLinkModelImpl extends BaseModelImpl<FormTemplateLink>
{ "kaleoNodeId", Types.BIGINT },
{ "transitionName", Types.VARCHAR }
};
public static final String TABLE_SQL_CREATE = "create table portos_Kaleo_FormTemplateLink (formTemplateLinkId LONG not null primary key,formDefinitionLinkId LONG,ddmTemplateId LONG,kaleoNodeId LONG,transitionName VARCHAR(200) null)";
public static final String TABLE_SQL_CREATE = "create table portos_Kaleo_FormTemplateLink (formTemplateLinkId LONG not null primary key,formDefinitionLinkId LONG,ddmTemplateId LONG,kaleoNodeId LONG,transitionName VARCHAR(75) null)";
public static final String TABLE_SQL_DROP = "drop table portos_Kaleo_FormTemplateLink";
public static final String ORDER_BY_JPQL = " ORDER BY formTemplateLink.formTemplateLinkId ASC";
public static final String ORDER_BY_SQL = " ORDER BY portos_Kaleo_FormTemplateLink.formTemplateLinkId ASC";

3
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/init.jsp

@ -21,6 +21,9 @@
<%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>
<%@taglib uri="http://liferay.com/tld/ddm" prefix="liferay-ddm" %>
<%@page import="it.tref.liferay.portos.mailmanager.shared.util.MailManagerConstants"%>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@page import="com.liferay.portal.kernel.util.GetterUtil"%>
<liferay-theme:defineObjects />
<portlet:defineObjects />

25
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/mail_manager/edit.jsp

@ -17,17 +17,28 @@ List<EmailAttachment> emailAttachments = EmailAttachmentLocalServiceUtil.findByE
<portlet:actionURL name="editEmail" var="actionURL" />
<aui:form name="fm" method="post" action="<%= actionURL %>" onSubmit="event.preventDefault();">
<aui:input type="hidden" name="actionURL" value="<%= actionURL %>" />
<aui:input type="text" name="to" label="to" cssClass="input-xxlarge" required="true" showRequiredLabel="false"
<aui:input type="text" name="to" label="to" cssClass="input-xxlarge"
required="<%= true %>" showRequiredLabel="<%= false %>"
value="<%= email.getTo() %>" />
<aui:input type="text" name="cc" label="cc" cssClass="input-xxlarge" showRequiredLabel="false"
<aui:input type="text" name="cc" label="cc" cssClass="input-xxlarge"
showRequiredLabel="<%= false %>"
value="<%= email.getCc() %>" />
<aui:input type="text" name="ccn" label="bcc" cssClass="input-xxlarge" showRequiredLabel="false" disabled="true"
<aui:input type="text" name="ccn" label="bcc" cssClass="input-xxlarge"
showRequiredLabel="<%= false %>" disabled="<%= true %>"
value="<%= email.getBcc() %>" />
<aui:input type="text" name="subject" label="subject" cssClass="input-xxlarge" required="true"
showRequiredLabel="false" value="<%= email.getSubject() %>" />
<aui:input type="text" name="subject" label="subject" cssClass="input-xxlarge"
required="<%= true %>" showRequiredLabel="<%= false %>"
value="<%= email.getSubject() %>" />
<aui:field-wrapper label="body">
<liferay-ui:input-editor editorImpl="<%= EDITOR_WYSIWYG_IMPL_KEY %>" />
<aui:input name="body" type="hidden" required="true" />
<aui:input name="body" type="hidden" required="<%= true %>" />
</aui:field-wrapper>
<aui:script>
function <portlet:namespace />initEditor() {
@ -48,7 +59,7 @@ List<EmailAttachment> emailAttachments = EmailAttachmentLocalServiceUtil.findByE
</aui:field-wrapper>
</c:if>
<aui:button-row>
<aui:button type="button" primary="true" value="send"
<aui:button type="button" primary="<%= true %>" value="send"
onClick='<%= renderResponse.getNamespace() + "save();" %>' />
</aui:button-row>
</aui:form>

12
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/mail_manager/email_action.jsp

@ -6,13 +6,21 @@ String redirect = searchContainer.getIteratorURL().toString();
ResultRow row = (ResultRow) request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW);
Email entry = (Email) row.getObject();
%>
<liferay-ui:icon-menu showWhenSingleIcon="true">
<liferay-ui:icon-menu showWhenSingleIcon="<%= true %>">
<c:if test="<%= EmailPermission.contains(permissionChecker, scopeGroupId, ActionKeys.ADMIN_EMAIL) %>">
<portlet:renderURL var="editEntryURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<portlet:param name="mvcPath" value="/html/mail_manager/edit.jsp" />
<portlet:param name="emailId" value="<%= String.valueOf(entry.getEmailId()) %>" />
</portlet:renderURL>
<liferay-ui:icon image="edit" useDialog="true" url="<%= editEntryURL %>" />
<liferay-ui:icon
image="edit"
useDialog="<%= true %>"
url="<%= editEntryURL %>"
/>
<portlet:actionURL name="resendEmail" var="resendEntryURL">
<portlet:param name="redirect" value="<%= redirect %>" />
<portlet:param name="emailId" value="<%= String.valueOf(entry.getEmailId()) %>" />

8
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/mail_manager/email_history_popup_button.jsp

@ -8,8 +8,12 @@
long classPK = ParamUtil.getLong(request, "classPK");
String templateName = ParamUtil.getString(request, "templateName");
%>
<liferay-portlet:renderURL var="viewEmailHistoryURL" copyCurrentRenderParameters="false"
windowState="<%= LiferayWindowState.POP_UP.toString() %>" portletName="<%= PortletKeys.MAIL_MANAGER %>">
<liferay-portlet:renderURL var="viewEmailHistoryURL"
copyCurrentRenderParameters="<%= false %>"
windowState="<%= LiferayWindowState.POP_UP.toString() %>"
portletName="<%=PortletKeys.MAIL_MANAGER %>">
<liferay-portlet:param name="mvcPath" value="/html/mail_manager/view.jsp"/>
<c:if test="<%= Validator.isNotNull(classNameId) %>">
<liferay-portlet:param name="classNameId" value="<%= String.valueOf(classNameId) %>"/>

23
liferay-plugins-sdk-6.2/portlets/portos-mail-manager-portlet/docroot/html/mail_manager/view.jsp

@ -118,8 +118,13 @@ long companyId = company.getCompanyId();
<c:otherwise>
<liferay-ui:message key="no" />
<c:if test="<%= Validator.isNotNull(email.getStatusMessage()) %>">
<liferay-ui:icon toolTip="true" label="false" localizeMessage="false"
message="<%= email.getStatusMessage() %>" iconCssClass="icon-exclamation-sign" />
<liferay-ui:icon
toolTip="<%= true %>"
label="<%= false %>"
localizeMessage="<%= false %>"
message="<%= email.getStatusMessage() %>"
iconCssClass="icon-exclamation-sign"
/>
</c:if>
</c:otherwise>
</c:choose>
@ -153,9 +158,13 @@ long companyId = company.getCompanyId();
<%= TextFormatter.formatStorageSize(fileVersion.getSize(), locale) %>
</aui:col>
<aui:col span="1">
<liferay-ui:icon label="false" target="_blank" iconCssClass="icon-download-alt"
url="<%= DLUtil.getPreviewURL(fileEntry, fileVersion, themeDisplay,
StringPool.BLANK, false, true) %>" />
<liferay-ui:icon
label="<%= false %>"
target="_blank"
iconCssClass="icon-download-alt"
url="<%= DLUtil.getPreviewURL(fileEntry, fileVersion,
themeDisplay, StringPool.BLANK, false, true) %>"
/>
</aui:col>
</aui:row>
<%
@ -182,7 +191,9 @@ long companyId = company.getCompanyId();
<liferay-ui:search-container-column-text name="cancel" property="cancel"/>
<liferay-ui:search-container-column-jsp path="/html/mail_manager/email_action.jsp" align="right" />
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="true" />
<liferay-ui:search-iterator paginate="<%= true %>" />
</liferay-ui:search-container>
<div id="<portlet:namespace />modal"></div>
<%!

53
liferay-plugins-sdk-6.2/portlets/portos-maintenance-portlet/docroot/html/admin_maintenance/edit.jsp

@ -27,46 +27,37 @@ if (Validator.isNotNull(maintenanceScheduleId)) {
<aui:input type="hidden" name="<%= Constants.CMD %>"
value="<%= (maintenanceSchedule == null ? Constants.ADD : Constants.UPDATE) %>" />
<aui:model-context bean="<%= maintenanceSchedule %>" model="<%= MaintenanceSchedule.class %>" />
<aui:select name="type" label="maintenance-schedule-type" required="true">
<%
for (MaintenanceType maintenanceType : MaintenanceType.values()) {
%>
<aui:select name="type" label="maintenance-schedule-type" required="<%= true %>">
<% for(MaintenanceType maintenanceType : MaintenanceType.values()){ %>
<aui:option value="<%=maintenanceType.getCode() %>"><%=maintenanceType.getDescription() %></aui:option>
<%
}
%>
<%} %>
</aui:select>
<aui:input name="reason" label="maintenance-schedule-reason" type="textarea" required="true"
showRequiredLabel="false" />
<aui:input name="reason" label="maintenance-schedule-reason" type="textarea"
required="<%= true %>" showRequiredLabel="<%= false %>" />
<aui:input name="portalMessage" label="maintenance-schedule-portal-message" cssClass="input-xxlarge" />
<aui:input name="after" label="maintenance-schedule-after" cssClass="input-xxlarge" />
<aui:input name="end" label="maintenance-schedule-end" cssClass="input-xxlarge" />
<aui:select name="onreboot" label="maintenance-schedule-onreboot" required="true">
<%
for (MaintenanceOnReboot maintenanceOnReboot : MaintenanceOnReboot.values()) {
%>
<aui:option value="<%= maintenanceOnReboot.getCode() %>">
<%= maintenanceOnReboot.getDescription() %>
</aui:option>
<%
}
%>
<aui:select name="onreboot" label="maintenance-schedule-onreboot" required="<%= true %>">
<% for(MaintenanceOnReboot maintenanceOnReboot : MaintenanceOnReboot.values()){ %>
<aui:option value="<%=maintenanceOnReboot.getCode() %>"><%=maintenanceOnReboot.getDescription() %></aui:option>
<%} %>
</aui:select>
<aui:select name="status" label="maintenance-schedule-status" required="true">
<%
for (MaintenanceStatus maintenanceStatus : MaintenanceStatus.values()) {
%>
<aui:option value="<%= maintenanceStatus.getCode() %>">
<%= maintenanceStatus.getDescription() %>
</aui:option>
<%
}
%>
<aui:select name="status" label="maintenance-schedule-status" required="<%= true %>">
<% for(MaintenanceStatus maintenanceStatus : MaintenanceStatus.values()){ %>
<aui:option value="<%=maintenanceStatus.getCode() %>"><%=maintenanceStatus.getDescription() %></aui:option>
<%} %>
</aui:select>
<aui:input name="statusMessage" label="maintenance-schedule-status-message" cssClass="input-xxlarge" />
<aui:button-row>
<aui:button primary="true" type="submit" value="save" />
<liferay-portlet:renderURL var="cancelURL" copyCurrentRenderParameters="false">
<aui:button primary="<%= true %>" type="submit" value="save" />
<liferay-portlet:renderURL var="cancelURL" copyCurrentRenderParameters="<%= false %>">
<liferay-portlet:param name="mvcPath" value="/html/admin_maintenance/view.jsp" />
</liferay-portlet:renderURL>
<aui:button type="cancel" value="cancel" href="<%= cancelURL %>" />

22
liferay-plugins-sdk-6.2/portlets/portos-maintenance-portlet/docroot/html/admin_maintenance/maintenance_action.jsp

@ -5,19 +5,29 @@ String redirect = searchContainer.getIteratorURL().toString();
ResultRow row = (ResultRow) request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW);
MaintenanceSchedule entry = (MaintenanceSchedule) row.getObject();
%>
<liferay-ui:icon-menu showWhenSingleIcon="true">
<liferay-ui:icon-menu showWhenSingleIcon="<%= true %>">
<c:if test="<%=PortalUtil.isCompanyAdmin(user) %>">
<portlet:renderURL var="viewEntryURL" windowState="<%= LiferayWindowState.POP_UP.toString() %>">
<portlet:param name="mvcPath" value="/html/admin_maintenance/edit.jsp" />
<portlet:param name="maintenanceScheduleId"
value="<%= String.valueOf(entry.getMaintenanceScheduleId()) %>" />
<portlet:param name="maintenanceScheduleId" value="<%= String.valueOf(entry.getMaintenanceScheduleId()) %>" />
</portlet:renderURL>
<liferay-ui:icon image="edit" useDialog="true" url="<%= viewEntryURL %>" />
<liferay-ui:icon
image="edit"
useDialog="<%= true %>"
url="<%= viewEntryURL %>"
/>
<portlet:actionURL name="deleteMaintenanceSchedule" var="deleteEntryURL">
<portlet:param name="redirect" value="<%= redirect %>" />
<portlet:param name="maintenanceScheduleId"
value="<%= String.valueOf(entry.getMaintenanceScheduleId()) %>" />
<portlet:param name="maintenanceScheduleId" value="<%= String.valueOf(entry.getMaintenanceScheduleId()) %>" />
</portlet:actionURL>
<liferay-ui:icon-delete url="<%= deleteEntryURL %>" />
</c:if>
</liferay-ui:icon-menu>

57
liferay-plugins-sdk-6.2/portlets/portos-maintenance-portlet/docroot/html/admin_maintenance/view.jsp

@ -1,44 +1,65 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/html/admin_maintenance/init.jsp" %>
<%
PortletURL iteratorURL = liferayPortletResponse.createRenderURL();
%>
<liferay-ui:search-container emptyResultsMessage="no-entries-were-found" iteratorURL="<%= iteratorURL %>"
total="<%=MaintenanceScheduleLocalServiceUtil.countAll() %>">
<% request.setAttribute("liferay-ui:search:searchContainer", searchContainer); %>
<liferay-util:include page="/html/admin_maintenance/toolbar.jsp" servletContext="<%= application %>" />
<liferay-ui:search-container-results results="<%= MaintenanceScheduleLocalServiceUtil.findAll() %>" />
<liferay-ui:search-container-row className="it.tref.liferay.portos.maintenance.model.MaintenanceSchedule"
modelVar="maintenanceSchedule">
<liferay-ui:search-container-results
results="<%= MaintenanceScheduleLocalServiceUtil.findAll() %>"
/>
<liferay-ui:search-container-row
className="it.tref.liferay.portos.maintenance.model.MaintenanceSchedule"
modelVar="maintenanceSchedule"
>
<liferay-ui:search-container-column-text name="maintenance-schedule-id" property="maintenanceScheduleId"
orderable="true" orderableProperty="maintenanceScheduleId" />
orderable="<%= true %>" orderableProperty="maintenanceScheduleId" />
<liferay-ui:search-container-column-text name="maintenance-schedule-create-date" property="createDate"
orderable="true" orderableProperty="createDate" />
orderable="<%= true %>" orderableProperty="createDate" />
<liferay-ui:search-container-column-text name="maintenance-schedule-modified-date" property="modifiedDate"
orderable="true" orderableProperty="modifiedDate" />
orderable="<%= true %>" orderableProperty="modifiedDate" />
<liferay-ui:search-container-column-text name="maintenance-schedule-type" property="type" />
<liferay-ui:search-container-column-text name="maintenance-schedule-reason" property="reason" />
<liferay-ui:search-container-column-text name="maintenance-schedule-portal-message" property="portalMessage" />
<liferay-ui:search-container-column-text name="maintenance-schedule-after" property="after" />
<liferay-ui:search-container-column-text name="maintenance-schedule-end"
value="<%= maintenanceSchedule.getEnd() != null ? dateFormat.format(maintenanceSchedule.getEnd())
: StringPool.BLANK %>" />
<liferay-ui:search-container-column-text name="maintenance-schedule-end" value="<%= maintenanceSchedule.getEnd() != null ? dateFormat.format(maintenanceSchedule.getEnd()) : StringPool.BLANK %>" />
<liferay-ui:search-container-column-text name="maintenance-schedule-onreboot">
<%= MaintenanceOnReboot.parse(maintenanceSchedule.getOnreboot()).getDescription() %>
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text name="maintenance-schedule-status" >
<%=MaintenanceStatus.parse(maintenanceSchedule.getStatus()).getDescription()%>
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text name="maintenance-schedule-status" > <%=MaintenanceStatus.parse(maintenanceSchedule.getStatus()).getDescription()%> </liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-text name="maintenance-schedule-status-message" property="statusMessage" />
<liferay-ui:search-container-column-text name="maintenance-schedule-completed">
<c:if test="<%= maintenanceSchedule.getCompleted() %>">
<c:choose>
<c:when test="<%= maintenanceSchedule.getCompleted()%>">
<liferay-ui:icon image="check" />
</c:if>
<c:if test="<%= !maintenanceSchedule.getCompleted() %>">
</c:when>
<c:when test="<%= !maintenanceSchedule.getCompleted()%>">
<liferay-ui:icon image="close" />
</c:if>
</c:when>
</c:choose>
</liferay-ui:search-container-column-text>
<liferay-ui:search-container-column-jsp path="/html/admin_maintenance/maintenance_action.jsp" align="right" />
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="true" />
<liferay-ui:search-iterator paginate="<%= true %>" />
</liferay-ui:search-container>

2
liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/model/impl/KaleoInstanceModelImpl.java

@ -78,7 +78,7 @@ public class KaleoInstanceModelImpl extends BaseModelImpl<KaleoInstance>
{ "completionDate", Types.TIMESTAMP },
{ "workflowContext", Types.VARCHAR }
};
public static final String TABLE_SQL_CREATE = "create table kaleoinstance (kaleoInstanceId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoDefinitionName VARCHAR(200) null,kaleoDefinitionVersion INTEGER,rootKaleoInstanceTokenId LONG,className VARCHAR(200) null,classPK LONG,completed BOOLEAN,completionDate DATE null,workflowContext VARCHAR(200) null)";
public static final String TABLE_SQL_CREATE = "create table kaleoinstance (kaleoInstanceId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoDefinitionName VARCHAR(75) null,kaleoDefinitionVersion INTEGER,rootKaleoInstanceTokenId LONG,className VARCHAR(75) null,classPK LONG,completed BOOLEAN,completionDate DATE null,workflowContext VARCHAR(75) null)";
public static final String TABLE_SQL_DROP = "drop table kaleoinstance";
public static final String ORDER_BY_JPQL = " ORDER BY kaleoInstance.kaleoInstanceId ASC";
public static final String ORDER_BY_SQL = " ORDER BY kaleoinstance.kaleoInstanceId ASC";

2
liferay-plugins-sdk-6.2/portlets/portos-report-engine-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/report/model/impl/KaleoTaskAssignmentInstanceModelImpl.java

@ -79,7 +79,7 @@ public class KaleoTaskAssignmentInstanceModelImpl extends BaseModelImpl<KaleoTas
{ "completed", Types.BOOLEAN },
{ "completionDate", Types.TIMESTAMP }
};
public static final String TABLE_SQL_CREATE = "create table kaleotaskassignmentinstance (kaleoTaskAssignmentInstanceId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(200) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoInstanceId LONG,kaleoInstanceTokenId LONG,kaleoTaskInstanceTokenId LONG,kaleoTaskId LONG,kaleoTaskName VARCHAR(200) null,assigneeClassName VARCHAR(200) null,assigneeClassPK LONG,completed BOOLEAN,completionDate DATE null)";
public static final String TABLE_SQL_CREATE = "create table kaleotaskassignmentinstance (kaleoTaskAssignmentInstanceId LONG not null primary key,groupId LONG,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,kaleoDefinitionId LONG,kaleoInstanceId LONG,kaleoInstanceTokenId LONG,kaleoTaskInstanceTokenId LONG,kaleoTaskId LONG,kaleoTaskName VARCHAR(75) null,assigneeClassName VARCHAR(75) null,assigneeClassPK LONG,completed BOOLEAN,completionDate DATE null)";
public static final String TABLE_SQL_DROP = "drop table kaleotaskassignmentinstance";
public static final String ORDER_BY_JPQL = " ORDER BY kaleoTaskAssignmentInstance.kaleoTaskAssignmentInstanceId ASC";
public static final String ORDER_BY_SQL = " ORDER BY kaleotaskassignmentinstance.kaleoTaskAssignmentInstanceId ASC";

Caricamento…
Annulla
Salva