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="TagsSourceLocalServiceUtil.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 class provides static methods for the
033: * <code>com.liferay.portlet.tags.service.TagsSourceLocalService</code>
034: * bean. The static methods of this class calls the same methods of the bean
035: * instance. It's convenient to be able to just write one line to call a method
036: * on a bean instead of writing a lookup call and a method call.
037: * </p>
038: *
039: * <p>
040: * <code>com.liferay.portlet.tags.service.TagsSourceLocalServiceFactory</code>
041: * is responsible for the lookup of the bean.
042: * </p>
043: *
044: * @author Brian Wing Shun Chan
045: *
046: * @see com.liferay.portlet.tags.service.TagsSourceLocalService
047: * @see com.liferay.portlet.tags.service.TagsSourceLocalServiceFactory
048: *
049: */
050: public class TagsSourceLocalServiceUtil {
051: public static com.liferay.portlet.tags.model.TagsSource addTagsSource(
052: com.liferay.portlet.tags.model.TagsSource model)
053: throws com.liferay.portal.SystemException {
054: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
055: .getService();
056:
057: return tagsSourceLocalService.addTagsSource(model);
058: }
059:
060: public static java.util.List dynamicQuery(
061: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
062: throws com.liferay.portal.SystemException {
063: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
064: .getService();
065:
066: return tagsSourceLocalService.dynamicQuery(queryInitializer);
067: }
068:
069: public static java.util.List dynamicQuery(
070: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
071: int begin, int end)
072: throws com.liferay.portal.SystemException {
073: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
074: .getService();
075:
076: return tagsSourceLocalService.dynamicQuery(queryInitializer,
077: begin, end);
078: }
079:
080: public static com.liferay.portlet.tags.model.TagsSource updateTagsSource(
081: com.liferay.portlet.tags.model.TagsSource model)
082: throws com.liferay.portal.SystemException {
083: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
084: .getService();
085:
086: return tagsSourceLocalService.updateTagsSource(model);
087: }
088:
089: public static com.liferay.portlet.tags.service.persistence.TagsAssetPersistence getTagsAssetPersistence() {
090: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
091: .getService();
092:
093: return tagsSourceLocalService.getTagsAssetPersistence();
094: }
095:
096: public static void setTagsAssetPersistence(
097: com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence) {
098: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
099: .getService();
100:
101: tagsSourceLocalService
102: .setTagsAssetPersistence(tagsAssetPersistence);
103: }
104:
105: public static com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder() {
106: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
107: .getService();
108:
109: return tagsSourceLocalService.getTagsAssetFinder();
110: }
111:
112: public static void setTagsAssetFinder(
113: com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder) {
114: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
115: .getService();
116:
117: tagsSourceLocalService.setTagsAssetFinder(tagsAssetFinder);
118: }
119:
120: public static com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence() {
121: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
122: .getService();
123:
124: return tagsSourceLocalService.getTagsEntryPersistence();
125: }
126:
127: public static void setTagsEntryPersistence(
128: com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence) {
129: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
130: .getService();
131:
132: tagsSourceLocalService
133: .setTagsEntryPersistence(tagsEntryPersistence);
134: }
135:
136: public static com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder() {
137: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
138: .getService();
139:
140: return tagsSourceLocalService.getTagsEntryFinder();
141: }
142:
143: public static void setTagsEntryFinder(
144: com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder) {
145: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
146: .getService();
147:
148: tagsSourceLocalService.setTagsEntryFinder(tagsEntryFinder);
149: }
150:
151: public static com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence getTagsPropertyPersistence() {
152: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
153: .getService();
154:
155: return tagsSourceLocalService.getTagsPropertyPersistence();
156: }
157:
158: public static void setTagsPropertyPersistence(
159: com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence tagsPropertyPersistence) {
160: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
161: .getService();
162:
163: tagsSourceLocalService
164: .setTagsPropertyPersistence(tagsPropertyPersistence);
165: }
166:
167: public static com.liferay.portlet.tags.service.persistence.TagsPropertyFinder getTagsPropertyFinder() {
168: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
169: .getService();
170:
171: return tagsSourceLocalService.getTagsPropertyFinder();
172: }
173:
174: public static void setTagsPropertyFinder(
175: com.liferay.portlet.tags.service.persistence.TagsPropertyFinder tagsPropertyFinder) {
176: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
177: .getService();
178:
179: tagsSourceLocalService
180: .setTagsPropertyFinder(tagsPropertyFinder);
181: }
182:
183: public static com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
184: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
185: .getService();
186:
187: return tagsSourceLocalService.getTagsPropertyKeyFinder();
188: }
189:
190: public static void setTagsPropertyKeyFinder(
191: com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder tagsPropertyKeyFinder) {
192: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
193: .getService();
194:
195: tagsSourceLocalService
196: .setTagsPropertyKeyFinder(tagsPropertyKeyFinder);
197: }
198:
199: public static com.liferay.portlet.tags.service.persistence.TagsSourcePersistence getTagsSourcePersistence() {
200: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
201: .getService();
202:
203: return tagsSourceLocalService.getTagsSourcePersistence();
204: }
205:
206: public static void setTagsSourcePersistence(
207: com.liferay.portlet.tags.service.persistence.TagsSourcePersistence tagsSourcePersistence) {
208: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
209: .getService();
210:
211: tagsSourceLocalService
212: .setTagsSourcePersistence(tagsSourcePersistence);
213: }
214:
215: public static void afterPropertiesSet() {
216: TagsSourceLocalService tagsSourceLocalService = TagsSourceLocalServiceFactory
217: .getService();
218:
219: tagsSourceLocalService.afterPropertiesSet();
220: }
221: }
|