public class AHSubscriptionLocalServiceWrapper extends Object implements AHSubscriptionLocalService, com.liferay.portal.service.ServiceWrapper<AHSubscriptionLocalService>
AHSubscriptionLocalService
.AHSubscriptionLocalService
Constructor and Description |
---|
AHSubscriptionLocalServiceWrapper(AHSubscriptionLocalService ahSubscriptionLocalService) |
Modifier and Type | Method and Description |
---|---|
void |
addAHCatEntriesAHSubscription(long itemId,
AHSubscription ahSubscription) |
void |
addAHCatEntriesAHSubscription(long itemId,
long subId) |
void |
addAHCatEntriesAHSubscriptions(long itemId,
List<AHSubscription> AHSubscriptions) |
void |
addAHCatEntriesAHSubscriptions(long itemId,
long[] subIds) |
AHSubscription |
addAHSubscription(AHSubscription ahSubscription)
Adds the a h subscription to the database.
|
AHSubscription |
addSubscription(String email,
long[] categories) |
AHSubscription |
addSubscription(String email,
long[] categories,
String uuid,
E_SubscriptionStatus status) |
void |
clearAHCatEntriesAHSubscriptions(long itemId) |
AHSubscription |
createAHSubscription(long subId)
Creates a new a h subscription with the primary key.
|
void |
deleteAHCatEntriesAHSubscription(long itemId,
AHSubscription ahSubscription) |
void |
deleteAHCatEntriesAHSubscription(long itemId,
long subId) |
void |
deleteAHCatEntriesAHSubscriptions(long itemId,
List<AHSubscription> AHSubscriptions) |
void |
deleteAHCatEntriesAHSubscriptions(long itemId,
long[] subIds) |
AHSubscription |
deleteAHSubscription(AHSubscription ahSubscription)
Deletes the a h subscription from the database.
|
AHSubscription |
deleteAHSubscription(long subId)
Deletes the a h subscription 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.
|
AHSubscription |
fetchAHSubscription(long subId) |
List<AHSubscription> |
getAHCatEntriesAHSubscriptions(long itemId) |
List<AHSubscription> |
getAHCatEntriesAHSubscriptions(long itemId,
int start,
int end) |
List<AHSubscription> |
getAHCatEntriesAHSubscriptions(long itemId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator) |
int |
getAHCatEntriesAHSubscriptionsCount(long itemId) |
AHSubscription |
getAHSubscription(long subId)
Returns the a h subscription with the primary key.
|
List<AHSubscription> |
getAHSubscriptions(int start,
int end)
Returns a range of all the a h subscriptions.
|
int |
getAHSubscriptionsCount()
Returns the number of a h subscriptions.
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
List<AHCatEntries> |
getCategoriesBySubscription(long subId) |
String |
getCategoriesBySubscriptionAsString(long subId) |
com.liferay.portal.model.PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
List<AHSubscription> |
getSubscriptionsByMail(String email) |
List<AHSubscription> |
getSubscriptionsByUuid(String uuid) |
List<String> |
getUserAddresses() |
List<AHSubscription> |
getUserAddressesByCatItems(Long[] catItems) |
AHSubscriptionLocalService |
getWrappedAHSubscriptionLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
AHSubscriptionLocalService |
getWrappedService() |
boolean |
hasAHCatEntriesAHSubscription(long itemId,
long subId) |
boolean |
hasAHCatEntriesAHSubscriptions(long itemId) |
Object |
invokeMethod(String name,
String[] parameterTypes,
Object[] arguments) |
void |
removeSubscription(long id) |
void |
setAHCatEntriesAHSubscriptions(long itemId,
long[] subIds) |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setSubscriptionStatus(long subId,
E_SubscriptionStatus status) |
void |
setWrappedAHSubscriptionLocalService(AHSubscriptionLocalService ahSubscriptionLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(de.fraunhofer.fokus.oefit.particity.service.AHSubscriptionLocalService) |
void |
setWrappedService(AHSubscriptionLocalService ahSubscriptionLocalService) |
AHSubscription |
updateAHSubscription(AHSubscription ahSubscription)
Updates the a h subscription in the database or adds it if it does not yet exist.
|
public AHSubscriptionLocalServiceWrapper(AHSubscriptionLocalService ahSubscriptionLocalService)
public AHSubscription addAHSubscription(AHSubscription ahSubscription) throws com.liferay.portal.kernel.exception.SystemException
addAHSubscription
in interface AHSubscriptionLocalService
ahSubscription
- the a h subscriptionSystemException
- if a system exception occurredpublic AHSubscription createAHSubscription(long subId)
createAHSubscription
in interface AHSubscriptionLocalService
subId
- the primary key for the new a h subscriptionpublic AHSubscription deleteAHSubscription(long subId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
deleteAHSubscription
in interface AHSubscriptionLocalService
subId
- the primary key of the a h subscriptionPortalException
- if a a h subscription with the primary key could not be foundSystemException
- if a system exception occurredpublic AHSubscription deleteAHSubscription(AHSubscription ahSubscription) throws com.liferay.portal.kernel.exception.SystemException
deleteAHSubscription
in interface AHSubscriptionLocalService
ahSubscription
- the a h subscriptionSystemException
- if a system exception occurredpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface AHSubscriptionLocalService
public List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.kernel.exception.SystemException
dynamicQuery
in interface AHSubscriptionLocalService
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 AHSubscriptionModelImpl
. 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 AHSubscriptionLocalService
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 AHSubscriptionModelImpl
. 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 AHSubscriptionLocalService
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 AHSubscriptionLocalService
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 AHSubscriptionLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querySystemException
- if a system exception occurredpublic AHSubscription fetchAHSubscription(long subId) throws com.liferay.portal.kernel.exception.SystemException
fetchAHSubscription
in interface AHSubscriptionLocalService
com.liferay.portal.kernel.exception.SystemException
public AHSubscription getAHSubscription(long subId) throws com.liferay.portal.kernel.exception.PortalException, com.liferay.portal.kernel.exception.SystemException
getAHSubscription
in interface AHSubscriptionLocalService
subId
- the primary key of the a h subscriptionPortalException
- if a a h subscription 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 AHSubscriptionLocalService
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
public List<AHSubscription> getAHSubscriptions(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 AHSubscriptionModelImpl
. 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.
getAHSubscriptions
in interface AHSubscriptionLocalService
start
- the lower bound of the range of a h subscriptionsend
- the upper bound of the range of a h subscriptions (not inclusive)SystemException
- if a system exception occurredpublic int getAHSubscriptionsCount() throws com.liferay.portal.kernel.exception.SystemException
getAHSubscriptionsCount
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic AHSubscription updateAHSubscription(AHSubscription ahSubscription) throws com.liferay.portal.kernel.exception.SystemException
updateAHSubscription
in interface AHSubscriptionLocalService
ahSubscription
- the a h subscriptionSystemException
- if a system exception occurredpublic void addAHCatEntriesAHSubscription(long itemId, long subId) throws com.liferay.portal.kernel.exception.SystemException
addAHCatEntriesAHSubscription
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic void addAHCatEntriesAHSubscription(long itemId, AHSubscription ahSubscription) throws com.liferay.portal.kernel.exception.SystemException
addAHCatEntriesAHSubscription
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic void addAHCatEntriesAHSubscriptions(long itemId, long[] subIds) throws com.liferay.portal.kernel.exception.SystemException
addAHCatEntriesAHSubscriptions
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic void addAHCatEntriesAHSubscriptions(long itemId, List<AHSubscription> AHSubscriptions) throws com.liferay.portal.kernel.exception.SystemException
addAHCatEntriesAHSubscriptions
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic void clearAHCatEntriesAHSubscriptions(long itemId) throws com.liferay.portal.kernel.exception.SystemException
clearAHCatEntriesAHSubscriptions
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic void deleteAHCatEntriesAHSubscription(long itemId, long subId) throws com.liferay.portal.kernel.exception.SystemException
deleteAHCatEntriesAHSubscription
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic void deleteAHCatEntriesAHSubscription(long itemId, AHSubscription ahSubscription) throws com.liferay.portal.kernel.exception.SystemException
deleteAHCatEntriesAHSubscription
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic void deleteAHCatEntriesAHSubscriptions(long itemId, long[] subIds) throws com.liferay.portal.kernel.exception.SystemException
deleteAHCatEntriesAHSubscriptions
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic void deleteAHCatEntriesAHSubscriptions(long itemId, List<AHSubscription> AHSubscriptions) throws com.liferay.portal.kernel.exception.SystemException
deleteAHCatEntriesAHSubscriptions
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic List<AHSubscription> getAHCatEntriesAHSubscriptions(long itemId) throws com.liferay.portal.kernel.exception.SystemException
getAHCatEntriesAHSubscriptions
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic List<AHSubscription> getAHCatEntriesAHSubscriptions(long itemId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException
getAHCatEntriesAHSubscriptions
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic List<AHSubscription> getAHCatEntriesAHSubscriptions(long itemId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
getAHCatEntriesAHSubscriptions
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic int getAHCatEntriesAHSubscriptionsCount(long itemId) throws com.liferay.portal.kernel.exception.SystemException
getAHCatEntriesAHSubscriptionsCount
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic boolean hasAHCatEntriesAHSubscription(long itemId, long subId) throws com.liferay.portal.kernel.exception.SystemException
hasAHCatEntriesAHSubscription
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic boolean hasAHCatEntriesAHSubscriptions(long itemId) throws com.liferay.portal.kernel.exception.SystemException
hasAHCatEntriesAHSubscriptions
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic void setAHCatEntriesAHSubscriptions(long itemId, long[] subIds) throws com.liferay.portal.kernel.exception.SystemException
setAHCatEntriesAHSubscriptions
in interface AHSubscriptionLocalService
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface AHSubscriptionLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface AHSubscriptionLocalService
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 AHSubscriptionLocalService
Throwable
public AHSubscription addSubscription(String email, long[] categories)
addSubscription
in interface AHSubscriptionLocalService
public AHSubscription addSubscription(String email, long[] categories, String uuid, E_SubscriptionStatus status)
addSubscription
in interface AHSubscriptionLocalService
public List<AHCatEntries> getCategoriesBySubscription(long subId)
getCategoriesBySubscription
in interface AHSubscriptionLocalService
public String getCategoriesBySubscriptionAsString(long subId)
getCategoriesBySubscriptionAsString
in interface AHSubscriptionLocalService
public List<AHSubscription> getSubscriptionsByMail(String email)
getSubscriptionsByMail
in interface AHSubscriptionLocalService
public List<AHSubscription> getSubscriptionsByUuid(String uuid)
getSubscriptionsByUuid
in interface AHSubscriptionLocalService
public List<String> getUserAddresses()
getUserAddresses
in interface AHSubscriptionLocalService
public List<AHSubscription> getUserAddressesByCatItems(Long[] catItems)
getUserAddressesByCatItems
in interface AHSubscriptionLocalService
public void removeSubscription(long id)
removeSubscription
in interface AHSubscriptionLocalService
public void setSubscriptionStatus(long subId, E_SubscriptionStatus status)
setSubscriptionStatus
in interface AHSubscriptionLocalService
public AHSubscriptionLocalService getWrappedAHSubscriptionLocalService()
getWrappedService()
public void setWrappedAHSubscriptionLocalService(AHSubscriptionLocalService ahSubscriptionLocalService)
setWrappedService(de.fraunhofer.fokus.oefit.particity.service.AHSubscriptionLocalService)
public AHSubscriptionLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.service.ServiceWrapper<AHSubscriptionLocalService>
public void setWrappedService(AHSubscriptionLocalService ahSubscriptionLocalService)
setWrappedService
in interface com.liferay.portal.service.ServiceWrapper<AHSubscriptionLocalService>
Copyright © 2016 Fraunhofer FOKUS. All rights reserved.