public interface ISubscriptionDao
Modifier and Type | Method and Description |
---|---|
void |
addOrUpdate(Subscription bean,
ITransaction transaction) |
boolean |
delete(String id,
ITransaction transaction) |
Subscription |
get(String id,
ITransaction transaction) |
Collection<String> |
getByEmailFormat(String serviceInstanceId,
int emailFormat,
Locale locale,
ITransaction transaction) |
Collection<String> |
getCategoriesBySubscriptionId(String subscriptionId,
ITransaction transaction) |
Collection<String> |
getIdsByServiceInstanceAndEmail(String serviceInstanceId,
String email,
Locale locale,
ITransaction transaction)
Returns the ids of the subscriptions for the given email in the specified
service instance id.
|
void addOrUpdate(Subscription bean, ITransaction transaction) throws PortalException
bean
- transaction
- PortalException
boolean delete(String id, ITransaction transaction) throws PortalException
id
- transaction
- PortalException
Subscription get(String id, ITransaction transaction) throws PortalObjectNotFoundException, PortalException
id
- transaction
- PortalObjectNotFoundException
PortalException
Collection<String> getByEmailFormat(String serviceInstanceId, int emailFormat, Locale locale, ITransaction transaction) throws PortalException
serviceInstanceId
- emailFormat
- transaction
- PortalException
Collection<String> getCategoriesBySubscriptionId(String subscriptionId, ITransaction transaction) throws PortalException
subscriptionId
- transaction
- PortalException
Collection<String> getIdsByServiceInstanceAndEmail(String serviceInstanceId, String email, Locale locale, ITransaction transaction) throws PortalException
serviceInstanceId
- the service instance id.email
- the email.transaction
- the transaction for persistence access.PortalException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.