001    /**
002     * Copyright (c) 2000-2013 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 long getAuditUserId();
036    
037            public String getComment();
038    
039            public Date getCreateDate();
040    
041            public long getPreviousRoleId();
042    
043            public String getPreviousState();
044    
045            public long getPreviousUserId();
046    
047            public long getRoleId();
048    
049            public String getState();
050    
051            public int getType();
052    
053            public long getUserId();
054    
055            public long getWorkflowLogId();
056    
057            public long getWorkflowTaskId();
058    
059    }