public class AnnouncementsEntryLocalServiceImpl extends AnnouncementsEntryLocalServiceBaseImpl
announcementsDeliveryLocalService, announcementsDeliveryPersistence, announcementsEntryFinder, announcementsEntryLocalService, announcementsEntryPersistence, announcementsFlagLocalService, announcementsFlagPersistence, companyLocalService, companyPersistence, counterLocalService, groupFinder, groupLocalService, groupPersistence, organizationFinder, organizationLocalService, organizationPersistence, persistedModelLocalServiceRegistry, resourceLocalService, roleFinder, roleLocalService, rolePersistence, teamFinder, teamLocalService, teamPersistence, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userLocalService, userPersistence
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) |
com.liferay.announcements.kernel.model.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 displayImmediately,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
int priority,
boolean alert)
Deprecated.
As of Judson (7.1.x), replaced by
addEntry(long,
long, long, String, String, String, String, Date, Date, int,
boolean) |
void |
checkEntries() |
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 classNameId,
long classPK,
boolean alert,
int start,
int end)
Deprecated.
As of Judson (7.1.x), replaced by
getEntries(long,
long, long, boolean, int, int) |
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 classNameId,
long classPK,
boolean alert)
Deprecated.
As of Judson (7.1.x), replaced by
getEntriesCount(long, long, long, boolean) |
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 userId,
long entryId,
String title,
String content,
String url,
String type,
int displayDateMonth,
int displayDateDay,
int displayDateYear,
int displayDateHour,
int displayDateMinute,
boolean displayImmediately,
int expirationDateMonth,
int expirationDateDay,
int expirationDateYear,
int expirationDateHour,
int expirationDateMinute,
int priority)
Deprecated.
As of Judson (7.1.x), replaced by
updateEntry(long,
String, String, String, String, Date, Date, int) |
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, deleteAnnouncementsEntry, deleteAnnouncementsEntry, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchAnnouncementsEntry, fetchAnnouncementsEntryByUuidAndCompanyId, getActionableDynamicQuery, getAnnouncementsDeliveryLocalService, getAnnouncementsDeliveryPersistence, getAnnouncementsEntries, getAnnouncementsEntriesCount, getAnnouncementsEntry, getAnnouncementsEntryByUuidAndCompanyId, getAnnouncementsEntryFinder, getAnnouncementsEntryLocalService, getAnnouncementsEntryPersistence, getAnnouncementsFlagLocalService, getAnnouncementsFlagPersistence, getCompanyLocalService, getCompanyPersistence, getCounterLocalService, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getRoleFinder, getRoleLocalService, getRolePersistence, getTeamFinder, getTeamLocalService, getTeamPersistence, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setAnnouncementsDeliveryLocalService, setAnnouncementsDeliveryPersistence, setAnnouncementsEntryFinder, setAnnouncementsEntryLocalService, setAnnouncementsEntryPersistence, setAnnouncementsFlagLocalService, setAnnouncementsFlagPersistence, setCompanyLocalService, setCompanyPersistence, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setResourceLocalService, setRoleFinder, setRoleLocalService, setRolePersistence, setTeamFinder, setTeamLocalService, setTeamPersistence, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserLocalService, setUserPersistence, updateAnnouncementsEntry
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
@Deprecated public com.liferay.announcements.kernel.model.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 displayImmediately, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority, boolean alert) throws com.liferay.portal.kernel.exception.PortalException
addEntry(long,
long, long, String, String, String, String, Date, Date, int,
boolean)
com.liferay.portal.kernel.exception.PortalException
public void checkEntries() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
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
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)
@Deprecated public List<com.liferay.announcements.kernel.model.AnnouncementsEntry> getEntries(long classNameId, long classPK, boolean alert, int start, int end)
getEntries(long,
long, long, boolean, int, int)
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)
@Deprecated public int getEntriesCount(long classNameId, long classPK, boolean alert)
getEntriesCount(long, long, long, boolean)
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)
@Deprecated public com.liferay.announcements.kernel.model.AnnouncementsEntry updateEntry(long userId, long entryId, String title, String content, String url, String type, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, boolean displayImmediately, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, int priority) throws com.liferay.portal.kernel.exception.PortalException
updateEntry(long,
String, String, String, String, Date, Date, int)
com.liferay.portal.kernel.exception.PortalException
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