public class AHSubscriptionPersistenceImpl extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AHSubscription> implements AHSubscriptionPersistence
Caching information and settings can be found in portal.properties
AHSubscriptionPersistence
,
AHSubscriptionUtil
Modifier and Type | Field and Description |
---|---|
protected AHCatEntriesPersistence |
ahCatEntriesPersistence |
protected com.liferay.portal.service.persistence.impl.TableMapper<AHSubscription,AHCatEntries> |
ahSubscriptionToAHCatEntriesTableMapper |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_EMAIL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_EMAIL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_EMAIL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
AHSubscriptionPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addAHCatEntries(long pk,
AHCatEntries ahCatEntries)
Adds an association between the a h subscription and the a h cat entries.
|
void |
addAHCatEntries(long pk,
long ahCatEntriesPK)
Adds an association between the a h subscription and the a h cat entries.
|
void |
addAHCatEntrieses(long pk,
List<AHCatEntries> ahCatEntrieses)
Adds an association between the a h subscription and the a h cat entrieses.
|
void |
addAHCatEntrieses(long pk,
long[] ahCatEntriesPKs)
Adds an association between the a h subscription and the a h cat entrieses.
|
void |
afterPropertiesSet()
Initializes the a h subscription persistence.
|
void |
cacheResult(AHSubscription ahSubscription)
Caches the a h subscription in the entity cache if it is enabled.
|
void |
cacheResult(List<AHSubscription> ahSubscriptions)
Caches the a h subscriptions in the entity cache if it is enabled.
|
void |
clearAHCatEntrieses(long pk)
Clears all associations between the a h subscription and its a h cat entrieses.
|
void |
clearCache()
Clears the cache for all a h subscriptions.
|
void |
clearCache(AHSubscription ahSubscription)
Clears the cache for the a h subscription.
|
void |
clearCache(List<AHSubscription> ahSubscriptions) |
boolean |
containsAHCatEntries(long pk,
long ahCatEntriesPK)
Returns
true if the a h cat entries is associated with the a h subscription. |
boolean |
containsAHCatEntrieses(long pk)
Returns
true if the a h subscription has any a h cat entrieses associated with it. |
int |
countAll()
Returns the number of a h subscriptions.
|
int |
countByemail(String email)
Returns the number of a h subscriptions where email = ?.
|
int |
countByuuid(String uuid)
Returns the number of a h subscriptions where uuid = ?.
|
AHSubscription |
create(long subId)
Creates a new a h subscription with the primary key.
|
void |
destroy() |
AHSubscription |
fetchByemail_First(String email,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first a h subscription in the ordered set where email = ?.
|
AHSubscription |
fetchByemail_Last(String email,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last a h subscription in the ordered set where email = ?.
|
AHSubscription |
fetchByPrimaryKey(long subId)
Returns the a h subscription with the primary key or returns
null if it could not be found. |
AHSubscription |
fetchByPrimaryKey(Serializable primaryKey)
Returns the a h subscription with the primary key or returns
null if it could not be found. |
AHSubscription |
fetchByuuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first a h subscription in the ordered set where uuid = ?.
|
AHSubscription |
fetchByuuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last a h subscription in the ordered set where uuid = ?.
|
List<AHSubscription> |
findAll()
Returns all the a h subscriptions.
|
List<AHSubscription> |
findAll(int start,
int end)
Returns a range of all the a h subscriptions.
|
List<AHSubscription> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the a h subscriptions.
|
AHSubscription |
findByemail_First(String email,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first a h subscription in the ordered set where email = ?.
|
AHSubscription |
findByemail_Last(String email,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last a h subscription in the ordered set where email = ?.
|
AHSubscription[] |
findByemail_PrevAndNext(long subId,
String email,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the a h subscriptions before and after the current a h subscription in the ordered set where email = ?.
|
List<AHSubscription> |
findByemail(String email)
Returns all the a h subscriptions where email = ?.
|
List<AHSubscription> |
findByemail(String email,
int start,
int end)
Returns a range of all the a h subscriptions where email = ?.
|
List<AHSubscription> |
findByemail(String email,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the a h subscriptions where email = ?.
|
AHSubscription |
findByPrimaryKey(long subId)
Returns the a h subscription with the primary key or throws a
NoSuchAHSubscriptionException if it could not be found. |
AHSubscription |
findByPrimaryKey(Serializable primaryKey)
Returns the a h subscription with the primary key or throws a
NoSuchModelException if it could not be found. |
AHSubscription |
findByuuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first a h subscription in the ordered set where uuid = ?.
|
AHSubscription |
findByuuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last a h subscription in the ordered set where uuid = ?.
|
AHSubscription[] |
findByuuid_PrevAndNext(long subId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the a h subscriptions before and after the current a h subscription in the ordered set where uuid = ?.
|
List<AHSubscription> |
findByuuid(String uuid)
Returns all the a h subscriptions where uuid = ?.
|
List<AHSubscription> |
findByuuid(String uuid,
int start,
int end)
Returns a range of all the a h subscriptions where uuid = ?.
|
List<AHSubscription> |
findByuuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the a h subscriptions where uuid = ?.
|
List<AHCatEntries> |
getAHCatEntrieses(long pk)
Returns all the a h cat entrieses associated with the a h subscription.
|
List<AHCatEntries> |
getAHCatEntrieses(long pk,
int start,
int end)
Returns a range of all the a h cat entrieses associated with the a h subscription.
|
List<AHCatEntries> |
getAHCatEntrieses(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the a h cat entrieses associated with the a h subscription.
|
int |
getAHCatEntriesesSize(long pk)
Returns the number of a h cat entrieses associated with the a h subscription.
|
protected Set<String> |
getBadColumnNames() |
protected AHSubscription |
getByemail_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
AHSubscription ahSubscription,
String email,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected AHSubscription |
getByuuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
AHSubscription ahSubscription,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
AHSubscription |
remove(long subId)
Removes the a h subscription with the primary key from the database.
|
AHSubscription |
remove(Serializable primaryKey)
Removes the a h subscription with the primary key from the database.
|
void |
removeAHCatEntries(long pk,
AHCatEntries ahCatEntries)
Removes the association between the a h subscription and the a h cat entries.
|
void |
removeAHCatEntries(long pk,
long ahCatEntriesPK)
Removes the association between the a h subscription and the a h cat entries.
|
void |
removeAHCatEntrieses(long pk,
List<AHCatEntries> ahCatEntrieses)
Removes the association between the a h subscription and the a h cat entrieses.
|
void |
removeAHCatEntrieses(long pk,
long[] ahCatEntriesPKs)
Removes the association between the a h subscription and the a h cat entrieses.
|
void |
removeAll()
Removes all the a h subscriptions from the database.
|
void |
removeByemail(String email)
Removes all the a h subscriptions where email = ? from the database.
|
void |
removeByuuid(String uuid)
Removes all the a h subscriptions where uuid = ? from the database.
|
protected AHSubscription |
removeImpl(AHSubscription ahSubscription) |
void |
setAHCatEntrieses(long pk,
List<AHCatEntries> ahCatEntrieses)
Sets the a h cat entrieses associated with the a h subscription, removing and adding associations as necessary.
|
void |
setAHCatEntrieses(long pk,
long[] ahCatEntriesPKs)
Sets the a h cat entrieses associated with the a h subscription, removing and adding associations as necessary.
|
protected AHSubscription |
toUnwrappedModel(AHSubscription ahSubscription) |
AHSubscription |
updateImpl(AHSubscription ahSubscription) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_EMAIL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_EMAIL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_EMAIL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
@BeanReference(type=AHCatEntriesPersistence.class) protected AHCatEntriesPersistence ahCatEntriesPersistence
protected com.liferay.portal.service.persistence.impl.TableMapper<AHSubscription,AHCatEntries> ahSubscriptionToAHCatEntriesTableMapper
public List<AHSubscription> findByemail(String email) throws com.liferay.portal.kernel.exception.SystemException
findByemail
in interface AHSubscriptionPersistence
email
- the emailcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHSubscription> findByemail(String email, 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.
findByemail
in interface AHSubscriptionPersistence
email
- the emailstart
- the lower bound of the range of a h subscriptionsend
- the upper bound of the range of a h subscriptions (not inclusive)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHSubscription> findByemail(String email, 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.
findByemail
in interface AHSubscriptionPersistence
email
- the emailstart
- the lower bound of the range of a h subscriptionsend
- the upper bound of the range of a h subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription findByemail_First(String email, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchAHSubscriptionException, com.liferay.portal.kernel.exception.SystemException
findByemail_First
in interface AHSubscriptionPersistence
email
- the emailorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAHSubscriptionException
- if a matching a h subscription could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription fetchByemail_First(String email, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
fetchByemail_First
in interface AHSubscriptionPersistence
email
- the emailorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching a h subscription could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription findByemail_Last(String email, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchAHSubscriptionException, com.liferay.portal.kernel.exception.SystemException
findByemail_Last
in interface AHSubscriptionPersistence
email
- the emailorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAHSubscriptionException
- if a matching a h subscription could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription fetchByemail_Last(String email, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
fetchByemail_Last
in interface AHSubscriptionPersistence
email
- the emailorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching a h subscription could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription[] findByemail_PrevAndNext(long subId, String email, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchAHSubscriptionException, com.liferay.portal.kernel.exception.SystemException
findByemail_PrevAndNext
in interface AHSubscriptionPersistence
subId
- the primary key of the current a h subscriptionemail
- the emailorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAHSubscriptionException
- if a a h subscription with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredprotected AHSubscription getByemail_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, AHSubscription ahSubscription, String email, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
public void removeByemail(String email) throws com.liferay.portal.kernel.exception.SystemException
removeByemail
in interface AHSubscriptionPersistence
email
- the emailcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic int countByemail(String email) throws com.liferay.portal.kernel.exception.SystemException
countByemail
in interface AHSubscriptionPersistence
email
- the emailcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHSubscription> findByuuid(String uuid) throws com.liferay.portal.kernel.exception.SystemException
findByuuid
in interface AHSubscriptionPersistence
uuid
- the uuidcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHSubscription> findByuuid(String uuid, 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.
findByuuid
in interface AHSubscriptionPersistence
uuid
- the uuidstart
- the lower bound of the range of a h subscriptionsend
- the upper bound of the range of a h subscriptions (not inclusive)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHSubscription> findByuuid(String uuid, 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.
findByuuid
in interface AHSubscriptionPersistence
uuid
- the uuidstart
- the lower bound of the range of a h subscriptionsend
- the upper bound of the range of a h subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription findByuuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchAHSubscriptionException, com.liferay.portal.kernel.exception.SystemException
findByuuid_First
in interface AHSubscriptionPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAHSubscriptionException
- if a matching a h subscription could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription fetchByuuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
fetchByuuid_First
in interface AHSubscriptionPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching a h subscription could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription findByuuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchAHSubscriptionException, com.liferay.portal.kernel.exception.SystemException
findByuuid_Last
in interface AHSubscriptionPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAHSubscriptionException
- if a matching a h subscription could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription fetchByuuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException
fetchByuuid_Last
in interface AHSubscriptionPersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching a h subscription could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription[] findByuuid_PrevAndNext(long subId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchAHSubscriptionException, com.liferay.portal.kernel.exception.SystemException
findByuuid_PrevAndNext
in interface AHSubscriptionPersistence
subId
- the primary key of the current a h subscriptionuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchAHSubscriptionException
- if a a h subscription with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredprotected AHSubscription getByuuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, AHSubscription ahSubscription, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
public void removeByuuid(String uuid) throws com.liferay.portal.kernel.exception.SystemException
removeByuuid
in interface AHSubscriptionPersistence
uuid
- the uuidcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic int countByuuid(String uuid) throws com.liferay.portal.kernel.exception.SystemException
countByuuid
in interface AHSubscriptionPersistence
uuid
- the uuidcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void cacheResult(AHSubscription ahSubscription)
cacheResult
in interface AHSubscriptionPersistence
ahSubscription
- the a h subscriptionpublic void cacheResult(List<AHSubscription> ahSubscriptions)
cacheResult
in interface AHSubscriptionPersistence
ahSubscriptions
- the a h subscriptionspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.service.persistence.BasePersistence<AHSubscription>
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AHSubscription>
public void clearCache(AHSubscription ahSubscription)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.service.persistence.BasePersistence<AHSubscription>
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AHSubscription>
public void clearCache(List<AHSubscription> ahSubscriptions)
clearCache
in interface com.liferay.portal.service.persistence.BasePersistence<AHSubscription>
clearCache
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AHSubscription>
public AHSubscription create(long subId)
create
in interface AHSubscriptionPersistence
subId
- the primary key for the new a h subscriptionpublic AHSubscription remove(long subId) throws NoSuchAHSubscriptionException, com.liferay.portal.kernel.exception.SystemException
remove
in interface AHSubscriptionPersistence
subId
- the primary key of the a h subscriptionNoSuchAHSubscriptionException
- if a a h subscription with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription remove(Serializable primaryKey) throws NoSuchAHSubscriptionException, com.liferay.portal.kernel.exception.SystemException
remove
in interface com.liferay.portal.service.persistence.BasePersistence<AHSubscription>
remove
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AHSubscription>
primaryKey
- the primary key of the a h subscriptionNoSuchAHSubscriptionException
- if a a h subscription with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredprotected AHSubscription removeImpl(AHSubscription ahSubscription) throws com.liferay.portal.kernel.exception.SystemException
removeImpl
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AHSubscription>
com.liferay.portal.kernel.exception.SystemException
public AHSubscription updateImpl(AHSubscription ahSubscription) throws com.liferay.portal.kernel.exception.SystemException
updateImpl
in interface AHSubscriptionPersistence
updateImpl
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AHSubscription>
com.liferay.portal.kernel.exception.SystemException
protected AHSubscription toUnwrappedModel(AHSubscription ahSubscription)
public AHSubscription findByPrimaryKey(Serializable primaryKey) throws NoSuchAHSubscriptionException, com.liferay.portal.kernel.exception.SystemException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.service.persistence.BasePersistence<AHSubscription>
findByPrimaryKey
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AHSubscription>
primaryKey
- the primary key of the a h subscriptionNoSuchAHSubscriptionException
- if a a h subscription with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription findByPrimaryKey(long subId) throws NoSuchAHSubscriptionException, com.liferay.portal.kernel.exception.SystemException
NoSuchAHSubscriptionException
if it could not be found.findByPrimaryKey
in interface AHSubscriptionPersistence
subId
- the primary key of the a h subscriptionNoSuchAHSubscriptionException
- if a a h subscription with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription fetchByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.SystemException
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.service.persistence.BasePersistence<AHSubscription>
fetchByPrimaryKey
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AHSubscription>
primaryKey
- the primary key of the a h subscriptionnull
if a a h subscription with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic AHSubscription fetchByPrimaryKey(long subId) throws com.liferay.portal.kernel.exception.SystemException
null
if it could not be found.fetchByPrimaryKey
in interface AHSubscriptionPersistence
subId
- the primary key of the a h subscriptionnull
if a a h subscription with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHSubscription> findAll() throws com.liferay.portal.kernel.exception.SystemException
findAll
in interface AHSubscriptionPersistence
com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHSubscription> findAll(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.
findAll
in interface AHSubscriptionPersistence
start
- the lower bound of the range of a h subscriptionsend
- the upper bound of the range of a h subscriptions (not inclusive)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHSubscription> findAll(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.
findAll
in interface AHSubscriptionPersistence
start
- the lower bound of the range of a h subscriptionsend
- the upper bound of the range of a h subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void removeAll() throws com.liferay.portal.kernel.exception.SystemException
removeAll
in interface AHSubscriptionPersistence
com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic int countAll() throws com.liferay.portal.kernel.exception.SystemException
countAll
in interface AHSubscriptionPersistence
com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHCatEntries> getAHCatEntrieses(long pk) throws com.liferay.portal.kernel.exception.SystemException
getAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptioncom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHCatEntries> getAHCatEntrieses(long pk, 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.
getAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionstart
- the lower bound of the range of a h subscriptionsend
- the upper bound of the range of a h subscriptions (not inclusive)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic List<AHCatEntries> getAHCatEntrieses(long pk, 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.
getAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionstart
- the lower bound of the range of a h subscriptionsend
- the upper bound of the range of a h subscriptions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)com.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic int getAHCatEntriesesSize(long pk) throws com.liferay.portal.kernel.exception.SystemException
getAHCatEntriesesSize
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptioncom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic boolean containsAHCatEntries(long pk, long ahCatEntriesPK) throws com.liferay.portal.kernel.exception.SystemException
true
if the a h cat entries is associated with the a h subscription.containsAHCatEntries
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntriesPK
- the primary key of the a h cat entriestrue
if the a h cat entries is associated with the a h subscription; false
otherwisecom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic boolean containsAHCatEntrieses(long pk) throws com.liferay.portal.kernel.exception.SystemException
true
if the a h subscription has any a h cat entrieses associated with it.containsAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscription to check for associations with a h cat entriesestrue
if the a h subscription has any a h cat entrieses associated with it; false
otherwisecom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void addAHCatEntries(long pk, long ahCatEntriesPK) throws com.liferay.portal.kernel.exception.SystemException
addAHCatEntries
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntriesPK
- the primary key of the a h cat entriescom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void addAHCatEntries(long pk, AHCatEntries ahCatEntries) throws com.liferay.portal.kernel.exception.SystemException
addAHCatEntries
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntries
- the a h cat entriescom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void addAHCatEntrieses(long pk, long[] ahCatEntriesPKs) throws com.liferay.portal.kernel.exception.SystemException
addAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntriesPKs
- the primary keys of the a h cat entriesescom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void addAHCatEntrieses(long pk, List<AHCatEntries> ahCatEntrieses) throws com.liferay.portal.kernel.exception.SystemException
addAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntrieses
- the a h cat entriesescom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void clearAHCatEntrieses(long pk) throws com.liferay.portal.kernel.exception.SystemException
clearAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscription to clear the associated a h cat entrieses fromcom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void removeAHCatEntries(long pk, long ahCatEntriesPK) throws com.liferay.portal.kernel.exception.SystemException
removeAHCatEntries
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntriesPK
- the primary key of the a h cat entriescom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void removeAHCatEntries(long pk, AHCatEntries ahCatEntries) throws com.liferay.portal.kernel.exception.SystemException
removeAHCatEntries
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntries
- the a h cat entriescom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void removeAHCatEntrieses(long pk, long[] ahCatEntriesPKs) throws com.liferay.portal.kernel.exception.SystemException
removeAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntriesPKs
- the primary keys of the a h cat entriesescom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void removeAHCatEntrieses(long pk, List<AHCatEntries> ahCatEntrieses) throws com.liferay.portal.kernel.exception.SystemException
removeAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntrieses
- the a h cat entriesescom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void setAHCatEntrieses(long pk, long[] ahCatEntriesPKs) throws com.liferay.portal.kernel.exception.SystemException
setAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntriesPKs
- the primary keys of the a h cat entrieses to be associated with the a h subscriptioncom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredpublic void setAHCatEntrieses(long pk, List<AHCatEntries> ahCatEntrieses) throws com.liferay.portal.kernel.exception.SystemException
setAHCatEntrieses
in interface AHSubscriptionPersistence
pk
- the primary key of the a h subscriptionahCatEntrieses
- the a h cat entrieses to be associated with the a h subscriptioncom.liferay.portal.kernel.exception.SystemException
- if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames
in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<AHSubscription>
public void afterPropertiesSet()
public void destroy()
Copyright © 2016 Fraunhofer FOKUS. All rights reserved.