1
14
15 package com.liferay.portlet.blogs.service;
16
17 import com.liferay.portal.PortalException;
18 import com.liferay.portal.SystemException;
19 import com.liferay.portal.kernel.annotation.Isolation;
20 import com.liferay.portal.kernel.annotation.Propagation;
21 import com.liferay.portal.kernel.annotation.Transactional;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface BlogsEntryService {
50 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long plid,
51 java.lang.String title, java.lang.String content, int displayDateMonth,
52 int displayDateDay, int displayDateYear, int displayDateHour,
53 int displayDateMinute, boolean draft, boolean allowTrackbacks,
54 java.lang.String[] trackbacks, java.lang.String[] tagsEntries,
55 boolean addCommunityPermissions, boolean addGuestPermissions,
56 com.liferay.portal.theme.ThemeDisplay themeDisplay)
57 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(long plid,
61 java.lang.String title, java.lang.String content, int displayDateMonth,
62 int displayDateDay, int displayDateYear, int displayDateHour,
63 int displayDateMinute, boolean draft, boolean allowTrackbacks,
64 java.lang.String[] trackbacks, java.lang.String[] tagsEntries,
65 java.lang.String[] communityPermissions,
66 java.lang.String[] guestPermissions,
67 com.liferay.portal.theme.ThemeDisplay themeDisplay)
68 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
69 com.liferay.portal.SystemException;
70
71 public void deleteEntry(long entryId)
72 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
73 com.liferay.portal.SystemException;
74
75 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
76 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
77 long companyId, int max)
78 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException;
80
81 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
82 public java.lang.String getCompanyEntriesRSS(long companyId, int max,
83 java.lang.String type, double version, java.lang.String displayStyle,
84 java.lang.String feedURL, java.lang.String entryURL,
85 com.liferay.portal.theme.ThemeDisplay themeDisplay)
86 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
87 com.liferay.portal.SystemException;
88
89 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
90 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
91 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
92 com.liferay.portal.SystemException;
93
94 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
95 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
96 java.lang.String urlTitle)
97 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
98 com.liferay.portal.SystemException;
99
100 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
101 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
102 long groupId, int max)
103 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
104 com.liferay.portal.SystemException;
105
106 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
107 public java.lang.String getGroupEntriesRSS(long groupId, int max,
108 java.lang.String type, double version, java.lang.String displayStyle,
109 java.lang.String feedURL, java.lang.String entryURL,
110 com.liferay.portal.theme.ThemeDisplay themeDisplay)
111 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
112 com.liferay.portal.SystemException;
113
114 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
115 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
116 long organizationId, int max)
117 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
118 com.liferay.portal.SystemException;
119
120 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
121 public java.lang.String getOrganizationEntriesRSS(long organizationId,
122 int max, java.lang.String type, double version,
123 java.lang.String displayStyle, java.lang.String feedURL,
124 java.lang.String entryURL,
125 com.liferay.portal.theme.ThemeDisplay themeDisplay)
126 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException;
128
129 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
130 long entryId, java.lang.String title, java.lang.String content,
131 int displayDateMonth, int displayDateDay, int displayDateYear,
132 int displayDateHour, int displayDateMinute, boolean draft,
133 boolean allowTrackbacks, java.lang.String[] trackbacks,
134 java.lang.String[] tagsEntries,
135 com.liferay.portal.theme.ThemeDisplay themeDisplay)
136 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
137 com.liferay.portal.SystemException;
138 }