List of usage examples for com.liferay.portal.kernel.workflow WorkflowConstants CONTEXT_URL
String CONTEXT_URL
To view the source code for com.liferay.portal.kernel.workflow WorkflowConstants CONTEXT_URL.
Click Source Link
From source file:com.liferay.wiki.util.test.WikiTestUtil.java
License:Open Source License
protected static WikiPage updateStatus(WikiPage page, ServiceContext serviceContext) throws Exception { Map<String, Serializable> workflowContext = new HashMap<>(); workflowContext.put(WorkflowConstants.CONTEXT_URL, "http://localhost"); page = WikiPageLocalServiceUtil.updateStatus(page.getUserId(), page, WorkflowConstants.STATUS_APPROVED, serviceContext, workflowContext); return page;/*from w w w . j a va 2s .c o m*/ }