1
22
23 package com.liferay.portlet.journal.service.persistence;
24
25
31 public interface JournalStructurePersistence {
32 public com.liferay.portlet.journal.model.JournalStructure create(long id);
33
34 public com.liferay.portlet.journal.model.JournalStructure remove(long id)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.journal.NoSuchStructureException;
37
38 public com.liferay.portlet.journal.model.JournalStructure remove(
39 com.liferay.portlet.journal.model.JournalStructure journalStructure)
40 throws com.liferay.portal.SystemException;
41
42 public com.liferay.portlet.journal.model.JournalStructure update(
43 com.liferay.portlet.journal.model.JournalStructure journalStructure)
44 throws com.liferay.portal.SystemException;
45
46 public com.liferay.portlet.journal.model.JournalStructure update(
47 com.liferay.portlet.journal.model.JournalStructure journalStructure,
48 boolean merge) throws com.liferay.portal.SystemException;
49
50 public com.liferay.portlet.journal.model.JournalStructure findByPrimaryKey(
51 long id)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.journal.NoSuchStructureException;
54
55 public com.liferay.portlet.journal.model.JournalStructure fetchByPrimaryKey(
56 long id) throws com.liferay.portal.SystemException;
57
58 public java.util.List findByGroupId(long groupId)
59 throws com.liferay.portal.SystemException;
60
61 public java.util.List findByGroupId(long groupId, int begin, int end)
62 throws com.liferay.portal.SystemException;
63
64 public java.util.List findByGroupId(long groupId, int begin, int end,
65 com.liferay.portal.kernel.util.OrderByComparator obc)
66 throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.journal.model.JournalStructure findByGroupId_First(
69 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.journal.NoSuchStructureException;
72
73 public com.liferay.portlet.journal.model.JournalStructure findByGroupId_Last(
74 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
75 throws com.liferay.portal.SystemException,
76 com.liferay.portlet.journal.NoSuchStructureException;
77
78 public com.liferay.portlet.journal.model.JournalStructure[] findByGroupId_PrevAndNext(
79 long id, long groupId,
80 com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.journal.NoSuchStructureException;
83
84 public java.util.List findByStructureId(java.lang.String structureId)
85 throws com.liferay.portal.SystemException;
86
87 public java.util.List findByStructureId(java.lang.String structureId,
88 int begin, int end) throws com.liferay.portal.SystemException;
89
90 public java.util.List findByStructureId(java.lang.String structureId,
91 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
92 throws com.liferay.portal.SystemException;
93
94 public com.liferay.portlet.journal.model.JournalStructure findByStructureId_First(
95 java.lang.String structureId,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.journal.NoSuchStructureException;
99
100 public com.liferay.portlet.journal.model.JournalStructure findByStructureId_Last(
101 java.lang.String structureId,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portlet.journal.NoSuchStructureException;
105
106 public com.liferay.portlet.journal.model.JournalStructure[] findByStructureId_PrevAndNext(
107 long id, java.lang.String structureId,
108 com.liferay.portal.kernel.util.OrderByComparator obc)
109 throws com.liferay.portal.SystemException,
110 com.liferay.portlet.journal.NoSuchStructureException;
111
112 public com.liferay.portlet.journal.model.JournalStructure findByG_S(
113 long groupId, java.lang.String structureId)
114 throws com.liferay.portal.SystemException,
115 com.liferay.portlet.journal.NoSuchStructureException;
116
117 public com.liferay.portlet.journal.model.JournalStructure fetchByG_S(
118 long groupId, java.lang.String structureId)
119 throws com.liferay.portal.SystemException;
120
121 public java.util.List findWithDynamicQuery(
122 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
123 throws com.liferay.portal.SystemException;
124
125 public java.util.List findWithDynamicQuery(
126 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
127 int begin, int end) throws com.liferay.portal.SystemException;
128
129 public java.util.List findAll() throws com.liferay.portal.SystemException;
130
131 public java.util.List findAll(int begin, int end)
132 throws com.liferay.portal.SystemException;
133
134 public java.util.List findAll(int begin, int end,
135 com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException;
137
138 public void removeByGroupId(long groupId)
139 throws com.liferay.portal.SystemException;
140
141 public void removeByStructureId(java.lang.String structureId)
142 throws com.liferay.portal.SystemException;
143
144 public void removeByG_S(long groupId, java.lang.String structureId)
145 throws com.liferay.portal.SystemException,
146 com.liferay.portlet.journal.NoSuchStructureException;
147
148 public void removeAll() throws com.liferay.portal.SystemException;
149
150 public int countByGroupId(long groupId)
151 throws com.liferay.portal.SystemException;
152
153 public int countByStructureId(java.lang.String structureId)
154 throws com.liferay.portal.SystemException;
155
156 public int countByG_S(long groupId, java.lang.String structureId)
157 throws com.liferay.portal.SystemException;
158
159 public int countAll() throws com.liferay.portal.SystemException;
160 }