|
Liferay 6.2.0-ce-m1 | |||||||||
| 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<JournalFolder>
com.liferay.portlet.journal.service.persistence.JournalFolderPersistenceImpl
public class JournalFolderPersistenceImpl
The persistence implementation for the journal folder service.
Caching information and settings can be found in portal.properties
JournalFolderPersistence,
JournalFolderUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
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 Summary | |
|---|---|
JournalFolderPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the journal folder persistence. |
void |
cacheResult(JournalFolder journalFolder)
Caches the journal folder in the entity cache if it is enabled. |
void |
cacheResult(List<JournalFolder> journalFolders)
Caches the journal folders in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all journal folders. |
void |
clearCache(JournalFolder journalFolder)
Clears the cache for the journal folder. |
void |
clearCache(List<JournalFolder> journalFolders)
Clears the cache for a List instances of this model. |
protected void |
clearUniqueFindersCache(JournalFolder journalFolder)
|
int |
countAll()
Returns the number of journal folders. |
int |
countByCompanyId(long companyId)
Returns the number of journal folders where companyId = ?. |
int |
countByG_N(long groupId,
String name)
Returns the number of journal folders where groupId = ? and name = ?. |
int |
countByG_P_N(long groupId,
long parentFolderId,
String name)
Returns the number of journal folders where groupId = ? and parentFolderId = ? and name = ?. |
int |
countByG_P(long groupId,
long parentFolderId)
Returns the number of journal folders where groupId = ? and parentFolderId = ?. |
int |
countByGroupId(long groupId)
Returns the number of journal folders where groupId = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of journal folders where uuid = ? and companyId = ?. |
int |
countByUUID_G(String uuid,
long groupId)
Returns the number of journal folders where uuid = ? and groupId = ?. |
int |
countByUuid(String uuid)
Returns the number of journal folders where uuid = ?. |
JournalFolder |
create(long folderId)
Creates a new journal folder with the primary key. |
void |
destroy()
|
JournalFolder |
fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where companyId = ?. |
JournalFolder |
fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where companyId = ?. |
JournalFolder |
fetchByG_N(long groupId,
String name)
Returns the journal folder where groupId = ? and name = ? or returns null if it could not be found. |
JournalFolder |
fetchByG_N(long groupId,
String name,
boolean retrieveFromCache)
Returns the journal folder where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
JournalFolder |
fetchByG_P_First(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ?. |
JournalFolder |
fetchByG_P_Last(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ?. |
JournalFolder |
fetchByG_P_N(long groupId,
long parentFolderId,
String name)
Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or returns null if it could not be found. |
JournalFolder |
fetchByG_P_N(long groupId,
long parentFolderId,
String name,
boolean retrieveFromCache)
Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. |
JournalFolder |
fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where groupId = ?. |
JournalFolder |
fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where groupId = ?. |
JournalFolder |
fetchByPrimaryKey(long folderId)
Returns the journal folder with the primary key or returns null if it could not be found. |
JournalFolder |
fetchByPrimaryKey(Serializable primaryKey)
Returns the journal folder with the primary key or returns null if it could not be found. |
JournalFolder |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where uuid = ? and companyId = ?. |
JournalFolder |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where uuid = ? and companyId = ?. |
JournalFolder |
fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where uuid = ?. |
JournalFolder |
fetchByUUID_G(String uuid,
long groupId)
Returns the journal folder where uuid = ? and groupId = ? or returns null if it could not be found. |
JournalFolder |
fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
Returns the journal folder where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. |
JournalFolder |
fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where uuid = ?. |
int |
filterCountByG_P(long groupId,
long parentFolderId)
Returns the number of journal folders that the user has permission to view where groupId = ? and parentFolderId = ?. |
int |
filterCountByGroupId(long groupId)
Returns the number of journal folders that the user has permission to view where groupId = ?. |
JournalFolder[] |
filterFindByG_P_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ? and parentFolderId = ?. |
List<JournalFolder> |
filterFindByG_P(long groupId,
long parentFolderId)
Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ?. |
List<JournalFolder> |
filterFindByG_P(long groupId,
long parentFolderId,
int start,
int end)
Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ?. |
List<JournalFolder> |
filterFindByG_P(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ? and parentFolderId = ?. |
JournalFolder[] |
filterFindByGroupId_PrevAndNext(long folderId,
long groupId,
OrderByComparator orderByComparator)
Returns the journal folders before and after the current journal folder in the ordered set of journal folders that the user has permission to view where groupId = ?. |
List<JournalFolder> |
filterFindByGroupId(long groupId)
Returns all the journal folders that the user has permission to view where groupId = ?. |
List<JournalFolder> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the journal folders that the user has permission to view where groupId = ?. |
List<JournalFolder> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders that the user has permissions to view where groupId = ?. |
protected JournalFolder |
filterGetByG_P_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
filterGetByGroupId_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
List<JournalFolder> |
findAll()
Returns all the journal folders. |
List<JournalFolder> |
findAll(int start,
int end)
Returns a range of all the journal folders. |
List<JournalFolder> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders. |
JournalFolder |
findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where companyId = ?. |
JournalFolder |
findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where companyId = ?. |
JournalFolder[] |
findByCompanyId_PrevAndNext(long folderId,
long companyId,
OrderByComparator orderByComparator)
Returns the journal folders before and after the current journal folder in the ordered set where companyId = ?. |
List<JournalFolder> |
findByCompanyId(long companyId)
Returns all the journal folders where companyId = ?. |
List<JournalFolder> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the journal folders where companyId = ?. |
List<JournalFolder> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders where companyId = ?. |
JournalFolder |
findByG_N(long groupId,
String name)
Returns the journal folder where groupId = ? and name = ? or throws a NoSuchFolderException if it could not be found. |
JournalFolder |
findByG_P_First(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ?. |
JournalFolder |
findByG_P_Last(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ?. |
JournalFolder |
findByG_P_N(long groupId,
long parentFolderId,
String name)
Returns the journal folder where groupId = ? and parentFolderId = ? and name = ? or throws a NoSuchFolderException if it could not be found. |
JournalFolder[] |
findByG_P_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ?. |
List<JournalFolder> |
findByG_P(long groupId,
long parentFolderId)
Returns all the journal folders where groupId = ? and parentFolderId = ?. |
List<JournalFolder> |
findByG_P(long groupId,
long parentFolderId,
int start,
int end)
Returns a range of all the journal folders where groupId = ? and parentFolderId = ?. |
List<JournalFolder> |
findByG_P(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ?. |
JournalFolder |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where groupId = ?. |
JournalFolder |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where groupId = ?. |
JournalFolder[] |
findByGroupId_PrevAndNext(long folderId,
long groupId,
OrderByComparator orderByComparator)
Returns the journal folders before and after the current journal folder in the ordered set where groupId = ?. |
List<JournalFolder> |
findByGroupId(long groupId)
Returns all the journal folders where groupId = ?. |
List<JournalFolder> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the journal folders where groupId = ?. |
List<JournalFolder> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders where groupId = ?. |
JournalFolder |
findByPrimaryKey(long folderId)
Returns the journal folder with the primary key or throws a NoSuchFolderException if it could not be found. |
JournalFolder |
findByPrimaryKey(Serializable primaryKey)
Returns the journal folder with the primary key or throws a NoSuchModelException if it could not be found. |
JournalFolder |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where uuid = ? and companyId = ?. |
JournalFolder |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where uuid = ? and companyId = ?. |
JournalFolder[] |
findByUuid_C_PrevAndNext(long folderId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
Returns the journal folders before and after the current journal folder in the ordered set where uuid = ? and companyId = ?. |
List<JournalFolder> |
findByUuid_C(String uuid,
long companyId)
Returns all the journal folders where uuid = ? and companyId = ?. |
List<JournalFolder> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the journal folders where uuid = ? and companyId = ?. |
List<JournalFolder> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders where uuid = ? and companyId = ?. |
JournalFolder |
findByUuid_First(String uuid,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where uuid = ?. |
JournalFolder |
findByUUID_G(String uuid,
long groupId)
Returns the journal folder where uuid = ? and groupId = ? or throws a NoSuchFolderException if it could not be found. |
JournalFolder |
findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where uuid = ?. |
JournalFolder[] |
findByUuid_PrevAndNext(long folderId,
String uuid,
OrderByComparator orderByComparator)
Returns the journal folders before and after the current journal folder in the ordered set where uuid = ?. |
List<JournalFolder> |
findByUuid(String uuid)
Returns all the journal folders where uuid = ?. |
List<JournalFolder> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the journal folders where uuid = ?. |
List<JournalFolder> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders where uuid = ?. |
protected JournalFolder |
getByCompanyId_PrevAndNext(Session session,
JournalFolder journalFolder,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
getByG_P_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
getByGroupId_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
getByUuid_C_PrevAndNext(Session session,
JournalFolder journalFolder,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
getByUuid_PrevAndNext(Session session,
JournalFolder journalFolder,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
|
JournalFolder |
remove(long folderId)
Removes the journal folder with the primary key from the database. |
JournalFolder |
remove(Serializable primaryKey)
Removes the journal folder with the primary key from the database. |
void |
removeAll()
Removes all the journal folders from the database. |
void |
removeByCompanyId(long companyId)
Removes all the journal folders where companyId = ? from the database. |
JournalFolder |
removeByG_N(long groupId,
String name)
Removes the journal folder where groupId = ? and name = ? from the database. |
JournalFolder |
removeByG_P_N(long groupId,
long parentFolderId,
String name)
Removes the journal folder where groupId = ? and parentFolderId = ? and name = ? from the database. |
void |
removeByG_P(long groupId,
long parentFolderId)
Removes all the journal folders where groupId = ? and parentFolderId = ? from the database. |
void |
removeByGroupId(long groupId)
Removes all the journal folders where groupId = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the journal folders where uuid = ? and companyId = ? from the database. |
JournalFolder |
removeByUUID_G(String uuid,
long groupId)
Removes the journal folder where uuid = ? and groupId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the journal folders where uuid = ? from the database. |
protected JournalFolder |
removeImpl(JournalFolder journalFolder)
Removes the model instance from the database. |
protected JournalFolder |
toUnwrappedModel(JournalFolder journalFolder)
|
JournalFolder |
updateImpl(JournalFolder journalFolder)
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, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| 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 |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
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 FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P
public static final FinderPath FINDER_PATH_COUNT_BY_G_P
public static final FinderPath FINDER_PATH_FETCH_BY_G_N
public static final FinderPath FINDER_PATH_COUNT_BY_G_N
public static final FinderPath FINDER_PATH_FETCH_BY_G_P_N
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_N
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_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=JournalFolderPersistence.class) protected JournalFolderPersistence journalFolderPersistence
@BeanReference(type=JournalStructurePersistence.class) protected JournalStructurePersistence journalStructurePersistence
@BeanReference(type=JournalTemplatePersistence.class) protected JournalTemplatePersistence journalTemplatePersistence
@BeanReference(type=GroupPersistence.class) protected GroupPersistence groupPersistence
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=ExpandoValuePersistence.class) protected ExpandoValuePersistence expandoValuePersistence
| Constructor Detail |
|---|
public JournalFolderPersistenceImpl()
| Method Detail |
|---|
public void cacheResult(JournalFolder journalFolder)
cacheResult in interface JournalFolderPersistencejournalFolder - the journal folderpublic void cacheResult(List<JournalFolder> journalFolders)
cacheResult in interface JournalFolderPersistencejournalFolders - the journal folderspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<JournalFolder>clearCache in class BasePersistenceImpl<JournalFolder>public void clearCache(JournalFolder journalFolder)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<JournalFolder>clearCache in class BasePersistenceImpl<JournalFolder>journalFolder - the instance of this model to clear the cache forpublic void clearCache(List<JournalFolder> journalFolders)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<JournalFolder>clearCache in class BasePersistenceImpl<JournalFolder>journalFolders - the List instances of this model to clear the cache forprotected void clearUniqueFindersCache(JournalFolder journalFolder)
public JournalFolder create(long folderId)
create in interface JournalFolderPersistencefolderId - the primary key for the new journal folder
public JournalFolder remove(long folderId)
throws NoSuchFolderException,
SystemException
remove in interface JournalFolderPersistencefolderId - the primary key of the journal folder
NoSuchFolderException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
public JournalFolder remove(Serializable primaryKey)
throws NoSuchFolderException,
SystemException
remove in interface BasePersistence<JournalFolder>remove in class BasePersistenceImpl<JournalFolder>primaryKey - the primary key of the journal folder
NoSuchFolderException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
protected JournalFolder removeImpl(JournalFolder journalFolder)
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<JournalFolder>journalFolder - the model instance to remove
SystemException - if a system exception occurred
public JournalFolder updateImpl(JournalFolder journalFolder)
throws SystemException
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface JournalFolderPersistenceupdateImpl in class BasePersistenceImpl<JournalFolder>journalFolder - the model instance to update
SystemException - if a system exception occurredprotected JournalFolder toUnwrappedModel(JournalFolder journalFolder)
public JournalFolder findByPrimaryKey(Serializable primaryKey)
throws NoSuchModelException,
SystemException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<JournalFolder>findByPrimaryKey in class BasePersistenceImpl<JournalFolder>primaryKey - the primary key of the journal folder
NoSuchModelException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
public JournalFolder findByPrimaryKey(long folderId)
throws NoSuchFolderException,
SystemException
NoSuchFolderException if it could not be found.
findByPrimaryKey in interface JournalFolderPersistencefolderId - the primary key of the journal folder
NoSuchFolderException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByPrimaryKey(Serializable primaryKey)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<JournalFolder>fetchByPrimaryKey in class BasePersistenceImpl<JournalFolder>primaryKey - the primary key of the journal folder
null if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByPrimaryKey(long folderId)
throws SystemException
null if it could not be found.
fetchByPrimaryKey in interface JournalFolderPersistencefolderId - the primary key of the journal folder
null if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
public List<JournalFolder> findByUuid(String uuid)
throws SystemException
findByUuid in interface JournalFolderPersistenceuuid - the uuid
SystemException - if a system exception occurred
public List<JournalFolder> findByUuid(String uuid,
int start,
int end)
throws 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.
findByUuid in interface JournalFolderPersistenceuuid - the uuidstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
SystemException - if a system exception occurred
public List<JournalFolder> findByUuid(String uuid,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
findByUuid in interface JournalFolderPersistenceuuid - the uuidstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public JournalFolder findByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByUuid_First in interface JournalFolderPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByUuid_First(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_First in interface JournalFolderPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder findByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByUuid_Last in interface JournalFolderPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByUuid_Last(String uuid,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_Last in interface JournalFolderPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder[] findByUuid_PrevAndNext(long folderId,
String uuid,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByUuid_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal folderuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
protected JournalFolder getByUuid_PrevAndNext(Session session,
JournalFolder journalFolder,
String uuid,
OrderByComparator orderByComparator,
boolean previous)
public JournalFolder findByUUID_G(String uuid,
long groupId)
throws NoSuchFolderException,
SystemException
NoSuchFolderException if it could not be found.
findByUUID_G in interface JournalFolderPersistenceuuid - the uuidgroupId - the group ID
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByUUID_G(String uuid,
long groupId)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface JournalFolderPersistenceuuid - the uuidgroupId - the group ID
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface JournalFolderPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public List<JournalFolder> findByUuid_C(String uuid,
long companyId)
throws SystemException
findByUuid_C in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public List<JournalFolder> findByUuid_C(String uuid,
long companyId,
int start,
int end)
throws 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.
findByUuid_C in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
SystemException - if a system exception occurred
public List<JournalFolder> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
findByUuid_C in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public JournalFolder findByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByUuid_C_First in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_C_First in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByUuid_C_Last in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByUuid_C_Last in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder[] findByUuid_C_PrevAndNext(long folderId,
String uuid,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByUuid_C_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal folderuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
protected JournalFolder getByUuid_C_PrevAndNext(Session session,
JournalFolder journalFolder,
String uuid,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalFolder> findByGroupId(long groupId)
throws SystemException
findByGroupId in interface JournalFolderPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<JournalFolder> findByGroupId(long groupId,
int start,
int end)
throws 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.
findByGroupId in interface JournalFolderPersistencegroupId - the group IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
SystemException - if a system exception occurred
public List<JournalFolder> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
findByGroupId in interface JournalFolderPersistencegroupId - the group IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public JournalFolder findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByGroupId_First in interface JournalFolderPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_First in interface JournalFolderPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByGroupId_Last in interface JournalFolderPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws SystemException
fetchByGroupId_Last in interface JournalFolderPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder[] findByGroupId_PrevAndNext(long folderId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByGroupId_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal foldergroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
protected JournalFolder getByGroupId_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalFolder> filterFindByGroupId(long groupId)
throws SystemException
filterFindByGroupId in interface JournalFolderPersistencegroupId - the group ID
SystemException - if a system exception occurred
public List<JournalFolder> filterFindByGroupId(long groupId,
int start,
int end)
throws 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.
filterFindByGroupId in interface JournalFolderPersistencegroupId - the group IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
SystemException - if a system exception occurred
public List<JournalFolder> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
filterFindByGroupId in interface JournalFolderPersistencegroupId - the group IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public JournalFolder[] filterFindByGroupId_PrevAndNext(long folderId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
filterFindByGroupId_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal foldergroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
protected JournalFolder filterGetByGroupId_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalFolder> findByCompanyId(long companyId)
throws SystemException
findByCompanyId in interface JournalFolderPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public List<JournalFolder> findByCompanyId(long companyId,
int start,
int end)
throws 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.
findByCompanyId in interface JournalFolderPersistencecompanyId - the company IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
SystemException - if a system exception occurred
public List<JournalFolder> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
findByCompanyId in interface JournalFolderPersistencecompanyId - the company IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public JournalFolder findByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByCompanyId_First in interface JournalFolderPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByCompanyId_First(long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByCompanyId_First in interface JournalFolderPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder findByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByCompanyId_Last in interface JournalFolderPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByCompanyId_Last(long companyId,
OrderByComparator orderByComparator)
throws SystemException
fetchByCompanyId_Last in interface JournalFolderPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder[] findByCompanyId_PrevAndNext(long folderId,
long companyId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByCompanyId_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal foldercompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
protected JournalFolder getByCompanyId_PrevAndNext(Session session,
JournalFolder journalFolder,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalFolder> findByG_P(long groupId,
long parentFolderId)
throws SystemException
findByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder ID
SystemException - if a system exception occurred
public List<JournalFolder> findByG_P(long groupId,
long parentFolderId,
int start,
int end)
throws 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.
findByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
SystemException - if a system exception occurred
public List<JournalFolder> findByG_P(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
findByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public JournalFolder findByG_P_First(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByG_P_First in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByG_P_First(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_First in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder findByG_P_Last(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByG_P_Last in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByG_P_Last(long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
throws SystemException
fetchByG_P_Last in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder[] findByG_P_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
findByG_P_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal foldergroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
protected JournalFolder getByG_P_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator,
boolean previous)
public List<JournalFolder> filterFindByG_P(long groupId,
long parentFolderId)
throws SystemException
filterFindByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder ID
SystemException - if a system exception occurred
public List<JournalFolder> filterFindByG_P(long groupId,
long parentFolderId,
int start,
int end)
throws 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.
filterFindByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
SystemException - if a system exception occurred
public List<JournalFolder> filterFindByG_P(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator orderByComparator)
throws 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.
filterFindByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public JournalFolder[] filterFindByG_P_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator)
throws NoSuchFolderException,
SystemException
filterFindByG_P_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal foldergroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
SystemException - if a system exception occurred
protected JournalFolder filterGetByG_P_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator,
boolean previous)
public JournalFolder findByG_N(long groupId,
String name)
throws NoSuchFolderException,
SystemException
NoSuchFolderException if it could not be found.
findByG_N in interface JournalFolderPersistencegroupId - the group IDname - the name
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByG_N(long groupId,
String name)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByG_N in interface JournalFolderPersistencegroupId - the group IDname - the name
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByG_N(long groupId,
String name,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByG_N in interface JournalFolderPersistencegroupId - the group IDname - the nameretrieveFromCache - whether to use the finder cache
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder findByG_P_N(long groupId,
long parentFolderId,
String name)
throws NoSuchFolderException,
SystemException
NoSuchFolderException if it could not be found.
findByG_P_N in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDname - the name
NoSuchFolderException - if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByG_P_N(long groupId,
long parentFolderId,
String name)
throws SystemException
null if it could not be found. Uses the finder cache.
fetchByG_P_N in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDname - the name
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public JournalFolder fetchByG_P_N(long groupId,
long parentFolderId,
String name,
boolean retrieveFromCache)
throws SystemException
null if it could not be found, optionally using the finder cache.
fetchByG_P_N in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDname - the nameretrieveFromCache - whether to use the finder cache
null if a matching journal folder could not be found
SystemException - if a system exception occurred
public List<JournalFolder> findAll()
throws SystemException
findAll in interface JournalFolderPersistenceSystemException - if a system exception occurred
public List<JournalFolder> findAll(int start,
int end)
throws 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.
findAll in interface JournalFolderPersistencestart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
SystemException - if a system exception occurred
public List<JournalFolder> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws 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.
findAll in interface JournalFolderPersistencestart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
public void removeByUuid(String uuid)
throws SystemException
removeByUuid in interface JournalFolderPersistenceuuid - the uuid
SystemException - if a system exception occurred
public JournalFolder removeByUUID_G(String uuid,
long groupId)
throws NoSuchFolderException,
SystemException
removeByUUID_G in interface JournalFolderPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
NoSuchFolderException
public void removeByUuid_C(String uuid,
long companyId)
throws SystemException
removeByUuid_C in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public void removeByGroupId(long groupId)
throws SystemException
removeByGroupId in interface JournalFolderPersistencegroupId - the group ID
SystemException - if a system exception occurred
public void removeByCompanyId(long companyId)
throws SystemException
removeByCompanyId in interface JournalFolderPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public void removeByG_P(long groupId,
long parentFolderId)
throws SystemException
removeByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder ID
SystemException - if a system exception occurred
public JournalFolder removeByG_N(long groupId,
String name)
throws NoSuchFolderException,
SystemException
removeByG_N in interface JournalFolderPersistencegroupId - the group IDname - the name
SystemException - if a system exception occurred
NoSuchFolderException
public JournalFolder removeByG_P_N(long groupId,
long parentFolderId,
String name)
throws NoSuchFolderException,
SystemException
removeByG_P_N in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDname - the name
SystemException - if a system exception occurred
NoSuchFolderException
public void removeAll()
throws SystemException
removeAll in interface JournalFolderPersistenceSystemException - if a system exception occurred
public int countByUuid(String uuid)
throws SystemException
countByUuid in interface JournalFolderPersistenceuuid - the uuid
SystemException - if a system exception occurred
public int countByUUID_G(String uuid,
long groupId)
throws SystemException
countByUUID_G in interface JournalFolderPersistenceuuid - the uuidgroupId - the group ID
SystemException - if a system exception occurred
public int countByUuid_C(String uuid,
long companyId)
throws SystemException
countByUuid_C in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company ID
SystemException - if a system exception occurred
public int countByGroupId(long groupId)
throws SystemException
countByGroupId in interface JournalFolderPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int filterCountByGroupId(long groupId)
throws SystemException
filterCountByGroupId in interface JournalFolderPersistencegroupId - the group ID
SystemException - if a system exception occurred
public int countByCompanyId(long companyId)
throws SystemException
countByCompanyId in interface JournalFolderPersistencecompanyId - the company ID
SystemException - if a system exception occurred
public int countByG_P(long groupId,
long parentFolderId)
throws SystemException
countByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder ID
SystemException - if a system exception occurred
public int filterCountByG_P(long groupId,
long parentFolderId)
throws SystemException
filterCountByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder ID
SystemException - if a system exception occurred
public int countByG_N(long groupId,
String name)
throws SystemException
countByG_N in interface JournalFolderPersistencegroupId - the group IDname - the name
SystemException - if a system exception occurred
public int countByG_P_N(long groupId,
long parentFolderId,
String name)
throws SystemException
countByG_P_N in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDname - the name
SystemException - if a system exception occurred
public int countAll()
throws SystemException
countAll in interface JournalFolderPersistenceSystemException - if a system exception occurredpublic void afterPropertiesSet()
public void destroy()
|
Liferay 6.2.0-ce-m1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||