public class AHRegionLocalServiceWrapper extends Object implements AHRegionLocalService, com.liferay.portal.service.ServiceWrapper<AHRegionLocalService>
AHRegionLocalService
.AHRegionLocalService
Constructor and Description |
---|
AHRegionLocalServiceWrapper(AHRegionLocalService ahRegionLocalService) |
Modifier and Type | Method and Description |
---|---|
AHRegion |
addAHRegion(AHRegion ahRegion)
Adds the a h region to the database.
|
AHRegion |
addRegion(String city,
String country,
int zip) |
AHRegion |
createAHRegion(AHRegionPK ahRegionPK)
Creates a new a h region with the primary key.
|
AHRegion |
deleteAHRegion(AHRegion ahRegion)
Deletes the a h region from the database.
|
AHRegion |
deleteAHRegion(AHRegionPK ahRegionPK)
Deletes the a h region with the primary key from the database.
|
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Returns the number of rows that match the dynamic query.
|
AHRegion |
fetchAHRegion(AHRegionPK ahRegionPK) |
AHRegion |
getAHRegion(AHRegionPK ahRegionPK)
Returns the a h region with the primary key.
|
List<AHRegion> |
getAHRegions(int start,
int end)
Returns a range of all the a h regions.
|
int |
getAHRegionsCount()
Returns the number of a h regions.
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
com.liferay.portal.model.PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
AHRegion |
getRegion(long regionId) |
AHRegion |
getRegion(String city,
String country,
int zip) |
AHRegionLocalService |
getWrappedAHRegionLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
AHRegionLocalService |
getWrappedService() |
Object |
invokeMethod(String name,
String[] parameterTypes,
Object[] arguments) |
AHRegion |
removeRegion(long regionId) |
AHRegion |
removeRegion(String city,
String country,
int zip) |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedAHRegionLocalService(AHRegionLocalService ahRegionLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(de.fraunhofer.fokus.oefit.particity.service.AHRegionLocalService) |
void |
setWrappedService(AHRegionLocalService ahRegionLocalService) |
AHRegion |
updateAHRegion(AHRegion ahRegion)
Updates the a h region in the database or adds it if it does not yet exist.
|
public AHRegionLocalServiceWrapper(AHRegionLocalService ahRegionLocalService)
public AHRegion addAHRegion(AHRegion ahRegion) throws com.liferay.portal.kernel.exception.SystemException
addAHRegion
in interface AHRegionLocalService
ahRegion
- the a h regionSystemException
- if a system exception occurredpublic AHRegion createAHRegion(AHRegionPK ahRegionPK)
createAHRegion
in interface AHRegionLocalService
ahRegionPK
- the primary key for the new a h regionpublic AHRegion deleteAHRegion(AHRegionPK ahRegionPK) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
deleteAHRegion
in interface AHRegionLocalService
ahRegionPK
- the primary key of the a h regionPortalException
- if a a h region with the primary key could not be foundSystemException
- if a system exception occurredpublic AHRegion deleteAHRegion(AHRegion ahRegion) throws com.liferay.portal.kernel.exception.SystemException
deleteAHRegion
in interface AHRegionLocalService
ahRegion
- the a h regionSystemException
- if a system exception occurredpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface AHRegionLocalService
public List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException
dynamicQuery
in interface AHRegionLocalService
dynamicQuery
- the dynamic querySystemException
- if a system exception occurredpublic List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.kernel.exception.SystemException
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 AHRegionModelImpl
. 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 AHRegionLocalService
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)SystemException
- if a system exception occurredpublic List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
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 AHRegionModelImpl
. 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 AHRegionLocalService
dynamicQuery
- 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
)SystemException
- if a system exception occurredpublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException
dynamicQueryCount
in interface AHRegionLocalService
dynamicQuery
- the dynamic querySystemException
- if a system exception occurredpublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) throws com.liferay.portal.kernel.exception.SystemException
dynamicQueryCount
in interface AHRegionLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querySystemException
- if a system exception occurredpublic AHRegion fetchAHRegion(AHRegionPK ahRegionPK) throws com.liferay.portal.kernel.exception.SystemException
fetchAHRegion
in interface AHRegionLocalService
com.liferay.portal.kernel.exception.SystemException
public AHRegion getAHRegion(AHRegionPK ahRegionPK) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
getAHRegion
in interface AHRegionLocalService
ahRegionPK
- the primary key of the a h regionPortalException
- if a a h region with the primary key could not be foundSystemException
- if a system exception occurredpublic com.liferay.portal.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
getPersistedModel
in interface com.liferay.portal.service.PersistedModelLocalService
getPersistedModel
in interface AHRegionLocalService
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public List<AHRegion> getAHRegions(int start, int end) throws com.liferay.portal.kernel.exception.SystemException
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 AHRegionModelImpl
. 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.
getAHRegions
in interface AHRegionLocalService
start
- the lower bound of the range of a h regionsend
- the upper bound of the range of a h regions (not inclusive)SystemException
- if a system exception occurredpublic int getAHRegionsCount() throws com.liferay.portal.kernel.exception.SystemException
getAHRegionsCount
in interface AHRegionLocalService
SystemException
- if a system exception occurredpublic AHRegion updateAHRegion(AHRegion ahRegion) throws com.liferay.portal.kernel.exception.SystemException
updateAHRegion
in interface AHRegionLocalService
ahRegion
- the a h regionSystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface AHRegionLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface AHRegionLocalService
beanIdentifier
- the Spring bean ID for this beanpublic Object invokeMethod(String name, String[] parameterTypes, Object[] arguments) throws Throwable
invokeMethod
in interface com.liferay.portal.service.InvokableLocalService
invokeMethod
in interface AHRegionLocalService
Throwable
public AHRegion addRegion(String city, String country, int zip)
addRegion
in interface AHRegionLocalService
public AHRegion getRegion(long regionId)
getRegion
in interface AHRegionLocalService
public AHRegion getRegion(String city, String country, int zip)
getRegion
in interface AHRegionLocalService
public AHRegion removeRegion(long regionId)
removeRegion
in interface AHRegionLocalService
public AHRegion removeRegion(String city, String country, int zip)
removeRegion
in interface AHRegionLocalService
public AHRegionLocalService getWrappedAHRegionLocalService()
getWrappedService()
public void setWrappedAHRegionLocalService(AHRegionLocalService ahRegionLocalService)
setWrappedService(de.fraunhofer.fokus.oefit.particity.service.AHRegionLocalService)
public AHRegionLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.service.ServiceWrapper<AHRegionLocalService>
public void setWrappedService(AHRegionLocalService ahRegionLocalService)
setWrappedService
in interface com.liferay.portal.service.ServiceWrapper<AHRegionLocalService>
Copyright © 2016 Fraunhofer FOKUS. All rights reserved.