1
22
23 package com.liferay.portlet.bookmarks.service;
24
25
51 public interface BookmarksEntryLocalService {
52 public com.liferay.portlet.bookmarks.model.BookmarksEntry addBookmarksEntry(
53 com.liferay.portlet.bookmarks.model.BookmarksEntry model)
54 throws com.liferay.portal.SystemException;
55
56 public java.util.List dynamicQuery(
57 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
58 throws com.liferay.portal.SystemException;
59
60 public java.util.List dynamicQuery(
61 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
62 int begin, int end) throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateBookmarksEntry(
65 com.liferay.portlet.bookmarks.model.BookmarksEntry model)
66 throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
69 long userId, long folderId, java.lang.String name,
70 java.lang.String url, java.lang.String comments,
71 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
72 boolean addGuestPermissions)
73 throws com.liferay.portal.SystemException,
74 com.liferay.portal.PortalException;
75
76 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
77 long userId, long folderId, java.lang.String name,
78 java.lang.String url, java.lang.String comments,
79 java.lang.String[] tagsEntries,
80 java.lang.String[] communityPermissions,
81 java.lang.String[] guestPermissions)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portal.PortalException;
84
85 public com.liferay.portlet.bookmarks.model.BookmarksEntry addEntry(
86 long userId, long folderId, java.lang.String name,
87 java.lang.String url, java.lang.String comments,
88 java.lang.String[] tagsEntries,
89 java.lang.Boolean addCommunityPermissions,
90 java.lang.Boolean addGuestPermissions,
91 java.lang.String[] communityPermissions,
92 java.lang.String[] guestPermissions)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portal.PortalException;
95
96 public void addEntryResources(long folderId, long entryId,
97 boolean addCommunityPermissions, boolean addGuestPermissions)
98 throws com.liferay.portal.SystemException,
99 com.liferay.portal.PortalException;
100
101 public void addEntryResources(
102 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
103 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
104 boolean addCommunityPermissions, boolean addGuestPermissions)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portal.PortalException;
107
108 public void addEntryResources(long folderId, long entryId,
109 java.lang.String[] communityPermissions,
110 java.lang.String[] guestPermissions)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portal.PortalException;
113
114 public void addEntryResources(
115 com.liferay.portlet.bookmarks.model.BookmarksFolder folder,
116 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
117 java.lang.String[] communityPermissions,
118 java.lang.String[] guestPermissions)
119 throws com.liferay.portal.SystemException,
120 com.liferay.portal.PortalException;
121
122 public void deleteEntries(long folderId)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portal.PortalException;
125
126 public void deleteEntry(long entryId)
127 throws com.liferay.portal.SystemException,
128 com.liferay.portal.PortalException;
129
130 public void deleteEntry(
131 com.liferay.portlet.bookmarks.model.BookmarksEntry entry)
132 throws com.liferay.portal.SystemException,
133 com.liferay.portal.PortalException;
134
135 public java.util.List getEntries(long folderId, int begin, int end)
136 throws com.liferay.portal.SystemException;
137
138 public java.util.List getEntries(long folderId, int begin, int end,
139 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
140 throws com.liferay.portal.SystemException;
141
142 public int getEntriesCount(long folderId)
143 throws com.liferay.portal.SystemException;
144
145 public com.liferay.portlet.bookmarks.model.BookmarksEntry getEntry(
146 long entryId)
147 throws com.liferay.portal.SystemException,
148 com.liferay.portal.PortalException;
149
150 public int getFoldersEntriesCount(java.util.List folderIds)
151 throws com.liferay.portal.SystemException;
152
153 public java.util.List getGroupEntries(long groupId, int begin, int end)
154 throws com.liferay.portal.SystemException;
155
156 public java.util.List getGroupEntries(long groupId, long userId, int begin,
157 int end) throws com.liferay.portal.SystemException;
158
159 public int getGroupEntriesCount(long groupId)
160 throws com.liferay.portal.SystemException;
161
162 public int getGroupEntriesCount(long groupId, long userId)
163 throws com.liferay.portal.SystemException;
164
165 public java.util.List getNoAssetEntries()
166 throws com.liferay.portal.SystemException;
167
168 public com.liferay.portlet.bookmarks.model.BookmarksEntry openEntry(
169 long entryId)
170 throws com.liferay.portal.SystemException,
171 com.liferay.portal.PortalException;
172
173 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateEntry(
174 long userId, long entryId, long folderId, java.lang.String name,
175 java.lang.String url, java.lang.String comments,
176 java.lang.String[] tagsEntries)
177 throws com.liferay.portal.SystemException,
178 com.liferay.portal.PortalException;
179
180 public void updateTagsAsset(long userId,
181 com.liferay.portlet.bookmarks.model.BookmarksEntry entry,
182 java.lang.String[] tagsEntries)
183 throws com.liferay.portal.SystemException,
184 com.liferay.portal.PortalException;
185 }