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.model;
016    
017    import com.liferay.portal.kernel.bean.AutoEscape;
018    import com.liferay.portal.kernel.exception.SystemException;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    import java.util.Date;
026    
027    /**
028     * The base model interface for the WorkflowInstanceLink service. Represents a row in the "WorkflowInstanceLink" database table, with each column mapped to a property of this class.
029     *
030     * <p>
031     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.WorkflowInstanceLinkModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.WorkflowInstanceLinkImpl}.
032     * </p>
033     *
034     * @author Brian Wing Shun Chan
035     * @see WorkflowInstanceLink
036     * @see com.liferay.portal.model.impl.WorkflowInstanceLinkImpl
037     * @see com.liferay.portal.model.impl.WorkflowInstanceLinkModelImpl
038     * @generated
039     */
040    public interface WorkflowInstanceLinkModel extends AttachedModel,
041            BaseModel<WorkflowInstanceLink>, GroupedModel {
042            /*
043             * NOTE FOR DEVELOPERS:
044             *
045             * Never modify or reference this interface directly. All methods that expect a workflow instance link model instance should use the {@link WorkflowInstanceLink} interface instead.
046             */
047    
048            /**
049             * Returns the primary key of this workflow instance link.
050             *
051             * @return the primary key of this workflow instance link
052             */
053            public long getPrimaryKey();
054    
055            /**
056             * Sets the primary key of this workflow instance link.
057             *
058             * @param primaryKey the primary key of this workflow instance link
059             */
060            public void setPrimaryKey(long primaryKey);
061    
062            /**
063             * Returns the workflow instance link ID of this workflow instance link.
064             *
065             * @return the workflow instance link ID of this workflow instance link
066             */
067            public long getWorkflowInstanceLinkId();
068    
069            /**
070             * Sets the workflow instance link ID of this workflow instance link.
071             *
072             * @param workflowInstanceLinkId the workflow instance link ID of this workflow instance link
073             */
074            public void setWorkflowInstanceLinkId(long workflowInstanceLinkId);
075    
076            /**
077             * Returns the group ID of this workflow instance link.
078             *
079             * @return the group ID of this workflow instance link
080             */
081            public long getGroupId();
082    
083            /**
084             * Sets the group ID of this workflow instance link.
085             *
086             * @param groupId the group ID of this workflow instance link
087             */
088            public void setGroupId(long groupId);
089    
090            /**
091             * Returns the company ID of this workflow instance link.
092             *
093             * @return the company ID of this workflow instance link
094             */
095            public long getCompanyId();
096    
097            /**
098             * Sets the company ID of this workflow instance link.
099             *
100             * @param companyId the company ID of this workflow instance link
101             */
102            public void setCompanyId(long companyId);
103    
104            /**
105             * Returns the user ID of this workflow instance link.
106             *
107             * @return the user ID of this workflow instance link
108             */
109            public long getUserId();
110    
111            /**
112             * Sets the user ID of this workflow instance link.
113             *
114             * @param userId the user ID of this workflow instance link
115             */
116            public void setUserId(long userId);
117    
118            /**
119             * Returns the user uuid of this workflow instance link.
120             *
121             * @return the user uuid of this workflow instance link
122             * @throws SystemException if a system exception occurred
123             */
124            public String getUserUuid() throws SystemException;
125    
126            /**
127             * Sets the user uuid of this workflow instance link.
128             *
129             * @param userUuid the user uuid of this workflow instance link
130             */
131            public void setUserUuid(String userUuid);
132    
133            /**
134             * Returns the user name of this workflow instance link.
135             *
136             * @return the user name of this workflow instance link
137             */
138            @AutoEscape
139            public String getUserName();
140    
141            /**
142             * Sets the user name of this workflow instance link.
143             *
144             * @param userName the user name of this workflow instance link
145             */
146            public void setUserName(String userName);
147    
148            /**
149             * Returns the create date of this workflow instance link.
150             *
151             * @return the create date of this workflow instance link
152             */
153            public Date getCreateDate();
154    
155            /**
156             * Sets the create date of this workflow instance link.
157             *
158             * @param createDate the create date of this workflow instance link
159             */
160            public void setCreateDate(Date createDate);
161    
162            /**
163             * Returns the modified date of this workflow instance link.
164             *
165             * @return the modified date of this workflow instance link
166             */
167            public Date getModifiedDate();
168    
169            /**
170             * Sets the modified date of this workflow instance link.
171             *
172             * @param modifiedDate the modified date of this workflow instance link
173             */
174            public void setModifiedDate(Date modifiedDate);
175    
176            /**
177             * Returns the fully qualified class name of this workflow instance link.
178             *
179             * @return the fully qualified class name of this workflow instance link
180             */
181            public String getClassName();
182    
183            public void setClassName(String className);
184    
185            /**
186             * Returns the class name ID of this workflow instance link.
187             *
188             * @return the class name ID of this workflow instance link
189             */
190            public long getClassNameId();
191    
192            /**
193             * Sets the class name ID of this workflow instance link.
194             *
195             * @param classNameId the class name ID of this workflow instance link
196             */
197            public void setClassNameId(long classNameId);
198    
199            /**
200             * Returns the class p k of this workflow instance link.
201             *
202             * @return the class p k of this workflow instance link
203             */
204            public long getClassPK();
205    
206            /**
207             * Sets the class p k of this workflow instance link.
208             *
209             * @param classPK the class p k of this workflow instance link
210             */
211            public void setClassPK(long classPK);
212    
213            /**
214             * Returns the workflow instance ID of this workflow instance link.
215             *
216             * @return the workflow instance ID of this workflow instance link
217             */
218            public long getWorkflowInstanceId();
219    
220            /**
221             * Sets the workflow instance ID of this workflow instance link.
222             *
223             * @param workflowInstanceId the workflow instance ID of this workflow instance link
224             */
225            public void setWorkflowInstanceId(long workflowInstanceId);
226    
227            public boolean isNew();
228    
229            public void setNew(boolean n);
230    
231            public boolean isCachedModel();
232    
233            public void setCachedModel(boolean cachedModel);
234    
235            public boolean isEscapedModel();
236    
237            public Serializable getPrimaryKeyObj();
238    
239            public void setPrimaryKeyObj(Serializable primaryKeyObj);
240    
241            public ExpandoBridge getExpandoBridge();
242    
243            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
244    
245            public Object clone();
246    
247            public int compareTo(WorkflowInstanceLink workflowInstanceLink);
248    
249            public int hashCode();
250    
251            public CacheModel<WorkflowInstanceLink> toCacheModel();
252    
253            public WorkflowInstanceLink toEscapedModel();
254    
255            public WorkflowInstanceLink toUnescapedModel();
256    
257            public String toString();
258    
259            public String toXmlString();
260    }