|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portal.service.base.ContactLocalServiceBaseImpl
@ProviderType public abstract class ContactLocalServiceBaseImpl
Provides the base implementation for the contact local service.
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in ContactLocalServiceImpl.
ContactLocalServiceImpl,
ContactLocalServiceUtil| Constructor Summary | |
|---|---|
ContactLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
Contact |
addContact(Contact contact)
Adds the contact to the database. |
|
void |
afterPropertiesSet()
|
|
Contact |
createContact(long contactId)
Creates a new contact with the primary key. |
|
Contact |
deleteContact(Contact contact)
Deletes the contact from the database. |
|
Contact |
deleteContact(long contactId)
Deletes the contact with the primary key from the database. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
void |
destroy()
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
Contact |
fetchContact(long contactId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
AddressLocalService |
getAddressLocalService()
Returns the address local service. |
|
AddressPersistence |
getAddressPersistence()
Returns the address persistence. |
|
AddressService |
getAddressService()
Returns the address remote service. |
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
|
Contact |
getContact(long contactId)
Returns the contact with the primary key. |
|
ContactLocalService |
getContactLocalService()
Returns the contact local service. |
|
ContactPersistence |
getContactPersistence()
Returns the contact persistence. |
|
List<Contact> |
getContacts(int start,
int end)
Returns a range of all the contacts. |
|
int |
getContactsCount()
Returns the number of contacts. |
|
ContactService |
getContactService()
Returns the contact remote service. |
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
EmailAddressLocalService |
getEmailAddressLocalService()
Returns the email address local service. |
|
EmailAddressPersistence |
getEmailAddressPersistence()
Returns the email address persistence. |
|
EmailAddressService |
getEmailAddressService()
Returns the email address remote service. |
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
OrganizationFinder |
getOrganizationFinder()
Returns the organization finder. |
|
OrganizationLocalService |
getOrganizationLocalService()
Returns the organization local service. |
|
OrganizationPersistence |
getOrganizationPersistence()
Returns the organization persistence. |
|
OrganizationService |
getOrganizationService()
Returns the organization remote service. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
PhoneLocalService |
getPhoneLocalService()
Returns the phone local service. |
|
PhonePersistence |
getPhonePersistence()
Returns the phone persistence. |
|
PhoneService |
getPhoneService()
Returns the phone remote service. |
|
UserFinder |
getUserFinder()
Returns the user finder. |
|
UserLocalService |
getUserLocalService()
Returns the user local service. |
|
UserPersistence |
getUserPersistence()
Returns the user persistence. |
|
UserService |
getUserService()
Returns the user remote service. |
|
WebsiteLocalService |
getWebsiteLocalService()
Returns the website local service. |
|
WebsitePersistence |
getWebsitePersistence()
Returns the website persistence. |
|
WebsiteService |
getWebsiteService()
Returns the website remote service. |
|
protected void |
initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
|
|
protected void |
runSQL(String sql)
Performs a SQL query. |
|
void |
setAddressLocalService(AddressLocalService addressLocalService)
Sets the address local service. |
|
void |
setAddressPersistence(AddressPersistence addressPersistence)
Sets the address persistence. |
|
void |
setAddressService(AddressService addressService)
Sets the address remote service. |
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
|
void |
setContactLocalService(ContactLocalService contactLocalService)
Sets the contact local service. |
|
void |
setContactPersistence(ContactPersistence contactPersistence)
Sets the contact persistence. |
|
void |
setContactService(ContactService contactService)
Sets the contact remote service. |
|
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
|
void |
setEmailAddressLocalService(EmailAddressLocalService emailAddressLocalService)
Sets the email address local service. |
|
void |
setEmailAddressPersistence(EmailAddressPersistence emailAddressPersistence)
Sets the email address persistence. |
|
void |
setEmailAddressService(EmailAddressService emailAddressService)
Sets the email address remote service. |
|
void |
setOrganizationFinder(OrganizationFinder organizationFinder)
Sets the organization finder. |
|
void |
setOrganizationLocalService(OrganizationLocalService organizationLocalService)
Sets the organization local service. |
|
void |
setOrganizationPersistence(OrganizationPersistence organizationPersistence)
Sets the organization persistence. |
|
void |
setOrganizationService(OrganizationService organizationService)
Sets the organization remote service. |
|
void |
setPhoneLocalService(PhoneLocalService phoneLocalService)
Sets the phone local service. |
|
void |
setPhonePersistence(PhonePersistence phonePersistence)
Sets the phone persistence. |
|
void |
setPhoneService(PhoneService phoneService)
Sets the phone remote service. |
|
void |
setUserFinder(UserFinder userFinder)
Sets the user finder. |
|
void |
setUserLocalService(UserLocalService userLocalService)
Sets the user local service. |
|
void |
setUserPersistence(UserPersistence userPersistence)
Sets the user persistence. |
|
void |
setUserService(UserService userService)
Sets the user remote service. |
|
void |
setWebsiteLocalService(WebsiteLocalService websiteLocalService)
Sets the website local service. |
|
void |
setWebsitePersistence(WebsitePersistence websitePersistence)
Sets the website persistence. |
|
void |
setWebsiteService(WebsiteService websiteService)
Sets the website remote service. |
|
Contact |
updateContact(Contact contact)
Updates the contact in the database or adds it if it does not yet exist. |
|
| Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.ContactLocalService |
|---|
addContact, getContacts, getContactsCount, updateContact |
| Field Detail |
|---|
@BeanReference(type=ContactLocalService.class) protected ContactLocalService contactLocalService
@BeanReference(type=ContactService.class) protected ContactService contactService
@BeanReference(type=ContactPersistence.class) protected ContactPersistence contactPersistence
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=AddressLocalService.class) protected AddressLocalService addressLocalService
@BeanReference(type=AddressService.class) protected AddressService addressService
@BeanReference(type=AddressPersistence.class) protected AddressPersistence addressPersistence
@BeanReference(type=EmailAddressLocalService.class) protected EmailAddressLocalService emailAddressLocalService
@BeanReference(type=EmailAddressService.class) protected EmailAddressService emailAddressService
@BeanReference(type=EmailAddressPersistence.class) protected EmailAddressPersistence emailAddressPersistence
@BeanReference(type=OrganizationLocalService.class) protected OrganizationLocalService organizationLocalService
@BeanReference(type=OrganizationService.class) protected OrganizationService organizationService
@BeanReference(type=OrganizationPersistence.class) protected OrganizationPersistence organizationPersistence
@BeanReference(type=OrganizationFinder.class) protected OrganizationFinder organizationFinder
@BeanReference(type=PhoneLocalService.class) protected PhoneLocalService phoneLocalService
@BeanReference(type=PhoneService.class) protected PhoneService phoneService
@BeanReference(type=PhonePersistence.class) protected PhonePersistence phonePersistence
@BeanReference(type=UserLocalService.class) protected UserLocalService userLocalService
@BeanReference(type=UserService.class) protected UserService userService
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserFinder.class) protected UserFinder userFinder
@BeanReference(type=WebsiteLocalService.class) protected WebsiteLocalService websiteLocalService
@BeanReference(type=WebsiteService.class) protected WebsiteService websiteService
@BeanReference(type=WebsitePersistence.class) protected WebsitePersistence websitePersistence
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
| Constructor Detail |
|---|
public ContactLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public Contact addContact(Contact contact)
addContact in interface ContactLocalServicecontact - the contact
public Contact createContact(long contactId)
createContact in interface ContactLocalServicecontactId - the primary key for the new contact
@Indexable(type=DELETE)
public Contact deleteContact(long contactId)
throws PortalException
deleteContact in interface ContactLocalServicecontactId - the primary key of the contact
PortalException - if a contact with the primary key could not be found@Indexable(type=DELETE) public Contact deleteContact(Contact contact)
deleteContact in interface ContactLocalServicecontact - the contact
public DynamicQuery dynamicQuery()
dynamicQuery in interface ContactLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface ContactLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ContactModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface ContactLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ContactModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface ContactLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface ContactLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface ContactLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public Contact fetchContact(long contactId)
fetchContact in interface ContactLocalService
public Contact getContact(long contactId)
throws PortalException
getContact in interface ContactLocalServicecontactId - the primary key of the contact
PortalException - if a contact with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface ContactLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface ContactLocalServicedeletePersistedModel in interface PersistedModelLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface ContactLocalServicegetPersistedModel in interface PersistedModelLocalServicePortalException
public List<Contact> getContacts(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ContactModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getContacts in interface ContactLocalServicestart - the lower bound of the range of contactsend - the upper bound of the range of contacts (not inclusive)
public int getContactsCount()
getContactsCount in interface ContactLocalService@Indexable(type=REINDEX) public Contact updateContact(Contact contact)
updateContact in interface ContactLocalServicecontact - the contact
public ContactLocalService getContactLocalService()
public void setContactLocalService(ContactLocalService contactLocalService)
contactLocalService - the contact local servicepublic ContactService getContactService()
public void setContactService(ContactService contactService)
contactService - the contact remote servicepublic ContactPersistence getContactPersistence()
public void setContactPersistence(ContactPersistence contactPersistence)
contactPersistence - the contact persistencepublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic AddressLocalService getAddressLocalService()
public void setAddressLocalService(AddressLocalService addressLocalService)
addressLocalService - the address local servicepublic AddressService getAddressService()
public void setAddressService(AddressService addressService)
addressService - the address remote servicepublic AddressPersistence getAddressPersistence()
public void setAddressPersistence(AddressPersistence addressPersistence)
addressPersistence - the address persistencepublic EmailAddressLocalService getEmailAddressLocalService()
public void setEmailAddressLocalService(EmailAddressLocalService emailAddressLocalService)
emailAddressLocalService - the email address local servicepublic EmailAddressService getEmailAddressService()
public void setEmailAddressService(EmailAddressService emailAddressService)
emailAddressService - the email address remote servicepublic EmailAddressPersistence getEmailAddressPersistence()
public void setEmailAddressPersistence(EmailAddressPersistence emailAddressPersistence)
emailAddressPersistence - the email address persistencepublic OrganizationLocalService getOrganizationLocalService()
public void setOrganizationLocalService(OrganizationLocalService organizationLocalService)
organizationLocalService - the organization local servicepublic OrganizationService getOrganizationService()
public void setOrganizationService(OrganizationService organizationService)
organizationService - the organization remote servicepublic OrganizationPersistence getOrganizationPersistence()
public void setOrganizationPersistence(OrganizationPersistence organizationPersistence)
organizationPersistence - the organization persistencepublic OrganizationFinder getOrganizationFinder()
public void setOrganizationFinder(OrganizationFinder organizationFinder)
organizationFinder - the organization finderpublic PhoneLocalService getPhoneLocalService()
public void setPhoneLocalService(PhoneLocalService phoneLocalService)
phoneLocalService - the phone local servicepublic PhoneService getPhoneService()
public void setPhoneService(PhoneService phoneService)
phoneService - the phone remote servicepublic PhonePersistence getPhonePersistence()
public void setPhonePersistence(PhonePersistence phonePersistence)
phonePersistence - the phone persistencepublic UserLocalService getUserLocalService()
public void setUserLocalService(UserLocalService userLocalService)
userLocalService - the user local servicepublic UserService getUserService()
public void setUserService(UserService userService)
userService - the user remote servicepublic UserPersistence getUserPersistence()
public void setUserPersistence(UserPersistence userPersistence)
userPersistence - the user persistencepublic UserFinder getUserFinder()
public void setUserFinder(UserFinder userFinder)
userFinder - the user finderpublic WebsiteLocalService getWebsiteLocalService()
public void setWebsiteLocalService(WebsiteLocalService websiteLocalService)
websiteLocalService - the website local servicepublic WebsiteService getWebsiteService()
public void setWebsiteService(WebsiteService websiteService)
websiteService - the website remote servicepublic WebsitePersistence getWebsitePersistence()
public void setWebsitePersistence(WebsitePersistence websitePersistence)
websitePersistence - the website persistencepublic void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier in interface IdentifiableBeangetBeanIdentifier in interface ContactLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface IdentifiableBeansetBeanIdentifier in interface ContactLocalServicebeanIdentifier - the Spring bean ID for this beanprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql - the sql query
|
Liferay 7.0-ce-m6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||