com.liferay.portlet.blogs.service
Class BlogsEntryServiceUtil
java.lang.Object
com.liferay.portlet.blogs.service.BlogsEntryServiceUtil
- public class BlogsEntryServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be overwritten
the next time is generated.
This class provides static methods for the com.liferay.portlet.blogs.service.BlogsEntryService
bean. The static methods of this class calls the same methods of the bean instance.
It's convenient to be able to just write one line to call a method on a bean
instead of writing a lookup call and a method call.
com.liferay.portlet.blogs.service.BlogsEntryServiceFactory
is responsible
for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
BlogsEntryService
,
BlogsEntryServiceFactory
Method Summary |
static BlogsEntry |
addEntry(long plid,
long categoryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
ThemeDisplay themeDisplay,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static BlogsEntry |
addEntry(long plid,
long categoryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
ThemeDisplay themeDisplay,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
deleteEntry(long entryId)
|
static java.lang.String |
getCategoryBlogsRSS(long categoryId,
int max,
java.lang.String type,
double version,
java.lang.String feedURL,
java.lang.String entryURL)
|
static java.util.List |
getCompanyEntries(long companyId,
int max)
|
static java.lang.String |
getCompanyEntriesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String feedURL,
java.lang.String entryURL)
|
static BlogsEntry |
getEntry(long entryId)
|
static BlogsEntry |
getEntry(long groupId,
java.lang.String urlTitle)
|
static java.util.List |
getGroupEntries(long groupId,
int max)
|
static java.lang.String |
getGroupEntriesRSS(long groupId,
int max,
java.lang.String type,
double version,
java.lang.String feedURL,
java.lang.String entryURL)
|
static java.util.List |
getOrganizationEntries(long organizationId,
int max)
|
static java.lang.String |
getOrganizationEntriesRSS(long organizationId,
int max,
java.lang.String type,
double version,
java.lang.String feedURL,
java.lang.String entryURL)
|
static BlogsEntry |
updateEntry(long entryId,
long categoryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
ThemeDisplay themeDisplay,
java.lang.String[] tagsEntries)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogsEntryServiceUtil
public BlogsEntryServiceUtil()
addEntry
public static BlogsEntry addEntry(long plid,
long categoryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
ThemeDisplay themeDisplay,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
addEntry
public static BlogsEntry addEntry(long plid,
long categoryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
ThemeDisplay themeDisplay,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
deleteEntry
public static void deleteEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getCategoryBlogsRSS
public static java.lang.String getCategoryBlogsRSS(long categoryId,
int max,
java.lang.String type,
double version,
java.lang.String feedURL,
java.lang.String entryURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getCompanyEntries
public static java.util.List getCompanyEntries(long companyId,
int max)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getCompanyEntriesRSS
public static java.lang.String getCompanyEntriesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String feedURL,
java.lang.String entryURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getEntry
public static BlogsEntry getEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getEntry
public static BlogsEntry getEntry(long groupId,
java.lang.String urlTitle)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getGroupEntries
public static java.util.List getGroupEntries(long groupId,
int max)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getGroupEntriesRSS
public static java.lang.String getGroupEntriesRSS(long groupId,
int max,
java.lang.String type,
double version,
java.lang.String feedURL,
java.lang.String entryURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getOrganizationEntries
public static java.util.List getOrganizationEntries(long organizationId,
int max)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getOrganizationEntriesRSS
public static java.lang.String getOrganizationEntriesRSS(long organizationId,
int max,
java.lang.String type,
double version,
java.lang.String feedURL,
java.lang.String entryURL)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
updateEntry
public static BlogsEntry updateEntry(long entryId,
long categoryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
ThemeDisplay themeDisplay,
java.lang.String[] tagsEntries)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException