1
22
23 package com.liferay.portlet.wiki.service.persistence;
24
25
31 public interface WikiNodePersistence {
32 public com.liferay.portlet.wiki.model.WikiNode create(long nodeId);
33
34 public com.liferay.portlet.wiki.model.WikiNode remove(long nodeId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.wiki.NoSuchNodeException;
37
38 public com.liferay.portlet.wiki.model.WikiNode remove(
39 com.liferay.portlet.wiki.model.WikiNode wikiNode)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portlet.wiki.model.WikiNode update(
43 com.liferay.portlet.wiki.model.WikiNode wikiNode)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portlet.wiki.model.WikiNode update(
47 com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
48 throws com.liferay.portal.SystemException;
49
50 public com.liferay.portlet.wiki.model.WikiNode findByPrimaryKey(long nodeId)
51 throws com.liferay.portal.SystemException,
52 com.liferay.portlet.wiki.NoSuchNodeException;
53
54 public com.liferay.portlet.wiki.model.WikiNode fetchByPrimaryKey(
55 long nodeId) throws com.liferay.portal.SystemException;
56
57 public java.util.List findByGroupId(long groupId)
58 throws com.liferay.portal.SystemException;
59
60 public java.util.List findByGroupId(long groupId, int begin, int end)
61 throws com.liferay.portal.SystemException;
62
63 public java.util.List findByGroupId(long groupId, int begin, int end,
64 com.liferay.portal.kernel.util.OrderByComparator obc)
65 throws com.liferay.portal.SystemException;
66
67 public com.liferay.portlet.wiki.model.WikiNode findByGroupId_First(
68 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
69 throws com.liferay.portal.SystemException,
70 com.liferay.portlet.wiki.NoSuchNodeException;
71
72 public com.liferay.portlet.wiki.model.WikiNode findByGroupId_Last(
73 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portlet.wiki.NoSuchNodeException;
76
77 public com.liferay.portlet.wiki.model.WikiNode[] findByGroupId_PrevAndNext(
78 long nodeId, long groupId,
79 com.liferay.portal.kernel.util.OrderByComparator obc)
80 throws com.liferay.portal.SystemException,
81 com.liferay.portlet.wiki.NoSuchNodeException;
82
83 public java.util.List findByCompanyId(long companyId)
84 throws com.liferay.portal.SystemException;
85
86 public java.util.List findByCompanyId(long companyId, int begin, int end)
87 throws com.liferay.portal.SystemException;
88
89 public java.util.List findByCompanyId(long companyId, int begin, int end,
90 com.liferay.portal.kernel.util.OrderByComparator obc)
91 throws com.liferay.portal.SystemException;
92
93 public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_First(
94 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.wiki.NoSuchNodeException;
97
98 public com.liferay.portlet.wiki.model.WikiNode findByCompanyId_Last(
99 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.wiki.NoSuchNodeException;
102
103 public com.liferay.portlet.wiki.model.WikiNode[] findByCompanyId_PrevAndNext(
104 long nodeId, long companyId,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException,
107 com.liferay.portlet.wiki.NoSuchNodeException;
108
109 public java.util.List findWithDynamicQuery(
110 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
111 throws com.liferay.portal.SystemException;
112
113 public java.util.List findWithDynamicQuery(
114 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
115 int begin, int end) throws com.liferay.portal.SystemException;
116
117 public java.util.List findAll() throws com.liferay.portal.SystemException;
118
119 public java.util.List findAll(int begin, int end)
120 throws com.liferay.portal.SystemException;
121
122 public java.util.List findAll(int begin, int end,
123 com.liferay.portal.kernel.util.OrderByComparator obc)
124 throws com.liferay.portal.SystemException;
125
126 public void removeByGroupId(long groupId)
127 throws com.liferay.portal.SystemException;
128
129 public void removeByCompanyId(long companyId)
130 throws com.liferay.portal.SystemException;
131
132 public void removeAll() throws com.liferay.portal.SystemException;
133
134 public int countByGroupId(long groupId)
135 throws com.liferay.portal.SystemException;
136
137 public int countByCompanyId(long companyId)
138 throws com.liferay.portal.SystemException;
139
140 public int countAll() throws com.liferay.portal.SystemException;
141 }