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.portlet.bookmarks.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    /**
029     * <p>
030     * This interface is a model that represents the BookmarksEntry table in the
031     * database.
032     * </p>
033     *
034     * @author    Brian Wing Shun Chan
035     * @see       BookmarksEntry
036     * @see       com.liferay.portlet.bookmarks.model.impl.BookmarksEntryImpl
037     * @see       com.liferay.portlet.bookmarks.model.impl.BookmarksEntryModelImpl
038     * @generated
039     */
040    public interface BookmarksEntryModel extends BaseModel<BookmarksEntry> {
041            public long getPrimaryKey();
042    
043            public void setPrimaryKey(long pk);
044    
045            @AutoEscape
046            public String getUuid();
047    
048            public void setUuid(String uuid);
049    
050            public long getEntryId();
051    
052            public void setEntryId(long entryId);
053    
054            public long getGroupId();
055    
056            public void setGroupId(long groupId);
057    
058            public long getCompanyId();
059    
060            public void setCompanyId(long companyId);
061    
062            public long getUserId();
063    
064            public void setUserId(long userId);
065    
066            public String getUserUuid() throws SystemException;
067    
068            public void setUserUuid(String userUuid);
069    
070            public Date getCreateDate();
071    
072            public void setCreateDate(Date createDate);
073    
074            public Date getModifiedDate();
075    
076            public void setModifiedDate(Date modifiedDate);
077    
078            public long getFolderId();
079    
080            public void setFolderId(long folderId);
081    
082            @AutoEscape
083            public String getName();
084    
085            public void setName(String name);
086    
087            @AutoEscape
088            public String getUrl();
089    
090            public void setUrl(String url);
091    
092            @AutoEscape
093            public String getComments();
094    
095            public void setComments(String comments);
096    
097            public int getVisits();
098    
099            public void setVisits(int visits);
100    
101            public int getPriority();
102    
103            public void setPriority(int priority);
104    
105            public BookmarksEntry toEscapedModel();
106    
107            public boolean isNew();
108    
109            public void setNew(boolean n);
110    
111            public boolean isCachedModel();
112    
113            public void setCachedModel(boolean cachedModel);
114    
115            public boolean isEscapedModel();
116    
117            public void setEscapedModel(boolean escapedModel);
118    
119            public Serializable getPrimaryKeyObj();
120    
121            public ExpandoBridge getExpandoBridge();
122    
123            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
124    
125            public Object clone();
126    
127            public int compareTo(BookmarksEntry bookmarksEntry);
128    
129            public int hashCode();
130    
131            public String toString();
132    
133            public String toXmlString();
134    }