001    /**
002     * Copyright (c) 2000-2010 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.annotation.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     * <p>
029     * This interface is a model that represents the WorkflowDefinitionLink table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       WorkflowDefinitionLink
035     * @see       com.liferay.portal.model.impl.WorkflowDefinitionLinkImpl
036     * @see       com.liferay.portal.model.impl.WorkflowDefinitionLinkModelImpl
037     * @generated
038     */
039    public interface WorkflowDefinitionLinkModel extends BaseModel<WorkflowDefinitionLink> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getWorkflowDefinitionLinkId();
045    
046            public void setWorkflowDefinitionLinkId(long workflowDefinitionLinkId);
047    
048            public long getGroupId();
049    
050            public void setGroupId(long groupId);
051    
052            public long getCompanyId();
053    
054            public void setCompanyId(long companyId);
055    
056            public long getUserId();
057    
058            public void setUserId(long userId);
059    
060            public String getUserUuid() throws SystemException;
061    
062            public void setUserUuid(String userUuid);
063    
064            @AutoEscape
065            public String getUserName();
066    
067            public void setUserName(String userName);
068    
069            public Date getCreateDate();
070    
071            public void setCreateDate(Date createDate);
072    
073            public Date getModifiedDate();
074    
075            public void setModifiedDate(Date modifiedDate);
076    
077            public String getClassName();
078    
079            public long getClassNameId();
080    
081            public void setClassNameId(long classNameId);
082    
083            @AutoEscape
084            public String getWorkflowDefinitionName();
085    
086            public void setWorkflowDefinitionName(String workflowDefinitionName);
087    
088            public int getWorkflowDefinitionVersion();
089    
090            public void setWorkflowDefinitionVersion(int workflowDefinitionVersion);
091    
092            public WorkflowDefinitionLink toEscapedModel();
093    
094            public boolean isNew();
095    
096            public void setNew(boolean n);
097    
098            public boolean isCachedModel();
099    
100            public void setCachedModel(boolean cachedModel);
101    
102            public boolean isEscapedModel();
103    
104            public void setEscapedModel(boolean escapedModel);
105    
106            public Serializable getPrimaryKeyObj();
107    
108            public ExpandoBridge getExpandoBridge();
109    
110            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
111    
112            public Object clone();
113    
114            public int compareTo(WorkflowDefinitionLink workflowDefinitionLink);
115    
116            public int hashCode();
117    
118            public String toString();
119    
120            public String toXmlString();
121    }