public class ContactLocalServiceImpl extends ContactLocalServiceBaseImpl
addressLocalService, addressPersistence, contactLocalService, contactPersistence, counterLocalService, emailAddressLocalService, emailAddressPersistence, organizationFinder, organizationLocalService, organizationPersistence, persistedModelLocalServiceRegistry, phoneLocalService, phonePersistence, userFinder, userLocalService, userPersistence, websiteLocalService, websitePersistence| Constructor and Description |
|---|
ContactLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
com.liferay.portal.kernel.model.Contact |
addContact(long userId,
String className,
long classPK,
String emailAddress,
String firstName,
String middleName,
String lastName,
long prefixId,
long suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String facebookSn,
String jabberSn,
String skypeSn,
String twitterSn,
String jobTitle) |
com.liferay.portal.kernel.model.Contact |
deleteContact(com.liferay.portal.kernel.model.Contact contact)
Deletes the contact from the database.
|
com.liferay.portal.kernel.model.Contact |
deleteContact(long contactId)
Deletes the contact with the primary key from the database.
|
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 prefixId,
long suffixId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String facebookSn,
String jabberSn,
String skypeSn,
String twitterSn,
String jobTitle) |
protected void |
validate(String className,
long classPK) |
addContact, afterPropertiesSet, createContact, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchContact, getActionableDynamicQuery, getAddressLocalService, getAddressPersistence, getContact, getContactLocalService, getContactPersistence, getContacts, getContactsCount, getCounterLocalService, getEmailAddressLocalService, getEmailAddressPersistence, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOSGiServiceIdentifier, getPersistedModel, getPhoneLocalService, getPhonePersistence, getUserFinder, getUserLocalService, getUserPersistence, getWebsiteLocalService, getWebsitePersistence, initActionableDynamicQuery, runSQL, setAddressLocalService, setAddressPersistence, setContactLocalService, setContactPersistence, setCounterLocalService, setEmailAddressLocalService, setEmailAddressPersistence, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setPhoneLocalService, setPhonePersistence, setUserFinder, setUserLocalService, setUserPersistence, setWebsiteLocalService, setWebsitePersistence, updateContact@Indexable(type=REINDEX)
public com.liferay.portal.kernel.model.Contact addContact(long userId,
String className,
long classPK,
String emailAddress,
String firstName,
String middleName,
String lastName,
long prefixId,
long suffixId,
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
com.liferay.portal.kernel.exception.PortalException@Indexable(type=DELETE) public com.liferay.portal.kernel.model.Contact deleteContact(com.liferay.portal.kernel.model.Contact contact)
ContactLocalServiceBaseImpldeleteContact in interface com.liferay.portal.kernel.service.ContactLocalServicedeleteContact in class ContactLocalServiceBaseImplcontact - the contact@Indexable(type=DELETE) public com.liferay.portal.kernel.model.Contact deleteContact(long contactId)
ContactLocalServiceBaseImpldeleteContact in interface com.liferay.portal.kernel.service.ContactLocalServicedeleteContact in class ContactLocalServiceBaseImplcontactId - the primary key of the contactpublic 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)
public int getContactsCount(long classNameId,
long classPK)
@Indexable(type=REINDEX)
public com.liferay.portal.kernel.model.Contact updateContact(long contactId,
String emailAddress,
String firstName,
String middleName,
String lastName,
long prefixId,
long suffixId,
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
com.liferay.portal.kernel.exception.PortalExceptionprotected void validate(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException