001    /**
002     * Copyright (c) 2000-2010 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 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    }