001
014
015 package com.liferay.portlet.asset.model;
016
017 import com.liferay.portal.kernel.annotation.AutoEscape;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.model.BaseModel;
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
040 public interface AssetLinkModel extends BaseModel<AssetLink> {
041 public long getPrimaryKey();
042
043 public void setPrimaryKey(long pk);
044
045 public long getLinkId();
046
047 public void setLinkId(long linkId);
048
049 public long getCompanyId();
050
051 public void setCompanyId(long companyId);
052
053 public long getUserId();
054
055 public void setUserId(long userId);
056
057 public String getUserUuid() throws SystemException;
058
059 public void setUserUuid(String userUuid);
060
061 @AutoEscape
062 public String getUserName();
063
064 public void setUserName(String userName);
065
066 public Date getCreateDate();
067
068 public void setCreateDate(Date createDate);
069
070 public long getEntryId1();
071
072 public void setEntryId1(long entryId1);
073
074 public long getEntryId2();
075
076 public void setEntryId2(long entryId2);
077
078 public int getType();
079
080 public void setType(int type);
081
082 public int getWeight();
083
084 public void setWeight(int weight);
085
086 public AssetLink toEscapedModel();
087
088 public boolean isNew();
089
090 public void setNew(boolean n);
091
092 public boolean isCachedModel();
093
094 public void setCachedModel(boolean cachedModel);
095
096 public boolean isEscapedModel();
097
098 public void setEscapedModel(boolean escapedModel);
099
100 public Serializable getPrimaryKeyObj();
101
102 public ExpandoBridge getExpandoBridge();
103
104 public void setExpandoBridgeAttributes(ServiceContext serviceContext);
105
106 public Object clone();
107
108 public int compareTo(AssetLink assetLink);
109
110 public int hashCode();
111
112 public String toString();
113
114 public String toXmlString();
115 }