1
22
23 package com.liferay.portlet.journal.service;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Propagation;
28 import com.liferay.portal.kernel.annotation.Transactional;
29
30
54 @Transactional(rollbackFor = {
55 PortalException.class, SystemException.class})
56 public interface JournalContentSearchLocalService {
57 public com.liferay.portlet.journal.model.JournalContentSearch addJournalContentSearch(
58 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
59 throws com.liferay.portal.SystemException;
60
61 public com.liferay.portlet.journal.model.JournalContentSearch createJournalContentSearch(
62 long contentSearchId);
63
64 public void deleteJournalContentSearch(long contentSearchId)
65 throws com.liferay.portal.SystemException,
66 com.liferay.portal.PortalException;
67
68 public void deleteJournalContentSearch(
69 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
70 throws com.liferay.portal.SystemException;
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74 throws com.liferay.portal.SystemException;
75
76 public java.util.List<Object> dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end) throws com.liferay.portal.SystemException;
79
80 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
81 public com.liferay.portlet.journal.model.JournalContentSearch getJournalContentSearch(
82 long contentSearchId)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portal.PortalException;
85
86 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getJournalContentSearchs(
88 int start, int end) throws com.liferay.portal.SystemException;
89
90 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
91 public int getJournalContentSearchsCount()
92 throws com.liferay.portal.SystemException;
93
94 public com.liferay.portlet.journal.model.JournalContentSearch updateJournalContentSearch(
95 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
96 throws com.liferay.portal.SystemException;
97
98 public void checkContentSearches(long companyId)
99 throws com.liferay.portal.PortalException,
100 com.liferay.portal.SystemException;
101
102 public void deleteArticleContentSearch(long groupId, boolean privateLayout,
103 long layoutId, java.lang.String portletId, java.lang.String articleId)
104 throws com.liferay.portal.PortalException,
105 com.liferay.portal.SystemException;
106
107 public void deleteArticleContentSearches(long groupId,
108 java.lang.String articleId) throws com.liferay.portal.SystemException;
109
110 public void deleteLayoutContentSearches(long groupId,
111 boolean privateLayout, long layoutId)
112 throws com.liferay.portal.SystemException;
113
114 public void deleteOwnerContentSearches(long groupId, boolean privateLayout)
115 throws com.liferay.portal.SystemException;
116
117 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
118 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches()
119 throws com.liferay.portal.SystemException;
120
121 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
122 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches(
123 long groupId, java.lang.String articleId)
124 throws com.liferay.portal.SystemException;
125
126 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
127 public java.util.List<Long> getLayoutIds(long groupId,
128 boolean privateLayout, java.lang.String articleId)
129 throws com.liferay.portal.SystemException;
130
131 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
132 public int getLayoutIdsCount(long groupId, boolean privateLayout,
133 java.lang.String articleId) throws com.liferay.portal.SystemException;
134
135 public com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
136 long groupId, boolean privateLayout, long layoutId,
137 java.lang.String portletId, java.lang.String articleId)
138 throws com.liferay.portal.PortalException,
139 com.liferay.portal.SystemException;
140
141 public com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
142 long groupId, boolean privateLayout, long layoutId,
143 java.lang.String portletId, java.lang.String articleId, boolean purge)
144 throws com.liferay.portal.PortalException,
145 com.liferay.portal.SystemException;
146
147 public java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> updateContentSearch(
148 long groupId, boolean privateLayout, long layoutId,
149 java.lang.String portletId, java.lang.String[] articleIds)
150 throws com.liferay.portal.PortalException,
151 com.liferay.portal.SystemException;
152 }