com.liferay.portlet.flags.service.impl
Class FlagsEntryServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.flags.service.base.FlagsEntryServiceBaseImpl
          extended by com.liferay.portlet.flags.service.impl.FlagsEntryServiceImpl
All Implemented Interfaces:
com.liferay.portlet.flags.service.FlagsEntryService

public class FlagsEntryServiceImpl
extends FlagsEntryServiceBaseImpl

View Source

Author:
Julio Camarero

Field Summary
 
Fields inherited from class com.liferay.portlet.flags.service.base.FlagsEntryServiceBaseImpl
companyLocalService, companyPersistence, companyService, flagsEntryService, groupFinder, groupLocalService, groupPersistence, groupService, layoutFinder, layoutLocalService, layoutPersistence, layoutService, mailService, roleFinder, roleLocalService, rolePersistence, roleService, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupRoleLocalService, userGroupRolePersistence, userGroupRoleService, userGroupService, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
FlagsEntryServiceImpl()
           
 
Method Summary
 void addEntry(java.lang.String className, long classPK, java.lang.String reporterEmailAddress, long reportedUserId, java.lang.String contentTitle, java.lang.String contentURL, java.lang.String reason, com.liferay.portal.service.ServiceContext serviceContext)
           
protected  java.util.List<com.liferay.portal.model.User> getRecipients(long companyId, long groupId)
           
protected  void notify(com.liferay.portal.model.Company company, java.lang.String groupName, java.lang.String reporterEmailAddress, java.lang.String reporterUserName, java.lang.String reportedEmailAddress, java.lang.String reportedUserName, java.lang.String reportedUserURL, long contentId, java.lang.String contentTitle, java.lang.String contentType, java.lang.String contentURL, java.lang.String reason, java.lang.String fromName, java.lang.String fromAddress, java.lang.String toName, java.lang.String toAddress, java.lang.String subject, java.lang.String body, com.liferay.portal.service.ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.flags.service.base.FlagsEntryServiceBaseImpl
getCompanyLocalService, getCompanyPersistence, getCompanyService, getFlagsEntryService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getMailService, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoleService, getUserGroupService, getUserLocalService, getUserPersistence, getUserService, runSQL, setCompanyLocalService, setCompanyPersistence, setCompanyService, setFlagsEntryService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setMailService, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupRoleLocalService, setUserGroupRolePersistence, setUserGroupRoleService, setUserGroupService, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlagsEntryServiceImpl

public FlagsEntryServiceImpl()
Method Detail

addEntry

public void addEntry(java.lang.String className,
                     long classPK,
                     java.lang.String reporterEmailAddress,
                     long reportedUserId,
                     java.lang.String contentTitle,
                     java.lang.String contentURL,
                     java.lang.String reason,
                     com.liferay.portal.service.ServiceContext serviceContext)
              throws com.liferay.portal.PortalException,
                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getRecipients

protected java.util.List<com.liferay.portal.model.User> getRecipients(long companyId,
                                                                      long groupId)
                                                               throws com.liferay.portal.PortalException,
                                                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

notify

protected void notify(com.liferay.portal.model.Company company,
                      java.lang.String groupName,
                      java.lang.String reporterEmailAddress,
                      java.lang.String reporterUserName,
                      java.lang.String reportedEmailAddress,
                      java.lang.String reportedUserName,
                      java.lang.String reportedUserURL,
                      long contentId,
                      java.lang.String contentTitle,
                      java.lang.String contentType,
                      java.lang.String contentURL,
                      java.lang.String reason,
                      java.lang.String fromName,
                      java.lang.String fromAddress,
                      java.lang.String toName,
                      java.lang.String toAddress,
                      java.lang.String subject,
                      java.lang.String body,
                      com.liferay.portal.service.ServiceContext serviceContext)
               throws java.io.IOException
Throws:
java.io.IOException