001 /** 002 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 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 BaseModel<WorkflowDefinitionLink>, 041 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 * Gets 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 * Gets 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 * Gets the group ID of this workflow definition link. 078 * 079 * @return the group ID of this workflow definition link 080 */ 081 public long getGroupId(); 082 083 /** 084 * Sets the group ID of this workflow definition link. 085 * 086 * @param groupId the group ID of this workflow definition link 087 */ 088 public void setGroupId(long groupId); 089 090 /** 091 * Gets the company ID of this workflow definition link. 092 * 093 * @return the company ID of this workflow definition link 094 */ 095 public long getCompanyId(); 096 097 /** 098 * Sets the company ID of this workflow definition link. 099 * 100 * @param companyId the company ID of this workflow definition link 101 */ 102 public void setCompanyId(long companyId); 103 104 /** 105 * Gets the user ID of this workflow definition link. 106 * 107 * @return the user ID of this workflow definition link 108 */ 109 public long getUserId(); 110 111 /** 112 * Sets the user ID of this workflow definition link. 113 * 114 * @param userId the user ID of this workflow definition link 115 */ 116 public void setUserId(long userId); 117 118 /** 119 * Gets the user uuid of this workflow definition link. 120 * 121 * @return the user uuid of this workflow definition 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 definition link. 128 * 129 * @param userUuid the user uuid of this workflow definition link 130 */ 131 public void setUserUuid(String userUuid); 132 133 /** 134 * Gets the user name of this workflow definition link. 135 * 136 * @return the user name of this workflow definition link 137 */ 138 @AutoEscape 139 public String getUserName(); 140 141 /** 142 * Sets the user name of this workflow definition link. 143 * 144 * @param userName the user name of this workflow definition link 145 */ 146 public void setUserName(String userName); 147 148 /** 149 * Gets the create date of this workflow definition link. 150 * 151 * @return the create date of this workflow definition link 152 */ 153 public Date getCreateDate(); 154 155 /** 156 * Sets the create date of this workflow definition link. 157 * 158 * @param createDate the create date of this workflow definition link 159 */ 160 public void setCreateDate(Date createDate); 161 162 /** 163 * Gets the modified date of this workflow definition link. 164 * 165 * @return the modified date of this workflow definition link 166 */ 167 public Date getModifiedDate(); 168 169 /** 170 * Sets the modified date of this workflow definition link. 171 * 172 * @param modifiedDate the modified date of this workflow definition link 173 */ 174 public void setModifiedDate(Date modifiedDate); 175 176 /** 177 * Gets the class name of the model instance this workflow definition link is polymorphically associated with. 178 * 179 * @return the class name of the model instance this workflow definition link is polymorphically associated with 180 */ 181 public String getClassName(); 182 183 /** 184 * Gets the class name ID of this workflow definition link. 185 * 186 * @return the class name ID of this workflow definition link 187 */ 188 public long getClassNameId(); 189 190 /** 191 * Sets the class name ID of this workflow definition link. 192 * 193 * @param classNameId the class name ID of this workflow definition link 194 */ 195 public void setClassNameId(long classNameId); 196 197 /** 198 * Gets the workflow definition name of this workflow definition link. 199 * 200 * @return the workflow definition name of this workflow definition link 201 */ 202 @AutoEscape 203 public String getWorkflowDefinitionName(); 204 205 /** 206 * Sets the workflow definition name of this workflow definition link. 207 * 208 * @param workflowDefinitionName the workflow definition name of this workflow definition link 209 */ 210 public void setWorkflowDefinitionName(String workflowDefinitionName); 211 212 /** 213 * Gets the workflow definition version of this workflow definition link. 214 * 215 * @return the workflow definition version of this workflow definition link 216 */ 217 public int getWorkflowDefinitionVersion(); 218 219 /** 220 * Sets the workflow definition version of this workflow definition link. 221 * 222 * @param workflowDefinitionVersion the workflow definition version of this workflow definition link 223 */ 224 public void setWorkflowDefinitionVersion(int workflowDefinitionVersion); 225 226 public boolean isNew(); 227 228 public void setNew(boolean n); 229 230 public boolean isCachedModel(); 231 232 public void setCachedModel(boolean cachedModel); 233 234 public boolean isEscapedModel(); 235 236 public void setEscapedModel(boolean escapedModel); 237 238 public Serializable getPrimaryKeyObj(); 239 240 public void setPrimaryKeyObj(Serializable primaryKeyObj); 241 242 public ExpandoBridge getExpandoBridge(); 243 244 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 245 246 public Object clone(); 247 248 public int compareTo(WorkflowDefinitionLink workflowDefinitionLink); 249 250 public int hashCode(); 251 252 public CacheModel<WorkflowDefinitionLink> toCacheModel(); 253 254 public WorkflowDefinitionLink toEscapedModel(); 255 256 public String toString(); 257 258 public String toXmlString(); 259 }