1
22
23 package com.liferay.portlet.tags.service;
24
25
26
50 public interface TagsEntryLocalService {
51 public com.liferay.portlet.tags.model.TagsEntry addTagsEntry(
52 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portlet.tags.model.TagsEntry createTagsEntry(
56 long entryId);
57
58 public void deleteTagsEntry(long entryId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.PortalException;
61
62 public void deleteTagsEntry(
63 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
64 throws com.liferay.portal.SystemException;
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72 int end) throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.tags.model.TagsEntry getTagsEntry(long entryId)
75 throws com.liferay.portal.SystemException,
76 com.liferay.portal.PortalException;
77
78 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getTagsEntries(
79 int start, int end) throws com.liferay.portal.SystemException;
80
81 public int getTagsEntriesCount() throws com.liferay.portal.SystemException;
82
83 public com.liferay.portlet.tags.model.TagsEntry updateTagsEntry(
84 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
85 throws com.liferay.portal.SystemException;
86
87 public com.liferay.portlet.tags.model.TagsEntry addEntry(long userId,
88 java.lang.String name)
89 throws com.liferay.portal.PortalException,
90 com.liferay.portal.SystemException;
91
92 public com.liferay.portlet.tags.model.TagsEntry addEntry(long userId,
93 java.lang.String name, java.lang.String[] properties)
94 throws com.liferay.portal.PortalException,
95 com.liferay.portal.SystemException;
96
97 public void checkEntries(long userId, java.lang.String[] names)
98 throws com.liferay.portal.PortalException,
99 com.liferay.portal.SystemException;
100
101 public void deleteEntry(long entryId)
102 throws com.liferay.portal.PortalException,
103 com.liferay.portal.SystemException;
104
105 public void deleteEntry(com.liferay.portlet.tags.model.TagsEntry entry)
106 throws com.liferay.portal.PortalException,
107 com.liferay.portal.SystemException;
108
109 public boolean hasEntry(long companyId, java.lang.String name)
110 throws com.liferay.portal.SystemException;
111
112 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getAssetEntries(
113 long assetId) throws com.liferay.portal.SystemException;
114
115 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries()
116 throws com.liferay.portal.SystemException;
117
118 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
119 java.lang.String className, long classPK)
120 throws com.liferay.portal.SystemException;
121
122 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
123 long classNameId, long classPK)
124 throws com.liferay.portal.SystemException;
125
126 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
127 long groupId, long companyId, long classNameId, java.lang.String name)
128 throws com.liferay.portal.SystemException;
129
130 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
131 long groupId, long companyId, long classNameId, java.lang.String name,
132 int start, int end) throws com.liferay.portal.SystemException;
133
134 public int getEntriesSize(long groupId, long companyId, long classNameId,
135 java.lang.String name) throws com.liferay.portal.SystemException;
136
137 public com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
138 throws com.liferay.portal.PortalException,
139 com.liferay.portal.SystemException;
140
141 public com.liferay.portlet.tags.model.TagsEntry getEntry(long companyId,
142 java.lang.String name)
143 throws com.liferay.portal.PortalException,
144 com.liferay.portal.SystemException;
145
146 public long[] getEntryIds(long companyId, java.lang.String[] names)
147 throws com.liferay.portal.SystemException;
148
149 public java.lang.String[] getEntryNames()
150 throws com.liferay.portal.SystemException;
151
152 public java.lang.String[] getEntryNames(java.lang.String className,
153 long classPK) throws com.liferay.portal.SystemException;
154
155 public java.lang.String[] getEntryNames(long classNameId, long classPK)
156 throws com.liferay.portal.SystemException;
157
158 public void mergeEntries(long fromEntryId, long toEntryId)
159 throws com.liferay.portal.PortalException,
160 com.liferay.portal.SystemException;
161
162 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
163 long companyId, java.lang.String name, java.lang.String[] properties)
164 throws com.liferay.portal.SystemException;
165
166 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
167 long companyId, java.lang.String name, java.lang.String[] properties,
168 int start, int end) throws com.liferay.portal.SystemException;
169
170 public com.liferay.portal.kernel.json.JSONArray searchAutocomplete(
171 long companyId, java.lang.String name, java.lang.String[] properties,
172 int start, int end) throws com.liferay.portal.SystemException;
173
174 public int searchCount(long companyId, java.lang.String name,
175 java.lang.String[] properties)
176 throws com.liferay.portal.SystemException;
177
178 public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
179 java.lang.String name)
180 throws com.liferay.portal.PortalException,
181 com.liferay.portal.SystemException;
182
183 public com.liferay.portlet.tags.model.TagsEntry updateEntry(long userId,
184 long entryId, java.lang.String name, java.lang.String[] properties)
185 throws com.liferay.portal.PortalException,
186 com.liferay.portal.SystemException;
187 }