1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25
31 public class TagsSourceUtil {
32 public static com.liferay.portlet.tags.model.TagsSource create(
33 long sourceId) {
34 return getPersistence().create(sourceId);
35 }
36
37 public static com.liferay.portlet.tags.model.TagsSource remove(
38 long sourceId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.tags.NoSuchSourceException {
41 return getPersistence().remove(sourceId);
42 }
43
44 public static com.liferay.portlet.tags.model.TagsSource remove(
45 com.liferay.portlet.tags.model.TagsSource tagsSource)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(tagsSource);
48 }
49
50
53 public static com.liferay.portlet.tags.model.TagsSource update(
54 com.liferay.portlet.tags.model.TagsSource tagsSource)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(tagsSource);
57 }
58
59
72 public static com.liferay.portlet.tags.model.TagsSource update(
73 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
74 throws com.liferay.portal.SystemException {
75 return getPersistence().update(tagsSource, merge);
76 }
77
78 public static com.liferay.portlet.tags.model.TagsSource updateImpl(
79 com.liferay.portlet.tags.model.TagsSource tagsSource, boolean merge)
80 throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(tagsSource, merge);
82 }
83
84 public static com.liferay.portlet.tags.model.TagsSource findByPrimaryKey(
85 long sourceId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.tags.NoSuchSourceException {
88 return getPersistence().findByPrimaryKey(sourceId);
89 }
90
91 public static com.liferay.portlet.tags.model.TagsSource fetchByPrimaryKey(
92 long sourceId) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(sourceId);
94 }
95
96 public static java.util.List<Object> findWithDynamicQuery(
97 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
98 throws com.liferay.portal.SystemException {
99 return getPersistence().findWithDynamicQuery(dynamicQuery);
100 }
101
102 public static java.util.List<Object> findWithDynamicQuery(
103 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
104 int end) throws com.liferay.portal.SystemException {
105 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
106 }
107
108 public static java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll()
109 throws com.liferay.portal.SystemException {
110 return getPersistence().findAll();
111 }
112
113 public static java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll(
114 int start, int end) throws com.liferay.portal.SystemException {
115 return getPersistence().findAll(start, end);
116 }
117
118 public static java.util.List<com.liferay.portlet.tags.model.TagsSource> findAll(
119 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.SystemException {
121 return getPersistence().findAll(start, end, obc);
122 }
123
124 public static void removeAll() throws com.liferay.portal.SystemException {
125 getPersistence().removeAll();
126 }
127
128 public static int countAll() throws com.liferay.portal.SystemException {
129 return getPersistence().countAll();
130 }
131
132 public static TagsSourcePersistence getPersistence() {
133 return _persistence;
134 }
135
136 public void setPersistence(TagsSourcePersistence persistence) {
137 _persistence = persistence;
138 }
139
140 private static TagsSourcePersistence _persistence;
141 }