Liferay 7.0-ce-m6

com.liferay.portal.service
Class EmailAddressServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.EmailAddressServiceWrapper
All Implemented Interfaces:
BaseService, EmailAddressService, ServiceWrapper<EmailAddressService>

@ProviderType
public class EmailAddressServiceWrapper
extends Object
implements EmailAddressService, ServiceWrapper<EmailAddressService>

Provides a wrapper for EmailAddressService.

See Also:
EmailAddressService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
EmailAddressServiceWrapper(EmailAddressService emailAddressService)
           
 
Method Summary
 EmailAddress addEmailAddress(String className, long classPK, String address, long typeId, boolean primary)
          Deprecated. As of 6.2.0, replaced by #addEmailAddress(String, long, String, int, boolean, ServiceContext)
 EmailAddress addEmailAddress(String className, long classPK, String address, long typeId, boolean primary, ServiceContext serviceContext)
           
 void deleteEmailAddress(long emailAddressId)
           
 EmailAddress fetchEmailAddress(long emailAddressId)
          Returns the email address with the primary key.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 EmailAddress getEmailAddress(long emailAddressId)
           
 List<EmailAddress> getEmailAddresses(String className, long classPK)
           
 EmailAddressService getWrappedEmailAddressService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 EmailAddressService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedEmailAddressService(EmailAddressService emailAddressService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portal.service.EmailAddressService)
 void setWrappedService(EmailAddressService emailAddressService)
           
 EmailAddress updateEmailAddress(long emailAddressId, String address, long typeId, boolean primary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailAddressServiceWrapper

public EmailAddressServiceWrapper(EmailAddressService emailAddressService)
Method Detail

addEmailAddress

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

Specified by:
addEmailAddress in interface EmailAddressService
Throws:
PortalException

addEmailAddress

public EmailAddress addEmailAddress(String className,
                                    long classPK,
                                    String address,
                                    long typeId,
                                    boolean primary,
                                    ServiceContext serviceContext)
                             throws PortalException
Specified by:
addEmailAddress in interface EmailAddressService
Throws:
PortalException

deleteEmailAddress

public void deleteEmailAddress(long emailAddressId)
                        throws PortalException
Specified by:
deleteEmailAddress in interface EmailAddressService
Throws:
PortalException

fetchEmailAddress

public EmailAddress fetchEmailAddress(long emailAddressId)
                               throws PortalException
Returns the email address with the primary key.

Specified by:
fetchEmailAddress in interface EmailAddressService
Parameters:
emailAddressId - the primary key of the email address
Returns:
the email address with the primary key, or null if an email address with the primary key could not be found or if the user did not have permission to view the email address
Throws:
PortalException - if a portal exception occurred

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface EmailAddressService
Returns:
the Spring bean ID for this bean

getEmailAddress

public EmailAddress getEmailAddress(long emailAddressId)
                             throws PortalException
Specified by:
getEmailAddress in interface EmailAddressService
Throws:
PortalException

getEmailAddresses

public List<EmailAddress> getEmailAddresses(String className,
                                            long classPK)
                                     throws PortalException
Specified by:
getEmailAddresses in interface EmailAddressService
Throws:
PortalException

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface EmailAddressService
Parameters:
beanIdentifier - the Spring bean ID for this bean

updateEmailAddress

public EmailAddress updateEmailAddress(long emailAddressId,
                                       String address,
                                       long typeId,
                                       boolean primary)
                                throws PortalException
Specified by:
updateEmailAddress in interface EmailAddressService
Throws:
PortalException

getWrappedEmailAddressService

@Deprecated
public EmailAddressService getWrappedEmailAddressService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedEmailAddressService

@Deprecated
public void setWrappedEmailAddressService(EmailAddressService emailAddressService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portal.service.EmailAddressService)


getWrappedService

public EmailAddressService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<EmailAddressService>

setWrappedService

public void setWrappedService(EmailAddressService emailAddressService)
Specified by:
setWrappedService in interface ServiceWrapper<EmailAddressService>

Liferay 7.0-ce-m6