public class AnnouncementsEntryLocalServiceImpl extends AnnouncementsEntryLocalServiceBaseImpl
Modifier and Type | Field and Description |
---|---|
protected com.liferay.mail.kernel.service.MailService |
mailService |
announcementsEntryFinder, announcementsEntryLocalService, announcementsEntryPersistence, counterLocalService, persistedModelLocalServiceRegistry
Constructor and Description |
---|
AnnouncementsEntryLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.announcements.kernel.model.AnnouncementsEntry |
addEntry(long userId,
long classNameId,
long classPK,
String title,
String content,
String url,
String type,
Date displayDate,
Date expirationDate,
int priority,
boolean alert) |
void |
checkEntries() |
void |
checkEntries(Date startDate,
Date endDate) |
void |
deleteEntries(long companyId) |
void |
deleteEntries(long classNameId,
long classPK) |
void |
deleteEntries(long companyId,
long classNameId,
long classPK) |
void |
deleteEntry(com.liferay.announcements.kernel.model.AnnouncementsEntry entry) |
void |
deleteEntry(long entryId) |
List<com.liferay.announcements.kernel.model.AnnouncementsEntry> |
getEntries(long userId,
LinkedHashMap<Long,long[]> scopes,
boolean alert,
int flagValue,
int start,
int end) |
List<com.liferay.announcements.kernel.model.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<com.liferay.announcements.kernel.model.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) |
List<com.liferay.announcements.kernel.model.AnnouncementsEntry> |
getEntries(long companyId,
long classNameId,
long classPK,
boolean alert,
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 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) |
int |
getEntriesCount(long companyId,
long classNameId,
long classPK,
boolean alert) |
com.liferay.announcements.kernel.model.AnnouncementsEntry |
getEntry(long entryId) |
List<com.liferay.announcements.kernel.model.AnnouncementsEntry> |
getUserEntries(long userId,
int start,
int end) |
int |
getUserEntriesCount(long userId) |
protected void |
notifyUsers(com.liferay.announcements.kernel.model.AnnouncementsEntry entry) |
protected void |
notifyUsers(com.liferay.announcements.kernel.model.AnnouncementsEntry entry,
long teamId,
LinkedHashMap<String,Object> params,
String toName,
String toAddress,
com.liferay.portal.kernel.model.Company company) |
protected void |
notifyUsers(List<com.liferay.portal.kernel.model.User> users,
com.liferay.announcements.kernel.model.AnnouncementsEntry entry,
Locale locale,
String toAddress,
String toName) |
com.liferay.announcements.kernel.model.AnnouncementsEntry |
updateEntry(long entryId,
String title,
String content,
String url,
String type,
Date displayDate,
Date expirationDate,
int priority) |
protected void |
validate(String title,
String content,
String url,
Date displayDate,
Date expirationDate) |
addAnnouncementsEntry, afterPropertiesSet, createAnnouncementsEntry, createPersistedModel, deleteAnnouncementsEntry, deleteAnnouncementsEntry, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchAnnouncementsEntry, fetchAnnouncementsEntryByUuidAndCompanyId, getActionableDynamicQuery, getAnnouncementsEntries, getAnnouncementsEntriesCount, getAnnouncementsEntry, getAnnouncementsEntryByUuidAndCompanyId, getAnnouncementsEntryFinder, getAnnouncementsEntryLocalService, getAnnouncementsEntryPersistence, getBasePersistence, getCounterLocalService, getExportActionableDynamicQuery, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setAnnouncementsEntryFinder, setAnnouncementsEntryLocalService, setAnnouncementsEntryPersistence, setCounterLocalService, updateAnnouncementsEntry
@BeanReference(type=com.liferay.mail.kernel.service.MailService.class) protected com.liferay.mail.kernel.service.MailService mailService
public com.liferay.announcements.kernel.model.AnnouncementsEntry addEntry(long userId, long classNameId, long classPK, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority, boolean alert) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void checkEntries() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void checkEntries(Date startDate, Date endDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteEntries(long companyId)
public void deleteEntries(long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteEntries(long companyId, long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@SystemEvent(type=1) public void deleteEntry(com.liferay.announcements.kernel.model.AnnouncementsEntry entry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.announcements.kernel.model.AnnouncementsEntry> getEntries(long userId, LinkedHashMap<Long,long[]> scopes, boolean alert, int flagValue, int start, int end)
public List<com.liferay.announcements.kernel.model.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)
public List<com.liferay.announcements.kernel.model.AnnouncementsEntry> getEntries(long companyId, long classNameId, long classPK, boolean alert, int start, int end)
public List<com.liferay.announcements.kernel.model.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)
public int getEntriesCount(long userId, LinkedHashMap<Long,long[]> scopes, boolean alert, int flagValue)
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)
public int getEntriesCount(long companyId, long classNameId, long classPK, boolean alert)
public int getEntriesCount(long userId, long classNameId, long[] classPKs, boolean alert, int flagValue)
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)
public com.liferay.announcements.kernel.model.AnnouncementsEntry getEntry(long entryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.announcements.kernel.model.AnnouncementsEntry> getUserEntries(long userId, int start, int end)
public int getUserEntriesCount(long userId)
public com.liferay.announcements.kernel.model.AnnouncementsEntry updateEntry(long entryId, String title, String content, String url, String type, Date displayDate, Date expirationDate, int priority) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void notifyUsers(com.liferay.announcements.kernel.model.AnnouncementsEntry entry) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void notifyUsers(com.liferay.announcements.kernel.model.AnnouncementsEntry entry, long teamId, LinkedHashMap<String,Object> params, String toName, String toAddress, com.liferay.portal.kernel.model.Company company) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void notifyUsers(List<com.liferay.portal.kernel.model.User> users, com.liferay.announcements.kernel.model.AnnouncementsEntry entry, Locale locale, String toAddress, String toName) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validate(String title, String content, String url, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException