1
22
23 package com.liferay.portlet.journal.service;
24
25
26
51 public interface JournalStructureLocalService {
52 public com.liferay.portlet.journal.model.JournalStructure addJournalStructure(
53 com.liferay.portlet.journal.model.JournalStructure journalStructure)
54 throws com.liferay.portal.SystemException;
55
56 public void deleteJournalStructure(long id)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deleteJournalStructure(
61 com.liferay.portlet.journal.model.JournalStructure journalStructure)
62 throws com.liferay.portal.SystemException;
63
64 public java.util.List<Object> dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70 int end) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.journal.model.JournalStructure getJournalStructure(
73 long id)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portal.PortalException;
76
77 public com.liferay.portlet.journal.model.JournalStructure updateJournalStructure(
78 com.liferay.portlet.journal.model.JournalStructure journalStructure)
79 throws com.liferay.portal.SystemException;
80
81 public com.liferay.portlet.journal.model.JournalStructure addStructure(
82 long userId, java.lang.String structureId, boolean autoStructureId,
83 long plid, java.lang.String name, java.lang.String description,
84 java.lang.String xsd, boolean addCommunityPermissions,
85 boolean addGuestPermissions)
86 throws com.liferay.portal.PortalException,
87 com.liferay.portal.SystemException;
88
89 public com.liferay.portlet.journal.model.JournalStructure addStructure(
90 java.lang.String uuid, long userId, java.lang.String structureId,
91 boolean autoStructureId, long plid, java.lang.String name,
92 java.lang.String description, java.lang.String xsd,
93 boolean addCommunityPermissions, boolean addGuestPermissions)
94 throws com.liferay.portal.PortalException,
95 com.liferay.portal.SystemException;
96
97 public com.liferay.portlet.journal.model.JournalStructure addStructure(
98 long userId, java.lang.String structureId, boolean autoStructureId,
99 long plid, java.lang.String name, java.lang.String description,
100 java.lang.String xsd, java.lang.String[] communityPermissions,
101 java.lang.String[] guestPermissions)
102 throws com.liferay.portal.PortalException,
103 com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.journal.model.JournalStructure addStructure(
106 java.lang.String uuid, long userId, java.lang.String structureId,
107 boolean autoStructureId, long plid, java.lang.String name,
108 java.lang.String description, java.lang.String xsd,
109 java.lang.Boolean addCommunityPermissions,
110 java.lang.Boolean addGuestPermissions,
111 java.lang.String[] communityPermissions,
112 java.lang.String[] guestPermissions)
113 throws com.liferay.portal.PortalException,
114 com.liferay.portal.SystemException;
115
116 public com.liferay.portlet.journal.model.JournalStructure addStructureToGroup(
117 java.lang.String uuid, long userId, java.lang.String structureId,
118 boolean autoStructureId, long groupId, java.lang.String name,
119 java.lang.String description, java.lang.String xsd,
120 java.lang.Boolean addCommunityPermissions,
121 java.lang.Boolean addGuestPermissions,
122 java.lang.String[] communityPermissions,
123 java.lang.String[] guestPermissions)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException;
126
127 public void addStructureResources(long groupId,
128 java.lang.String structureId, boolean addCommunityPermissions,
129 boolean addGuestPermissions)
130 throws com.liferay.portal.PortalException,
131 com.liferay.portal.SystemException;
132
133 public void addStructureResources(
134 com.liferay.portlet.journal.model.JournalStructure structure,
135 boolean addCommunityPermissions, boolean addGuestPermissions)
136 throws com.liferay.portal.PortalException,
137 com.liferay.portal.SystemException;
138
139 public void addStructureResources(long groupId,
140 java.lang.String structureId, java.lang.String[] communityPermissions,
141 java.lang.String[] guestPermissions)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException;
144
145 public void addStructureResources(
146 com.liferay.portlet.journal.model.JournalStructure structure,
147 java.lang.String[] communityPermissions,
148 java.lang.String[] guestPermissions)
149 throws com.liferay.portal.PortalException,
150 com.liferay.portal.SystemException;
151
152 public void checkNewLine(long groupId, java.lang.String structureId)
153 throws com.liferay.portal.PortalException,
154 com.liferay.portal.SystemException;
155
156 public void deleteStructure(long groupId, java.lang.String structureId)
157 throws com.liferay.portal.PortalException,
158 com.liferay.portal.SystemException;
159
160 public void deleteStructure(
161 com.liferay.portlet.journal.model.JournalStructure structure)
162 throws com.liferay.portal.PortalException,
163 com.liferay.portal.SystemException;
164
165 public void deleteStructures(long groupId)
166 throws com.liferay.portal.PortalException,
167 com.liferay.portal.SystemException;
168
169 public com.liferay.portlet.journal.model.JournalStructure getStructure(
170 long id)
171 throws com.liferay.portal.PortalException,
172 com.liferay.portal.SystemException;
173
174 public com.liferay.portlet.journal.model.JournalStructure getStructure(
175 long groupId, java.lang.String structureId)
176 throws com.liferay.portal.PortalException,
177 com.liferay.portal.SystemException;
178
179 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures()
180 throws com.liferay.portal.SystemException;
181
182 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
183 long groupId) throws com.liferay.portal.SystemException;
184
185 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
186 long groupId, int start, int end)
187 throws com.liferay.portal.SystemException;
188
189 public int getStructuresCount(long groupId)
190 throws com.liferay.portal.SystemException;
191
192 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
193 long companyId, long groupId, java.lang.String keywords, int start,
194 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException;
196
197 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
198 long companyId, long groupId, java.lang.String structureId,
199 java.lang.String name, java.lang.String description,
200 boolean andOperator, int start, int end,
201 com.liferay.portal.kernel.util.OrderByComparator obc)
202 throws com.liferay.portal.SystemException;
203
204 public int searchCount(long companyId, long groupId,
205 java.lang.String keywords) throws com.liferay.portal.SystemException;
206
207 public int searchCount(long companyId, long groupId,
208 java.lang.String structureId, java.lang.String name,
209 java.lang.String description, boolean andOperator)
210 throws com.liferay.portal.SystemException;
211
212 public com.liferay.portlet.journal.model.JournalStructure updateStructure(
213 long groupId, java.lang.String structureId, java.lang.String name,
214 java.lang.String description, java.lang.String xsd)
215 throws com.liferay.portal.PortalException,
216 com.liferay.portal.SystemException;
217 }