public class StyleBookEntryUtil
extends java.lang.Object
com.liferay.style.book.service.persistence.impl.StyleBookEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
StyleBookEntryPersistence| Constructor and Description |
|---|
StyleBookEntryUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(java.util.List<StyleBookEntry> styleBookEntries)
Caches the style book entries in the entity cache if it is enabled.
|
static void |
cacheResult(StyleBookEntry styleBookEntry)
Caches the style book entry in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(StyleBookEntry styleBookEntry) |
static int |
countAll()
Returns the number of style book entries.
|
static int |
countByG_D_Head(long groupId,
boolean defaultStyleBookEntry,
boolean head)
Returns the number of style book entries where groupId = ? and defaultStyleBookEntry = ? and head = ?.
|
static int |
countByG_D(long groupId,
boolean defaultStyleBookEntry)
Returns the number of style book entries where groupId = ? and defaultStyleBookEntry = ?.
|
static int |
countByG_LikeN_Head(long groupId,
java.lang.String name,
boolean head)
Returns the number of style book entries where groupId = ? and name LIKE ? and head = ?.
|
static int |
countByG_LikeN(long groupId,
java.lang.String name)
Returns the number of style book entries where groupId = ? and name LIKE ?.
|
static int |
countByG_SBEK_Head(long groupId,
java.lang.String styleBookEntryKey,
boolean head)
Returns the number of style book entries where groupId = ? and styleBookEntryKey = ? and head = ?.
|
static int |
countByG_SBEK(long groupId,
java.lang.String styleBookEntryKey)
Returns the number of style book entries where groupId = ? and styleBookEntryKey = ?.
|
static int |
countByGroupId_Head(long groupId,
boolean head)
Returns the number of style book entries where groupId = ? and head = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of style book entries where groupId = ?.
|
static int |
countByHeadId(long headId)
Returns the number of style book entries where headId = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static StyleBookEntry |
create(long styleBookEntryId)
Creates a new style book entry with the primary key.
|
static StyleBookEntry |
fetchByG_D_First(long groupId,
boolean defaultStyleBookEntry,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntry |
fetchByG_D_Head_First(long groupId,
boolean defaultStyleBookEntry,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and defaultStyleBookEntry = ? and head = ?.
|
static StyleBookEntry |
fetchByG_D_Head_Last(long groupId,
boolean defaultStyleBookEntry,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and defaultStyleBookEntry = ? and head = ?.
|
static StyleBookEntry |
fetchByG_D_Last(long groupId,
boolean defaultStyleBookEntry,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntry |
fetchByG_LikeN_First(long groupId,
java.lang.String name,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and name LIKE ?.
|
static StyleBookEntry |
fetchByG_LikeN_Head_First(long groupId,
java.lang.String name,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and name LIKE ? and head = ?.
|
static StyleBookEntry |
fetchByG_LikeN_Head_Last(long groupId,
java.lang.String name,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and name LIKE ? and head = ?.
|
static StyleBookEntry |
fetchByG_LikeN_Last(long groupId,
java.lang.String name,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and name LIKE ?.
|
static StyleBookEntry |
fetchByG_SBEK_First(long groupId,
java.lang.String styleBookEntryKey,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntry |
fetchByG_SBEK_Head(long groupId,
java.lang.String styleBookEntryKey,
boolean head)
Returns the style book entry where groupId = ? and styleBookEntryKey = ? and head = ? or returns
null if it could not be found. |
static StyleBookEntry |
fetchByG_SBEK_Head(long groupId,
java.lang.String styleBookEntryKey,
boolean head,
boolean useFinderCache)
Returns the style book entry where groupId = ? and styleBookEntryKey = ? and head = ? or returns
null if it could not be found, optionally using the finder cache. |
static StyleBookEntry |
fetchByG_SBEK_Last(long groupId,
java.lang.String styleBookEntryKey,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntry |
fetchByGroupId_First(long groupId,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ?.
|
static StyleBookEntry |
fetchByGroupId_Head_First(long groupId,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and head = ?.
|
static StyleBookEntry |
fetchByGroupId_Head_Last(long groupId,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and head = ?.
|
static StyleBookEntry |
fetchByGroupId_Last(long groupId,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ?.
|
static StyleBookEntry |
fetchByHeadId(long headId)
Returns the style book entry where headId = ? or returns
null if it could not be found. |
static StyleBookEntry |
fetchByHeadId(long headId,
boolean useFinderCache)
Returns the style book entry where headId = ? or returns
null if it could not be found, optionally using the finder cache. |
static StyleBookEntry |
fetchByPrimaryKey(long styleBookEntryId)
Returns the style book entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,StyleBookEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<StyleBookEntry> |
findAll()
Returns all the style book entries.
|
static java.util.List<StyleBookEntry> |
findAll(int start,
int end)
Returns a range of all the style book entries.
|
static java.util.List<StyleBookEntry> |
findAll(int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns an ordered range of all the style book entries.
|
static java.util.List<StyleBookEntry> |
findAll(int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entries.
|
static StyleBookEntry |
findByG_D_First(long groupId,
boolean defaultStyleBookEntry,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntry |
findByG_D_Head_First(long groupId,
boolean defaultStyleBookEntry,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and defaultStyleBookEntry = ? and head = ?.
|
static StyleBookEntry |
findByG_D_Head_Last(long groupId,
boolean defaultStyleBookEntry,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and defaultStyleBookEntry = ? and head = ?.
|
static StyleBookEntry[] |
findByG_D_Head_PrevAndNext(long styleBookEntryId,
long groupId,
boolean defaultStyleBookEntry,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the style book entries before and after the current style book entry in the ordered set where groupId = ? and defaultStyleBookEntry = ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByG_D_Head(long groupId,
boolean defaultStyleBookEntry,
boolean head)
Returns all the style book entries where groupId = ? and defaultStyleBookEntry = ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByG_D_Head(long groupId,
boolean defaultStyleBookEntry,
boolean head,
int start,
int end)
Returns a range of all the style book entries where groupId = ? and defaultStyleBookEntry = ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByG_D_Head(long groupId,
boolean defaultStyleBookEntry,
boolean head,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns an ordered range of all the style book entries where groupId = ? and defaultStyleBookEntry = ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByG_D_Head(long groupId,
boolean defaultStyleBookEntry,
boolean head,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entries where groupId = ? and defaultStyleBookEntry = ? and head = ?.
|
static StyleBookEntry |
findByG_D_Last(long groupId,
boolean defaultStyleBookEntry,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntry[] |
findByG_D_PrevAndNext(long styleBookEntryId,
long groupId,
boolean defaultStyleBookEntry,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the style book entries before and after the current style book entry in the ordered set where groupId = ? and defaultStyleBookEntry = ?.
|
static java.util.List<StyleBookEntry> |
findByG_D(long groupId,
boolean defaultStyleBookEntry)
Returns all the style book entries where groupId = ? and defaultStyleBookEntry = ?.
|
static java.util.List<StyleBookEntry> |
findByG_D(long groupId,
boolean defaultStyleBookEntry,
int start,
int end)
Returns a range of all the style book entries where groupId = ? and defaultStyleBookEntry = ?.
|
static java.util.List<StyleBookEntry> |
findByG_D(long groupId,
boolean defaultStyleBookEntry,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns an ordered range of all the style book entries where groupId = ? and defaultStyleBookEntry = ?.
|
static java.util.List<StyleBookEntry> |
findByG_D(long groupId,
boolean defaultStyleBookEntry,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entries where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntry |
findByG_LikeN_First(long groupId,
java.lang.String name,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and name LIKE ?.
|
static StyleBookEntry |
findByG_LikeN_Head_First(long groupId,
java.lang.String name,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and name LIKE ? and head = ?.
|
static StyleBookEntry |
findByG_LikeN_Head_Last(long groupId,
java.lang.String name,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and name LIKE ? and head = ?.
|
static StyleBookEntry[] |
findByG_LikeN_Head_PrevAndNext(long styleBookEntryId,
long groupId,
java.lang.String name,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the style book entries before and after the current style book entry in the ordered set where groupId = ? and name LIKE ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByG_LikeN_Head(long groupId,
java.lang.String name,
boolean head)
Returns all the style book entries where groupId = ? and name LIKE ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByG_LikeN_Head(long groupId,
java.lang.String name,
boolean head,
int start,
int end)
Returns a range of all the style book entries where groupId = ? and name LIKE ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByG_LikeN_Head(long groupId,
java.lang.String name,
boolean head,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns an ordered range of all the style book entries where groupId = ? and name LIKE ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByG_LikeN_Head(long groupId,
java.lang.String name,
boolean head,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entries where groupId = ? and name LIKE ? and head = ?.
|
static StyleBookEntry |
findByG_LikeN_Last(long groupId,
java.lang.String name,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and name LIKE ?.
|
static StyleBookEntry[] |
findByG_LikeN_PrevAndNext(long styleBookEntryId,
long groupId,
java.lang.String name,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the style book entries before and after the current style book entry in the ordered set where groupId = ? and name LIKE ?.
|
static java.util.List<StyleBookEntry> |
findByG_LikeN(long groupId,
java.lang.String name)
Returns all the style book entries where groupId = ? and name LIKE ?.
|
static java.util.List<StyleBookEntry> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end)
Returns a range of all the style book entries where groupId = ? and name LIKE ?.
|
static java.util.List<StyleBookEntry> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns an ordered range of all the style book entries where groupId = ? and name LIKE ?.
|
static java.util.List<StyleBookEntry> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entries where groupId = ? and name LIKE ?.
|
static StyleBookEntry |
findByG_SBEK_First(long groupId,
java.lang.String styleBookEntryKey,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntry |
findByG_SBEK_Head(long groupId,
java.lang.String styleBookEntryKey,
boolean head)
Returns the style book entry where groupId = ? and styleBookEntryKey = ? and head = ? or throws a
NoSuchEntryException if it could not be found. |
static StyleBookEntry |
findByG_SBEK_Last(long groupId,
java.lang.String styleBookEntryKey,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntry[] |
findByG_SBEK_PrevAndNext(long styleBookEntryId,
long groupId,
java.lang.String styleBookEntryKey,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the style book entries before and after the current style book entry in the ordered set where groupId = ? and styleBookEntryKey = ?.
|
static java.util.List<StyleBookEntry> |
findByG_SBEK(long groupId,
java.lang.String styleBookEntryKey)
Returns all the style book entries where groupId = ? and styleBookEntryKey = ?.
|
static java.util.List<StyleBookEntry> |
findByG_SBEK(long groupId,
java.lang.String styleBookEntryKey,
int start,
int end)
Returns a range of all the style book entries where groupId = ? and styleBookEntryKey = ?.
|
static java.util.List<StyleBookEntry> |
findByG_SBEK(long groupId,
java.lang.String styleBookEntryKey,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns an ordered range of all the style book entries where groupId = ? and styleBookEntryKey = ?.
|
static java.util.List<StyleBookEntry> |
findByG_SBEK(long groupId,
java.lang.String styleBookEntryKey,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entries where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntry |
findByGroupId_First(long groupId,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ?.
|
static StyleBookEntry |
findByGroupId_Head_First(long groupId,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the first style book entry in the ordered set where groupId = ? and head = ?.
|
static StyleBookEntry |
findByGroupId_Head_Last(long groupId,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ? and head = ?.
|
static StyleBookEntry[] |
findByGroupId_Head_PrevAndNext(long styleBookEntryId,
long groupId,
boolean head,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the style book entries before and after the current style book entry in the ordered set where groupId = ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByGroupId_Head(long groupId,
boolean head)
Returns all the style book entries where groupId = ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByGroupId_Head(long groupId,
boolean head,
int start,
int end)
Returns a range of all the style book entries where groupId = ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByGroupId_Head(long groupId,
boolean head,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns an ordered range of all the style book entries where groupId = ? and head = ?.
|
static java.util.List<StyleBookEntry> |
findByGroupId_Head(long groupId,
boolean head,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entries where groupId = ? and head = ?.
|
static StyleBookEntry |
findByGroupId_Last(long groupId,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the last style book entry in the ordered set where groupId = ?.
|
static StyleBookEntry[] |
findByGroupId_PrevAndNext(long styleBookEntryId,
long groupId,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns the style book entries before and after the current style book entry in the ordered set where groupId = ?.
|
static java.util.List<StyleBookEntry> |
findByGroupId(long groupId)
Returns all the style book entries where groupId = ?.
|
static java.util.List<StyleBookEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the style book entries where groupId = ?.
|
static java.util.List<StyleBookEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator)
Returns an ordered range of all the style book entries where groupId = ?.
|
static java.util.List<StyleBookEntry> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entries where groupId = ?.
|
static StyleBookEntry |
findByHeadId(long headId)
Returns the style book entry where headId = ? or throws a
NoSuchEntryException if it could not be found. |
static StyleBookEntry |
findByPrimaryKey(long styleBookEntryId)
Returns the style book entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
static java.util.List<StyleBookEntry> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<StyleBookEntry> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<StyleBookEntry> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<StyleBookEntry> orderByComparator) |
static StyleBookEntryPersistence |
getPersistence() |
static StyleBookEntry |
remove(long styleBookEntryId)
Removes the style book entry with the primary key from the database.
|
static void |
removeAll()
Removes all the style book entries from the database.
|
static void |
removeByG_D_Head(long groupId,
boolean defaultStyleBookEntry,
boolean head)
Removes all the style book entries where groupId = ? and defaultStyleBookEntry = ? and head = ? from the database.
|
static void |
removeByG_D(long groupId,
boolean defaultStyleBookEntry)
Removes all the style book entries where groupId = ? and defaultStyleBookEntry = ? from the database.
|
static void |
removeByG_LikeN_Head(long groupId,
java.lang.String name,
boolean head)
Removes all the style book entries where groupId = ? and name LIKE ? and head = ? from the database.
|
static void |
removeByG_LikeN(long groupId,
java.lang.String name)
Removes all the style book entries where groupId = ? and name LIKE ? from the database.
|
static StyleBookEntry |
removeByG_SBEK_Head(long groupId,
java.lang.String styleBookEntryKey,
boolean head)
Removes the style book entry where groupId = ? and styleBookEntryKey = ? and head = ? from the database.
|
static void |
removeByG_SBEK(long groupId,
java.lang.String styleBookEntryKey)
Removes all the style book entries where groupId = ? and styleBookEntryKey = ? from the database.
|
static void |
removeByGroupId_Head(long groupId,
boolean head)
Removes all the style book entries where groupId = ? and head = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the style book entries where groupId = ? from the database.
|
static StyleBookEntry |
removeByHeadId(long headId)
Removes the style book entry where headId = ? from the database.
|
static StyleBookEntry |
update(StyleBookEntry styleBookEntry) |
static StyleBookEntry |
update(StyleBookEntry styleBookEntry,
ServiceContext serviceContext) |
static StyleBookEntry |
updateImpl(StyleBookEntry styleBookEntry) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(StyleBookEntry styleBookEntry)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static java.util.Map<java.io.Serializable,StyleBookEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)public static java.util.List<StyleBookEntry> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static java.util.List<StyleBookEntry> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static java.util.List<StyleBookEntry> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<StyleBookEntry> orderByComparator)
public static StyleBookEntry update(StyleBookEntry styleBookEntry)
public static StyleBookEntry update(StyleBookEntry styleBookEntry, ServiceContext serviceContext)
public static java.util.List<StyleBookEntry> findByGroupId(long groupId)
groupId - the group IDpublic static java.util.List<StyleBookEntry> 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)public static java.util.List<StyleBookEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<StyleBookEntry> 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntry> findByGroupId(long groupId, int start, int end, OrderByComparator<StyleBookEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntry findByGroupId_First(long groupId, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByGroupId_First(long groupId, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry findByGroupId_Last(long groupId, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByGroupId_Last(long groupId, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry[] findByGroupId_PrevAndNext(long styleBookEntryId, long groupId, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
styleBookEntryId - the primary key of the current style book entrygroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a style book entry with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId - the group IDpublic static int countByGroupId(long groupId)
groupId - the group IDpublic static java.util.List<StyleBookEntry> findByGroupId_Head(long groupId, boolean head)
groupId - the group IDhead - the headpublic static java.util.List<StyleBookEntry> findByGroupId_Head(long groupId, boolean head, 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDhead - the headstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)public static java.util.List<StyleBookEntry> findByGroupId_Head(long groupId, boolean head, int start, int end, OrderByComparator<StyleBookEntry> 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDhead - the headstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntry> findByGroupId_Head(long groupId, boolean head, int start, int end, OrderByComparator<StyleBookEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDhead - the headstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntry findByGroupId_Head_First(long groupId, boolean head, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDhead - the headorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByGroupId_Head_First(long groupId, boolean head, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDhead - the headorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry findByGroupId_Head_Last(long groupId, boolean head, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDhead - the headorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByGroupId_Head_Last(long groupId, boolean head, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDhead - the headorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry[] findByGroupId_Head_PrevAndNext(long styleBookEntryId, long groupId, boolean head, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
styleBookEntryId - the primary key of the current style book entrygroupId - the group IDhead - the headorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a style book entry with the primary key could not be foundpublic static void removeByGroupId_Head(long groupId,
boolean head)
groupId - the group IDhead - the headpublic static int countByGroupId_Head(long groupId,
boolean head)
groupId - the group IDhead - the headpublic static java.util.List<StyleBookEntry> findByG_D(long groupId, boolean defaultStyleBookEntry)
groupId - the group IDdefaultStyleBookEntry - the default style book entrypublic static java.util.List<StyleBookEntry> findByG_D(long groupId, boolean defaultStyleBookEntry, 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entrystart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)public static java.util.List<StyleBookEntry> findByG_D(long groupId, boolean defaultStyleBookEntry, int start, int end, OrderByComparator<StyleBookEntry> 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entrystart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntry> findByG_D(long groupId, boolean defaultStyleBookEntry, int start, int end, OrderByComparator<StyleBookEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entrystart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntry findByG_D_First(long groupId, boolean defaultStyleBookEntry, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDdefaultStyleBookEntry - the default style book entryorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_D_First(long groupId, boolean defaultStyleBookEntry, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDdefaultStyleBookEntry - the default style book entryorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry findByG_D_Last(long groupId, boolean defaultStyleBookEntry, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDdefaultStyleBookEntry - the default style book entryorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_D_Last(long groupId, boolean defaultStyleBookEntry, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDdefaultStyleBookEntry - the default style book entryorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry[] findByG_D_PrevAndNext(long styleBookEntryId, long groupId, boolean defaultStyleBookEntry, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
styleBookEntryId - the primary key of the current style book entrygroupId - the group IDdefaultStyleBookEntry - the default style book entryorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a style book entry with the primary key could not be foundpublic static void removeByG_D(long groupId,
boolean defaultStyleBookEntry)
groupId - the group IDdefaultStyleBookEntry - the default style book entrypublic static int countByG_D(long groupId,
boolean defaultStyleBookEntry)
groupId - the group IDdefaultStyleBookEntry - the default style book entrypublic static java.util.List<StyleBookEntry> findByG_D_Head(long groupId, boolean defaultStyleBookEntry, boolean head)
groupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headpublic static java.util.List<StyleBookEntry> findByG_D_Head(long groupId, boolean defaultStyleBookEntry, boolean head, 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)public static java.util.List<StyleBookEntry> findByG_D_Head(long groupId, boolean defaultStyleBookEntry, boolean head, int start, int end, OrderByComparator<StyleBookEntry> 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntry> findByG_D_Head(long groupId, boolean defaultStyleBookEntry, boolean head, int start, int end, OrderByComparator<StyleBookEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntry findByG_D_Head_First(long groupId, boolean defaultStyleBookEntry, boolean head, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_D_Head_First(long groupId, boolean defaultStyleBookEntry, boolean head, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry findByG_D_Head_Last(long groupId, boolean defaultStyleBookEntry, boolean head, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_D_Head_Last(long groupId, boolean defaultStyleBookEntry, boolean head, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry[] findByG_D_Head_PrevAndNext(long styleBookEntryId, long groupId, boolean defaultStyleBookEntry, boolean head, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
styleBookEntryId - the primary key of the current style book entrygroupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a style book entry with the primary key could not be foundpublic static void removeByG_D_Head(long groupId,
boolean defaultStyleBookEntry,
boolean head)
groupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headpublic static int countByG_D_Head(long groupId,
boolean defaultStyleBookEntry,
boolean head)
groupId - the group IDdefaultStyleBookEntry - the default style book entryhead - the headpublic static java.util.List<StyleBookEntry> findByG_LikeN(long groupId, java.lang.String name)
groupId - the group IDname - the namepublic static java.util.List<StyleBookEntry> findByG_LikeN(long groupId, java.lang.String name, 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDname - the namestart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)public static java.util.List<StyleBookEntry> findByG_LikeN(long groupId, java.lang.String name, int start, int end, OrderByComparator<StyleBookEntry> 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDname - the namestart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntry> findByG_LikeN(long groupId, java.lang.String name, int start, int end, OrderByComparator<StyleBookEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDname - the namestart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntry findByG_LikeN_First(long groupId, java.lang.String name, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_LikeN_First(long groupId, java.lang.String name, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry findByG_LikeN_Last(long groupId, java.lang.String name, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_LikeN_Last(long groupId, java.lang.String name, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry[] findByG_LikeN_PrevAndNext(long styleBookEntryId, long groupId, java.lang.String name, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
styleBookEntryId - the primary key of the current style book entrygroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a style book entry with the primary key could not be foundpublic static void removeByG_LikeN(long groupId,
java.lang.String name)
groupId - the group IDname - the namepublic static int countByG_LikeN(long groupId,
java.lang.String name)
groupId - the group IDname - the namepublic static java.util.List<StyleBookEntry> findByG_LikeN_Head(long groupId, java.lang.String name, boolean head)
groupId - the group IDname - the namehead - the headpublic static java.util.List<StyleBookEntry> findByG_LikeN_Head(long groupId, java.lang.String name, boolean head, 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDname - the namehead - the headstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)public static java.util.List<StyleBookEntry> findByG_LikeN_Head(long groupId, java.lang.String name, boolean head, int start, int end, OrderByComparator<StyleBookEntry> 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDname - the namehead - the headstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntry> findByG_LikeN_Head(long groupId, java.lang.String name, boolean head, int start, int end, OrderByComparator<StyleBookEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDname - the namehead - the headstart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntry findByG_LikeN_Head_First(long groupId, java.lang.String name, boolean head, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDname - the namehead - the headorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_LikeN_Head_First(long groupId, java.lang.String name, boolean head, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDname - the namehead - the headorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry findByG_LikeN_Head_Last(long groupId, java.lang.String name, boolean head, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDname - the namehead - the headorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_LikeN_Head_Last(long groupId, java.lang.String name, boolean head, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDname - the namehead - the headorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry[] findByG_LikeN_Head_PrevAndNext(long styleBookEntryId, long groupId, java.lang.String name, boolean head, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
styleBookEntryId - the primary key of the current style book entrygroupId - the group IDname - the namehead - the headorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a style book entry with the primary key could not be foundpublic static void removeByG_LikeN_Head(long groupId,
java.lang.String name,
boolean head)
groupId - the group IDname - the namehead - the headpublic static int countByG_LikeN_Head(long groupId,
java.lang.String name,
boolean head)
groupId - the group IDname - the namehead - the headpublic static java.util.List<StyleBookEntry> findByG_SBEK(long groupId, java.lang.String styleBookEntryKey)
groupId - the group IDstyleBookEntryKey - the style book entry keypublic static java.util.List<StyleBookEntry> findByG_SBEK(long groupId, java.lang.String styleBookEntryKey, 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDstyleBookEntryKey - the style book entry keystart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)public static java.util.List<StyleBookEntry> findByG_SBEK(long groupId, java.lang.String styleBookEntryKey, int start, int end, OrderByComparator<StyleBookEntry> 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDstyleBookEntryKey - the style book entry keystart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntry> findByG_SBEK(long groupId, java.lang.String styleBookEntryKey, int start, int end, OrderByComparator<StyleBookEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
groupId - the group IDstyleBookEntryKey - the style book entry keystart - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntry findByG_SBEK_First(long groupId, java.lang.String styleBookEntryKey, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDstyleBookEntryKey - the style book entry keyorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_SBEK_First(long groupId, java.lang.String styleBookEntryKey, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDstyleBookEntryKey - the style book entry keyorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry findByG_SBEK_Last(long groupId, java.lang.String styleBookEntryKey, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
groupId - the group IDstyleBookEntryKey - the style book entry keyorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_SBEK_Last(long groupId, java.lang.String styleBookEntryKey, OrderByComparator<StyleBookEntry> orderByComparator)
groupId - the group IDstyleBookEntryKey - the style book entry keyorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry could not be foundpublic static StyleBookEntry[] findByG_SBEK_PrevAndNext(long styleBookEntryId, long groupId, java.lang.String styleBookEntryKey, OrderByComparator<StyleBookEntry> orderByComparator) throws NoSuchEntryException
styleBookEntryId - the primary key of the current style book entrygroupId - the group IDstyleBookEntryKey - the style book entry keyorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryException - if a style book entry with the primary key could not be foundpublic static void removeByG_SBEK(long groupId,
java.lang.String styleBookEntryKey)
groupId - the group IDstyleBookEntryKey - the style book entry keypublic static int countByG_SBEK(long groupId,
java.lang.String styleBookEntryKey)
groupId - the group IDstyleBookEntryKey - the style book entry keypublic static StyleBookEntry findByG_SBEK_Head(long groupId, java.lang.String styleBookEntryKey, boolean head) throws NoSuchEntryException
NoSuchEntryException if it could not be found.groupId - the group IDstyleBookEntryKey - the style book entry keyhead - the headNoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_SBEK_Head(long groupId, java.lang.String styleBookEntryKey, boolean head)
null if it could not be found. Uses the finder cache.groupId - the group IDstyleBookEntryKey - the style book entry keyhead - the headnull if a matching style book entry could not be foundpublic static StyleBookEntry fetchByG_SBEK_Head(long groupId, java.lang.String styleBookEntryKey, boolean head, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.groupId - the group IDstyleBookEntryKey - the style book entry keyhead - the headuseFinderCache - whether to use the finder cachenull if a matching style book entry could not be foundpublic static StyleBookEntry removeByG_SBEK_Head(long groupId, java.lang.String styleBookEntryKey, boolean head) throws NoSuchEntryException
groupId - the group IDstyleBookEntryKey - the style book entry keyhead - the headNoSuchEntryExceptionpublic static int countByG_SBEK_Head(long groupId,
java.lang.String styleBookEntryKey,
boolean head)
groupId - the group IDstyleBookEntryKey - the style book entry keyhead - the headpublic static StyleBookEntry findByHeadId(long headId) throws NoSuchEntryException
NoSuchEntryException if it could not be found.headId - the head IDNoSuchEntryException - if a matching style book entry could not be foundpublic static StyleBookEntry fetchByHeadId(long headId)
null if it could not be found. Uses the finder cache.headId - the head IDnull if a matching style book entry could not be foundpublic static StyleBookEntry fetchByHeadId(long headId, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.headId - the head IDuseFinderCache - whether to use the finder cachenull if a matching style book entry could not be foundpublic static StyleBookEntry removeByHeadId(long headId) throws NoSuchEntryException
headId - the head IDNoSuchEntryExceptionpublic static int countByHeadId(long headId)
headId - the head IDpublic static void cacheResult(StyleBookEntry styleBookEntry)
styleBookEntry - the style book entrypublic static void cacheResult(java.util.List<StyleBookEntry> styleBookEntries)
styleBookEntries - the style book entriespublic static StyleBookEntry create(long styleBookEntryId)
styleBookEntryId - the primary key for the new style book entrypublic static StyleBookEntry remove(long styleBookEntryId) throws NoSuchEntryException
styleBookEntryId - the primary key of the style book entryNoSuchEntryException - if a style book entry with the primary key could not be foundpublic static StyleBookEntry updateImpl(StyleBookEntry styleBookEntry)
public static StyleBookEntry findByPrimaryKey(long styleBookEntryId) throws NoSuchEntryException
NoSuchEntryException if it could not be found.styleBookEntryId - the primary key of the style book entryNoSuchEntryException - if a style book entry with the primary key could not be foundpublic static StyleBookEntry fetchByPrimaryKey(long styleBookEntryId)
null if it could not be found.styleBookEntryId - the primary key of the style book entrynull if a style book entry with the primary key could not be foundpublic static java.util.List<StyleBookEntry> findAll()
public static java.util.List<StyleBookEntry> 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
start - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)public static java.util.List<StyleBookEntry> findAll(int start, int end, OrderByComparator<StyleBookEntry> 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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
start - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntry> findAll(int start, int end, OrderByComparator<StyleBookEntry> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from StyleBookEntryModelImpl.
start - the lower bound of the range of style book entriesend - the upper bound of the range of style book entries (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static StyleBookEntryPersistence getPersistence()