Package com.liferay.portal.service.impl
Class ContactServiceImpl
Object
com.liferay.portal.kernel.service.BaseServiceImpl
com.liferay.portal.service.base.ContactServiceBaseImpl
com.liferay.portal.service.impl.ContactServiceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ContactService
- Author:
- Brian Wing Shun Chan, Vilmos Papp
-
Field Summary
Fields inherited from class com.liferay.portal.service.base.ContactServiceBaseImpl
contactLocalService, contactPersistence, contactService, counterLocalService
Fields inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.portal.kernel.model.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) List<com.liferay.portal.kernel.model.Contact>
getCompanyContacts
(long companyId, int start, int end) int
getCompanyContactsCount
(long companyId) com.liferay.portal.kernel.model.Contact
getContact
(long contactId) List<com.liferay.portal.kernel.model.Contact>
getContacts
(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Contact> orderByComparator) int
getContactsCount
(long classNameId, long classPK) com.liferay.portal.kernel.model.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) Methods inherited from class com.liferay.portal.service.base.ContactServiceBaseImpl
afterPropertiesSet, destroy, getContactLocalService, getContactPersistence, getContactService, getCounterLocalService, getModelClass, getModelClassName, getOSGiServiceIdentifier, runSQL, setContactLocalService, setContactPersistence, setContactService, setCounterLocalService
Methods inherited from class com.liferay.portal.kernel.service.BaseServiceImpl
getClassLoader, getGuestOrUser, getGuestOrUserId, getPermissionChecker, getUser, getUserId
-
Constructor Details
-
ContactServiceImpl
public ContactServiceImpl()
-
-
Method Details
-
addContact
public com.liferay.portal.kernel.model.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 com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyContacts
public List<com.liferay.portal.kernel.model.Contact> getCompanyContacts(long companyId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCompanyContactsCount
public int getCompanyContactsCount(long companyId) -
getContact
public com.liferay.portal.kernel.model.Contact getContact(long contactId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getContacts
public List<com.liferay.portal.kernel.model.Contact> getContacts(long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Contact> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getContactsCount
public int getContactsCount(long classNameId, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateContact
public com.liferay.portal.kernel.model.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 com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-