001
014
015 package com.liferay.portal.service;
016
017
024 public class ContactServiceWrapper implements ContactService,
025 ServiceWrapper<ContactService> {
026 public ContactServiceWrapper(ContactService contactService) {
027 _contactService = contactService;
028 }
029
030
035 @Override
036 public java.lang.String getBeanIdentifier() {
037 return _contactService.getBeanIdentifier();
038 }
039
040
045 @Override
046 public void setBeanIdentifier(java.lang.String beanIdentifier) {
047 _contactService.setBeanIdentifier(beanIdentifier);
048 }
049
050 @Override
051 public com.liferay.portal.model.Contact getContact(long contactId)
052 throws com.liferay.portal.kernel.exception.PortalException,
053 com.liferay.portal.kernel.exception.SystemException {
054 return _contactService.getContact(contactId);
055 }
056
057 @Override
058 public java.util.List<com.liferay.portal.model.Contact> getContacts(
059 long classNameId, long classPK, int start, int end,
060 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 return _contactService.getContacts(classNameId, classPK, start, end,
064 orderByComparator);
065 }
066
067 @Override
068 public int getContactsCount(long classNameId, long classPK)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _contactService.getContactsCount(classNameId, classPK);
072 }
073
074
077 public ContactService getWrappedContactService() {
078 return _contactService;
079 }
080
081
084 public void setWrappedContactService(ContactService contactService) {
085 _contactService = contactService;
086 }
087
088 @Override
089 public ContactService getWrappedService() {
090 return _contactService;
091 }
092
093 @Override
094 public void setWrappedService(ContactService contactService) {
095 _contactService = contactService;
096 }
097
098 private ContactService _contactService;
099 }