1
14
15 package com.liferay.portlet.wiki.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.wiki.model.WikiPageResource;
20
21
34 public interface WikiPageResourcePersistence extends BasePersistence<WikiPageResource> {
35 public void cacheResult(
36 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> wikiPageResources);
40
41 public com.liferay.portlet.wiki.model.WikiPageResource create(
42 long resourcePrimKey);
43
44 public com.liferay.portlet.wiki.model.WikiPageResource remove(
45 long resourcePrimKey)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.wiki.NoSuchPageResourceException;
48
49 public com.liferay.portlet.wiki.model.WikiPageResource updateImpl(
50 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.wiki.model.WikiPageResource findByPrimaryKey(
55 long resourcePrimKey)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.wiki.NoSuchPageResourceException;
58
59 public com.liferay.portlet.wiki.model.WikiPageResource fetchByPrimaryKey(
60 long resourcePrimKey)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findByUuid(
64 java.lang.String uuid)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findByUuid(
68 java.lang.String uuid, int start, int end)
69 throws com.liferay.portal.kernel.exception.SystemException;
70
71 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findByUuid(
72 java.lang.String uuid, int start, int end,
73 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74 throws com.liferay.portal.kernel.exception.SystemException;
75
76 public com.liferay.portlet.wiki.model.WikiPageResource findByUuid_First(
77 java.lang.String uuid,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.kernel.exception.SystemException,
80 com.liferay.portlet.wiki.NoSuchPageResourceException;
81
82 public com.liferay.portlet.wiki.model.WikiPageResource findByUuid_Last(
83 java.lang.String uuid,
84 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85 throws com.liferay.portal.kernel.exception.SystemException,
86 com.liferay.portlet.wiki.NoSuchPageResourceException;
87
88 public com.liferay.portlet.wiki.model.WikiPageResource[] findByUuid_PrevAndNext(
89 long resourcePrimKey, java.lang.String uuid,
90 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91 throws com.liferay.portal.kernel.exception.SystemException,
92 com.liferay.portlet.wiki.NoSuchPageResourceException;
93
94 public com.liferay.portlet.wiki.model.WikiPageResource findByN_T(
95 long nodeId, java.lang.String title)
96 throws com.liferay.portal.kernel.exception.SystemException,
97 com.liferay.portlet.wiki.NoSuchPageResourceException;
98
99 public com.liferay.portlet.wiki.model.WikiPageResource fetchByN_T(
100 long nodeId, java.lang.String title)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public com.liferay.portlet.wiki.model.WikiPageResource fetchByN_T(
104 long nodeId, java.lang.String title, boolean retrieveFromCache)
105 throws com.liferay.portal.kernel.exception.SystemException;
106
107 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll()
108 throws com.liferay.portal.kernel.exception.SystemException;
109
110 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll(
111 int start, int end)
112 throws com.liferay.portal.kernel.exception.SystemException;
113
114 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll(
115 int start, int end,
116 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
117 throws com.liferay.portal.kernel.exception.SystemException;
118
119 public void removeByUuid(java.lang.String uuid)
120 throws com.liferay.portal.kernel.exception.SystemException;
121
122 public void removeByN_T(long nodeId, java.lang.String title)
123 throws com.liferay.portal.kernel.exception.SystemException,
124 com.liferay.portlet.wiki.NoSuchPageResourceException;
125
126 public void removeAll()
127 throws com.liferay.portal.kernel.exception.SystemException;
128
129 public int countByUuid(java.lang.String uuid)
130 throws com.liferay.portal.kernel.exception.SystemException;
131
132 public int countByN_T(long nodeId, java.lang.String title)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public int countAll()
136 throws com.liferay.portal.kernel.exception.SystemException;
137 }