001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.tags.service;
022:
023: /**
024: * <a href="TagsEntryLocalService.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface defines the service. The default implementation is
033: * <code>com.liferay.portlet.tags.service.impl.TagsEntryLocalServiceImpl</code>.
034: * Modify methods in that class and rerun ServiceBuilder to populate this class
035: * and all other generated classes.
036: * </p>
037: *
038: * <p>
039: * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.tags.service.TagsEntryLocalServiceFactory
045: * @see com.liferay.portlet.tags.service.TagsEntryLocalServiceUtil
046: *
047: */
048: public interface TagsEntryLocalService {
049: public com.liferay.portlet.tags.model.TagsEntry addTagsEntry(
050: com.liferay.portlet.tags.model.TagsEntry model)
051: throws com.liferay.portal.SystemException;
052:
053: public java.util.List dynamicQuery(
054: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
055: throws com.liferay.portal.SystemException;
056:
057: public java.util.List dynamicQuery(
058: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
059: int begin, int end)
060: throws com.liferay.portal.SystemException;
061:
062: public com.liferay.portlet.tags.model.TagsEntry updateTagsEntry(
063: com.liferay.portlet.tags.model.TagsEntry model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.tags.service.persistence.TagsAssetPersistence getTagsAssetPersistence();
067:
068: public void setTagsAssetPersistence(
069: com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence);
070:
071: public com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder();
072:
073: public void setTagsAssetFinder(
074: com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder);
075:
076: public com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence();
077:
078: public void setTagsEntryPersistence(
079: com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence);
080:
081: public com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder();
082:
083: public void setTagsEntryFinder(
084: com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder);
085:
086: public com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence getTagsPropertyPersistence();
087:
088: public void setTagsPropertyPersistence(
089: com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence tagsPropertyPersistence);
090:
091: public com.liferay.portlet.tags.service.persistence.TagsPropertyFinder getTagsPropertyFinder();
092:
093: public void setTagsPropertyFinder(
094: com.liferay.portlet.tags.service.persistence.TagsPropertyFinder tagsPropertyFinder);
095:
096: public com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder getTagsPropertyKeyFinder();
097:
098: public void setTagsPropertyKeyFinder(
099: com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder tagsPropertyKeyFinder);
100:
101: public com.liferay.portlet.tags.service.persistence.TagsSourcePersistence getTagsSourcePersistence();
102:
103: public void setTagsSourcePersistence(
104: com.liferay.portlet.tags.service.persistence.TagsSourcePersistence tagsSourcePersistence);
105:
106: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
107:
108: public void setUserPersistence(
109: com.liferay.portal.service.persistence.UserPersistence userPersistence);
110:
111: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
112:
113: public void setUserFinder(
114: com.liferay.portal.service.persistence.UserFinder userFinder);
115:
116: public void afterPropertiesSet();
117:
118: public com.liferay.portlet.tags.model.TagsEntry addEntry(
119: long userId, java.lang.String name)
120: throws com.liferay.portal.SystemException,
121: com.liferay.portal.PortalException;
122:
123: public com.liferay.portlet.tags.model.TagsEntry addEntry(
124: long userId, java.lang.String name,
125: java.lang.String[] properties)
126: throws com.liferay.portal.SystemException,
127: com.liferay.portal.PortalException;
128:
129: public void checkEntries(long userId, java.lang.String[] names)
130: throws com.liferay.portal.SystemException,
131: com.liferay.portal.PortalException;
132:
133: public void deleteEntry(long entryId)
134: throws com.liferay.portal.SystemException,
135: com.liferay.portal.PortalException;
136:
137: public void deleteEntry(
138: com.liferay.portlet.tags.model.TagsEntry entry)
139: throws com.liferay.portal.SystemException,
140: com.liferay.portal.PortalException;
141:
142: public boolean hasEntry(long companyId, java.lang.String name)
143: throws com.liferay.portal.SystemException,
144: com.liferay.portal.PortalException;
145:
146: public java.util.List getAssetEntries(long assetId)
147: throws com.liferay.portal.SystemException,
148: com.liferay.portal.PortalException;
149:
150: public java.util.List getEntries()
151: throws com.liferay.portal.SystemException;
152:
153: public java.util.List getEntries(java.lang.String className,
154: long classPK) throws com.liferay.portal.SystemException,
155: com.liferay.portal.PortalException;
156:
157: public java.util.List getEntries(long classNameId, long classPK)
158: throws com.liferay.portal.SystemException,
159: com.liferay.portal.PortalException;
160:
161: public com.liferay.portlet.tags.model.TagsEntry getEntry(
162: long entryId) throws com.liferay.portal.SystemException,
163: com.liferay.portal.PortalException;
164:
165: public com.liferay.portlet.tags.model.TagsEntry getEntry(
166: long companyId, java.lang.String name)
167: throws com.liferay.portal.SystemException,
168: com.liferay.portal.PortalException;
169:
170: public long[] getEntryIds(long companyId, java.lang.String[] names)
171: throws com.liferay.portal.SystemException,
172: com.liferay.portal.PortalException;
173:
174: public java.lang.String[] getEntryNames()
175: throws com.liferay.portal.SystemException;
176:
177: public java.lang.String[] getEntryNames(java.lang.String className,
178: long classPK) throws com.liferay.portal.SystemException,
179: com.liferay.portal.PortalException;
180:
181: public java.lang.String[] getEntryNames(long classNameId,
182: long classPK) throws com.liferay.portal.SystemException,
183: com.liferay.portal.PortalException;
184:
185: public java.util.List search(long companyId, java.lang.String name,
186: java.lang.String[] properties)
187: throws com.liferay.portal.SystemException;
188:
189: public java.util.List search(long companyId, java.lang.String name,
190: java.lang.String[] properties, int begin, int end)
191: throws com.liferay.portal.SystemException;
192:
193: public com.liferay.portal.kernel.json.JSONArrayWrapper searchAutocomplete(
194: long companyId, java.lang.String name,
195: java.lang.String[] properties, int begin, int end)
196: throws com.liferay.portal.SystemException;
197:
198: public int searchCount(long companyId, java.lang.String name,
199: java.lang.String[] properties)
200: throws com.liferay.portal.SystemException;
201:
202: public com.liferay.portlet.tags.model.TagsEntry updateEntry(
203: long entryId, java.lang.String name)
204: throws com.liferay.portal.SystemException,
205: com.liferay.portal.PortalException;
206:
207: public com.liferay.portlet.tags.model.TagsEntry updateEntry(
208: long userId, long entryId, java.lang.String name,
209: java.lang.String[] properties)
210: throws com.liferay.portal.SystemException,
211: com.liferay.portal.PortalException;
212: }
|