public class LayoutSetPrototypePersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
implements com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
Caching information and settings can be found in portal.properties
Modifier and Type | Field and Description |
---|---|
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
LayoutSetPrototypePersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the layout set prototype persistence.
|
void |
cacheResult(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype)
Caches the layout set prototype in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.LayoutSetPrototype> layoutSetPrototypes)
Caches the layout set prototypes in the entity cache if it is enabled.
|
void |
clearCache()
Clears the cache for all layout set prototypes.
|
void |
clearCache(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype)
Clears the cache for the layout set prototype.
|
void |
clearCache(List<com.liferay.portal.kernel.model.LayoutSetPrototype> layoutSetPrototypes) |
void |
clearCache(Set<Serializable> primaryKeys) |
int |
countAll()
Returns the number of layout set prototypes.
|
int |
countByC_A(long companyId,
boolean active)
Returns the number of layout set prototypes where companyId = ? and active = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of layout set prototypes where companyId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of layout set prototypes where uuid = ? and companyId = ?.
|
int |
countByUuid(String uuid)
Returns the number of layout set prototypes where uuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
create(long layoutSetPrototypeId)
Creates a new layout set prototype with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.LayoutSetPrototype |
fetchByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
fetchByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
fetchByPrimaryKey(long layoutSetPrototypeId)
Returns the layout set prototype with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.LayoutSetPrototype |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ?.
|
int |
filterCountByC_A(long companyId,
boolean active)
Returns the number of layout set prototypes that the user has permission to view where companyId = ? and active = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of layout set prototypes that the user has permission to view where companyId = ?.
|
int |
filterCountByUuid_C(String uuid,
long companyId)
Returns the number of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(String uuid)
Returns the number of layout set prototypes that the user has permission to view where uuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype[] |
filterFindByC_A_PrevAndNext(long layoutSetPrototypeId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByC_A(long companyId,
boolean active)
Returns all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype[] |
filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByCompanyId(long companyId)
Returns all the layout set prototypes that the user has permission to view where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype[] |
filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByUuid_C(String uuid,
long companyId)
Returns all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype[] |
filterFindByUuid_PrevAndNext(long layoutSetPrototypeId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set of layout set prototypes that the user has permission to view where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByUuid(String uuid)
Returns all the layout set prototypes that the user has permission to view where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByUuid(String uuid,
int start,
int end)
Returns a range of all the layout set prototypes that the user has permission to view where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
filterFindByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?.
|
protected com.liferay.portal.kernel.model.LayoutSetPrototype |
filterGetByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetPrototype |
filterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetPrototype |
filterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetPrototype |
filterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean previous) |
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findAll()
Returns all the layout set prototypes.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findAll(int start,
int end)
Returns a range of all the layout set prototypes.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set prototypes.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
findByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
findByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype[] |
findByC_A_PrevAndNext(long layoutSetPrototypeId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByC_A(long companyId,
boolean active)
Returns all the layout set prototypes where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout set prototypes where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype[] |
findByCompanyId_PrevAndNext(long layoutSetPrototypeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByCompanyId(long companyId)
Returns all the layout set prototypes where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout set prototypes where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set prototypes where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
findByPrimaryKey(long layoutSetPrototypeId)
Returns the layout set prototype with the primary key or throws a
NoSuchLayoutSetPrototypeException if it could not be found. |
com.liferay.portal.kernel.model.LayoutSetPrototype |
findByPrimaryKey(Serializable primaryKey)
Returns the layout set prototype with the primary key or throws a
com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found. |
com.liferay.portal.kernel.model.LayoutSetPrototype |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype[] |
findByUuid_C_PrevAndNext(long layoutSetPrototypeId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId)
Returns all the layout set prototypes where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout set prototypes where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.LayoutSetPrototype[] |
findByUuid_PrevAndNext(long layoutSetPrototypeId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByUuid(String uuid)
Returns all the layout set prototypes where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layout set prototypes where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout set prototypes where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.LayoutSetPrototype |
getByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetPrototype |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetPrototype |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetPrototype |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
getEntityCache() |
protected String |
getPKDBName() |
protected String |
getSelectSQL() |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.LayoutSetPrototype |
remove(long layoutSetPrototypeId)
Removes the layout set prototype with the primary key from the database.
|
com.liferay.portal.kernel.model.LayoutSetPrototype |
remove(Serializable primaryKey)
Removes the layout set prototype with the primary key from the database.
|
void |
removeAll()
Removes all the layout set prototypes from the database.
|
void |
removeByC_A(long companyId,
boolean active)
Removes all the layout set prototypes where companyId = ? and active = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the layout set prototypes where companyId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the layout set prototypes where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the layout set prototypes where uuid = ? from the database.
|
protected com.liferay.portal.kernel.model.LayoutSetPrototype |
removeImpl(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype) |
com.liferay.portal.kernel.model.LayoutSetPrototype |
updateImpl(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByUuid(String uuid)
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl
.
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.LayoutSetPrototype findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
fetchByUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
fetchByUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype[] findByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByUuid_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetPrototype getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByUuid(String uuid)
filterFindByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl
.
filterFindByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
filterFindByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutSetPrototype[] filterFindByUuid_PrevAndNext(long layoutSetPrototypeId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
filterFindByUuid_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetPrototype filterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean previous)
public void removeByUuid(String uuid)
removeByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidpublic int countByUuid(String uuid)
countByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidpublic int filterCountByUuid(String uuid)
filterCountByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByUuid_C(String uuid, long companyId)
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl
.
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.LayoutSetPrototype findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByUuid_C_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
fetchByUuid_C_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByUuid_C_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
fetchByUuid_C_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype[] findByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByUuid_C_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetPrototype getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId)
filterFindByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl
.
filterFindByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
filterFindByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
filterFindByUuid_C_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetPrototype filterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDpublic int filterCountByUuid_C(String uuid, long companyId)
filterCountByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByCompanyId(long companyId)
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl
.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.LayoutSetPrototype findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByCompanyId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
fetchByCompanyId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByCompanyId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
fetchByCompanyId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByCompanyId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetPrototype getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByCompanyId(long companyId)
filterFindByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl
.
filterFindByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
filterFindByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
filterFindByCompanyId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetPrototype filterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDpublic int countByCompanyId(long companyId)
countByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDpublic int filterCountByCompanyId(long companyId)
filterCountByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByC_A(long companyId, boolean active)
findByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activepublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByC_A(long companyId, boolean active, 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 LayoutSetPrototypeModelImpl
.
findByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic com.liferay.portal.kernel.model.LayoutSetPrototype findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByC_A_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
fetchByC_A_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByC_A_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator)
fetchByC_A_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
findByC_A_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetPrototype getByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByC_A(long companyId, boolean active)
filterFindByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activepublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, 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 LayoutSetPrototypeModelImpl
.
filterFindByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
filterFindByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutSetPrototype[] filterFindByC_A_PrevAndNext(long layoutSetPrototypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
filterFindByC_A_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the current layout set prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetPrototype filterGetByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> orderByComparator, boolean previous)
public void removeByC_A(long companyId, boolean active)
removeByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activepublic int countByC_A(long companyId, boolean active)
countByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activepublic int filterCountByC_A(long companyId, boolean active)
filterCountByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
companyId
- the company IDactive
- the activepublic void cacheResult(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
cacheResult
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
layoutSetPrototype
- the layout set prototypepublic void cacheResult(List<com.liferay.portal.kernel.model.LayoutSetPrototype> layoutSetPrototypes)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypes
- the layout set prototypespublic void clearCache()
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
public void clearCache(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype)
The EntityCache
and com.liferay.portal.kernel.dao.orm.FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
public void clearCache(List<com.liferay.portal.kernel.model.LayoutSetPrototype> layoutSetPrototypes)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
public void clearCache(Set<Serializable> primaryKeys)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>
public com.liferay.portal.kernel.model.LayoutSetPrototype create(long layoutSetPrototypeId)
create
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key for the new layout set prototypepublic com.liferay.portal.kernel.model.LayoutSetPrototype remove(long layoutSetPrototypeId) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
remove
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the layout set prototypecom.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
primaryKey
- the primary key of the layout set prototypecom.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetPrototype removeImpl(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
public com.liferay.portal.kernel.model.LayoutSetPrototype updateImpl(com.liferay.portal.kernel.model.LayoutSetPrototype layoutSetPrototype)
updateImpl
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
public com.liferay.portal.kernel.model.LayoutSetPrototype findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
com.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
primaryKey
- the primary key of the layout set prototypecom.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
NoSuchLayoutSetPrototypeException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the layout set prototypecom.liferay.portal.kernel.exception.NoSuchLayoutSetPrototypeException
- if a layout set prototype with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
layoutSetPrototypeId
- the primary key of the layout set prototypenull
if a layout set prototype with the primary key could not be foundpublic List<com.liferay.portal.kernel.model.LayoutSetPrototype> findAll()
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
public List<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
start
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
start
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.LayoutSetPrototype> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl
.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
start
- the lower bound of the range of layout set prototypesend
- the upper bound of the range of layout set prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic void removeAll()
removeAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
public int countAll()
countAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetPrototypePersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetPrototype>
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
getEntityCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
protected String getPKDBName()
getPKDBName
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
protected String getSelectSQL()
getSelectSQL
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetPrototype>
public void afterPropertiesSet()
public void destroy()