Liferay 6.2.0

com.liferay.portal.service
Interface EmailAddressService

All Superinterfaces:
BaseService
All Known Implementing Classes:
EmailAddressServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface EmailAddressService
extends BaseService

Provides the remote service interface for EmailAddress. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
EmailAddressServiceUtil, EmailAddressServiceBaseImpl, com.liferay.portal.service.impl.EmailAddressServiceImpl

Method Summary
abstract  EmailAddress addEmailAddress(String className, long classPK, String address, int typeId, boolean primary)
          Deprecated. As of 6.2.0, replaced by addEmailAddress( String, long, String, int, boolean, ServiceContext)
abstract  EmailAddress addEmailAddress(String className, long classPK, String address, int typeId, boolean primary, ServiceContext serviceContext)
           
abstract  void deleteEmailAddress(long emailAddressId)
           
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  EmailAddress getEmailAddress(long emailAddressId)
           
abstract  List<EmailAddress> getEmailAddresses(String className, long classPK)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
abstract  EmailAddress updateEmailAddress(long emailAddressId, String address, int typeId, boolean primary)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addEmailAddress

EmailAddress addEmailAddress(String className,
                             long classPK,
                             String address,
                             int typeId,
                             boolean primary)
                             throws PortalException,
                                    SystemException
Deprecated. As of 6.2.0, replaced by addEmailAddress( String, long, String, int, boolean, ServiceContext)

Throws:
PortalException
SystemException

addEmailAddress

EmailAddress addEmailAddress(String className,
                             long classPK,
                             String address,
                             int typeId,
                             boolean primary,
                             ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

deleteEmailAddress

void deleteEmailAddress(long emailAddressId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getEmailAddress

@Transactional(propagation=SUPPORTS,
               readOnly=true)
EmailAddress getEmailAddress(long emailAddressId)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getEmailAddresses

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<EmailAddress> getEmailAddresses(String className,
                                                                              long classPK)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

updateEmailAddress

EmailAddress updateEmailAddress(long emailAddressId,
                                String address,
                                int typeId,
                                boolean primary)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

Liferay 6.2.0