com.liferay.portlet.announcements.service.impl
Class AnnouncementsEntryLocalServiceImpl
java.lang.Object
com.liferay.portlet.announcements.service.base.AnnouncementsEntryLocalServiceBaseImpl
com.liferay.portlet.announcements.service.impl.AnnouncementsEntryLocalServiceImpl
- All Implemented Interfaces:
- AnnouncementsEntryLocalService
public class AnnouncementsEntryLocalServiceImpl
- extends AnnouncementsEntryLocalServiceBaseImpl
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, resourceFinder, resourceLocalService, resourcePersistence, resourceService, roleFinder, roleLocalService, rolePersistence, roleService, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupService, userLocalService, userPersistence, userService |
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,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
int priority,
boolean alert)
|
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, createAnnouncementsEntry, deleteAnnouncementsEntry, deleteAnnouncementsEntry, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getAnnouncementsDeliveryLocalService, getAnnouncementsDeliveryPersistence, getAnnouncementsDeliveryService, getAnnouncementsEntries, getAnnouncementsEntriesCount, getAnnouncementsEntry, getAnnouncementsEntryFinder, getAnnouncementsEntryLocalService, getAnnouncementsEntryPersistence, getAnnouncementsEntryService, getAnnouncementsFlagLocalService, getAnnouncementsFlagPersistence, getAnnouncementsFlagService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMailService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, 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, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnouncementsEntryLocalServiceImpl
public AnnouncementsEntryLocalServiceImpl()
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
- 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 IOException,
PortalException,
SystemException
- Throws:
IOException
PortalException
SystemException
validate
protected void validate(String title,
String content,
String url)
throws PortalException
- Throws:
PortalException