|
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.VirtualHostLocalServiceBaseImpl
@ProviderType public abstract class VirtualHostLocalServiceBaseImpl
Provides the base implementation for the virtual host 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 VirtualHostLocalServiceImpl.
VirtualHostLocalServiceImpl,
VirtualHostLocalServiceUtil| Field Summary | |
|---|---|
protected CompanyLocalService |
companyLocalService
|
protected CompanyPersistence |
companyPersistence
|
protected CompanyService |
companyService
|
protected CounterLocalService |
counterLocalService
|
protected GroupFinder |
groupFinder
|
protected GroupLocalService |
groupLocalService
|
protected GroupPersistence |
groupPersistence
|
protected GroupService |
groupService
|
protected LayoutSetLocalService |
layoutSetLocalService
|
protected LayoutSetPersistence |
layoutSetPersistence
|
protected LayoutSetService |
layoutSetService
|
protected PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry
|
protected VirtualHostLocalService |
virtualHostLocalService
|
protected VirtualHostPersistence |
virtualHostPersistence
|
| Constructor Summary | |
|---|---|
VirtualHostLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
VirtualHost |
addVirtualHost(VirtualHost virtualHost)
Adds the virtual host to the database. |
|
void |
afterPropertiesSet()
|
|
VirtualHost |
createVirtualHost(long virtualHostId)
Creates a new virtual host with the primary key. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
VirtualHost |
deleteVirtualHost(long virtualHostId)
Deletes the virtual host with the primary key from the database. |
|
VirtualHost |
deleteVirtualHost(VirtualHost virtualHost)
Deletes the virtual host from the database. |
|
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. |
|
VirtualHost |
fetchVirtualHost(long virtualHostId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
|
CompanyLocalService |
getCompanyLocalService()
Returns the company local service. |
|
CompanyPersistence |
getCompanyPersistence()
Returns the company persistence. |
|
CompanyService |
getCompanyService()
Returns the company remote service. |
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
GroupFinder |
getGroupFinder()
Returns the group finder. |
|
GroupLocalService |
getGroupLocalService()
Returns the group local service. |
|
GroupPersistence |
getGroupPersistence()
Returns the group persistence. |
|
GroupService |
getGroupService()
Returns the group remote service. |
|
LayoutSetLocalService |
getLayoutSetLocalService()
Returns the layout set local service. |
|
LayoutSetPersistence |
getLayoutSetPersistence()
Returns the layout set persistence. |
|
LayoutSetService |
getLayoutSetService()
Returns the layout set remote service. |
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
VirtualHost |
getVirtualHost(long virtualHostId)
Returns the virtual host with the primary key. |
|
VirtualHostLocalService |
getVirtualHostLocalService()
Returns the virtual host local service. |
|
VirtualHostPersistence |
getVirtualHostPersistence()
Returns the virtual host persistence. |
|
List<VirtualHost> |
getVirtualHosts(int start,
int end)
Returns a range of all the virtual hosts. |
|
int |
getVirtualHostsCount()
Returns the number of virtual hosts. |
|
protected void |
initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
|
|
protected void |
runSQL(String sql)
Performs a SQL query. |
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
|
void |
setCompanyLocalService(CompanyLocalService companyLocalService)
Sets the company local service. |
|
void |
setCompanyPersistence(CompanyPersistence companyPersistence)
Sets the company persistence. |
|
void |
setCompanyService(CompanyService companyService)
Sets the company remote service. |
|
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
|
void |
setGroupFinder(GroupFinder groupFinder)
Sets the group finder. |
|
void |
setGroupLocalService(GroupLocalService groupLocalService)
Sets the group local service. |
|
void |
setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence. |
|
void |
setGroupService(GroupService groupService)
Sets the group remote service. |
|
void |
setLayoutSetLocalService(LayoutSetLocalService layoutSetLocalService)
Sets the layout set local service. |
|
void |
setLayoutSetPersistence(LayoutSetPersistence layoutSetPersistence)
Sets the layout set persistence. |
|
void |
setLayoutSetService(LayoutSetService layoutSetService)
Sets the layout set remote service. |
|
void |
setVirtualHostLocalService(VirtualHostLocalService virtualHostLocalService)
Sets the virtual host local service. |
|
void |
setVirtualHostPersistence(VirtualHostPersistence virtualHostPersistence)
Sets the virtual host persistence. |
|
VirtualHost |
updateVirtualHost(VirtualHost virtualHost)
Updates the virtual host 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.VirtualHostLocalService |
|---|
fetchVirtualHost, fetchVirtualHost, getVirtualHost, getVirtualHost, updateVirtualHost |
| Field Detail |
|---|
@BeanReference(type=VirtualHostLocalService.class) protected VirtualHostLocalService virtualHostLocalService
@BeanReference(type=VirtualHostPersistence.class) protected VirtualHostPersistence virtualHostPersistence
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=CompanyLocalService.class) protected CompanyLocalService companyLocalService
@BeanReference(type=CompanyService.class) protected CompanyService companyService
@BeanReference(type=CompanyPersistence.class) protected CompanyPersistence companyPersistence
@BeanReference(type=GroupLocalService.class) protected GroupLocalService groupLocalService
@BeanReference(type=GroupService.class) protected GroupService groupService
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=GroupFinder.class) protected GroupFinder groupFinder
@BeanReference(type=LayoutSetLocalService.class) protected LayoutSetLocalService layoutSetLocalService
@BeanReference(type=LayoutSetService.class) protected LayoutSetService layoutSetService
@BeanReference(type=LayoutSetPersistence.class) protected LayoutSetPersistence layoutSetPersistence
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
| Constructor Detail |
|---|
public VirtualHostLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public VirtualHost addVirtualHost(VirtualHost virtualHost)
addVirtualHost in interface VirtualHostLocalServicevirtualHost - the virtual host
public VirtualHost createVirtualHost(long virtualHostId)
createVirtualHost in interface VirtualHostLocalServicevirtualHostId - the primary key for the new virtual host
@Indexable(type=DELETE)
public VirtualHost deleteVirtualHost(long virtualHostId)
throws PortalException
deleteVirtualHost in interface VirtualHostLocalServicevirtualHostId - the primary key of the virtual host
PortalException - if a virtual host with the primary key could not be found@Indexable(type=DELETE) public VirtualHost deleteVirtualHost(VirtualHost virtualHost)
deleteVirtualHost in interface VirtualHostLocalServicevirtualHost - the virtual host
public DynamicQuery dynamicQuery()
dynamicQuery in interface VirtualHostLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface VirtualHostLocalServicedynamicQuery - 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 VirtualHostModelImpl. 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 VirtualHostLocalServicedynamicQuery - 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 VirtualHostModelImpl. 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 VirtualHostLocalServicedynamicQuery - 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 VirtualHostLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface VirtualHostLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public VirtualHost fetchVirtualHost(long virtualHostId)
fetchVirtualHost in interface VirtualHostLocalService
public VirtualHost getVirtualHost(long virtualHostId)
throws PortalException
getVirtualHost in interface VirtualHostLocalServicevirtualHostId - the primary key of the virtual host
PortalException - if a virtual host with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface VirtualHostLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface VirtualHostLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface VirtualHostLocalServicePortalException
public List<VirtualHost> getVirtualHosts(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 VirtualHostModelImpl. 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.
getVirtualHosts in interface VirtualHostLocalServicestart - the lower bound of the range of virtual hostsend - the upper bound of the range of virtual hosts (not inclusive)
public int getVirtualHostsCount()
getVirtualHostsCount in interface VirtualHostLocalService@Indexable(type=REINDEX) public VirtualHost updateVirtualHost(VirtualHost virtualHost)
updateVirtualHost in interface VirtualHostLocalServicevirtualHost - the virtual host
public VirtualHostLocalService getVirtualHostLocalService()
public void setVirtualHostLocalService(VirtualHostLocalService virtualHostLocalService)
virtualHostLocalService - the virtual host local servicepublic VirtualHostPersistence getVirtualHostPersistence()
public void setVirtualHostPersistence(VirtualHostPersistence virtualHostPersistence)
virtualHostPersistence - the virtual host persistencepublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic CompanyLocalService getCompanyLocalService()
public void setCompanyLocalService(CompanyLocalService companyLocalService)
companyLocalService - the company local servicepublic CompanyService getCompanyService()
public void setCompanyService(CompanyService companyService)
companyService - the company remote servicepublic CompanyPersistence getCompanyPersistence()
public void setCompanyPersistence(CompanyPersistence companyPersistence)
companyPersistence - the company persistencepublic GroupLocalService getGroupLocalService()
public void setGroupLocalService(GroupLocalService groupLocalService)
groupLocalService - the group local servicepublic GroupService getGroupService()
public void setGroupService(GroupService groupService)
groupService - the group remote servicepublic GroupPersistence getGroupPersistence()
public void setGroupPersistence(GroupPersistence groupPersistence)
groupPersistence - the group persistencepublic GroupFinder getGroupFinder()
public void setGroupFinder(GroupFinder groupFinder)
groupFinder - the group finderpublic LayoutSetLocalService getLayoutSetLocalService()
public void setLayoutSetLocalService(LayoutSetLocalService layoutSetLocalService)
layoutSetLocalService - the layout set local servicepublic LayoutSetService getLayoutSetService()
public void setLayoutSetService(LayoutSetService layoutSetService)
layoutSetService - the layout set remote servicepublic LayoutSetPersistence getLayoutSetPersistence()
public void setLayoutSetPersistence(LayoutSetPersistence layoutSetPersistence)
layoutSetPersistence - the layout set persistencepublic void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier in interface IdentifiableBeangetBeanIdentifier in interface VirtualHostLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface IdentifiableBeansetBeanIdentifier in interface VirtualHostLocalServicebeanIdentifier - 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 | |||||||||