001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.AutoEscape;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    import java.util.Date;
027    
028    /**
029     * The base model interface for the WorkflowDefinitionLink service. Represents a row in the "WorkflowDefinitionLink" database table, with each column mapped to a property of this class.
030     *
031     * <p>
032     * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.WorkflowDefinitionLinkModelImpl} 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.WorkflowDefinitionLinkImpl}.
033     * </p>
034     *
035     * @author Brian Wing Shun Chan
036     * @see WorkflowDefinitionLink
037     * @see com.liferay.portal.model.impl.WorkflowDefinitionLinkImpl
038     * @see com.liferay.portal.model.impl.WorkflowDefinitionLinkModelImpl
039     * @generated
040     */
041    @ProviderType
042    public interface WorkflowDefinitionLinkModel extends AttachedModel,
043            BaseModel<WorkflowDefinitionLink>, GroupedModel, MVCCModel, ShardedModel {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. All methods that expect a workflow definition link model instance should use the {@link WorkflowDefinitionLink} interface instead.
048             */
049    
050            /**
051             * Returns the primary key of this workflow definition link.
052             *
053             * @return the primary key of this workflow definition link
054             */
055            public long getPrimaryKey();
056    
057            /**
058             * Sets the primary key of this workflow definition link.
059             *
060             * @param primaryKey the primary key of this workflow definition link
061             */
062            public void setPrimaryKey(long primaryKey);
063    
064            /**
065             * Returns the mvcc version of this workflow definition link.
066             *
067             * @return the mvcc version of this workflow definition link
068             */
069            @Override
070            public long getMvccVersion();
071    
072            /**
073             * Sets the mvcc version of this workflow definition link.
074             *
075             * @param mvccVersion the mvcc version of this workflow definition link
076             */
077            @Override
078            public void setMvccVersion(long mvccVersion);
079    
080            /**
081             * Returns the workflow definition link ID of this workflow definition link.
082             *
083             * @return the workflow definition link ID of this workflow definition link
084             */
085            public long getWorkflowDefinitionLinkId();
086    
087            /**
088             * Sets the workflow definition link ID of this workflow definition link.
089             *
090             * @param workflowDefinitionLinkId the workflow definition link ID of this workflow definition link
091             */
092            public void setWorkflowDefinitionLinkId(long workflowDefinitionLinkId);
093    
094            /**
095             * Returns the group ID of this workflow definition link.
096             *
097             * @return the group ID of this workflow definition link
098             */
099            @Override
100            public long getGroupId();
101    
102            /**
103             * Sets the group ID of this workflow definition link.
104             *
105             * @param groupId the group ID of this workflow definition link
106             */
107            @Override
108            public void setGroupId(long groupId);
109    
110            /**
111             * Returns the company ID of this workflow definition link.
112             *
113             * @return the company ID of this workflow definition link
114             */
115            @Override
116            public long getCompanyId();
117    
118            /**
119             * Sets the company ID of this workflow definition link.
120             *
121             * @param companyId the company ID of this workflow definition link
122             */
123            @Override
124            public void setCompanyId(long companyId);
125    
126            /**
127             * Returns the user ID of this workflow definition link.
128             *
129             * @return the user ID of this workflow definition link
130             */
131            @Override
132            public long getUserId();
133    
134            /**
135             * Sets the user ID of this workflow definition link.
136             *
137             * @param userId the user ID of this workflow definition link
138             */
139            @Override
140            public void setUserId(long userId);
141    
142            /**
143             * Returns the user uuid of this workflow definition link.
144             *
145             * @return the user uuid of this workflow definition link
146             */
147            @Override
148            public String getUserUuid();
149    
150            /**
151             * Sets the user uuid of this workflow definition link.
152             *
153             * @param userUuid the user uuid of this workflow definition link
154             */
155            @Override
156            public void setUserUuid(String userUuid);
157    
158            /**
159             * Returns the user name of this workflow definition link.
160             *
161             * @return the user name of this workflow definition link
162             */
163            @AutoEscape
164            @Override
165            public String getUserName();
166    
167            /**
168             * Sets the user name of this workflow definition link.
169             *
170             * @param userName the user name of this workflow definition link
171             */
172            @Override
173            public void setUserName(String userName);
174    
175            /**
176             * Returns the create date of this workflow definition link.
177             *
178             * @return the create date of this workflow definition link
179             */
180            @Override
181            public Date getCreateDate();
182    
183            /**
184             * Sets the create date of this workflow definition link.
185             *
186             * @param createDate the create date of this workflow definition link
187             */
188            @Override
189            public void setCreateDate(Date createDate);
190    
191            /**
192             * Returns the modified date of this workflow definition link.
193             *
194             * @return the modified date of this workflow definition link
195             */
196            @Override
197            public Date getModifiedDate();
198    
199            /**
200             * Sets the modified date of this workflow definition link.
201             *
202             * @param modifiedDate the modified date of this workflow definition link
203             */
204            @Override
205            public void setModifiedDate(Date modifiedDate);
206    
207            /**
208             * Returns the fully qualified class name of this workflow definition link.
209             *
210             * @return the fully qualified class name of this workflow definition link
211             */
212            @Override
213            public String getClassName();
214    
215            public void setClassName(String className);
216    
217            /**
218             * Returns the class name ID of this workflow definition link.
219             *
220             * @return the class name ID of this workflow definition link
221             */
222            @Override
223            public long getClassNameId();
224    
225            /**
226             * Sets the class name ID of this workflow definition link.
227             *
228             * @param classNameId the class name ID of this workflow definition link
229             */
230            @Override
231            public void setClassNameId(long classNameId);
232    
233            /**
234             * Returns the class p k of this workflow definition link.
235             *
236             * @return the class p k of this workflow definition link
237             */
238            @Override
239            public long getClassPK();
240    
241            /**
242             * Sets the class p k of this workflow definition link.
243             *
244             * @param classPK the class p k of this workflow definition link
245             */
246            @Override
247            public void setClassPK(long classPK);
248    
249            /**
250             * Returns the type p k of this workflow definition link.
251             *
252             * @return the type p k of this workflow definition link
253             */
254            public long getTypePK();
255    
256            /**
257             * Sets the type p k of this workflow definition link.
258             *
259             * @param typePK the type p k of this workflow definition link
260             */
261            public void setTypePK(long typePK);
262    
263            /**
264             * Returns the workflow definition name of this workflow definition link.
265             *
266             * @return the workflow definition name of this workflow definition link
267             */
268            @AutoEscape
269            public String getWorkflowDefinitionName();
270    
271            /**
272             * Sets the workflow definition name of this workflow definition link.
273             *
274             * @param workflowDefinitionName the workflow definition name of this workflow definition link
275             */
276            public void setWorkflowDefinitionName(String workflowDefinitionName);
277    
278            /**
279             * Returns the workflow definition version of this workflow definition link.
280             *
281             * @return the workflow definition version of this workflow definition link
282             */
283            public int getWorkflowDefinitionVersion();
284    
285            /**
286             * Sets the workflow definition version of this workflow definition link.
287             *
288             * @param workflowDefinitionVersion the workflow definition version of this workflow definition link
289             */
290            public void setWorkflowDefinitionVersion(int workflowDefinitionVersion);
291    
292            @Override
293            public boolean isNew();
294    
295            @Override
296            public void setNew(boolean n);
297    
298            @Override
299            public boolean isCachedModel();
300    
301            @Override
302            public void setCachedModel(boolean cachedModel);
303    
304            @Override
305            public boolean isEscapedModel();
306    
307            @Override
308            public Serializable getPrimaryKeyObj();
309    
310            @Override
311            public void setPrimaryKeyObj(Serializable primaryKeyObj);
312    
313            @Override
314            public ExpandoBridge getExpandoBridge();
315    
316            @Override
317            public void setExpandoBridgeAttributes(BaseModel<?> baseModel);
318    
319            @Override
320            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge);
321    
322            @Override
323            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
324    
325            @Override
326            public Object clone();
327    
328            @Override
329            public int compareTo(
330                    com.liferay.portal.model.WorkflowDefinitionLink workflowDefinitionLink);
331    
332            @Override
333            public int hashCode();
334    
335            @Override
336            public CacheModel<com.liferay.portal.model.WorkflowDefinitionLink> toCacheModel();
337    
338            @Override
339            public com.liferay.portal.model.WorkflowDefinitionLink toEscapedModel();
340    
341            @Override
342            public com.liferay.portal.model.WorkflowDefinitionLink toUnescapedModel();
343    
344            @Override
345            public String toString();
346    
347            @Override
348            public String toXmlString();
349    }