|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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. |
protected void |
cacheUniqueFindersCache(JournalFolder journalFolder)
|
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 |
countByC_NotS(long companyId,
int status)
Returns the number of journal folders where companyId = ? and status ≠ ?. |
int |
countByCompanyId(long companyId)
Returns the number of journal folders where companyId = ?. |
int |
countByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status)
Returns the number of journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
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_NotS(long groupId,
long parentFolderId,
int status)
Returns the number of journal folders where groupId = ? and parentFolderId = ? and status ≠ ?. |
int |
countByG_P_S(long groupId,
long parentFolderId,
int status)
Returns the number of journal folders where groupId = ? and parentFolderId = ? and status = ?. |
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 |
fetchByC_NotS_First(long companyId,
int status,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where companyId = ? and status ≠ ?. |
JournalFolder |
fetchByC_NotS_Last(long companyId,
int status,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where companyId = ? and status ≠ ?. |
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 |
fetchByF_C_P_NotS_First(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
JournalFolder |
fetchByF_C_P_NotS_Last(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
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 |
fetchByG_P_NotS_First(long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?. |
JournalFolder |
fetchByG_P_NotS_Last(long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?. |
JournalFolder |
fetchByG_P_S_First(long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. |
JournalFolder |
fetchByG_P_S_Last(long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. |
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_NotS(long groupId,
long parentFolderId,
int status)
Returns the number of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?. |
int |
filterCountByG_P_S(long groupId,
long parentFolderId,
int status)
Returns the number of journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?. |
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_NotS_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
int status,
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 = ? and status ≠ ?. |
List<JournalFolder> |
filterFindByG_P_NotS(long groupId,
long parentFolderId,
int status)
Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?. |
List<JournalFolder> |
filterFindByG_P_NotS(long groupId,
long parentFolderId,
int status,
int start,
int end)
Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status ≠ ?. |
List<JournalFolder> |
filterFindByG_P_NotS(long groupId,
long parentFolderId,
int status,
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 = ? and status ≠ ?. |
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 = ?. |
JournalFolder[] |
filterFindByG_P_S_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
int status,
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 = ? and status = ?. |
List<JournalFolder> |
filterFindByG_P_S(long groupId,
long parentFolderId,
int status)
Returns all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?. |
List<JournalFolder> |
filterFindByG_P_S(long groupId,
long parentFolderId,
int status,
int start,
int end)
Returns a range of all the journal folders that the user has permission to view where groupId = ? and parentFolderId = ? and status = ?. |
List<JournalFolder> |
filterFindByG_P_S(long groupId,
long parentFolderId,
int status,
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 = ? and status = ?. |
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_NotS_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
filterGetByG_P_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
filterGetByG_P_S_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
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 |
findByC_NotS_First(long companyId,
int status,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where companyId = ? and status ≠ ?. |
JournalFolder |
findByC_NotS_Last(long companyId,
int status,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where companyId = ? and status ≠ ?. |
JournalFolder[] |
findByC_NotS_PrevAndNext(long folderId,
long companyId,
int status,
OrderByComparator orderByComparator)
Returns the journal folders before and after the current journal folder in the ordered set where companyId = ? and status ≠ ?. |
List<JournalFolder> |
findByC_NotS(long companyId,
int status)
Returns all the journal folders where companyId = ? and status ≠ ?. |
List<JournalFolder> |
findByC_NotS(long companyId,
int status,
int start,
int end)
Returns a range of all the journal folders where companyId = ? and status ≠ ?. |
List<JournalFolder> |
findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders where companyId = ? and status ≠ ?. |
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 |
findByF_C_P_NotS_First(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
JournalFolder |
findByF_C_P_NotS_Last(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
List<JournalFolder> |
findByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status)
Returns all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
List<JournalFolder> |
findByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status,
int start,
int end)
Returns a range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
List<JournalFolder> |
findByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ?. |
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_NotS_First(long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?. |
JournalFolder |
findByG_P_NotS_Last(long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?. |
JournalFolder[] |
findByG_P_NotS_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ? and status ≠ ?. |
List<JournalFolder> |
findByG_P_NotS(long groupId,
long parentFolderId,
int status)
Returns all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?. |
List<JournalFolder> |
findByG_P_NotS(long groupId,
long parentFolderId,
int status,
int start,
int end)
Returns a range of all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?. |
List<JournalFolder> |
findByG_P_NotS(long groupId,
long parentFolderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ?. |
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 = ?. |
JournalFolder |
findByG_P_S_First(long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. |
JournalFolder |
findByG_P_S_Last(long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. |
JournalFolder[] |
findByG_P_S_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator)
Returns the journal folders before and after the current journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. |
List<JournalFolder> |
findByG_P_S(long groupId,
long parentFolderId,
int status)
Returns all the journal folders where groupId = ? and parentFolderId = ? and status = ?. |
List<JournalFolder> |
findByG_P_S(long groupId,
long parentFolderId,
int status,
int start,
int end)
Returns a range of all the journal folders where groupId = ? and parentFolderId = ? and status = ?. |
List<JournalFolder> |
findByG_P_S(long groupId,
long parentFolderId,
int status,
int start,
int end,
OrderByComparator orderByComparator)
Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ? and status = ?. |
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 Set<String> |
getBadColumnNames()
|
protected JournalFolder |
getByC_NotS_PrevAndNext(Session session,
JournalFolder journalFolder,
long companyId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
getByCompanyId_PrevAndNext(Session session,
JournalFolder journalFolder,
long companyId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
getByG_P_NotS_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
getByG_P_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
OrderByComparator orderByComparator,
boolean previous)
|
protected JournalFolder |
getByG_P_S_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
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 |
removeByC_NotS(long companyId,
int status)
Removes all the journal folders where companyId = ? and status ≠ ? from the database. |
void |
removeByCompanyId(long companyId)
Removes all the journal folders where companyId = ? from the database. |
void |
removeByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status)
Removes all the journal folders where folderId > ? and companyId = ? and parentFolderId = ? and status ≠ ? 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_NotS(long groupId,
long parentFolderId,
int status)
Removes all the journal folders where groupId = ? and parentFolderId = ? and status ≠ ? from the database. |
void |
removeByG_P_S(long groupId,
long parentFolderId,
int status)
Removes all the journal folders where groupId = ? and parentFolderId = ? and status = ? 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, 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 |
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, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, 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_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
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_WITH_PAGINATION_FIND_BY_C_NOTS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_C_NOTS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_F_C_P_NOTS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_F_C_P_NOTS
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_BY_G_P_S
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_S
public static final FinderPath FINDER_PATH_COUNT_BY_G_P_S
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_NOTS
public static final FinderPath FINDER_PATH_WITH_PAGINATION_COUNT_BY_G_P_NOTS
Constructor Detail |
---|
public JournalFolderPersistenceImpl()
Method Detail |
---|
public List<JournalFolder> findByUuid(String uuid) throws SystemException
findByUuid
in interface JournalFolderPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic 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. 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 JournalFolderModelImpl
. 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 JournalFolderPersistence
uuid
- 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 occurredpublic 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. 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 JournalFolderModelImpl
. 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 JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder findByUuid_First(String uuid, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByUuid_First
in interface JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder fetchByUuid_First(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_First
in interface JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder findByUuid_Last(String uuid, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByUuid_Last
in interface JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder fetchByUuid_Last(String uuid, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_Last
in interface JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder[] findByUuid_PrevAndNext(long folderId, String uuid, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByUuid_PrevAndNext
in interface JournalFolderPersistence
folderId
- 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 occurredprotected JournalFolder getByUuid_PrevAndNext(Session session, JournalFolder journalFolder, String uuid, OrderByComparator orderByComparator, boolean previous)
public void removeByUuid(String uuid) throws SystemException
removeByUuid
in interface JournalFolderPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic int countByUuid(String uuid) throws SystemException
countByUuid
in interface JournalFolderPersistence
uuid
- the uuid
SystemException
- if a system exception occurredpublic JournalFolder findByUUID_G(String uuid, long groupId) throws NoSuchFolderException, SystemException
NoSuchFolderException
if it could not be found.
findByUUID_G
in interface JournalFolderPersistence
uuid
- the uuidgroupId
- the group ID
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder fetchByUUID_G(String uuid, long groupId) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByUUID_G
in interface JournalFolderPersistence
uuid
- the uuidgroupId
- the group ID
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic 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 JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder removeByUUID_G(String uuid, long groupId) throws NoSuchFolderException, SystemException
removeByUUID_G
in interface JournalFolderPersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurred
NoSuchFolderException
public int countByUUID_G(String uuid, long groupId) throws SystemException
countByUUID_G
in interface JournalFolderPersistence
uuid
- the uuidgroupId
- the group ID
SystemException
- if a system exception occurredpublic List<JournalFolder> findByUuid_C(String uuid, long companyId) throws SystemException
findByUuid_C
in interface JournalFolderPersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic 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. 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 JournalFolderModelImpl
. 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_C
in interface JournalFolderPersistence
uuid
- 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 occurredpublic 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. 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 JournalFolderModelImpl
. 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_C
in interface JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder findByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByUuid_C_First
in interface JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder fetchByUuid_C_First(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_C_First
in interface JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder findByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByUuid_C_Last
in interface JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByUuid_C_Last
in interface JournalFolderPersistence
uuid
- 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 occurredpublic JournalFolder[] findByUuid_C_PrevAndNext(long folderId, String uuid, long companyId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByUuid_C_PrevAndNext
in interface JournalFolderPersistence
folderId
- 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 occurredprotected JournalFolder getByUuid_C_PrevAndNext(Session session, JournalFolder journalFolder, String uuid, long companyId, OrderByComparator orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId) throws SystemException
removeByUuid_C
in interface JournalFolderPersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic int countByUuid_C(String uuid, long companyId) throws SystemException
countByUuid_C
in interface JournalFolderPersistence
uuid
- the uuidcompanyId
- the company ID
SystemException
- if a system exception occurredpublic List<JournalFolder> findByGroupId(long groupId) throws SystemException
findByGroupId
in interface JournalFolderPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic 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. 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 JournalFolderModelImpl
. 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.
findByGroupId
in interface JournalFolderPersistence
groupId
- 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 occurredpublic 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. 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 JournalFolderModelImpl
. 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.
findByGroupId
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder findByGroupId_First(long groupId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByGroupId_First
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder fetchByGroupId_First(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_First
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder findByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByGroupId_Last
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder fetchByGroupId_Last(long groupId, OrderByComparator orderByComparator) throws SystemException
fetchByGroupId_Last
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder[] findByGroupId_PrevAndNext(long folderId, long groupId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByGroupId_PrevAndNext
in interface JournalFolderPersistence
folderId
- 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 occurredprotected JournalFolder getByGroupId_PrevAndNext(Session session, JournalFolder journalFolder, long groupId, OrderByComparator orderByComparator, boolean previous)
public List<JournalFolder> filterFindByGroupId(long groupId) throws SystemException
filterFindByGroupId
in interface JournalFolderPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic 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. 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 JournalFolderModelImpl
. 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.
filterFindByGroupId
in interface JournalFolderPersistence
groupId
- 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 occurredpublic 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. 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 JournalFolderModelImpl
. 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.
filterFindByGroupId
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder[] filterFindByGroupId_PrevAndNext(long folderId, long groupId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
filterFindByGroupId_PrevAndNext
in interface JournalFolderPersistence
folderId
- 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 occurredprotected JournalFolder filterGetByGroupId_PrevAndNext(Session session, JournalFolder journalFolder, long groupId, OrderByComparator orderByComparator, boolean previous)
public void removeByGroupId(long groupId) throws SystemException
removeByGroupId
in interface JournalFolderPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int countByGroupId(long groupId) throws SystemException
countByGroupId
in interface JournalFolderPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic int filterCountByGroupId(long groupId) throws SystemException
filterCountByGroupId
in interface JournalFolderPersistence
groupId
- the group ID
SystemException
- if a system exception occurredpublic List<JournalFolder> findByCompanyId(long companyId) throws SystemException
findByCompanyId
in interface JournalFolderPersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic 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. 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 JournalFolderModelImpl
. 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.
findByCompanyId
in interface JournalFolderPersistence
companyId
- 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 occurredpublic 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. 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 JournalFolderModelImpl
. 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.
findByCompanyId
in interface JournalFolderPersistence
companyId
- 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 occurredpublic JournalFolder findByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByCompanyId_First
in interface JournalFolderPersistence
companyId
- 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 occurredpublic JournalFolder fetchByCompanyId_First(long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByCompanyId_First
in interface JournalFolderPersistence
companyId
- 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 occurredpublic JournalFolder findByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByCompanyId_Last
in interface JournalFolderPersistence
companyId
- 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 occurredpublic JournalFolder fetchByCompanyId_Last(long companyId, OrderByComparator orderByComparator) throws SystemException
fetchByCompanyId_Last
in interface JournalFolderPersistence
companyId
- 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 occurredpublic JournalFolder[] findByCompanyId_PrevAndNext(long folderId, long companyId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByCompanyId_PrevAndNext
in interface JournalFolderPersistence
folderId
- 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 occurredprotected JournalFolder getByCompanyId_PrevAndNext(Session session, JournalFolder journalFolder, long companyId, OrderByComparator orderByComparator, boolean previous)
public void removeByCompanyId(long companyId) throws SystemException
removeByCompanyId
in interface JournalFolderPersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic int countByCompanyId(long companyId) throws SystemException
countByCompanyId
in interface JournalFolderPersistence
companyId
- the company ID
SystemException
- if a system exception occurredpublic List<JournalFolder> findByG_P(long groupId, long parentFolderId) throws SystemException
findByG_P
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder ID
SystemException
- if a system exception occurredpublic 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. 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 JournalFolderModelImpl
. 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.
findByG_P
in interface JournalFolderPersistence
groupId
- 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 occurredpublic 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. 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 JournalFolderModelImpl
. 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.
findByG_P
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder findByG_P_First(long groupId, long parentFolderId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByG_P_First
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder fetchByG_P_First(long groupId, long parentFolderId, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_First
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder findByG_P_Last(long groupId, long parentFolderId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByG_P_Last
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder fetchByG_P_Last(long groupId, long parentFolderId, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_Last
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder[] findByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByG_P_PrevAndNext
in interface JournalFolderPersistence
folderId
- 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 occurredprotected 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 JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder ID
SystemException
- if a system exception occurredpublic 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. 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 JournalFolderModelImpl
. 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.
filterFindByG_P
in interface JournalFolderPersistence
groupId
- 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 occurredpublic 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. 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 JournalFolderModelImpl
. 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.
filterFindByG_P
in interface JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder[] filterFindByG_P_PrevAndNext(long folderId, long groupId, long parentFolderId, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
filterFindByG_P_PrevAndNext
in interface JournalFolderPersistence
folderId
- 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 occurredprotected JournalFolder filterGetByG_P_PrevAndNext(Session session, JournalFolder journalFolder, long groupId, long parentFolderId, OrderByComparator orderByComparator, boolean previous)
public void removeByG_P(long groupId, long parentFolderId) throws SystemException
removeByG_P
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder ID
SystemException
- if a system exception occurredpublic int countByG_P(long groupId, long parentFolderId) throws SystemException
countByG_P
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder ID
SystemException
- if a system exception occurredpublic int filterCountByG_P(long groupId, long parentFolderId) throws SystemException
filterCountByG_P
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder ID
SystemException
- if a system exception occurredpublic JournalFolder findByG_N(long groupId, String name) throws NoSuchFolderException, SystemException
NoSuchFolderException
if it could not be found.
findByG_N
in interface JournalFolderPersistence
groupId
- the group IDname
- the name
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder fetchByG_N(long groupId, String name) throws SystemException
null
if it could not be found. Uses the finder cache.
fetchByG_N
in interface JournalFolderPersistence
groupId
- the group IDname
- the name
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic 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 JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder removeByG_N(long groupId, String name) throws NoSuchFolderException, SystemException
removeByG_N
in interface JournalFolderPersistence
groupId
- the group IDname
- the name
SystemException
- if a system exception occurred
NoSuchFolderException
public int countByG_N(long groupId, String name) throws SystemException
countByG_N
in interface JournalFolderPersistence
groupId
- the group IDname
- the name
SystemException
- if a system exception occurredpublic List<JournalFolder> findByC_NotS(long companyId, int status) throws SystemException
findByC_NotS
in interface JournalFolderPersistence
companyId
- the company IDstatus
- the status
SystemException
- if a system exception occurredpublic List<JournalFolder> findByC_NotS(long companyId, int status, 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. 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 JournalFolderModelImpl
. 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.
findByC_NotS
in interface JournalFolderPersistence
companyId
- the company IDstatus
- the statusstart
- 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 occurredpublic List<JournalFolder> findByC_NotS(long companyId, int status, 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. 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 JournalFolderModelImpl
. 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.
findByC_NotS
in interface JournalFolderPersistence
companyId
- the company IDstatus
- the statusstart
- 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 occurredpublic JournalFolder findByC_NotS_First(long companyId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByC_NotS_First
in interface JournalFolderPersistence
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder fetchByC_NotS_First(long companyId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByC_NotS_First
in interface JournalFolderPersistence
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder findByC_NotS_Last(long companyId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByC_NotS_Last
in interface JournalFolderPersistence
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder fetchByC_NotS_Last(long companyId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByC_NotS_Last
in interface JournalFolderPersistence
companyId
- the company IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder[] findByC_NotS_PrevAndNext(long folderId, long companyId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByC_NotS_PrevAndNext
in interface JournalFolderPersistence
folderId
- the primary key of the current journal foldercompanyId
- the company IDstatus
- the statusorderByComparator
- 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 occurredprotected JournalFolder getByC_NotS_PrevAndNext(Session session, JournalFolder journalFolder, long companyId, int status, OrderByComparator orderByComparator, boolean previous)
public void removeByC_NotS(long companyId, int status) throws SystemException
removeByC_NotS
in interface JournalFolderPersistence
companyId
- the company IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByC_NotS(long companyId, int status) throws SystemException
countByC_NotS
in interface JournalFolderPersistence
companyId
- the company IDstatus
- the status
SystemException
- if a system exception occurredpublic List<JournalFolder> findByF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) throws SystemException
findByF_C_P_NotS
in interface JournalFolderPersistence
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic List<JournalFolder> findByF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, 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. 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 JournalFolderModelImpl
. 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.
findByF_C_P_NotS
in interface JournalFolderPersistence
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusstart
- 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 occurredpublic List<JournalFolder> findByF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status, 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. 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 JournalFolderModelImpl
. 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.
findByF_C_P_NotS
in interface JournalFolderPersistence
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusstart
- 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 occurredpublic JournalFolder findByF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByF_C_P_NotS_First
in interface JournalFolderPersistence
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder fetchByF_C_P_NotS_First(long folderId, long companyId, long parentFolderId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByF_C_P_NotS_First
in interface JournalFolderPersistence
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder findByF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByF_C_P_NotS_Last
in interface JournalFolderPersistence
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder fetchByF_C_P_NotS_Last(long folderId, long companyId, long parentFolderId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByF_C_P_NotS_Last
in interface JournalFolderPersistence
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic void removeByF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) throws SystemException
removeByF_C_P_NotS
in interface JournalFolderPersistence
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByF_C_P_NotS(long folderId, long companyId, long parentFolderId, int status) throws SystemException
countByF_C_P_NotS
in interface JournalFolderPersistence
folderId
- the folder IDcompanyId
- the company IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic 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 JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDname
- the name
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic 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 JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDname
- the name
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic 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 JournalFolderPersistence
groupId
- 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 occurredpublic JournalFolder removeByG_P_N(long groupId, long parentFolderId, String name) throws NoSuchFolderException, SystemException
removeByG_P_N
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDname
- the name
SystemException
- if a system exception occurred
NoSuchFolderException
public int countByG_P_N(long groupId, long parentFolderId, String name) throws SystemException
countByG_P_N
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDname
- the name
SystemException
- if a system exception occurredpublic List<JournalFolder> findByG_P_S(long groupId, long parentFolderId, int status) throws SystemException
findByG_P_S
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic List<JournalFolder> findByG_P_S(long groupId, long parentFolderId, int status, 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. 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 JournalFolderModelImpl
. 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.
findByG_P_S
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- 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 occurredpublic List<JournalFolder> findByG_P_S(long groupId, long parentFolderId, int status, 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. 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 JournalFolderModelImpl
. 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.
findByG_P_S
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- 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 occurredpublic JournalFolder findByG_P_S_First(long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByG_P_S_First
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder fetchByG_P_S_First(long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_S_First
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder findByG_P_S_Last(long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByG_P_S_Last
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder fetchByG_P_S_Last(long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_S_Last
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder[] findByG_P_S_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByG_P_S_PrevAndNext
in interface JournalFolderPersistence
folderId
- the primary key of the current journal foldergroupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- 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 occurredprotected JournalFolder getByG_P_S_PrevAndNext(Session session, JournalFolder journalFolder, long groupId, long parentFolderId, int status, OrderByComparator orderByComparator, boolean previous)
public List<JournalFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status) throws SystemException
filterFindByG_P_S
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic List<JournalFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status, 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. 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 JournalFolderModelImpl
. 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.
filterFindByG_P_S
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- 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 occurredpublic List<JournalFolder> filterFindByG_P_S(long groupId, long parentFolderId, int status, 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. 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 JournalFolderModelImpl
. 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.
filterFindByG_P_S
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- 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 occurredpublic JournalFolder[] filterFindByG_P_S_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
filterFindByG_P_S_PrevAndNext
in interface JournalFolderPersistence
folderId
- the primary key of the current journal foldergroupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- 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 occurredprotected JournalFolder filterGetByG_P_S_PrevAndNext(Session session, JournalFolder journalFolder, long groupId, long parentFolderId, int status, OrderByComparator orderByComparator, boolean previous)
public void removeByG_P_S(long groupId, long parentFolderId, int status) throws SystemException
removeByG_P_S
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByG_P_S(long groupId, long parentFolderId, int status) throws SystemException
countByG_P_S
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic int filterCountByG_P_S(long groupId, long parentFolderId, int status) throws SystemException
filterCountByG_P_S
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic List<JournalFolder> findByG_P_NotS(long groupId, long parentFolderId, int status) throws SystemException
findByG_P_NotS
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic List<JournalFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, 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. 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 JournalFolderModelImpl
. 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.
findByG_P_NotS
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- 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 occurredpublic List<JournalFolder> findByG_P_NotS(long groupId, long parentFolderId, int status, 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. 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 JournalFolderModelImpl
. 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.
findByG_P_NotS
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- 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 occurredpublic JournalFolder findByG_P_NotS_First(long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByG_P_NotS_First
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder fetchByG_P_NotS_First(long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_NotS_First
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder findByG_P_NotS_Last(long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByG_P_NotS_Last
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
NoSuchFolderException
- if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder fetchByG_P_NotS_Last(long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws SystemException
fetchByG_P_NotS_Last
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)
null
if a matching journal folder could not be found
SystemException
- if a system exception occurredpublic JournalFolder[] findByG_P_NotS_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
findByG_P_NotS_PrevAndNext
in interface JournalFolderPersistence
folderId
- the primary key of the current journal foldergroupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- 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 occurredprotected JournalFolder getByG_P_NotS_PrevAndNext(Session session, JournalFolder journalFolder, long groupId, long parentFolderId, int status, OrderByComparator orderByComparator, boolean previous)
public List<JournalFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status) throws SystemException
filterFindByG_P_NotS
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic List<JournalFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status, 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. 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 JournalFolderModelImpl
. 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.
filterFindByG_P_NotS
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- 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 occurredpublic List<JournalFolder> filterFindByG_P_NotS(long groupId, long parentFolderId, int status, 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. 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 JournalFolderModelImpl
. 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.
filterFindByG_P_NotS
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusstart
- 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 occurredpublic JournalFolder[] filterFindByG_P_NotS_PrevAndNext(long folderId, long groupId, long parentFolderId, int status, OrderByComparator orderByComparator) throws NoSuchFolderException, SystemException
filterFindByG_P_NotS_PrevAndNext
in interface JournalFolderPersistence
folderId
- the primary key of the current journal foldergroupId
- the group IDparentFolderId
- the parent folder IDstatus
- the statusorderByComparator
- 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 occurredprotected JournalFolder filterGetByG_P_NotS_PrevAndNext(Session session, JournalFolder journalFolder, long groupId, long parentFolderId, int status, OrderByComparator orderByComparator, boolean previous)
public void removeByG_P_NotS(long groupId, long parentFolderId, int status) throws SystemException
removeByG_P_NotS
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic int countByG_P_NotS(long groupId, long parentFolderId, int status) throws SystemException
countByG_P_NotS
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic int filterCountByG_P_NotS(long groupId, long parentFolderId, int status) throws SystemException
filterCountByG_P_NotS
in interface JournalFolderPersistence
groupId
- the group IDparentFolderId
- the parent folder IDstatus
- the status
SystemException
- if a system exception occurredpublic void cacheResult(JournalFolder journalFolder)
cacheResult
in interface JournalFolderPersistence
journalFolder
- the journal folderpublic void cacheResult(List<JournalFolder> journalFolders)
cacheResult
in interface JournalFolderPersistence
journalFolders
- 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 cacheUniqueFindersCache(JournalFolder journalFolder)
protected void clearUniqueFindersCache(JournalFolder journalFolder)
public JournalFolder create(long folderId)
create
in interface JournalFolderPersistence
folderId
- the primary key for the new journal folder
public JournalFolder remove(long folderId) throws NoSuchFolderException, SystemException
remove
in interface JournalFolderPersistence
folderId
- 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 occurredpublic 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 occurredprotected JournalFolder removeImpl(JournalFolder journalFolder) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.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 occurredpublic JournalFolder updateImpl(JournalFolder journalFolder) throws SystemException
BasePersistenceImpl
BasePersistenceImpl.remove(BaseModel)
depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl
in interface JournalFolderPersistence
updateImpl
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 NoSuchFolderException, 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
NoSuchFolderException
- if a journal folder with the primary key could not be found
SystemException
- if a system exception occurredpublic JournalFolder findByPrimaryKey(long folderId) throws NoSuchFolderException, SystemException
NoSuchFolderException
if it could not be found.
findByPrimaryKey
in interface JournalFolderPersistence
folderId
- 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 occurredpublic 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 occurredpublic JournalFolder fetchByPrimaryKey(long folderId) throws SystemException
null
if it could not be found.
fetchByPrimaryKey
in interface JournalFolderPersistence
folderId
- 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 occurredpublic List<JournalFolder> findAll() throws SystemException
findAll
in interface JournalFolderPersistence
SystemException
- if a system exception occurredpublic 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. 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 JournalFolderModelImpl
. 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 JournalFolderPersistence
start
- 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 occurredpublic 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. 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 JournalFolderModelImpl
. 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 JournalFolderPersistence
start
- 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 occurredpublic void removeAll() throws SystemException
removeAll
in interface JournalFolderPersistence
SystemException
- if a system exception occurredpublic int countAll() throws SystemException
countAll
in interface JournalFolderPersistence
SystemException
- if a system exception occurredprotected Set<String> getBadColumnNames()
getBadColumnNames
in class BasePersistenceImpl<JournalFolder>
public void afterPropertiesSet()
public void destroy()
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |