001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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 long getAuditUserId();
036    
037            public String getComment();
038    
039            public Date getCreateDate();
040    
041            public String getPreviousState();
042    
043            public long getPreviousUserId();
044    
045            public long getPreviousRoleId();
046    
047            public String getState();
048    
049            public int getType();
050    
051            public long getRoleId();
052    
053            public long getUserId();
054    
055            public long getWorkflowLogId();
056    
057            public long getWorkflowTaskId();
058    
059    }