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.
- Author:
- Brian Wing Shun Chan
- See Also:
BlogsEntryService
Method Summary |
static BlogsEntry |
addEntry(long plid,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
|
static BlogsEntry |
addEntry(long plid,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
|
static void |
deleteEntry(long entryId)
|
static java.util.List<BlogsEntry> |
getCompanyEntries(long companyId,
int max)
|
static java.lang.String |
getCompanyEntriesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
|
static BlogsEntry |
getEntry(long entryId)
|
static BlogsEntry |
getEntry(long groupId,
java.lang.String urlTitle)
|
static java.util.List<BlogsEntry> |
getGroupEntries(long groupId,
int max)
|
static java.lang.String |
getGroupEntriesRSS(long groupId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
|
static java.util.List<BlogsEntry> |
getOrganizationEntries(long organizationId,
int max)
|
static java.lang.String |
getOrganizationEntriesRSS(long organizationId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
|
static BlogsEntryService |
getService()
|
void |
setService(BlogsEntryService service)
|
static BlogsEntry |
updateEntry(long entryId,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
java.lang.String[] tagsEntries,
ThemeDisplay themeDisplay)
|
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,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
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,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
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
getCompanyEntries
public static java.util.List<BlogsEntry> 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 displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
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<BlogsEntry> 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 displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
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<BlogsEntry> 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 displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
ThemeDisplay themeDisplay)
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,
java.lang.String title,
java.lang.String content,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean draft,
boolean allowTrackbacks,
java.lang.String[] trackbacks,
java.lang.String[] tagsEntries,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException,
java.rmi.RemoteException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException
getService
public static BlogsEntryService getService()
setService
public void setService(BlogsEntryService service)