|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<JournalFeed>
com.liferay.portlet.journal.service.persistence.JournalFeedPersistenceImpl
public class JournalFeedPersistenceImpl
JournalFeedPersistence,
JournalFeedUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
COUNT_COLUMN_NAME, 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 Summary | |
|---|---|
JournalFeedPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
cacheResult(JournalFeed journalFeed)
|
void |
cacheResult(List<JournalFeed> journalFeeds)
|
void |
clearCache()
Clears the cache for all instances of this model. |
void |
clearCache(JournalFeed journalFeed)
Clears the cache for one instance of this model. |
int |
countAll()
|
int |
countByG_F(long groupId,
String feedId)
|
int |
countByGroupId(long groupId)
|
int |
countByUUID_G(String uuid,
long groupId)
|
int |
countByUuid(String uuid)
|
JournalFeed |
create(long id)
|
JournalFeed |
fetchByG_F(long groupId,
String feedId)
|
JournalFeed |
fetchByG_F(long groupId,
String feedId,
boolean retrieveFromCache)
|
JournalFeed |
fetchByPrimaryKey(long id)
|
JournalFeed |
fetchByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or return null if it could not be found. |
JournalFeed |
fetchByUUID_G(String uuid,
long groupId)
|
JournalFeed |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
|
int |
filterCountByG_F(long groupId,
String feedId)
|
int |
filterCountByGroupId(long groupId)
|
List<JournalFeed> |
filterFindByGroupId(long groupId)
|
List<JournalFeed> |
filterFindByGroupId(long groupId,
int start,
int end)
|
List<JournalFeed> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
List<JournalFeed> |
findAll()
|
List<JournalFeed> |
findAll(int start,
int end)
|
List<JournalFeed> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
JournalFeed |
findByG_F(long groupId,
String feedId)
|
JournalFeed |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
JournalFeed |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
JournalFeed[] |
findByGroupId_PrevAndNext(long id,
long groupId,
OrderByComparator orderByComparator)
|
List<JournalFeed> |
findByGroupId(long groupId)
|
List<JournalFeed> |
findByGroupId(long groupId,
int start,
int end)
|
List<JournalFeed> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
JournalFeed |
findByPrimaryKey(long id)
|
JournalFeed |
findByPrimaryKey(Serializable primaryKey)
Finds an instance of this model by its primary key, or throw an exception if it could not be found. |
JournalFeed |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
|
JournalFeed |
findByUUID_G(String uuid,
long groupId)
|
JournalFeed |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
|
JournalFeed[] |
findByUuid_PrevAndNext(long id,
String uuid,
OrderByComparator orderByComparator)
|
List<JournalFeed> |
findByUuid(String uuid)
|
List<JournalFeed> |
findByUuid(String uuid,
int start,
int end)
|
List<JournalFeed> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
|
protected JournalFeed |
getByGroupId_PrevAndNext(Session session,
JournalFeed journalFeed,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFeed |
getByUuid_PrevAndNext(Session session,
JournalFeed journalFeed,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
JournalFeed |
remove(long id)
|
JournalFeed |
remove(Serializable primaryKey)
Removes the model instance identified by the primary key from the database, and notifies the appropriate model listeners. |
void |
removeAll()
|
void |
removeByG_F(long groupId,
String feedId)
|
void |
removeByGroupId(long groupId)
|
void |
removeByUUID_G(String uuid,
long groupId)
|
void |
removeByUuid(String uuid)
|
protected JournalFeed |
removeImpl(JournalFeed journalFeed)
Removes the model instance from the database. |
protected JournalFeed |
toUnwrappedModel(JournalFeed journalFeed)
|
JournalFeed |
updateImpl(JournalFeed journalFeed,
boolean merge)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| 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.persistence.BasePersistence |
|---|
countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST
public static final FinderPath FINDER_PATH_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_FETCH_BY_UUID_G
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_G
public static final FinderPath FINDER_PATH_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_FETCH_BY_G_F
public static final FinderPath FINDER_PATH_COUNT_BY_G_F
public static final FinderPath FINDER_PATH_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
@BeanReference(type=JournalArticlePersistence.class) protected JournalArticlePersistence journalArticlePersistence
@BeanReference(type=JournalArticleImagePersistence.class) protected JournalArticleImagePersistence journalArticleImagePersistence
@BeanReference(type=JournalArticleResourcePersistence.class) protected JournalArticleResourcePersistence journalArticleResourcePersistence
@BeanReference(type=JournalContentSearchPersistence.class) protected JournalContentSearchPersistence journalContentSearchPersistence
@BeanReference(type=JournalFeedPersistence.class) protected JournalFeedPersistence journalFeedPersistence
@BeanReference(type=JournalStructurePersistence.class) protected JournalStructurePersistence journalStructurePersistence
@BeanReference(type=JournalTemplatePersistence.class) protected JournalTemplatePersistence journalTemplatePersistence
@BeanReference(type=ResourcePersistence.class) protected ResourcePersistence resourcePersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=ExpandoValuePersistence.class) protected ExpandoValuePersistence expandoValuePersistence
| Constructor Detail |
|---|
public JournalFeedPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(JournalFeed journalFeed)
cacheResult in interface JournalFeedPersistencepublic void cacheResult(List<JournalFeed> journalFeeds)
cacheResult in interface JournalFeedPersistencepublic void clearCache()
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
Caching information and settings can be found in
portal.properties
clearCache in interface BasePersistence<JournalFeed>clearCache in class BasePersistenceImpl<JournalFeed>public void clearCache(JournalFeed journalFeed)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<JournalFeed>clearCache in class BasePersistenceImpl<JournalFeed>journalFeed - the instance of this model to clear the cache forpublic JournalFeed create(long id)
create in interface JournalFeedPersistence
public JournalFeed remove(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
remove in interface BasePersistence<JournalFeed>remove in class BasePersistenceImpl<JournalFeed>primaryKey - the primary key of the model instance to remove
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if a system exception occurred
public JournalFeed remove(long id)
throws NoSuchFeedException,
SystemException
remove in interface JournalFeedPersistenceNoSuchFeedException
SystemException
protected JournalFeed removeImpl(JournalFeed journalFeed)
throws SystemException
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<JournalFeed>journalFeed - the model instance to remove
SystemException - if a system exception occurred
public JournalFeed updateImpl(JournalFeed journalFeed,
boolean merge)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface JournalFeedPersistenceupdateImpl in class BasePersistenceImpl<JournalFeed>journalFeed - the model instance to updatemerge - whether to merge the model instance with the current
session. See BatchSession.update(
com.liferay.portal.kernel.dao.orm.Session, BaseModel, boolean)
for an explanation.
SystemException - if a system exception occurredprotected JournalFeed toUnwrappedModel(JournalFeed journalFeed)
public JournalFeed findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
BasePersistence
findByPrimaryKey in interface BasePersistence<JournalFeed>findByPrimaryKey in class BasePersistenceImpl<JournalFeed>primaryKey - the primary key of the model instance to find
NoSuchModelException - if an instance of this model with the
primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public JournalFeed findByPrimaryKey(long id)
throws NoSuchFeedException,
SystemException
findByPrimaryKey in interface JournalFeedPersistenceNoSuchFeedException
SystemException
public JournalFeed fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
BasePersistencenull if it could not be found.
fetchByPrimaryKey in interface BasePersistence<JournalFeed>fetchByPrimaryKey in class BasePersistenceImpl<JournalFeed>primaryKey - the primary key of the model instance to find
null if an instance of this
model with the primary key does not exist
SystemException - if the primary key is null, or if a
system exception occurred
public JournalFeed fetchByPrimaryKey(long id)
throws SystemException
fetchByPrimaryKey in interface JournalFeedPersistenceSystemException
public List<JournalFeed> findByUuid(String uuid)
throws SystemException
findByUuid in interface JournalFeedPersistenceSystemException
public List<JournalFeed> findByUuid(String uuid,
int start,
int end)
throws SystemException
findByUuid in interface JournalFeedPersistenceSystemException
public List<JournalFeed> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByUuid in interface JournalFeedPersistenceSystemException
public JournalFeed findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchFeedException,
SystemException
findByUuid_First in interface JournalFeedPersistenceNoSuchFeedException
SystemException
public JournalFeed findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchFeedException,
SystemException
findByUuid_Last in interface JournalFeedPersistenceNoSuchFeedException
SystemException
public JournalFeed[] findByUuid_PrevAndNext(long id,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchFeedException,
SystemException
findByUuid_PrevAndNext in interface JournalFeedPersistenceNoSuchFeedException
SystemException
protected JournalFeed getByUuid_PrevAndNext(Session session,
JournalFeed journalFeed,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public JournalFeed findByUUID_G(String uuid,
long groupId)
throws NoSuchFeedException,
SystemException
findByUUID_G in interface JournalFeedPersistenceNoSuchFeedException
SystemException
public JournalFeed fetchByUUID_G(String uuid,
long groupId)
throws SystemException
fetchByUUID_G in interface JournalFeedPersistenceSystemException
public JournalFeed fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
fetchByUUID_G in interface JournalFeedPersistenceSystemException
public List<JournalFeed> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface JournalFeedPersistenceSystemException
public List<JournalFeed> findByGroupId(long groupId,
int start,
int end)
throws SystemException
findByGroupId in interface JournalFeedPersistenceSystemException
public List<JournalFeed> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findByGroupId in interface JournalFeedPersistenceSystemException
public JournalFeed findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchFeedException,
SystemException
findByGroupId_First in interface JournalFeedPersistenceNoSuchFeedException
SystemException
public JournalFeed findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchFeedException,
SystemException
findByGroupId_Last in interface JournalFeedPersistenceNoSuchFeedException
SystemException
public JournalFeed[] findByGroupId_PrevAndNext(long id,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchFeedException,
SystemException
findByGroupId_PrevAndNext in interface JournalFeedPersistenceNoSuchFeedException
SystemException
protected JournalFeed getByGroupId_PrevAndNext(Session session,
JournalFeed journalFeed,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalFeed> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface JournalFeedPersistenceSystemException
public List<JournalFeed> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
filterFindByGroupId in interface JournalFeedPersistenceSystemException
public List<JournalFeed> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
filterFindByGroupId in interface JournalFeedPersistenceSystemException
public JournalFeed findByG_F(long groupId,
String feedId)
throws NoSuchFeedException,
SystemException
findByG_F in interface JournalFeedPersistenceNoSuchFeedException
SystemException
public JournalFeed fetchByG_F(long groupId,
String feedId)
throws SystemException
fetchByG_F in interface JournalFeedPersistenceSystemException
public JournalFeed fetchByG_F(long groupId,
String feedId,
boolean retrieveFromCache)
throws SystemException
fetchByG_F in interface JournalFeedPersistenceSystemException
public List<JournalFeed> findAll()
throws SystemException
findAll in interface JournalFeedPersistenceSystemException
public List<JournalFeed> findAll(int start,
int end)
throws SystemException
findAll in interface JournalFeedPersistenceSystemException
public List<JournalFeed> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
findAll in interface JournalFeedPersistenceSystemException
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface JournalFeedPersistenceSystemException
public void removeByUUID_G(String uuid,
long groupId)
throws NoSuchFeedException,
SystemException
removeByUUID_G in interface JournalFeedPersistenceNoSuchFeedException
SystemException
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface JournalFeedPersistenceSystemException
public void removeByG_F(long groupId,
String feedId)
throws NoSuchFeedException,
SystemException
removeByG_F in interface JournalFeedPersistenceNoSuchFeedException
SystemException
public void removeAll()
throws SystemException
removeAll in interface JournalFeedPersistenceSystemException
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface JournalFeedPersistenceSystemException
public int countByUUID_G(String uuid,
long groupId)
throws SystemException
countByUUID_G in interface JournalFeedPersistenceSystemException
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface JournalFeedPersistenceSystemException
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface JournalFeedPersistenceSystemException
public int countByG_F(long groupId,
String feedId)
throws SystemException
countByG_F in interface JournalFeedPersistenceSystemException
public int filterCountByG_F(long groupId,
String feedId)
throws SystemException
filterCountByG_F in interface JournalFeedPersistenceSystemException
public int countAll()
throws SystemException
countAll in interface JournalFeedPersistenceSystemExceptionpublic void afterPropertiesSet()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||