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