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