|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<JournalFolder>
com.liferay.portlet.journal.service.persistence.impl.JournalFolderPersistenceImpl
@ProviderType 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, NULL_SAFE_STRING_COMPARATOR, 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 |
addDDMStructure(long pk,
DDMStructure ddmStructure)
Adds an association between the journal folder and the d d m structure. |
void |
addDDMStructure(long pk,
long ddmStructurePK)
Adds an association between the journal folder and the d d m structure. |
void |
addDDMStructures(long pk,
List<DDMStructure> ddmStructures)
Adds an association between the journal folder and the d d m structures. |
void |
addDDMStructures(long pk,
long[] ddmStructurePKs)
Adds an association between the journal folder and the d d m structures. |
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. |
void |
clearDDMStructures(long pk)
Clears all associations between the journal folder and its d d m structures. |
protected void |
clearUniqueFindersCache(JournalFolder journalFolder)
|
boolean |
containsDDMStructure(long pk,
long ddmStructurePK)
Returns true if the d d m structure is associated with the journal folder. |
boolean |
containsDDMStructures(long pk)
Returns true if the journal folder has any d d m structures associated with it. |
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<JournalFolder> orderByComparator)
Returns the first journal folder in the ordered set where companyId = ? and status ≠ ?. |
JournalFolder |
fetchByC_NotS_Last(long companyId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
Returns the last journal folder in the ordered set where companyId = ? and status ≠ ?. |
JournalFolder |
fetchByCompanyId_First(long companyId,
OrderByComparator<JournalFolder> orderByComparator)
Returns the first journal folder in the ordered set where companyId = ?. |
JournalFolder |
fetchByCompanyId_Last(long companyId,
OrderByComparator<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> orderByComparator)
Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ?. |
JournalFolder |
fetchByG_P_Last(long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> orderByComparator)
Returns the last journal folder in the ordered set where groupId = ? and parentFolderId = ? and status = ?. |
JournalFolder |
fetchByGroupId_First(long groupId,
OrderByComparator<JournalFolder> orderByComparator)
Returns the first journal folder in the ordered set where groupId = ?. |
JournalFolder |
fetchByGroupId_Last(long groupId,
OrderByComparator<JournalFolder> 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. |
Map<Serializable,JournalFolder> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
JournalFolder |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<JournalFolder> orderByComparator)
Returns the first journal folder in the ordered set where uuid = ? and companyId = ?. |
JournalFolder |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<JournalFolder> orderByComparator)
Returns the last journal folder in the ordered set where uuid = ? and companyId = ?. |
JournalFolder |
fetchByUuid_First(String uuid,
OrderByComparator<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> orderByComparator,
boolean previous)
|
protected JournalFolder |
filterGetByG_P_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
|
protected JournalFolder |
filterGetByG_P_S_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
|
protected JournalFolder |
filterGetByGroupId_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
OrderByComparator<JournalFolder> 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<JournalFolder> orderByComparator)
Returns an ordered range of all the journal folders. |
JournalFolder |
findByC_NotS_First(long companyId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
Returns the first journal folder in the ordered set where companyId = ? and status ≠ ?. |
JournalFolder |
findByC_NotS_Last(long companyId,
int status,
OrderByComparator<JournalFolder> 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<JournalFolder> 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<JournalFolder> orderByComparator)
Returns an ordered range of all the journal folders where companyId = ? and status ≠ ?. |
JournalFolder |
findByCompanyId_First(long companyId,
OrderByComparator<JournalFolder> orderByComparator)
Returns the first journal folder in the ordered set where companyId = ?. |
JournalFolder |
findByCompanyId_Last(long companyId,
OrderByComparator<JournalFolder> orderByComparator)
Returns the last journal folder in the ordered set where companyId = ?. |
JournalFolder[] |
findByCompanyId_PrevAndNext(long folderId,
long companyId,
OrderByComparator<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> orderByComparator)
Returns the first journal folder in the ordered set where groupId = ? and parentFolderId = ?. |
JournalFolder |
findByG_P_Last(long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> 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<JournalFolder> orderByComparator)
Returns an ordered range of all the journal folders where groupId = ? and parentFolderId = ?. |
JournalFolder |
findByGroupId_First(long groupId,
OrderByComparator<JournalFolder> orderByComparator)
Returns the first journal folder in the ordered set where groupId = ?. |
JournalFolder |
findByGroupId_Last(long groupId,
OrderByComparator<JournalFolder> orderByComparator)
Returns the last journal folder in the ordered set where groupId = ?. |
JournalFolder[] |
findByGroupId_PrevAndNext(long folderId,
long groupId,
OrderByComparator<JournalFolder> 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<JournalFolder> 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<JournalFolder> orderByComparator)
Returns the first journal folder in the ordered set where uuid = ? and companyId = ?. |
JournalFolder |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<JournalFolder> 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<JournalFolder> 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<JournalFolder> orderByComparator)
Returns an ordered range of all the journal folders where uuid = ? and companyId = ?. |
JournalFolder |
findByUuid_First(String uuid,
OrderByComparator<JournalFolder> 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<JournalFolder> orderByComparator)
Returns the last journal folder in the ordered set where uuid = ?. |
JournalFolder[] |
findByUuid_PrevAndNext(long folderId,
String uuid,
OrderByComparator<JournalFolder> 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<JournalFolder> 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<JournalFolder> orderByComparator,
boolean previous)
|
protected JournalFolder |
getByCompanyId_PrevAndNext(Session session,
JournalFolder journalFolder,
long companyId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
|
protected JournalFolder |
getByG_P_NotS_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
|
protected JournalFolder |
getByG_P_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
|
protected JournalFolder |
getByG_P_S_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
|
protected JournalFolder |
getByGroupId_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
|
protected JournalFolder |
getByUuid_C_PrevAndNext(Session session,
JournalFolder journalFolder,
String uuid,
long companyId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
|
protected JournalFolder |
getByUuid_PrevAndNext(Session session,
JournalFolder journalFolder,
String uuid,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
|
long[] |
getDDMStructurePrimaryKeys(long pk)
Returns the primaryKeys of d d m structures associated with the journal folder. |
List<DDMStructure> |
getDDMStructures(long pk)
Returns all the d d m structures associated with the journal folder. |
List<DDMStructure> |
getDDMStructures(long pk,
int start,
int end)
Returns a range of all the d d m structures associated with the journal folder. |
List<DDMStructure> |
getDDMStructures(long pk,
int start,
int end,
OrderByComparator<DDMStructure> orderByComparator)
Returns an ordered range of all the d d m structures associated with the journal folder. |
int |
getDDMStructuresSize(long pk)
Returns the number of d d m structures associated with the journal folder. |
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. |
void |
removeDDMStructure(long pk,
DDMStructure ddmStructure)
Removes the association between the journal folder and the d d m structure. |
void |
removeDDMStructure(long pk,
long ddmStructurePK)
Removes the association between the journal folder and the d d m structure. |
void |
removeDDMStructures(long pk,
List<DDMStructure> ddmStructures)
Removes the association between the journal folder and the d d m structures. |
void |
removeDDMStructures(long pk,
long[] ddmStructurePKs)
Removes the association between the journal folder and the d d m structures. |
protected JournalFolder |
removeImpl(JournalFolder journalFolder)
Removes the model instance from the database. |
void |
setDDMStructures(long pk,
List<DDMStructure> ddmStructures)
Sets the d d m structures associated with the journal folder, removing and adding associations as necessary. |
void |
setDDMStructures(long pk,
long[] ddmStructurePKs)
Sets the d d m structures associated with the journal folder, removing and adding associations as necessary. |
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_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
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
@BeanReference(type=DDMStructurePersistence.class) protected DDMStructurePersistence ddmStructurePersistence
protected TableMapper<JournalFolder,DDMStructure> journalFolderToDDMStructureTableMapper
| Constructor Detail |
|---|
public JournalFolderPersistenceImpl()
| Method Detail |
|---|
public List<JournalFolder> findByUuid(String uuid)
findByUuid in interface JournalFolderPersistenceuuid - the uuid
public List<JournalFolder> findByUuid(String uuid,
int start,
int end)
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 JournalFolderPersistenceuuid - the uuidstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
public List<JournalFolder> findByUuid(String uuid,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistenceuuid - the uuidstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalFolder findByUuid_First(String uuid,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByUuid_First in interface JournalFolderPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByUuid_First(String uuid,
OrderByComparator<JournalFolder> orderByComparator)
fetchByUuid_First in interface JournalFolderPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder findByUuid_Last(String uuid,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByUuid_Last in interface JournalFolderPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByUuid_Last(String uuid,
OrderByComparator<JournalFolder> orderByComparator)
fetchByUuid_Last in interface JournalFolderPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder[] findByUuid_PrevAndNext(long folderId,
String uuid,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByUuid_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal folderuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
protected JournalFolder getByUuid_PrevAndNext(Session session,
JournalFolder journalFolder,
String uuid,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface JournalFolderPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface JournalFolderPersistenceuuid - the uuid
public JournalFolder findByUUID_G(String uuid,
long groupId)
throws NoSuchFolderException
NoSuchFolderException if it could not be found.
findByUUID_G in interface JournalFolderPersistenceuuid - the uuidgroupId - the group ID
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByUUID_G(String uuid,
long groupId)
null if it could not be found. Uses the finder cache.
fetchByUUID_G in interface JournalFolderPersistenceuuid - the uuidgroupId - the group ID
null if a matching journal folder could not be found
public JournalFolder fetchByUUID_G(String uuid,
long groupId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByUUID_G in interface JournalFolderPersistenceuuid - the uuidgroupId - the group IDretrieveFromCache - whether to use the finder cache
null if a matching journal folder could not be found
public JournalFolder removeByUUID_G(String uuid,
long groupId)
throws NoSuchFolderException
removeByUUID_G in interface JournalFolderPersistenceuuid - the uuidgroupId - the group ID
NoSuchFolderException
public int countByUUID_G(String uuid,
long groupId)
countByUUID_G in interface JournalFolderPersistenceuuid - the uuidgroupId - the group ID
public List<JournalFolder> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company ID
public List<JournalFolder> findByUuid_C(String uuid,
long companyId,
int start,
int end)
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 JournalFolderPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
public List<JournalFolder> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistenceuuid - the uuidcompanyId - the company IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalFolder findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByUuid_C_First in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<JournalFolder> orderByComparator)
fetchByUuid_C_First in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByUuid_C_Last in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<JournalFolder> orderByComparator)
fetchByUuid_C_Last in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder[] findByUuid_C_PrevAndNext(long folderId,
String uuid,
long companyId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByUuid_C_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal folderuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
protected JournalFolder getByUuid_C_PrevAndNext(Session session,
JournalFolder journalFolder,
String uuid,
long companyId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface JournalFolderPersistenceuuid - the uuidcompanyId - the company ID
public List<JournalFolder> findByGroupId(long groupId)
findByGroupId in interface JournalFolderPersistencegroupId - the group ID
public List<JournalFolder> findByGroupId(long groupId,
int start,
int end)
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 JournalFolderPersistencegroupId - the group IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
public List<JournalFolder> findByGroupId(long groupId,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencegroupId - the group IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalFolder findByGroupId_First(long groupId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByGroupId_First in interface JournalFolderPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByGroupId_First(long groupId,
OrderByComparator<JournalFolder> orderByComparator)
fetchByGroupId_First in interface JournalFolderPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder findByGroupId_Last(long groupId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByGroupId_Last in interface JournalFolderPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByGroupId_Last(long groupId,
OrderByComparator<JournalFolder> orderByComparator)
fetchByGroupId_Last in interface JournalFolderPersistencegroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder[] findByGroupId_PrevAndNext(long folderId,
long groupId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByGroupId_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal foldergroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
protected JournalFolder getByGroupId_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public List<JournalFolder> filterFindByGroupId(long groupId)
filterFindByGroupId in interface JournalFolderPersistencegroupId - the group ID
public List<JournalFolder> filterFindByGroupId(long groupId,
int start,
int end)
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 JournalFolderPersistencegroupId - the group IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
public List<JournalFolder> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencegroupId - the group IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalFolder[] filterFindByGroupId_PrevAndNext(long folderId,
long groupId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
filterFindByGroupId_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal foldergroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
protected JournalFolder filterGetByGroupId_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId in interface JournalFolderPersistencegroupId - the group IDpublic int countByGroupId(long groupId)
countByGroupId in interface JournalFolderPersistencegroupId - the group ID
public int filterCountByGroupId(long groupId)
filterCountByGroupId in interface JournalFolderPersistencegroupId - the group ID
public List<JournalFolder> findByCompanyId(long companyId)
findByCompanyId in interface JournalFolderPersistencecompanyId - the company ID
public List<JournalFolder> findByCompanyId(long companyId,
int start,
int end)
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 JournalFolderPersistencecompanyId - the company IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
public List<JournalFolder> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencecompanyId - the company IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalFolder findByCompanyId_First(long companyId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByCompanyId_First in interface JournalFolderPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByCompanyId_First(long companyId,
OrderByComparator<JournalFolder> orderByComparator)
fetchByCompanyId_First in interface JournalFolderPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder findByCompanyId_Last(long companyId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByCompanyId_Last in interface JournalFolderPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByCompanyId_Last(long companyId,
OrderByComparator<JournalFolder> orderByComparator)
fetchByCompanyId_Last in interface JournalFolderPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder[] findByCompanyId_PrevAndNext(long folderId,
long companyId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByCompanyId_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal foldercompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
protected JournalFolder getByCompanyId_PrevAndNext(Session session,
JournalFolder journalFolder,
long companyId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface JournalFolderPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface JournalFolderPersistencecompanyId - the company ID
public List<JournalFolder> findByG_P(long groupId,
long parentFolderId)
findByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder ID
public List<JournalFolder> findByG_P(long groupId,
long parentFolderId,
int start,
int end)
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 JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
public List<JournalFolder> findByG_P(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalFolder findByG_P_First(long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByG_P_First in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByG_P_First(long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> orderByComparator)
fetchByG_P_First in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder findByG_P_Last(long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByG_P_Last in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByG_P_Last(long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> orderByComparator)
fetchByG_P_Last in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder[] findByG_P_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByG_P_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal foldergroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
protected JournalFolder getByG_P_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public List<JournalFolder> filterFindByG_P(long groupId,
long parentFolderId)
filterFindByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder ID
public List<JournalFolder> filterFindByG_P(long groupId,
long parentFolderId,
int start,
int end)
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 JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
public List<JournalFolder> filterFindByG_P(long groupId,
long parentFolderId,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public JournalFolder[] filterFindByG_P_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
filterFindByG_P_PrevAndNext in interface JournalFolderPersistencefolderId - the primary key of the current journal foldergroupId - the group IDparentFolderId - the parent folder IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a journal folder with the primary key could not be found
protected JournalFolder filterGetByG_P_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public void removeByG_P(long groupId,
long parentFolderId)
removeByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder ID
public int countByG_P(long groupId,
long parentFolderId)
countByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder ID
public int filterCountByG_P(long groupId,
long parentFolderId)
filterCountByG_P in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder ID
public JournalFolder findByG_N(long groupId,
String name)
throws NoSuchFolderException
NoSuchFolderException if it could not be found.
findByG_N in interface JournalFolderPersistencegroupId - the group IDname - the name
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByG_N(long groupId,
String name)
null if it could not be found. Uses the finder cache.
fetchByG_N in interface JournalFolderPersistencegroupId - the group IDname - the name
null if a matching journal folder could not be found
public JournalFolder fetchByG_N(long groupId,
String name,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByG_N in interface JournalFolderPersistencegroupId - the group IDname - the nameretrieveFromCache - whether to use the finder cache
null if a matching journal folder could not be found
public JournalFolder removeByG_N(long groupId,
String name)
throws NoSuchFolderException
removeByG_N in interface JournalFolderPersistencegroupId - the group IDname - the name
NoSuchFolderException
public int countByG_N(long groupId,
String name)
countByG_N in interface JournalFolderPersistencegroupId - the group IDname - the name
public List<JournalFolder> findByC_NotS(long companyId,
int status)
findByC_NotS in interface JournalFolderPersistencecompanyId - the company IDstatus - the status
public List<JournalFolder> findByC_NotS(long companyId,
int status,
int start,
int end)
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 JournalFolderPersistencecompanyId - 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)
public List<JournalFolder> findByC_NotS(long companyId,
int status,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencecompanyId - 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)
public JournalFolder findByC_NotS_First(long companyId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByC_NotS_First in interface JournalFolderPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByC_NotS_First(long companyId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
fetchByC_NotS_First in interface JournalFolderPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder findByC_NotS_Last(long companyId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByC_NotS_Last in interface JournalFolderPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByC_NotS_Last(long companyId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
fetchByC_NotS_Last in interface JournalFolderPersistencecompanyId - the company IDstatus - the statusorderByComparator - the comparator to order the set by (optionally null)
null if a matching journal folder could not be found
public JournalFolder[] findByC_NotS_PrevAndNext(long folderId,
long companyId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByC_NotS_PrevAndNext in interface JournalFolderPersistencefolderId - 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
protected JournalFolder getByC_NotS_PrevAndNext(Session session,
JournalFolder journalFolder,
long companyId,
int status,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public void removeByC_NotS(long companyId,
int status)
removeByC_NotS in interface JournalFolderPersistencecompanyId - the company IDstatus - the status
public int countByC_NotS(long companyId,
int status)
countByC_NotS in interface JournalFolderPersistencecompanyId - the company IDstatus - the status
public JournalFolder findByG_P_N(long groupId,
long parentFolderId,
String name)
throws NoSuchFolderException
NoSuchFolderException if it could not be found.
findByG_P_N in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDname - the name
NoSuchFolderException - if a matching journal folder could not be found
public JournalFolder fetchByG_P_N(long groupId,
long parentFolderId,
String name)
null if it could not be found. Uses the finder cache.
fetchByG_P_N in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDname - the name
null if a matching journal folder could not be found
public JournalFolder fetchByG_P_N(long groupId,
long parentFolderId,
String name,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.
fetchByG_P_N in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDname - the nameretrieveFromCache - whether to use the finder cache
null if a matching journal folder could not be found
public JournalFolder removeByG_P_N(long groupId,
long parentFolderId,
String name)
throws NoSuchFolderException
removeByG_P_N in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDname - the name
NoSuchFolderException
public int countByG_P_N(long groupId,
long parentFolderId,
String name)
countByG_P_N in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDname - the name
public List<JournalFolder> findByG_P_S(long groupId,
long parentFolderId,
int status)
findByG_P_S in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstatus - the status
public List<JournalFolder> findByG_P_S(long groupId,
long parentFolderId,
int status,
int start,
int end)
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 JournalFolderPersistencegroupId - 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)
public List<JournalFolder> findByG_P_S(long groupId,
long parentFolderId,
int status,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencegroupId - 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)
public JournalFolder findByG_P_S_First(long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByG_P_S_First in interface JournalFolderPersistencegroupId - 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
public JournalFolder fetchByG_P_S_First(long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
fetchByG_P_S_First in interface JournalFolderPersistencegroupId - 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
public JournalFolder findByG_P_S_Last(long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByG_P_S_Last in interface JournalFolderPersistencegroupId - 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
public JournalFolder fetchByG_P_S_Last(long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
fetchByG_P_S_Last in interface JournalFolderPersistencegroupId - 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
public JournalFolder[] findByG_P_S_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByG_P_S_PrevAndNext in interface JournalFolderPersistencefolderId - 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
protected JournalFolder getByG_P_S_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public List<JournalFolder> filterFindByG_P_S(long groupId,
long parentFolderId,
int status)
filterFindByG_P_S in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstatus - the status
public List<JournalFolder> filterFindByG_P_S(long groupId,
long parentFolderId,
int status,
int start,
int end)
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 JournalFolderPersistencegroupId - 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)
public List<JournalFolder> filterFindByG_P_S(long groupId,
long parentFolderId,
int status,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencegroupId - 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)
public JournalFolder[] filterFindByG_P_S_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
filterFindByG_P_S_PrevAndNext in interface JournalFolderPersistencefolderId - 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
protected JournalFolder filterGetByG_P_S_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public void removeByG_P_S(long groupId,
long parentFolderId,
int status)
removeByG_P_S in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstatus - the status
public int countByG_P_S(long groupId,
long parentFolderId,
int status)
countByG_P_S in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstatus - the status
public int filterCountByG_P_S(long groupId,
long parentFolderId,
int status)
filterCountByG_P_S in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstatus - the status
public List<JournalFolder> findByG_P_NotS(long groupId,
long parentFolderId,
int status)
findByG_P_NotS in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstatus - the status
public List<JournalFolder> findByG_P_NotS(long groupId,
long parentFolderId,
int status,
int start,
int end)
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 JournalFolderPersistencegroupId - 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)
public List<JournalFolder> findByG_P_NotS(long groupId,
long parentFolderId,
int status,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencegroupId - 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)
public JournalFolder findByG_P_NotS_First(long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByG_P_NotS_First in interface JournalFolderPersistencegroupId - 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
public JournalFolder fetchByG_P_NotS_First(long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
fetchByG_P_NotS_First in interface JournalFolderPersistencegroupId - 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
public JournalFolder findByG_P_NotS_Last(long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByG_P_NotS_Last in interface JournalFolderPersistencegroupId - 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
public JournalFolder fetchByG_P_NotS_Last(long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
fetchByG_P_NotS_Last in interface JournalFolderPersistencegroupId - 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
public JournalFolder[] findByG_P_NotS_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByG_P_NotS_PrevAndNext in interface JournalFolderPersistencefolderId - 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
protected JournalFolder getByG_P_NotS_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public List<JournalFolder> filterFindByG_P_NotS(long groupId,
long parentFolderId,
int status)
filterFindByG_P_NotS in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstatus - the status
public List<JournalFolder> filterFindByG_P_NotS(long groupId,
long parentFolderId,
int status,
int start,
int end)
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 JournalFolderPersistencegroupId - 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)
public List<JournalFolder> filterFindByG_P_NotS(long groupId,
long parentFolderId,
int status,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencegroupId - 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)
public JournalFolder[] filterFindByG_P_NotS_PrevAndNext(long folderId,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
filterFindByG_P_NotS_PrevAndNext in interface JournalFolderPersistencefolderId - 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
protected JournalFolder filterGetByG_P_NotS_PrevAndNext(Session session,
JournalFolder journalFolder,
long groupId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator,
boolean previous)
public void removeByG_P_NotS(long groupId,
long parentFolderId,
int status)
removeByG_P_NotS in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstatus - the status
public int countByG_P_NotS(long groupId,
long parentFolderId,
int status)
countByG_P_NotS in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstatus - the status
public int filterCountByG_P_NotS(long groupId,
long parentFolderId,
int status)
filterCountByG_P_NotS in interface JournalFolderPersistencegroupId - the group IDparentFolderId - the parent folder IDstatus - the status
public List<JournalFolder> findByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status)
findByF_C_P_NotS in interface JournalFolderPersistencefolderId - the folder IDcompanyId - the company IDparentFolderId - the parent folder IDstatus - the status
public List<JournalFolder> findByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status,
int start,
int end)
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 JournalFolderPersistencefolderId - 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)
public List<JournalFolder> findByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status,
int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencefolderId - 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)
public JournalFolder findByF_C_P_NotS_First(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByF_C_P_NotS_First in interface JournalFolderPersistencefolderId - 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
public JournalFolder fetchByF_C_P_NotS_First(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
fetchByF_C_P_NotS_First in interface JournalFolderPersistencefolderId - 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
public JournalFolder findByF_C_P_NotS_Last(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
throws NoSuchFolderException
findByF_C_P_NotS_Last in interface JournalFolderPersistencefolderId - 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
public JournalFolder fetchByF_C_P_NotS_Last(long folderId,
long companyId,
long parentFolderId,
int status,
OrderByComparator<JournalFolder> orderByComparator)
fetchByF_C_P_NotS_Last in interface JournalFolderPersistencefolderId - 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
public void removeByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status)
removeByF_C_P_NotS in interface JournalFolderPersistencefolderId - the folder IDcompanyId - the company IDparentFolderId - the parent folder IDstatus - the status
public int countByF_C_P_NotS(long folderId,
long companyId,
long parentFolderId,
int status)
countByF_C_P_NotS in interface JournalFolderPersistencefolderId - the folder IDcompanyId - the company IDparentFolderId - the parent folder IDstatus - the status
public void cacheResult(JournalFolder journalFolder)
cacheResult in interface JournalFolderPersistencejournalFolder - the journal folderpublic void cacheResult(List<JournalFolder> journalFolders)
cacheResult in interface JournalFolderPersistencejournalFolders - the journal folderspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<JournalFolder>clearCache in class BasePersistenceImpl<JournalFolder>public void clearCache(JournalFolder journalFolder)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<JournalFolder>clearCache in class BasePersistenceImpl<JournalFolder>journalFolder - the instance of this model to clear the cache forpublic void clearCache(List<JournalFolder> journalFolders)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<JournalFolder>clearCache in class BasePersistenceImpl<JournalFolder>journalFolders - the List instances of this model to clear the cache forprotected void cacheUniqueFindersCache(JournalFolder journalFolder)
protected void clearUniqueFindersCache(JournalFolder journalFolder)
public JournalFolder create(long folderId)
create in interface JournalFolderPersistencefolderId - the primary key for the new journal folder
public JournalFolder remove(long folderId)
throws NoSuchFolderException
remove in interface JournalFolderPersistencefolderId - the primary key of the journal folder
NoSuchFolderException - if a journal folder with the primary key could not be found
public JournalFolder remove(Serializable primaryKey)
throws NoSuchFolderException
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 foundprotected JournalFolder removeImpl(JournalFolder journalFolder)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<JournalFolder>journalFolder - the model instance to remove
public JournalFolder updateImpl(JournalFolder journalFolder)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface JournalFolderPersistenceupdateImpl in class BasePersistenceImpl<JournalFolder>journalFolder - the model instance to update
protected JournalFolder toUnwrappedModel(JournalFolder journalFolder)
public JournalFolder findByPrimaryKey(Serializable primaryKey)
throws NoSuchFolderException
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
public JournalFolder findByPrimaryKey(long folderId)
throws NoSuchFolderException
NoSuchFolderException if it could not be found.
findByPrimaryKey in interface JournalFolderPersistencefolderId - the primary key of the journal folder
NoSuchFolderException - if a journal folder with the primary key could not be foundpublic JournalFolder fetchByPrimaryKey(Serializable primaryKey)
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 foundpublic JournalFolder fetchByPrimaryKey(long folderId)
null if it could not be found.
fetchByPrimaryKey in interface JournalFolderPersistencefolderId - the primary key of the journal folder
null if a journal folder with the primary key could not be foundpublic Map<Serializable,JournalFolder> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<JournalFolder>fetchByPrimaryKeys in interface JournalFolderPersistencefetchByPrimaryKeys in class BasePersistenceImpl<JournalFolder>public List<JournalFolder> findAll()
findAll in interface JournalFolderPersistence
public List<JournalFolder> findAll(int start,
int end)
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 JournalFolderPersistencestart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
public List<JournalFolder> findAll(int start,
int end,
OrderByComparator<JournalFolder> orderByComparator)
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 JournalFolderPersistencestart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public void removeAll()
removeAll in interface JournalFolderPersistencepublic int countAll()
countAll in interface JournalFolderPersistencepublic long[] getDDMStructurePrimaryKeys(long pk)
getDDMStructurePrimaryKeys in interface JournalFolderPersistencepk - the primary key of the journal folder
public List<DDMStructure> getDDMStructures(long pk)
getDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folder
public List<DDMStructure> getDDMStructures(long pk,
int start,
int end)
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.
getDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folderstart - the lower bound of the range of journal foldersend - the upper bound of the range of journal folders (not inclusive)
public List<DDMStructure> getDDMStructures(long pk,
int start,
int end,
OrderByComparator<DDMStructure> orderByComparator)
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.
getDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folderstart - 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)
public int getDDMStructuresSize(long pk)
getDDMStructuresSize in interface JournalFolderPersistencepk - the primary key of the journal folder
public boolean containsDDMStructure(long pk,
long ddmStructurePK)
true if the d d m structure is associated with the journal folder.
containsDDMStructure in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructurePK - the primary key of the d d m structure
true if the d d m structure is associated with the journal folder; false otherwisepublic boolean containsDDMStructures(long pk)
true if the journal folder has any d d m structures associated with it.
containsDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folder to check for associations with d d m structures
true if the journal folder has any d d m structures associated with it; false otherwise
public void addDDMStructure(long pk,
long ddmStructurePK)
addDDMStructure in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructurePK - the primary key of the d d m structure
public void addDDMStructure(long pk,
DDMStructure ddmStructure)
addDDMStructure in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructure - the d d m structure
public void addDDMStructures(long pk,
long[] ddmStructurePKs)
addDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructurePKs - the primary keys of the d d m structures
public void addDDMStructures(long pk,
List<DDMStructure> ddmStructures)
addDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructures - the d d m structurespublic void clearDDMStructures(long pk)
clearDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folder to clear the associated d d m structures from
public void removeDDMStructure(long pk,
long ddmStructurePK)
removeDDMStructure in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructurePK - the primary key of the d d m structure
public void removeDDMStructure(long pk,
DDMStructure ddmStructure)
removeDDMStructure in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructure - the d d m structure
public void removeDDMStructures(long pk,
long[] ddmStructurePKs)
removeDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructurePKs - the primary keys of the d d m structures
public void removeDDMStructures(long pk,
List<DDMStructure> ddmStructures)
removeDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructures - the d d m structures
public void setDDMStructures(long pk,
long[] ddmStructurePKs)
setDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructurePKs - the primary keys of the d d m structures to be associated with the journal folder
public void setDDMStructures(long pk,
List<DDMStructure> ddmStructures)
setDDMStructures in interface JournalFolderPersistencepk - the primary key of the journal folderddmStructures - the d d m structures to be associated with the journal folderprotected Set<String> getBadColumnNames()
getBadColumnNames in class BasePersistenceImpl<JournalFolder>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||