1
22
23 package com.liferay.portal.service;
24
25
26
50 public interface PhoneLocalService {
51 public com.liferay.portal.model.Phone addPhone(
52 com.liferay.portal.model.Phone phone)
53 throws com.liferay.portal.SystemException;
54
55 public com.liferay.portal.model.Phone createPhone(long phoneId);
56
57 public void deletePhone(long phoneId)
58 throws com.liferay.portal.SystemException,
59 com.liferay.portal.PortalException;
60
61 public void deletePhone(com.liferay.portal.model.Phone phone)
62 throws com.liferay.portal.SystemException;
63
64 public java.util.List<Object> dynamicQuery(
65 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
70 int end) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portal.model.Phone getPhone(long phoneId)
73 throws com.liferay.portal.SystemException,
74 com.liferay.portal.PortalException;
75
76 public java.util.List<com.liferay.portal.model.Phone> getPhones(int start,
77 int end) throws com.liferay.portal.SystemException;
78
79 public int getPhonesCount() throws com.liferay.portal.SystemException;
80
81 public com.liferay.portal.model.Phone updatePhone(
82 com.liferay.portal.model.Phone phone)
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portal.model.Phone addPhone(long userId,
86 java.lang.String className, long classPK, java.lang.String number,
87 java.lang.String extension, int typeId, boolean primary)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException;
90
91 public void deletePhones(long companyId, java.lang.String className,
92 long classPK) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portal.model.Phone> getPhones()
95 throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portal.model.Phone> getPhones(
98 long companyId, java.lang.String className, long classPK)
99 throws com.liferay.portal.SystemException;
100
101 public com.liferay.portal.model.Phone updatePhone(long phoneId,
102 java.lang.String number, java.lang.String extension, int typeId,
103 boolean primary)
104 throws com.liferay.portal.PortalException,
105 com.liferay.portal.SystemException;
106 }