@ProviderType
public class LayoutPrototypePersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
implements com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
Caching information and settings can be found in portal.properties
LayoutPrototypePersistence
,
LayoutPrototypeUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
static String |
FINDER_CLASS_NAME_ENTITY |
static String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_C_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_A |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, 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 |
---|
LayoutPrototypePersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the layout prototype persistence.
|
void |
cacheResult(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype)
Caches the layout prototype in the entity cache if it is enabled.
|
void |
cacheResult(List<com.liferay.portal.kernel.model.LayoutPrototype> layoutPrototypes)
Caches the layout prototypes in the entity cache if it is enabled.
|
void |
clearCache()
Clears the cache for all layout prototypes.
|
void |
clearCache(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype)
Clears the cache for the layout prototype.
|
void |
clearCache(List<com.liferay.portal.kernel.model.LayoutPrototype> layoutPrototypes) |
int |
countAll()
Returns the number of layout prototypes.
|
int |
countByC_A(long companyId,
boolean active)
Returns the number of layout prototypes where companyId = ? and active = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of layout prototypes where companyId = ?.
|
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of layout prototypes where uuid = ? and companyId = ?.
|
int |
countByUuid(String uuid)
Returns the number of layout prototypes where uuid = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
create(long layoutPrototypeId)
Creates a new layout prototype with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.LayoutPrototype |
fetchByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
fetchByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
fetchByPrimaryKey(long layoutPrototypeId)
Returns the layout prototype with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.LayoutPrototype |
fetchByPrimaryKey(Serializable primaryKey)
Returns the layout prototype with the primary key or returns
null if it could not be found. |
Map<Serializable,com.liferay.portal.kernel.model.LayoutPrototype> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys) |
com.liferay.portal.kernel.model.LayoutPrototype |
fetchByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
fetchByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
fetchByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
fetchByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ?.
|
int |
filterCountByC_A(long companyId,
boolean active)
Returns the number of layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
int |
filterCountByCompanyId(long companyId)
Returns the number of layout prototypes that the user has permission to view where companyId = ?.
|
int |
filterCountByUuid_C(String uuid,
long companyId)
Returns the number of layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(String uuid)
Returns the number of layout prototypes that the user has permission to view where uuid = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype[] |
filterFindByC_A_PrevAndNext(long layoutPrototypeId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active)
Returns all the layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype[] |
filterFindByCompanyId_PrevAndNext(long layoutPrototypeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByCompanyId(long companyId)
Returns all the layout prototypes that the user has permission to view where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype[] |
filterFindByUuid_C_PrevAndNext(long layoutPrototypeId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByUuid_C(String uuid,
long companyId)
Returns all the layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype[] |
filterFindByUuid_PrevAndNext(long layoutPrototypeId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set of layout prototypes that the user has permission to view where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByUuid(String uuid)
Returns all the layout prototypes that the user has permission to view where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByUuid(String uuid,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
filterFindByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where uuid = ?.
|
protected com.liferay.portal.kernel.model.LayoutPrototype |
filterGetByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutPrototype |
filterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutPrototype |
filterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutPrototype |
filterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean previous) |
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findAll()
Returns all the layout prototypes.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findAll(int start,
int end)
Returns a range of all the layout prototypes.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout prototypes.
|
com.liferay.portal.kernel.model.LayoutPrototype |
findByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
findByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype[] |
findByC_A_PrevAndNext(long layoutPrototypeId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByC_A(long companyId,
boolean active)
Returns all the layout prototypes where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout prototypes where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes where companyId = ? and active = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout prototypes where companyId = ? and active = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype[] |
findByCompanyId_PrevAndNext(long layoutPrototypeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByCompanyId(long companyId)
Returns all the layout prototypes where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout prototypes where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes where companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout prototypes where companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
findByPrimaryKey(long layoutPrototypeId)
Returns the layout prototype with the primary key or throws a
NoSuchLayoutPrototypeException if it could not be found. |
com.liferay.portal.kernel.model.LayoutPrototype |
findByPrimaryKey(Serializable primaryKey)
Returns the layout prototype with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portal.kernel.model.LayoutPrototype |
findByUuid_C_First(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
findByUuid_C_Last(String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype[] |
findByUuid_C_PrevAndNext(long layoutPrototypeId,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByUuid_C(String uuid,
long companyId)
Returns all the layout prototypes where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout prototypes where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes where uuid = ? and companyId = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout prototypes where uuid = ? and companyId = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
findByUuid_First(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype |
findByUuid_Last(String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ?.
|
com.liferay.portal.kernel.model.LayoutPrototype[] |
findByUuid_PrevAndNext(long layoutPrototypeId,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByUuid(String uuid)
Returns all the layout prototypes where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layout prototypes where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Returns an ordered range of all the layout prototypes where uuid = ?.
|
List<com.liferay.portal.kernel.model.LayoutPrototype> |
findByUuid(String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout prototypes where uuid = ?.
|
Set<String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.LayoutPrototype |
getByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutPrototype |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutPrototype |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype,
String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutPrototype |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype,
String uuid,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator,
boolean previous) |
protected Map<String,Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.LayoutPrototype |
remove(long layoutPrototypeId)
Removes the layout prototype with the primary key from the database.
|
com.liferay.portal.kernel.model.LayoutPrototype |
remove(Serializable primaryKey)
Removes the layout prototype with the primary key from the database.
|
void |
removeAll()
Removes all the layout prototypes from the database.
|
void |
removeByC_A(long companyId,
boolean active)
Removes all the layout prototypes where companyId = ? and active = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the layout prototypes where companyId = ? from the database.
|
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the layout prototypes where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(String uuid)
Removes all the layout prototypes where uuid = ? from the database.
|
protected com.liferay.portal.kernel.model.LayoutPrototype |
removeImpl(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) |
com.liferay.portal.kernel.model.LayoutPrototype |
updateImpl(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, 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 static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_A
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_A
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
public List<com.liferay.portal.kernel.model.LayoutPrototype> findByUuid(String uuid)
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidpublic List<com.liferay.portal.kernel.model.LayoutPrototype> findByUuid(String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutPrototype> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.LayoutPrototype> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutPrototype findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
fetchByUuid_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
fetchByUuid_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype[] findByUuid_PrevAndNext(long layoutPrototypeId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByUuid_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the current layout prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutPrototype getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.LayoutPrototype> filterFindByUuid(String uuid)
filterFindByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidpublic List<com.liferay.portal.kernel.model.LayoutPrototype> 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutPrototype> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutPrototype[] filterFindByUuid_PrevAndNext(long layoutPrototypeId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
filterFindByUuid_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the current layout prototypeuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutPrototype filterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean previous)
public void removeByUuid(String uuid)
removeByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidpublic int countByUuid(String uuid)
countByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidpublic int filterCountByUuid(String uuid)
filterCountByUuid
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidpublic List<com.liferay.portal.kernel.model.LayoutPrototype> findByUuid_C(String uuid, long companyId)
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutPrototype> findByUuid_C(String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutPrototype> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.LayoutPrototype> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutPrototype findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByUuid_C_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
fetchByUuid_C_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByUuid_C_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
fetchByUuid_C_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype[] findByUuid_C_PrevAndNext(long layoutPrototypeId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByUuid_C_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the current layout prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutPrototype getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.LayoutPrototype> filterFindByUuid_C(String uuid, long companyId)
filterFindByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutPrototype> 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutPrototype> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutPrototype[] filterFindByUuid_C_PrevAndNext(long layoutPrototypeId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
filterFindByUuid_C_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the current layout prototypeuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutPrototype filterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean previous)
public void removeByUuid_C(String uuid, long companyId)
removeByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDpublic int countByUuid_C(String uuid, long companyId)
countByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDpublic int filterCountByUuid_C(String uuid, long companyId)
filterCountByUuid_C
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
uuid
- the uuidcompanyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutPrototype> findByCompanyId(long companyId)
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutPrototype> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutPrototype> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.LayoutPrototype> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutPrototype findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByCompanyId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
fetchByCompanyId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByCompanyId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
fetchByCompanyId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype[] findByCompanyId_PrevAndNext(long layoutPrototypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByCompanyId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the current layout prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutPrototype getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.LayoutPrototype> filterFindByCompanyId(long companyId)
filterFindByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutPrototype> 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutPrototype> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDstart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutPrototype[] filterFindByCompanyId_PrevAndNext(long layoutPrototypeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
filterFindByCompanyId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the current layout prototypecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutPrototype filterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDpublic int countByCompanyId(long companyId)
countByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDpublic int filterCountByCompanyId(long companyId)
filterCountByCompanyId
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDpublic List<com.liferay.portal.kernel.model.LayoutPrototype> findByC_A(long companyId, boolean active)
findByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activepublic List<com.liferay.portal.kernel.model.LayoutPrototype> 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.LayoutPrototype> findByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutPrototype findByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByC_A_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype fetchByC_A_First(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
fetchByC_A_First
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype findByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByC_A_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype fetchByC_A_Last(long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
fetchByC_A_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout prototype could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype[] findByC_A_PrevAndNext(long layoutPrototypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
findByC_A_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the current layout prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutPrototype getByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean previous)
public List<com.liferay.portal.kernel.model.LayoutPrototype> filterFindByC_A(long companyId, boolean active)
filterFindByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activepublic List<com.liferay.portal.kernel.model.LayoutPrototype> 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 and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutPrototype> filterFindByC_A(long companyId, boolean active, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activestart
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutPrototype[] filterFindByC_A_PrevAndNext(long layoutPrototypeId, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
filterFindByC_A_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the current layout prototypecompanyId
- the company IDactive
- the activeorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutPrototype filterGetByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype, long companyId, boolean active, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean previous)
public void removeByC_A(long companyId, boolean active)
removeByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activepublic int countByC_A(long companyId, boolean active)
countByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activepublic int filterCountByC_A(long companyId, boolean active)
filterCountByC_A
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
companyId
- the company IDactive
- the activepublic void cacheResult(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototype
- the layout prototypepublic void cacheResult(List<com.liferay.portal.kernel.model.LayoutPrototype> layoutPrototypes)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypes
- the layout prototypespublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutPrototype>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
public void clearCache(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutPrototype>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
public void clearCache(List<com.liferay.portal.kernel.model.LayoutPrototype> layoutPrototypes)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutPrototype>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
public com.liferay.portal.kernel.model.LayoutPrototype create(long layoutPrototypeId)
create
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key for the new layout prototypepublic com.liferay.portal.kernel.model.LayoutPrototype remove(long layoutPrototypeId) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
remove
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the layout prototypecom.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutPrototype>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
primaryKey
- the primary key of the layout prototypecom.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutPrototype removeImpl(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
public com.liferay.portal.kernel.model.LayoutPrototype updateImpl(com.liferay.portal.kernel.model.LayoutPrototype layoutPrototype)
updateImpl
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
public com.liferay.portal.kernel.model.LayoutPrototype findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutPrototype>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
primaryKey
- the primary key of the layout prototypecom.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype findByPrimaryKey(long layoutPrototypeId) throws com.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
NoSuchLayoutPrototypeException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the layout prototypecom.liferay.portal.kernel.exception.NoSuchLayoutPrototypeException
- if a layout prototype with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype fetchByPrimaryKey(Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutPrototype>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
primaryKey
- the primary key of the layout prototypenull
if a layout prototype with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutPrototype fetchByPrimaryKey(long layoutPrototypeId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
layoutPrototypeId
- the primary key of the layout prototypenull
if a layout prototype with the primary key could not be foundpublic Map<Serializable,com.liferay.portal.kernel.model.LayoutPrototype> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutPrototype>
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
public List<com.liferay.portal.kernel.model.LayoutPrototype> findAll()
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
public List<com.liferay.portal.kernel.model.LayoutPrototype> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
start
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)public List<com.liferay.portal.kernel.model.LayoutPrototype> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
start
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public List<com.liferay.portal.kernel.model.LayoutPrototype> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutPrototype> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutPrototypeModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
start
- the lower bound of the range of layout prototypesend
- the upper bound of the range of layout prototypes (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
public int countAll()
countAll
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
public Set<String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutPrototype>
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.LayoutPrototypePersistence
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutPrototype>
public void afterPropertiesSet()
public void destroy()