1
19
20 package com.liferay.portlet.wiki.service.persistence;
21
22
28 public class WikiPageResourceUtil {
29 public static com.liferay.portlet.wiki.model.WikiPageResource create(
30 long resourcePrimKey) {
31 return getPersistence().create(resourcePrimKey);
32 }
33
34 public static com.liferay.portlet.wiki.model.WikiPageResource remove(
35 long resourcePrimKey)
36 throws com.liferay.portal.SystemException,
37 com.liferay.portlet.wiki.NoSuchPageResourceException {
38 return getPersistence().remove(resourcePrimKey);
39 }
40
41 public static com.liferay.portlet.wiki.model.WikiPageResource remove(
42 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
43 throws com.liferay.portal.SystemException {
44 return getPersistence().remove(wikiPageResource);
45 }
46
47
50 public static com.liferay.portlet.wiki.model.WikiPageResource update(
51 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
52 throws com.liferay.portal.SystemException {
53 return getPersistence().update(wikiPageResource);
54 }
55
56
69 public static com.liferay.portlet.wiki.model.WikiPageResource update(
70 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource,
71 boolean merge) throws com.liferay.portal.SystemException {
72 return getPersistence().update(wikiPageResource, merge);
73 }
74
75 public static com.liferay.portlet.wiki.model.WikiPageResource updateImpl(
76 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource,
77 boolean merge) throws com.liferay.portal.SystemException {
78 return getPersistence().updateImpl(wikiPageResource, merge);
79 }
80
81 public static com.liferay.portlet.wiki.model.WikiPageResource findByPrimaryKey(
82 long resourcePrimKey)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.wiki.NoSuchPageResourceException {
85 return getPersistence().findByPrimaryKey(resourcePrimKey);
86 }
87
88 public static com.liferay.portlet.wiki.model.WikiPageResource fetchByPrimaryKey(
89 long resourcePrimKey) throws com.liferay.portal.SystemException {
90 return getPersistence().fetchByPrimaryKey(resourcePrimKey);
91 }
92
93 public static com.liferay.portlet.wiki.model.WikiPageResource findByN_T(
94 long nodeId, java.lang.String title)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.wiki.NoSuchPageResourceException {
97 return getPersistence().findByN_T(nodeId, title);
98 }
99
100 public static com.liferay.portlet.wiki.model.WikiPageResource fetchByN_T(
101 long nodeId, java.lang.String title)
102 throws com.liferay.portal.SystemException {
103 return getPersistence().fetchByN_T(nodeId, title);
104 }
105
106 public static java.util.List<Object> findWithDynamicQuery(
107 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
108 throws com.liferay.portal.SystemException {
109 return getPersistence().findWithDynamicQuery(dynamicQuery);
110 }
111
112 public static java.util.List<Object> findWithDynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.SystemException {
115 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
116 }
117
118 public static java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll()
119 throws com.liferay.portal.SystemException {
120 return getPersistence().findAll();
121 }
122
123 public static java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll(
124 int start, int end) throws com.liferay.portal.SystemException {
125 return getPersistence().findAll(start, end);
126 }
127
128 public static java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll(
129 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.SystemException {
131 return getPersistence().findAll(start, end, obc);
132 }
133
134 public static void removeByN_T(long nodeId, java.lang.String title)
135 throws com.liferay.portal.SystemException,
136 com.liferay.portlet.wiki.NoSuchPageResourceException {
137 getPersistence().removeByN_T(nodeId, title);
138 }
139
140 public static void removeAll() throws com.liferay.portal.SystemException {
141 getPersistence().removeAll();
142 }
143
144 public static int countByN_T(long nodeId, java.lang.String title)
145 throws com.liferay.portal.SystemException {
146 return getPersistence().countByN_T(nodeId, title);
147 }
148
149 public static int countAll() throws com.liferay.portal.SystemException {
150 return getPersistence().countAll();
151 }
152
153 public static WikiPageResourcePersistence getPersistence() {
154 return _persistence;
155 }
156
157 public void setPersistence(WikiPageResourcePersistence persistence) {
158 _persistence = persistence;
159 }
160
161 private static WikiPageResourcePersistence _persistence;
162 }