public class ContactServiceUtil
extends Object
com.liferay.portal.service.impl.ContactServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.ContactService
Constructor and Description |
---|
ContactServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static Contact |
addContact(long userId,
String className,
long classPK,
String emailAddress,
String firstName,
String middleName,
String lastName,
long prefixListTypeId,
long suffixListTypeId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String facebookSn,
String jabberSn,
String skypeSn,
String twitterSn,
String jobTitle) |
static List<Contact> |
getCompanyContacts(long companyId,
int start,
int end) |
static int |
getCompanyContactsCount(long companyId) |
static Contact |
getContact(long contactId) |
static List<Contact> |
getContacts(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<Contact> orderByComparator) |
static int |
getContactsCount(long classNameId,
long classPK) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static ContactService |
getService() |
static void |
setService(ContactService service) |
static Contact |
updateContact(long contactId,
String emailAddress,
String firstName,
String middleName,
String lastName,
long prefixListTypeId,
long suffixListTypeId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String facebookSn,
String jabberSn,
String skypeSn,
String twitterSn,
String jobTitle) |
public static Contact addContact(long userId, String className, long classPK, String emailAddress, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle) throws PortalException
PortalException
public static List<Contact> getCompanyContacts(long companyId, int start, int end) throws PortalException
PortalException
public static int getCompanyContactsCount(long companyId)
public static Contact getContact(long contactId) throws PortalException
PortalException
public static List<Contact> getContacts(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator) throws PortalException
PortalException
public static int getContactsCount(long classNameId, long classPK) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static Contact updateContact(long contactId, String emailAddress, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle) throws PortalException
PortalException
public static ContactService getService()
public static void setService(ContactService service)