public class StyleBookEntryVersionUtil
extends java.lang.Object
com.liferay.style.book.service.persistence.impl.StyleBookEntryVersionPersistenceImpl 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
StyleBookEntryVersionPersistence| Constructor and Description |
|---|
StyleBookEntryVersionUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(java.util.List<StyleBookEntryVersion> styleBookEntryVersions)
Caches the style book entry versions in the entity cache if it is enabled.
|
static void |
cacheResult(StyleBookEntryVersion styleBookEntryVersion)
Caches the style book entry version in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(StyleBookEntryVersion styleBookEntryVersion) |
static int |
countAll()
Returns the number of style book entry versions.
|
static int |
countByG_D_Version(long groupId,
boolean defaultStyleBookEntry,
int version)
Returns the number of style book entry versions where groupId = ? and defaultStyleBookEntry = ? and version = ?.
|
static int |
countByG_D(long groupId,
boolean defaultStyleBookEntry)
Returns the number of style book entry versions where groupId = ? and defaultStyleBookEntry = ?.
|
static int |
countByG_LikeN_Version(long groupId,
java.lang.String name,
int version)
Returns the number of style book entry versions where groupId = ? and name = ? and version = ?.
|
static int |
countByG_LikeN(long groupId,
java.lang.String name)
Returns the number of style book entry versions where groupId = ? and name = ?.
|
static int |
countByG_SBEK_Version(long groupId,
java.lang.String styleBookEntryKey,
int version)
Returns the number of style book entry versions where groupId = ? and styleBookEntryKey = ? and version = ?.
|
static int |
countByG_SBEK(long groupId,
java.lang.String styleBookEntryKey)
Returns the number of style book entry versions where groupId = ? and styleBookEntryKey = ?.
|
static int |
countByGroupId_Version(long groupId,
int version)
Returns the number of style book entry versions where groupId = ? and version = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of style book entry versions where groupId = ?.
|
static int |
countByStyleBookEntryId_Version(long styleBookEntryId,
int version)
Returns the number of style book entry versions where styleBookEntryId = ? and version = ?.
|
static int |
countByStyleBookEntryId(long styleBookEntryId)
Returns the number of style book entry versions where styleBookEntryId = ?.
|
static long |
countWithDynamicQuery(DynamicQuery dynamicQuery) |
static StyleBookEntryVersion |
create(long styleBookEntryVersionId)
Creates a new style book entry version with the primary key.
|
static StyleBookEntryVersion |
fetchByG_D_First(long groupId,
boolean defaultStyleBookEntry,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntryVersion |
fetchByG_D_Last(long groupId,
boolean defaultStyleBookEntry,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntryVersion |
fetchByG_D_Version_First(long groupId,
boolean defaultStyleBookEntry,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and defaultStyleBookEntry = ? and version = ?.
|
static StyleBookEntryVersion |
fetchByG_D_Version_Last(long groupId,
boolean defaultStyleBookEntry,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and defaultStyleBookEntry = ? and version = ?.
|
static StyleBookEntryVersion |
fetchByG_LikeN_First(long groupId,
java.lang.String name,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and name = ?.
|
static StyleBookEntryVersion |
fetchByG_LikeN_Last(long groupId,
java.lang.String name,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and name = ?.
|
static StyleBookEntryVersion |
fetchByG_LikeN_Version_First(long groupId,
java.lang.String name,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and name = ? and version = ?.
|
static StyleBookEntryVersion |
fetchByG_LikeN_Version_Last(long groupId,
java.lang.String name,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and name = ? and version = ?.
|
static StyleBookEntryVersion |
fetchByG_SBEK_First(long groupId,
java.lang.String styleBookEntryKey,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntryVersion |
fetchByG_SBEK_Last(long groupId,
java.lang.String styleBookEntryKey,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntryVersion |
fetchByG_SBEK_Version(long groupId,
java.lang.String styleBookEntryKey,
int version)
Returns the style book entry version where groupId = ? and styleBookEntryKey = ? and version = ? or returns
null if it could not be found. |
static StyleBookEntryVersion |
fetchByG_SBEK_Version(long groupId,
java.lang.String styleBookEntryKey,
int version,
boolean useFinderCache)
Returns the style book entry version where groupId = ? and styleBookEntryKey = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
static StyleBookEntryVersion |
fetchByGroupId_First(long groupId,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ?.
|
static StyleBookEntryVersion |
fetchByGroupId_Last(long groupId,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ?.
|
static StyleBookEntryVersion |
fetchByGroupId_Version_First(long groupId,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and version = ?.
|
static StyleBookEntryVersion |
fetchByGroupId_Version_Last(long groupId,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and version = ?.
|
static StyleBookEntryVersion |
fetchByPrimaryKey(long styleBookEntryVersionId)
Returns the style book entry version with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,StyleBookEntryVersion> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static StyleBookEntryVersion |
fetchByStyleBookEntryId_First(long styleBookEntryId,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where styleBookEntryId = ?.
|
static StyleBookEntryVersion |
fetchByStyleBookEntryId_Last(long styleBookEntryId,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where styleBookEntryId = ?.
|
static StyleBookEntryVersion |
fetchByStyleBookEntryId_Version(long styleBookEntryId,
int version)
Returns the style book entry version where styleBookEntryId = ? and version = ? or returns
null if it could not be found. |
static StyleBookEntryVersion |
fetchByStyleBookEntryId_Version(long styleBookEntryId,
int version,
boolean useFinderCache)
Returns the style book entry version where styleBookEntryId = ? and version = ? or returns
null if it could not be found, optionally using the finder cache. |
static java.util.List<StyleBookEntryVersion> |
findAll()
Returns all the style book entry versions.
|
static java.util.List<StyleBookEntryVersion> |
findAll(int start,
int end)
Returns a range of all the style book entry versions.
|
static java.util.List<StyleBookEntryVersion> |
findAll(int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns an ordered range of all the style book entry versions.
|
static java.util.List<StyleBookEntryVersion> |
findAll(int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entry versions.
|
static StyleBookEntryVersion |
findByG_D_First(long groupId,
boolean defaultStyleBookEntry,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntryVersion |
findByG_D_Last(long groupId,
boolean defaultStyleBookEntry,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntryVersion[] |
findByG_D_PrevAndNext(long styleBookEntryVersionId,
long groupId,
boolean defaultStyleBookEntry,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the style book entry versions before and after the current style book entry version in the ordered set where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntryVersion |
findByG_D_Version_First(long groupId,
boolean defaultStyleBookEntry,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and defaultStyleBookEntry = ? and version = ?.
|
static StyleBookEntryVersion |
findByG_D_Version_Last(long groupId,
boolean defaultStyleBookEntry,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and defaultStyleBookEntry = ? and version = ?.
|
static StyleBookEntryVersion[] |
findByG_D_Version_PrevAndNext(long styleBookEntryVersionId,
long groupId,
boolean defaultStyleBookEntry,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the style book entry versions before and after the current style book entry version in the ordered set where groupId = ? and defaultStyleBookEntry = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_D_Version(long groupId,
boolean defaultStyleBookEntry,
int version)
Returns all the style book entry versions where groupId = ? and defaultStyleBookEntry = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_D_Version(long groupId,
boolean defaultStyleBookEntry,
int version,
int start,
int end)
Returns a range of all the style book entry versions where groupId = ? and defaultStyleBookEntry = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_D_Version(long groupId,
boolean defaultStyleBookEntry,
int version,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns an ordered range of all the style book entry versions where groupId = ? and defaultStyleBookEntry = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_D_Version(long groupId,
boolean defaultStyleBookEntry,
int version,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entry versions where groupId = ? and defaultStyleBookEntry = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_D(long groupId,
boolean defaultStyleBookEntry)
Returns all the style book entry versions where groupId = ? and defaultStyleBookEntry = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_D(long groupId,
boolean defaultStyleBookEntry,
int start,
int end)
Returns a range of all the style book entry versions where groupId = ? and defaultStyleBookEntry = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_D(long groupId,
boolean defaultStyleBookEntry,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns an ordered range of all the style book entry versions where groupId = ? and defaultStyleBookEntry = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_D(long groupId,
boolean defaultStyleBookEntry,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entry versions where groupId = ? and defaultStyleBookEntry = ?.
|
static StyleBookEntryVersion |
findByG_LikeN_First(long groupId,
java.lang.String name,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and name = ?.
|
static StyleBookEntryVersion |
findByG_LikeN_Last(long groupId,
java.lang.String name,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and name = ?.
|
static StyleBookEntryVersion[] |
findByG_LikeN_PrevAndNext(long styleBookEntryVersionId,
long groupId,
java.lang.String name,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the style book entry versions before and after the current style book entry version in the ordered set where groupId = ? and name = ?.
|
static StyleBookEntryVersion |
findByG_LikeN_Version_First(long groupId,
java.lang.String name,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and name = ? and version = ?.
|
static StyleBookEntryVersion |
findByG_LikeN_Version_Last(long groupId,
java.lang.String name,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and name = ? and version = ?.
|
static StyleBookEntryVersion[] |
findByG_LikeN_Version_PrevAndNext(long styleBookEntryVersionId,
long groupId,
java.lang.String name,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the style book entry versions before and after the current style book entry version in the ordered set where groupId = ? and name = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_LikeN_Version(long groupId,
java.lang.String name,
int version)
Returns all the style book entry versions where groupId = ? and name = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_LikeN_Version(long groupId,
java.lang.String name,
int version,
int start,
int end)
Returns a range of all the style book entry versions where groupId = ? and name = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_LikeN_Version(long groupId,
java.lang.String name,
int version,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns an ordered range of all the style book entry versions where groupId = ? and name = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_LikeN_Version(long groupId,
java.lang.String name,
int version,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entry versions where groupId = ? and name = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_LikeN(long groupId,
java.lang.String name)
Returns all the style book entry versions where groupId = ? and name = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end)
Returns a range of all the style book entry versions where groupId = ? and name = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns an ordered range of all the style book entry versions where groupId = ? and name = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_LikeN(long groupId,
java.lang.String name,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entry versions where groupId = ? and name = ?.
|
static StyleBookEntryVersion |
findByG_SBEK_First(long groupId,
java.lang.String styleBookEntryKey,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntryVersion |
findByG_SBEK_Last(long groupId,
java.lang.String styleBookEntryKey,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntryVersion[] |
findByG_SBEK_PrevAndNext(long styleBookEntryVersionId,
long groupId,
java.lang.String styleBookEntryKey,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the style book entry versions before and after the current style book entry version in the ordered set where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntryVersion |
findByG_SBEK_Version(long groupId,
java.lang.String styleBookEntryKey,
int version)
Returns the style book entry version where groupId = ? and styleBookEntryKey = ? and version = ? or throws a
NoSuchEntryVersionException if it could not be found. |
static java.util.List<StyleBookEntryVersion> |
findByG_SBEK(long groupId,
java.lang.String styleBookEntryKey)
Returns all the style book entry versions where groupId = ? and styleBookEntryKey = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_SBEK(long groupId,
java.lang.String styleBookEntryKey,
int start,
int end)
Returns a range of all the style book entry versions where groupId = ? and styleBookEntryKey = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_SBEK(long groupId,
java.lang.String styleBookEntryKey,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns an ordered range of all the style book entry versions where groupId = ? and styleBookEntryKey = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByG_SBEK(long groupId,
java.lang.String styleBookEntryKey,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entry versions where groupId = ? and styleBookEntryKey = ?.
|
static StyleBookEntryVersion |
findByGroupId_First(long groupId,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ?.
|
static StyleBookEntryVersion |
findByGroupId_Last(long groupId,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ?.
|
static StyleBookEntryVersion[] |
findByGroupId_PrevAndNext(long styleBookEntryVersionId,
long groupId,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the style book entry versions before and after the current style book entry version in the ordered set where groupId = ?.
|
static StyleBookEntryVersion |
findByGroupId_Version_First(long groupId,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where groupId = ? and version = ?.
|
static StyleBookEntryVersion |
findByGroupId_Version_Last(long groupId,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where groupId = ? and version = ?.
|
static StyleBookEntryVersion[] |
findByGroupId_Version_PrevAndNext(long styleBookEntryVersionId,
long groupId,
int version,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the style book entry versions before and after the current style book entry version in the ordered set where groupId = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByGroupId_Version(long groupId,
int version)
Returns all the style book entry versions where groupId = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByGroupId_Version(long groupId,
int version,
int start,
int end)
Returns a range of all the style book entry versions where groupId = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByGroupId_Version(long groupId,
int version,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns an ordered range of all the style book entry versions where groupId = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByGroupId_Version(long groupId,
int version,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entry versions where groupId = ? and version = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByGroupId(long groupId)
Returns all the style book entry versions where groupId = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the style book entry versions where groupId = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns an ordered range of all the style book entry versions where groupId = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entry versions where groupId = ?.
|
static StyleBookEntryVersion |
findByPrimaryKey(long styleBookEntryVersionId)
Returns the style book entry version with the primary key or throws a
NoSuchEntryVersionException if it could not be found. |
static StyleBookEntryVersion |
findByStyleBookEntryId_First(long styleBookEntryId,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the first style book entry version in the ordered set where styleBookEntryId = ?.
|
static StyleBookEntryVersion |
findByStyleBookEntryId_Last(long styleBookEntryId,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the last style book entry version in the ordered set where styleBookEntryId = ?.
|
static StyleBookEntryVersion[] |
findByStyleBookEntryId_PrevAndNext(long styleBookEntryVersionId,
long styleBookEntryId,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns the style book entry versions before and after the current style book entry version in the ordered set where styleBookEntryId = ?.
|
static StyleBookEntryVersion |
findByStyleBookEntryId_Version(long styleBookEntryId,
int version)
Returns the style book entry version where styleBookEntryId = ? and version = ? or throws a
NoSuchEntryVersionException if it could not be found. |
static java.util.List<StyleBookEntryVersion> |
findByStyleBookEntryId(long styleBookEntryId)
Returns all the style book entry versions where styleBookEntryId = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByStyleBookEntryId(long styleBookEntryId,
int start,
int end)
Returns a range of all the style book entry versions where styleBookEntryId = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByStyleBookEntryId(long styleBookEntryId,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator)
Returns an ordered range of all the style book entry versions where styleBookEntryId = ?.
|
static java.util.List<StyleBookEntryVersion> |
findByStyleBookEntryId(long styleBookEntryId,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the style book entry versions where styleBookEntryId = ?.
|
static java.util.List<StyleBookEntryVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery) |
static java.util.List<StyleBookEntryVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<StyleBookEntryVersion> |
findWithDynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<StyleBookEntryVersion> orderByComparator) |
static StyleBookEntryVersionPersistence |
getPersistence() |
static StyleBookEntryVersion |
remove(long styleBookEntryVersionId)
Removes the style book entry version with the primary key from the database.
|
static void |
removeAll()
Removes all the style book entry versions from the database.
|
static void |
removeByG_D_Version(long groupId,
boolean defaultStyleBookEntry,
int version)
Removes all the style book entry versions where groupId = ? and defaultStyleBookEntry = ? and version = ? from the database.
|
static void |
removeByG_D(long groupId,
boolean defaultStyleBookEntry)
Removes all the style book entry versions where groupId = ? and defaultStyleBookEntry = ? from the database.
|
static void |
removeByG_LikeN_Version(long groupId,
java.lang.String name,
int version)
Removes all the style book entry versions where groupId = ? and name = ? and version = ? from the database.
|
static void |
removeByG_LikeN(long groupId,
java.lang.String name)
Removes all the style book entry versions where groupId = ? and name = ? from the database.
|
static StyleBookEntryVersion |
removeByG_SBEK_Version(long groupId,
java.lang.String styleBookEntryKey,
int version)
Removes the style book entry version where groupId = ? and styleBookEntryKey = ? and version = ? from the database.
|
static void |
removeByG_SBEK(long groupId,
java.lang.String styleBookEntryKey)
Removes all the style book entry versions where groupId = ? and styleBookEntryKey = ? from the database.
|
static void |
removeByGroupId_Version(long groupId,
int version)
Removes all the style book entry versions where groupId = ? and version = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the style book entry versions where groupId = ? from the database.
|
static StyleBookEntryVersion |
removeByStyleBookEntryId_Version(long styleBookEntryId,
int version)
Removes the style book entry version where styleBookEntryId = ? and version = ? from the database.
|
static void |
removeByStyleBookEntryId(long styleBookEntryId)
Removes all the style book entry versions where styleBookEntryId = ? from the database.
|
static StyleBookEntryVersion |
update(StyleBookEntryVersion styleBookEntryVersion) |
static StyleBookEntryVersion |
update(StyleBookEntryVersion styleBookEntryVersion,
ServiceContext serviceContext) |
static StyleBookEntryVersion |
updateImpl(StyleBookEntryVersion styleBookEntryVersion) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(StyleBookEntryVersion styleBookEntryVersion)
public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
public static java.util.Map<java.io.Serializable,StyleBookEntryVersion> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)public static java.util.List<StyleBookEntryVersion> findWithDynamicQuery(DynamicQuery dynamicQuery)
public static java.util.List<StyleBookEntryVersion> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
public static java.util.List<StyleBookEntryVersion> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<StyleBookEntryVersion> orderByComparator)
public static StyleBookEntryVersion update(StyleBookEntryVersion styleBookEntryVersion)
public static StyleBookEntryVersion update(StyleBookEntryVersion styleBookEntryVersion, ServiceContext serviceContext)
public static java.util.List<StyleBookEntryVersion> findByStyleBookEntryId(long styleBookEntryId)
styleBookEntryId - the style book entry IDpublic static java.util.List<StyleBookEntryVersion> findByStyleBookEntryId(long styleBookEntryId, 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 StyleBookEntryVersionModelImpl.
styleBookEntryId - the style book entry IDstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)public static java.util.List<StyleBookEntryVersion> findByStyleBookEntryId(long styleBookEntryId, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
styleBookEntryId - the style book entry IDstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntryVersion> findByStyleBookEntryId(long styleBookEntryId, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
styleBookEntryId - the style book entry IDstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntryVersion findByStyleBookEntryId_First(long styleBookEntryId, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
styleBookEntryId - the style book entry IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByStyleBookEntryId_First(long styleBookEntryId, OrderByComparator<StyleBookEntryVersion> orderByComparator)
styleBookEntryId - the style book entry IDorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion findByStyleBookEntryId_Last(long styleBookEntryId, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
styleBookEntryId - the style book entry IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByStyleBookEntryId_Last(long styleBookEntryId, OrderByComparator<StyleBookEntryVersion> orderByComparator)
styleBookEntryId - the style book entry IDorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion[] findByStyleBookEntryId_PrevAndNext(long styleBookEntryVersionId, long styleBookEntryId, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
styleBookEntryVersionId - the primary key of the current style book entry versionstyleBookEntryId - the style book entry IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a style book entry version with the primary key could not be foundpublic static void removeByStyleBookEntryId(long styleBookEntryId)
styleBookEntryId - the style book entry IDpublic static int countByStyleBookEntryId(long styleBookEntryId)
styleBookEntryId - the style book entry IDpublic static StyleBookEntryVersion findByStyleBookEntryId_Version(long styleBookEntryId, int version) throws NoSuchEntryVersionException
NoSuchEntryVersionException if it could not be found.styleBookEntryId - the style book entry IDversion - the versionNoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByStyleBookEntryId_Version(long styleBookEntryId, int version)
null if it could not be found. Uses the finder cache.styleBookEntryId - the style book entry IDversion - the versionnull if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByStyleBookEntryId_Version(long styleBookEntryId, int version, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.styleBookEntryId - the style book entry IDversion - the versionuseFinderCache - whether to use the finder cachenull if a matching style book entry version could not be foundpublic static StyleBookEntryVersion removeByStyleBookEntryId_Version(long styleBookEntryId, int version) throws NoSuchEntryVersionException
styleBookEntryId - the style book entry IDversion - the versionNoSuchEntryVersionExceptionpublic static int countByStyleBookEntryId_Version(long styleBookEntryId,
int version)
styleBookEntryId - the style book entry IDversion - the versionpublic static java.util.List<StyleBookEntryVersion> findByGroupId(long groupId)
groupId - the group IDpublic static java.util.List<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)public static java.util.List<StyleBookEntryVersion> findByGroupId(long groupId, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntryVersion> findByGroupId(long groupId, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntryVersion findByGroupId_First(long groupId, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByGroupId_First(long groupId, OrderByComparator<StyleBookEntryVersion> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion findByGroupId_Last(long groupId, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByGroupId_Last(long groupId, OrderByComparator<StyleBookEntryVersion> orderByComparator)
groupId - the group IDorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion[] findByGroupId_PrevAndNext(long styleBookEntryVersionId, long groupId, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
styleBookEntryVersionId - the primary key of the current style book entry versiongroupId - the group IDorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a style book entry version 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<StyleBookEntryVersion> findByGroupId_Version(long groupId, int version)
groupId - the group IDversion - the versionpublic static java.util.List<StyleBookEntryVersion> findByGroupId_Version(long groupId, int version, 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 StyleBookEntryVersionModelImpl.
groupId - the group IDversion - the versionstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)public static java.util.List<StyleBookEntryVersion> findByGroupId_Version(long groupId, int version, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDversion - the versionstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntryVersion> findByGroupId_Version(long groupId, int version, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDversion - the versionstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntryVersion findByGroupId_Version_First(long groupId, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDversion - the versionorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByGroupId_Version_First(long groupId, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator)
groupId - the group IDversion - the versionorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion findByGroupId_Version_Last(long groupId, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDversion - the versionorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByGroupId_Version_Last(long groupId, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator)
groupId - the group IDversion - the versionorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion[] findByGroupId_Version_PrevAndNext(long styleBookEntryVersionId, long groupId, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
styleBookEntryVersionId - the primary key of the current style book entry versiongroupId - the group IDversion - the versionorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a style book entry version with the primary key could not be foundpublic static void removeByGroupId_Version(long groupId,
int version)
groupId - the group IDversion - the versionpublic static int countByGroupId_Version(long groupId,
int version)
groupId - the group IDversion - the versionpublic static java.util.List<StyleBookEntryVersion> findByG_D(long groupId, boolean defaultStyleBookEntry)
groupId - the group IDdefaultStyleBookEntry - the default style book entrypublic static java.util.List<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entrystart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)public static java.util.List<StyleBookEntryVersion> findByG_D(long groupId, boolean defaultStyleBookEntry, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entrystart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntryVersion> findByG_D(long groupId, boolean defaultStyleBookEntry, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entrystart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntryVersion findByG_D_First(long groupId, boolean defaultStyleBookEntry, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDdefaultStyleBookEntry - the default style book entryorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_D_First(long groupId, boolean defaultStyleBookEntry, OrderByComparator<StyleBookEntryVersion> 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 version could not be foundpublic static StyleBookEntryVersion findByG_D_Last(long groupId, boolean defaultStyleBookEntry, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDdefaultStyleBookEntry - the default style book entryorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_D_Last(long groupId, boolean defaultStyleBookEntry, OrderByComparator<StyleBookEntryVersion> 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 version could not be foundpublic static StyleBookEntryVersion[] findByG_D_PrevAndNext(long styleBookEntryVersionId, long groupId, boolean defaultStyleBookEntry, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
styleBookEntryVersionId - the primary key of the current style book entry versiongroupId - the group IDdefaultStyleBookEntry - the default style book entryorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a style book entry version 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<StyleBookEntryVersion> findByG_D_Version(long groupId, boolean defaultStyleBookEntry, int version)
groupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionpublic static java.util.List<StyleBookEntryVersion> findByG_D_Version(long groupId, boolean defaultStyleBookEntry, int version, 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 StyleBookEntryVersionModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)public static java.util.List<StyleBookEntryVersion> findByG_D_Version(long groupId, boolean defaultStyleBookEntry, int version, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntryVersion> findByG_D_Version(long groupId, boolean defaultStyleBookEntry, int version, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntryVersion findByG_D_Version_First(long groupId, boolean defaultStyleBookEntry, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_D_Version_First(long groupId, boolean defaultStyleBookEntry, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator)
groupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion findByG_D_Version_Last(long groupId, boolean defaultStyleBookEntry, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_D_Version_Last(long groupId, boolean defaultStyleBookEntry, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator)
groupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion[] findByG_D_Version_PrevAndNext(long styleBookEntryVersionId, long groupId, boolean defaultStyleBookEntry, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
styleBookEntryVersionId - the primary key of the current style book entry versiongroupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a style book entry version with the primary key could not be foundpublic static void removeByG_D_Version(long groupId,
boolean defaultStyleBookEntry,
int version)
groupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionpublic static int countByG_D_Version(long groupId,
boolean defaultStyleBookEntry,
int version)
groupId - the group IDdefaultStyleBookEntry - the default style book entryversion - the versionpublic static java.util.List<StyleBookEntryVersion> findByG_LikeN(long groupId, java.lang.String name)
groupId - the group IDname - the namepublic static java.util.List<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDname - the namestart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)public static java.util.List<StyleBookEntryVersion> findByG_LikeN(long groupId, java.lang.String name, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDname - the namestart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntryVersion> findByG_LikeN(long groupId, java.lang.String name, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDname - the namestart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntryVersion findByG_LikeN_First(long groupId, java.lang.String name, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_LikeN_First(long groupId, java.lang.String name, OrderByComparator<StyleBookEntryVersion> orderByComparator)
groupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion findByG_LikeN_Last(long groupId, java.lang.String name, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_LikeN_Last(long groupId, java.lang.String name, OrderByComparator<StyleBookEntryVersion> orderByComparator)
groupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion[] findByG_LikeN_PrevAndNext(long styleBookEntryVersionId, long groupId, java.lang.String name, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
styleBookEntryVersionId - the primary key of the current style book entry versiongroupId - the group IDname - the nameorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a style book entry version 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<StyleBookEntryVersion> findByG_LikeN_Version(long groupId, java.lang.String name, int version)
groupId - the group IDname - the nameversion - the versionpublic static java.util.List<StyleBookEntryVersion> findByG_LikeN_Version(long groupId, java.lang.String name, int version, 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 StyleBookEntryVersionModelImpl.
groupId - the group IDname - the nameversion - the versionstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)public static java.util.List<StyleBookEntryVersion> findByG_LikeN_Version(long groupId, java.lang.String name, int version, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDname - the nameversion - the versionstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntryVersion> findByG_LikeN_Version(long groupId, java.lang.String name, int version, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDname - the nameversion - the versionstart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntryVersion findByG_LikeN_Version_First(long groupId, java.lang.String name, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDname - the nameversion - the versionorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_LikeN_Version_First(long groupId, java.lang.String name, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator)
groupId - the group IDname - the nameversion - the versionorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion findByG_LikeN_Version_Last(long groupId, java.lang.String name, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDname - the nameversion - the versionorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_LikeN_Version_Last(long groupId, java.lang.String name, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator)
groupId - the group IDname - the nameversion - the versionorderByComparator - the comparator to order the set by (optionally null)null if a matching style book entry version could not be foundpublic static StyleBookEntryVersion[] findByG_LikeN_Version_PrevAndNext(long styleBookEntryVersionId, long groupId, java.lang.String name, int version, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
styleBookEntryVersionId - the primary key of the current style book entry versiongroupId - the group IDname - the nameversion - the versionorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a style book entry version with the primary key could not be foundpublic static void removeByG_LikeN_Version(long groupId,
java.lang.String name,
int version)
groupId - the group IDname - the nameversion - the versionpublic static int countByG_LikeN_Version(long groupId,
java.lang.String name,
int version)
groupId - the group IDname - the nameversion - the versionpublic static java.util.List<StyleBookEntryVersion> findByG_SBEK(long groupId, java.lang.String styleBookEntryKey)
groupId - the group IDstyleBookEntryKey - the style book entry keypublic static java.util.List<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDstyleBookEntryKey - the style book entry keystart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)public static java.util.List<StyleBookEntryVersion> findByG_SBEK(long groupId, java.lang.String styleBookEntryKey, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDstyleBookEntryKey - the style book entry keystart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntryVersion> findByG_SBEK(long groupId, java.lang.String styleBookEntryKey, int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
groupId - the group IDstyleBookEntryKey - the style book entry keystart - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)useFinderCache - whether to use the finder cachepublic static StyleBookEntryVersion findByG_SBEK_First(long groupId, java.lang.String styleBookEntryKey, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDstyleBookEntryKey - the style book entry keyorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_SBEK_First(long groupId, java.lang.String styleBookEntryKey, OrderByComparator<StyleBookEntryVersion> 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 version could not be foundpublic static StyleBookEntryVersion findByG_SBEK_Last(long groupId, java.lang.String styleBookEntryKey, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
groupId - the group IDstyleBookEntryKey - the style book entry keyorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_SBEK_Last(long groupId, java.lang.String styleBookEntryKey, OrderByComparator<StyleBookEntryVersion> 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 version could not be foundpublic static StyleBookEntryVersion[] findByG_SBEK_PrevAndNext(long styleBookEntryVersionId, long groupId, java.lang.String styleBookEntryKey, OrderByComparator<StyleBookEntryVersion> orderByComparator) throws NoSuchEntryVersionException
styleBookEntryVersionId - the primary key of the current style book entry versiongroupId - the group IDstyleBookEntryKey - the style book entry keyorderByComparator - the comparator to order the set by (optionally null)NoSuchEntryVersionException - if a style book entry version 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 StyleBookEntryVersion findByG_SBEK_Version(long groupId, java.lang.String styleBookEntryKey, int version) throws NoSuchEntryVersionException
NoSuchEntryVersionException if it could not be found.groupId - the group IDstyleBookEntryKey - the style book entry keyversion - the versionNoSuchEntryVersionException - if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_SBEK_Version(long groupId, java.lang.String styleBookEntryKey, int version)
null if it could not be found. Uses the finder cache.groupId - the group IDstyleBookEntryKey - the style book entry keyversion - the versionnull if a matching style book entry version could not be foundpublic static StyleBookEntryVersion fetchByG_SBEK_Version(long groupId, java.lang.String styleBookEntryKey, int version, boolean useFinderCache)
null if it could not be found, optionally using the finder cache.groupId - the group IDstyleBookEntryKey - the style book entry keyversion - the versionuseFinderCache - whether to use the finder cachenull if a matching style book entry version could not be foundpublic static StyleBookEntryVersion removeByG_SBEK_Version(long groupId, java.lang.String styleBookEntryKey, int version) throws NoSuchEntryVersionException
groupId - the group IDstyleBookEntryKey - the style book entry keyversion - the versionNoSuchEntryVersionExceptionpublic static int countByG_SBEK_Version(long groupId,
java.lang.String styleBookEntryKey,
int version)
groupId - the group IDstyleBookEntryKey - the style book entry keyversion - the versionpublic static void cacheResult(StyleBookEntryVersion styleBookEntryVersion)
styleBookEntryVersion - the style book entry versionpublic static void cacheResult(java.util.List<StyleBookEntryVersion> styleBookEntryVersions)
styleBookEntryVersions - the style book entry versionspublic static StyleBookEntryVersion create(long styleBookEntryVersionId)
styleBookEntryVersionId - the primary key for the new style book entry versionpublic static StyleBookEntryVersion remove(long styleBookEntryVersionId) throws NoSuchEntryVersionException
styleBookEntryVersionId - the primary key of the style book entry versionNoSuchEntryVersionException - if a style book entry version with the primary key could not be foundpublic static StyleBookEntryVersion updateImpl(StyleBookEntryVersion styleBookEntryVersion)
public static StyleBookEntryVersion findByPrimaryKey(long styleBookEntryVersionId) throws NoSuchEntryVersionException
NoSuchEntryVersionException if it could not be found.styleBookEntryVersionId - the primary key of the style book entry versionNoSuchEntryVersionException - if a style book entry version with the primary key could not be foundpublic static StyleBookEntryVersion fetchByPrimaryKey(long styleBookEntryVersionId)
null if it could not be found.styleBookEntryVersionId - the primary key of the style book entry versionnull if a style book entry version with the primary key could not be foundpublic static java.util.List<StyleBookEntryVersion> findAll()
public static java.util.List<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
start - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)public static java.util.List<StyleBookEntryVersion> findAll(int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
start - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public static java.util.List<StyleBookEntryVersion> findAll(int start, int end, OrderByComparator<StyleBookEntryVersion> 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 StyleBookEntryVersionModelImpl.
start - the lower bound of the range of style book entry versionsend - the upper bound of the range of style book entry versions (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 StyleBookEntryVersionPersistence getPersistence()