1
22
23 package com.liferay.portlet.wiki.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.wiki.model.WikiPageResource;
28
29
42 public interface WikiPageResourcePersistence extends BasePersistence<WikiPageResource> {
43 public void cacheResult(
44 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> wikiPageResources);
48
49 public com.liferay.portlet.wiki.model.WikiPageResource create(
50 long resourcePrimKey);
51
52 public com.liferay.portlet.wiki.model.WikiPageResource remove(
53 long resourcePrimKey)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.wiki.NoSuchPageResourceException;
56
57
60 public com.liferay.portlet.wiki.model.WikiPageResource update(
61 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
62 throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.wiki.model.WikiPageResource updateImpl(
65 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.wiki.model.WikiPageResource findByPrimaryKey(
69 long resourcePrimKey)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.wiki.NoSuchPageResourceException;
72
73 public com.liferay.portlet.wiki.model.WikiPageResource fetchByPrimaryKey(
74 long resourcePrimKey) throws com.liferay.portal.SystemException;
75
76 public com.liferay.portlet.wiki.model.WikiPageResource findByN_T(
77 long nodeId, java.lang.String title)
78 throws com.liferay.portal.SystemException,
79 com.liferay.portlet.wiki.NoSuchPageResourceException;
80
81 public com.liferay.portlet.wiki.model.WikiPageResource fetchByN_T(
82 long nodeId, java.lang.String title)
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.wiki.model.WikiPageResource fetchByN_T(
86 long nodeId, java.lang.String title, boolean retrieveFromCache)
87 throws com.liferay.portal.SystemException;
88
89 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll()
90 throws com.liferay.portal.SystemException;
91
92 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll(
93 int start, int end) throws com.liferay.portal.SystemException;
94
95 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll(
96 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException;
98
99 public void removeByN_T(long nodeId, java.lang.String title)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.wiki.NoSuchPageResourceException;
102
103 public void removeAll() throws com.liferay.portal.SystemException;
104
105 public int countByN_T(long nodeId, java.lang.String title)
106 throws com.liferay.portal.SystemException;
107
108 public int countAll() throws com.liferay.portal.SystemException;
109 }