Liferay 7.0-ce-b4

com.liferay.portal.service.impl
Class PhoneServiceImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseServiceImpl
      extended by com.liferay.portal.service.base.PhoneServiceBaseImpl
          extended by com.liferay.portal.service.impl.PhoneServiceImpl
All Implemented Interfaces:
IdentifiableOSGiService, BaseService, PhoneService

public class PhoneServiceImpl
extends PhoneServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portal.service.base.PhoneServiceBaseImpl
classNameLocalService, classNamePersistence, classNameService, counterLocalService, listTypeLocalService, listTypePersistence, listTypeService, phoneLocalService, phonePersistence, phoneService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
PhoneServiceImpl()
           
 
Method Summary
 Phone addPhone(String className, long classPK, String number, String extension, long typeId, boolean primary)
          Deprecated. As of 6.2.0, replaced by #addPhone(String, long, String, String, int, boolean, ServiceContext)
 Phone addPhone(String className, long classPK, String number, String extension, long typeId, boolean primary, ServiceContext serviceContext)
           
 void deletePhone(long phoneId)
           
 Phone getPhone(long phoneId)
           
 List<Phone> getPhones(String className, long classPK)
           
 Phone updatePhone(long phoneId, String number, String extension, long typeId, boolean primary)
           
 
Methods inherited from class com.liferay.portal.service.base.PhoneServiceBaseImpl
afterPropertiesSet, destroy, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCounterLocalService, getListTypeLocalService, getListTypePersistence, getListTypeService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPhoneLocalService, getPhonePersistence, getPhoneService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCounterLocalService, setListTypeLocalService, setListTypePersistence, setListTypeService, setPhoneLocalService, setPhonePersistence, setPhoneService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhoneServiceImpl

public PhoneServiceImpl()
Method Detail

addPhone

@Deprecated
public Phone addPhone(String className,
                                 long classPK,
                                 String number,
                                 String extension,
                                 long typeId,
                                 boolean primary)
               throws PortalException
Deprecated. As of 6.2.0, replaced by #addPhone(String, long, String, String, int, boolean, ServiceContext)

Throws:
PortalException

addPhone

public Phone addPhone(String className,
                      long classPK,
                      String number,
                      String extension,
                      long typeId,
                      boolean primary,
                      ServiceContext serviceContext)
               throws PortalException
Throws:
PortalException

deletePhone

public void deletePhone(long phoneId)
                 throws PortalException
Throws:
PortalException

getPhone

public Phone getPhone(long phoneId)
               throws PortalException
Throws:
PortalException

getPhones

public List<Phone> getPhones(String className,
                             long classPK)
                      throws PortalException
Throws:
PortalException

updatePhone

public Phone updatePhone(long phoneId,
                         String number,
                         String extension,
                         long typeId,
                         boolean primary)
                  throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4