001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portal.kernel.workflow; 016 017 import java.util.Date; 018 019 /** 020 * @author Micha Kiener 021 * @author Shuyang Zhou 022 * @author Brian Wing Shun Chan 023 * @author Marcellus Tavares 024 */ 025 public interface WorkflowLog { 026 027 public static final int TASK_ASSIGN = 1; 028 029 public static final int TASK_COMPLETION = 3; 030 031 public static final int TASK_UPDATE = 2; 032 033 public static final int TRANSITION = 0; 034 035 public String getComment(); 036 037 public Date getCreateDate(); 038 039 public String getPreviousState(); 040 041 public long getPreviousUserId(); 042 043 public long getPreviousRoleId(); 044 045 public String getState(); 046 047 public int getType(); 048 049 public long getRoleId(); 050 051 public long getUserId(); 052 053 public long getWorkflowLogId(); 054 055 public long getWorkflowTaskId(); 056 057 }