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.SystemException,
47 com.liferay.portlet.wiki.NoSuchPageResourceException;
48
49
52 public com.liferay.portlet.wiki.model.WikiPageResource update(
53 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.wiki.model.WikiPageResource updateImpl(
57 com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.wiki.model.WikiPageResource findByPrimaryKey(
61 long resourcePrimKey)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.wiki.NoSuchPageResourceException;
64
65 public com.liferay.portlet.wiki.model.WikiPageResource fetchByPrimaryKey(
66 long resourcePrimKey) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.wiki.model.WikiPageResource findByN_T(
69 long nodeId, java.lang.String title)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.wiki.NoSuchPageResourceException;
72
73 public com.liferay.portlet.wiki.model.WikiPageResource fetchByN_T(
74 long nodeId, java.lang.String title)
75 throws com.liferay.portal.SystemException;
76
77 public com.liferay.portlet.wiki.model.WikiPageResource fetchByN_T(
78 long nodeId, java.lang.String title, boolean retrieveFromCache)
79 throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll()
82 throws com.liferay.portal.SystemException;
83
84 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll(
85 int start, int end) throws com.liferay.portal.SystemException;
86
87 public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll(
88 int start, int end,
89 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
90 throws com.liferay.portal.SystemException;
91
92 public void removeByN_T(long nodeId, java.lang.String title)
93 throws com.liferay.portal.SystemException,
94 com.liferay.portlet.wiki.NoSuchPageResourceException;
95
96 public void removeAll() throws com.liferay.portal.SystemException;
97
98 public int countByN_T(long nodeId, java.lang.String title)
99 throws com.liferay.portal.SystemException;
100
101 public int countAll() throws com.liferay.portal.SystemException;
102 }