001    /**
002     * Copyright (c) 2000-2012 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.io.Serializable;
018    
019    import java.util.Date;
020    
021    /**
022     * @author Shuyang Zhou
023     * @author Brian Wing Shun Chan
024     * @author Marcellus Tavares
025     */
026    public class DefaultWorkflowLog implements Serializable, WorkflowLog {
027    
028            public long getAuditUserId() {
029                    return _auditUserId;
030            }
031    
032            public String getComment() {
033                    return _comment;
034            }
035    
036            public Date getCreateDate() {
037                    return _createDate;
038            }
039    
040            public long getPreviousRoleId() {
041                    return _previousRoleId;
042            }
043    
044            public String getPreviousState() {
045                    return _previousState;
046            }
047    
048            public long getPreviousUserId() {
049                    return _previousUserId;
050            }
051    
052            public long getRoleId() {
053                    return _roleId;
054            }
055    
056            public String getState() {
057                    return _state;
058            }
059    
060            public int getType() {
061                    return _type;
062            }
063    
064            public long getUserId() {
065                    return _userId;
066            }
067    
068            public long getWorkflowLogId() {
069                    return _workflowLogId;
070            }
071    
072            public long getWorkflowTaskId() {
073                    return _workflowTaskId;
074            }
075    
076            public void setAuditUserId(long auditUserId) {
077                    _auditUserId = auditUserId;
078            }
079    
080            public void setComment(String comment) {
081                    _comment = comment;
082            }
083    
084            public void setCreateDate(Date createDate) {
085                    _createDate = createDate;
086            }
087    
088            public void setPreviousRoleId(long previousRoleId) {
089                    _previousRoleId = previousRoleId;
090            }
091    
092            public void setPreviousState(String previousState) {
093                    _previousState = previousState;
094            }
095    
096            public void setPreviousUserId(long previousUserId) {
097                    _previousUserId = previousUserId;
098            }
099    
100            public void setRoleId(long roleId) {
101                    _roleId = roleId;
102            }
103    
104            public void setState(String state) {
105                    _state = state;
106            }
107    
108            public void setType(int type) {
109                    _type = type;
110            }
111    
112            public void setUserId(long userId) {
113                    _userId = userId;
114            }
115    
116            public void setWorkflowLogId(long workflowLogId) {
117                    _workflowLogId = workflowLogId;
118            }
119    
120            public void setWorkflowTaskId(long workflowTaskId) {
121                    _workflowTaskId = workflowTaskId;
122            }
123    
124            private long _auditUserId;
125            private String _comment;
126            private Date _createDate;
127            private long _previousRoleId;
128            private String _previousState;
129            private long _previousUserId;
130            private long _roleId;
131            private String _state;
132            private int _type;
133            private long _userId;
134            private long _workflowLogId;
135            private long _workflowTaskId;
136    
137    }