Liferay 6.1.2-ce-ga3

com.liferay.portlet.announcements.service.impl
Class AnnouncementsEntryLocalServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.announcements.service.base.AnnouncementsEntryLocalServiceBaseImpl
          extended by com.liferay.portlet.announcements.service.impl.AnnouncementsEntryLocalServiceImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, AnnouncementsEntryLocalService

public class AnnouncementsEntryLocalServiceImpl
extends AnnouncementsEntryLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.announcements.service.base.AnnouncementsEntryLocalServiceBaseImpl
announcementsDeliveryLocalService, announcementsDeliveryPersistence, announcementsDeliveryService, announcementsEntryFinder, announcementsEntryLocalService, announcementsEntryPersistence, announcementsEntryService, announcementsFlagLocalService, announcementsFlagPersistence, announcementsFlagService, companyLocalService, companyPersistence, companyService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, mailService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, roleFinder, roleLocalService, rolePersistence, roleService, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupService, userLocalService, userPersistence, userService
 
Constructor Summary
AnnouncementsEntryLocalServiceImpl()
           
 
Method Summary
 AnnouncementsEntry addEntry(long userId, long classNameId, long classPK, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean autoDisplayDate, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority, boolean alert)
           
 AnnouncementsEntry addEntry(long userId, long classNameId, long classPK, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority, boolean alert)
          Deprecated. As of 6.2.0, replaced by addEntry(long, long, long, String, String, String, String, int, int, int, int, int, boolean, int, int, int, int, int, int, boolean)
 void checkEntries()
           
 void deleteEntry(AnnouncementsEntry entry)
           
 void deleteEntry(long entryId)
           
 List<AnnouncementsEntry> getEntries(long userId, LinkedHashMap<Long,long[]> scopes, boolean alert, int flagValue, int start, int end)
           
 List<AnnouncementsEntry> getEntries(long userId, LinkedHashMap<Long,long[]> scopes, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean alert, int flagValue, int start, int end)
           
 List<AnnouncementsEntry> getEntries(long classNameId, long classPK, boolean alert, int start, int end)
           
 List<AnnouncementsEntry> getEntries(long userId, long classNameId, long[] classPKs, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean alert, int flagValue, int start, int end)
           
 int getEntriesCount(long userId, LinkedHashMap<Long,long[]> scopes, boolean alert, int flagValue)
           
 int getEntriesCount(long userId, LinkedHashMap<Long,long[]> scopes, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean alert, int flagValue)
           
 int getEntriesCount(long classNameId, long classPK, boolean alert)
           
 int getEntriesCount(long userId, long classNameId, long[] classPKs, boolean alert, int flagValue)
           
 int getEntriesCount(long userId, long classNameId, long[] classPKs, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean alert, int flagValue)
           
 AnnouncementsEntry getEntry(long entryId)
           
 List<AnnouncementsEntry> getUserEntries(long userId, int start, int end)
           
 int getUserEntriesCount(long userId)
           
protected  void notifyUsers(AnnouncementsEntry entry)
           
 AnnouncementsEntry updateEntry(long userId, long entryId, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority)
           
protected  void validate(String title, String content, String url)
           
 
Methods inherited from class com.liferay.portlet.announcements.service.base.AnnouncementsEntryLocalServiceBaseImpl
addAnnouncementsEntry, afterPropertiesSet, createAnnouncementsEntry, deleteAnnouncementsEntry, deleteAnnouncementsEntry, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchAnnouncementsEntry, getAnnouncementsDeliveryLocalService, getAnnouncementsDeliveryPersistence, getAnnouncementsDeliveryService, getAnnouncementsEntries, getAnnouncementsEntriesCount, getAnnouncementsEntry, getAnnouncementsEntryFinder, getAnnouncementsEntryLocalService, getAnnouncementsEntryPersistence, getAnnouncementsEntryService, getAnnouncementsFlagLocalService, getAnnouncementsFlagPersistence, getAnnouncementsFlagService, getBeanIdentifier, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMailService, getModelClass, getModelClassName, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupService, getUserLocalService, getUserPersistence, getUserService, runSQL, setAnnouncementsDeliveryLocalService, setAnnouncementsDeliveryPersistence, setAnnouncementsDeliveryService, setAnnouncementsEntryFinder, setAnnouncementsEntryLocalService, setAnnouncementsEntryPersistence, setAnnouncementsEntryService, setAnnouncementsFlagLocalService, setAnnouncementsFlagPersistence, setAnnouncementsFlagService, setBeanIdentifier, setCompanyLocalService, setCompanyPersistence, setCompanyService, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMailService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupService, setUserLocalService, setUserPersistence, setUserService, updateAnnouncementsEntry, updateAnnouncementsEntry
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnouncementsEntryLocalServiceImpl

public AnnouncementsEntryLocalServiceImpl()
Method Detail

addEntry

public AnnouncementsEntry addEntry(long userId,
                                   long classNameId,
                                   long classPK,
                                   String title,
                                   String content,
                                   String url,
                                   String type,
                                   int displayDateMonth,
                                   int displayDateDay,
                                   int displayDateYear,
                                   int displayDateHour,
                                   int displayDateMinute,
                                   boolean autoDisplayDate,
                                   int expirationDateMonth,
                                   int expirationDateDay,
                                   int expirationDateYear,
                                   int expirationDateHour,
                                   int expirationDateMinute,
                                   int priority,
                                   boolean alert)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

addEntry

public AnnouncementsEntry addEntry(long userId,
                                   long classNameId,
                                   long classPK,
                                   String title,
                                   String content,
                                   String url,
                                   String type,
                                   int displayDateMonth,
                                   int displayDateDay,
                                   int displayDateYear,
                                   int displayDateHour,
                                   int displayDateMinute,
                                   int expirationDateMonth,
                                   int expirationDateDay,
                                   int expirationDateYear,
                                   int expirationDateHour,
                                   int expirationDateMinute,
                                   int priority,
                                   boolean alert)
                            throws PortalException,
                                   SystemException
Deprecated. As of 6.2.0, replaced by addEntry(long, long, long, String, String, String, String, int, int, int, int, int, boolean, int, int, int, int, int, int, boolean)

Throws:
PortalException
SystemException

checkEntries

public void checkEntries()
                  throws PortalException,
                         SystemException
Throws:
PortalException
SystemException

deleteEntry

public void deleteEntry(AnnouncementsEntry entry)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

deleteEntry

public void deleteEntry(long entryId)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

getEntries

public List<AnnouncementsEntry> getEntries(long userId,
                                           LinkedHashMap<Long,long[]> scopes,
                                           boolean alert,
                                           int flagValue,
                                           int start,
                                           int end)
                                    throws SystemException
Throws:
SystemException

getEntries

public List<AnnouncementsEntry> getEntries(long userId,
                                           LinkedHashMap<Long,long[]> scopes,
                                           int displayDateMonth,
                                           int displayDateDay,
                                           int displayDateYear,
                                           int displayDateHour,
                                           int displayDateMinute,
                                           int expirationDateMonth,
                                           int expirationDateDay,
                                           int expirationDateYear,
                                           int expirationDateHour,
                                           int expirationDateMinute,
                                           boolean alert,
                                           int flagValue,
                                           int start,
                                           int end)
                                    throws SystemException
Throws:
SystemException

getEntries

public List<AnnouncementsEntry> getEntries(long classNameId,
                                           long classPK,
                                           boolean alert,
                                           int start,
                                           int end)
                                    throws SystemException
Throws:
SystemException

getEntries

public List<AnnouncementsEntry> getEntries(long userId,
                                           long classNameId,
                                           long[] classPKs,
                                           int displayDateMonth,
                                           int displayDateDay,
                                           int displayDateYear,
                                           int displayDateHour,
                                           int displayDateMinute,
                                           int expirationDateMonth,
                                           int expirationDateDay,
                                           int expirationDateYear,
                                           int expirationDateHour,
                                           int expirationDateMinute,
                                           boolean alert,
                                           int flagValue,
                                           int start,
                                           int end)
                                    throws SystemException
Throws:
SystemException

getEntriesCount

public int getEntriesCount(long userId,
                           LinkedHashMap<Long,long[]> scopes,
                           boolean alert,
                           int flagValue)
                    throws SystemException
Throws:
SystemException

getEntriesCount

public int getEntriesCount(long userId,
                           LinkedHashMap<Long,long[]> scopes,
                           int displayDateMonth,
                           int displayDateDay,
                           int displayDateYear,
                           int displayDateHour,
                           int displayDateMinute,
                           int expirationDateMonth,
                           int expirationDateDay,
                           int expirationDateYear,
                           int expirationDateHour,
                           int expirationDateMinute,
                           boolean alert,
                           int flagValue)
                    throws SystemException
Throws:
SystemException

getEntriesCount

public int getEntriesCount(long classNameId,
                           long classPK,
                           boolean alert)
                    throws SystemException
Throws:
SystemException

getEntriesCount

public int getEntriesCount(long userId,
                           long classNameId,
                           long[] classPKs,
                           boolean alert,
                           int flagValue)
                    throws SystemException
Throws:
SystemException

getEntriesCount

public int getEntriesCount(long userId,
                           long classNameId,
                           long[] classPKs,
                           int displayDateMonth,
                           int displayDateDay,
                           int displayDateYear,
                           int displayDateHour,
                           int displayDateMinute,
                           int expirationDateMonth,
                           int expirationDateDay,
                           int expirationDateYear,
                           int expirationDateHour,
                           int expirationDateMinute,
                           boolean alert,
                           int flagValue)
                    throws SystemException
Throws:
SystemException

getEntry

public AnnouncementsEntry getEntry(long entryId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getUserEntries

public List<AnnouncementsEntry> getUserEntries(long userId,
                                               int start,
                                               int end)
                                        throws SystemException
Throws:
SystemException

getUserEntriesCount

public int getUserEntriesCount(long userId)
                        throws SystemException
Throws:
SystemException

updateEntry

public AnnouncementsEntry updateEntry(long userId,
                                      long entryId,
                                      String title,
                                      String content,
                                      String url,
                                      String type,
                                      int displayDateMonth,
                                      int displayDateDay,
                                      int displayDateYear,
                                      int displayDateHour,
                                      int displayDateMinute,
                                      int expirationDateMonth,
                                      int expirationDateDay,
                                      int expirationDateYear,
                                      int expirationDateHour,
                                      int expirationDateMinute,
                                      int priority)
                               throws PortalException,
                                      SystemException
Throws:
PortalException
SystemException

notifyUsers

protected void notifyUsers(AnnouncementsEntry entry)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

validate

protected void validate(String title,
                        String content,
                        String url)
                 throws PortalException
Throws:
PortalException

Liferay 6.1.2-ce-ga3