|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<LayoutSetPrototype>
com.liferay.portal.service.persistence.impl.LayoutSetPrototypePersistenceImpl
@ProviderType public class LayoutSetPrototypePersistenceImpl
The persistence implementation for the layout set prototype service.
Caching information and settings can be found in portal.properties
LayoutSetPrototypePersistence,
LayoutSetPrototypeUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR |
| Constructor Summary | |
|---|---|
LayoutSetPrototypePersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the layout set prototype persistence. |
void |
cacheResult(LayoutSetPrototype layoutSetPrototype)
Caches the layout set prototype in the entity cache if it is enabled. |
void |
cacheResult(List<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(LayoutSetPrototype layoutSetPrototype)
Clears the cache for the layout set prototype. |
void |
clearCache(List<LayoutSetPrototype> layoutSetPrototypes)
Clears the cache for a List instances of this model. |
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 = ?. |
LayoutSetPrototype |
create(long layoutSetPrototypeId)
Creates a new layout set prototype with the primary key. |
void |
destroy()
|
LayoutSetPrototype |
fetchByC_A_First(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ? and active = ?. |
LayoutSetPrototype |
fetchByC_A_Last(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ? and active = ?. |
LayoutSetPrototype |
fetchByCompanyId_First(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ?. |
LayoutSetPrototype |
fetchByCompanyId_Last(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ?. |
LayoutSetPrototype |
fetchByPrimaryKey(long layoutSetPrototypeId)
Returns the layout set prototype with the primary key or returns null if it could not be found. |
LayoutSetPrototype |
fetchByPrimaryKey(Serializable primaryKey)
Returns the layout set prototype with the primary key or returns null if it could not be found. |
Map<Serializable,LayoutSetPrototype> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
LayoutSetPrototype |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?. |
LayoutSetPrototype |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?. |
LayoutSetPrototype |
fetchByUuid_First(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ?. |
LayoutSetPrototype |
fetchByUuid_Last(String uuid,
OrderByComparator<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 = ?. |
LayoutSetPrototype[] |
filterFindByC_A_PrevAndNext(long layoutSetPrototypeId,
long companyId,
boolean active,
OrderByComparator<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<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<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<LayoutSetPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ? and active = ?. |
LayoutSetPrototype[] |
filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId,
long companyId,
OrderByComparator<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<LayoutSetPrototype> |
filterFindByCompanyId(long companyId)
Returns all the layout set prototypes that the user has permission to view where companyId = ?. |
List<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<LayoutSetPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where companyId = ?. |
LayoutSetPrototype[] |
filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId,
String uuid,
long companyId,
OrderByComparator<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<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<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<LayoutSetPrototype> |
filterFindByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ? and companyId = ?. |
LayoutSetPrototype[] |
filterFindByUuid_PrevAndNext(long layoutSetPrototypeId,
String uuid,
OrderByComparator<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<LayoutSetPrototype> |
filterFindByUuid(String uuid)
Returns all the layout set prototypes that the user has permission to view where uuid = ?. |
List<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<LayoutSetPrototype> |
filterFindByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes that the user has permissions to view where uuid = ?. |
protected LayoutSetPrototype |
filterGetByC_A_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
|
protected LayoutSetPrototype |
filterGetByCompanyId_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
|
protected LayoutSetPrototype |
filterGetByUuid_C_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
|
protected LayoutSetPrototype |
filterGetByUuid_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
|
List<LayoutSetPrototype> |
findAll()
Returns all the layout set prototypes. |
List<LayoutSetPrototype> |
findAll(int start,
int end)
Returns a range of all the layout set prototypes. |
List<LayoutSetPrototype> |
findAll(int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes. |
List<LayoutSetPrototype> |
findAll(int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set prototypes. |
LayoutSetPrototype |
findByC_A_First(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ? and active = ?. |
LayoutSetPrototype |
findByC_A_Last(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ? and active = ?. |
LayoutSetPrototype[] |
findByC_A_PrevAndNext(long layoutSetPrototypeId,
long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ? and active = ?. |
List<LayoutSetPrototype> |
findByC_A(long companyId,
boolean active)
Returns all the layout set prototypes where companyId = ? and active = ?. |
List<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<LayoutSetPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?. |
List<LayoutSetPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set prototypes where companyId = ? and active = ?. |
LayoutSetPrototype |
findByCompanyId_First(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where companyId = ?. |
LayoutSetPrototype |
findByCompanyId_Last(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where companyId = ?. |
LayoutSetPrototype[] |
findByCompanyId_PrevAndNext(long layoutSetPrototypeId,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where companyId = ?. |
List<LayoutSetPrototype> |
findByCompanyId(long companyId)
Returns all the layout set prototypes where companyId = ?. |
List<LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout set prototypes where companyId = ?. |
List<LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where companyId = ?. |
List<LayoutSetPrototype> |
findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set prototypes where companyId = ?. |
LayoutSetPrototype |
findByPrimaryKey(long layoutSetPrototypeId)
Returns the layout set prototype with the primary key or throws a NoSuchLayoutSetPrototypeException if it could not be found. |
LayoutSetPrototype |
findByPrimaryKey(Serializable primaryKey)
Returns the layout set prototype with the primary key or throws a NoSuchModelException if it could not be found. |
LayoutSetPrototype |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ? and companyId = ?. |
LayoutSetPrototype |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ? and companyId = ?. |
LayoutSetPrototype[] |
findByUuid_C_PrevAndNext(long layoutSetPrototypeId,
String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ? and companyId = ?. |
List<LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId)
Returns all the layout set prototypes where uuid = ? and companyId = ?. |
List<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<LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?. |
List<LayoutSetPrototype> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set prototypes where uuid = ? and companyId = ?. |
LayoutSetPrototype |
findByUuid_First(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the first layout set prototype in the ordered set where uuid = ?. |
LayoutSetPrototype |
findByUuid_Last(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the last layout set prototype in the ordered set where uuid = ?. |
LayoutSetPrototype[] |
findByUuid_PrevAndNext(long layoutSetPrototypeId,
String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns the layout set prototypes before and after the current layout set prototype in the ordered set where uuid = ?. |
List<LayoutSetPrototype> |
findByUuid(String uuid)
Returns all the layout set prototypes where uuid = ?. |
List<LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the layout set prototypes where uuid = ?. |
List<LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator)
Returns an ordered range of all the layout set prototypes where uuid = ?. |
List<LayoutSetPrototype> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set prototypes where uuid = ?. |
Set<String> |
getBadColumnNames()
|
protected LayoutSetPrototype |
getByC_A_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
|
protected LayoutSetPrototype |
getByCompanyId_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
|
protected LayoutSetPrototype |
getByUuid_C_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
|
protected LayoutSetPrototype |
getByUuid_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
LayoutSetPrototype |
remove(long layoutSetPrototypeId)
Removes the layout set prototype with the primary key from the database. |
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 LayoutSetPrototype |
removeImpl(LayoutSetPrototype layoutSetPrototype)
Removes the model instance from the database. |
protected LayoutSetPrototype |
toUnwrappedModel(LayoutSetPrototype layoutSetPrototype)
|
LayoutSetPrototype |
updateImpl(LayoutSetPrototype layoutSetPrototype)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_C_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_A
public static final FinderPath FINDER_PATH_COUNT_BY_C_A
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public LayoutSetPrototypePersistenceImpl()
| Method Detail |
|---|
public List<LayoutSetPrototype> findByUuid(String uuid)
findByUuid in interface LayoutSetPrototypePersistenceuuid - the uuid
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistenceuuid - 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<LayoutSetPrototype> findByUuid(String uuid,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistenceuuid - 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<LayoutSetPrototype> findByUuid(String uuid,
int start,
int end,
OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistenceuuid - 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)retrieveFromCache - whether to retrieve from the finder cache
public LayoutSetPrototype findByUuid_First(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByUuid_First in interface LayoutSetPrototypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
public LayoutSetPrototype fetchByUuid_First(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
fetchByUuid_First in interface LayoutSetPrototypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout set prototype could not be found
public LayoutSetPrototype findByUuid_Last(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByUuid_Last in interface LayoutSetPrototypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
public LayoutSetPrototype fetchByUuid_Last(String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
fetchByUuid_Last in interface LayoutSetPrototypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout set prototype could not be found
public LayoutSetPrototype[] findByUuid_PrevAndNext(long layoutSetPrototypeId,
String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByUuid_PrevAndNext in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the current layout set prototypeuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
protected LayoutSetPrototype getByUuid_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
public List<LayoutSetPrototype> filterFindByUuid(String uuid)
filterFindByUuid in interface LayoutSetPrototypePersistenceuuid - the uuid
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistenceuuid - 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<LayoutSetPrototype> filterFindByUuid(String uuid,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistenceuuid - 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 LayoutSetPrototype[] filterFindByUuid_PrevAndNext(long layoutSetPrototypeId,
String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
filterFindByUuid_PrevAndNext in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the current layout set prototypeuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
protected LayoutSetPrototype filterGetByUuid_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
String uuid,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface LayoutSetPrototypePersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface LayoutSetPrototypePersistenceuuid - the uuid
public int filterCountByUuid(String uuid)
filterCountByUuid in interface LayoutSetPrototypePersistenceuuid - the uuid
public List<LayoutSetPrototype> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface LayoutSetPrototypePersistenceuuid - the uuidcompanyId - the company ID
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistenceuuid - 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<LayoutSetPrototype> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistenceuuid - 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<LayoutSetPrototype> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistenceuuid - 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)retrieveFromCache - whether to retrieve from the finder cache
public LayoutSetPrototype findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByUuid_C_First in interface LayoutSetPrototypePersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
public LayoutSetPrototype fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
fetchByUuid_C_First in interface LayoutSetPrototypePersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout set prototype could not be found
public LayoutSetPrototype findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByUuid_C_Last in interface LayoutSetPrototypePersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
public LayoutSetPrototype fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
fetchByUuid_C_Last in interface LayoutSetPrototypePersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout set prototype could not be found
public LayoutSetPrototype[] findByUuid_C_PrevAndNext(long layoutSetPrototypeId,
String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByUuid_C_PrevAndNext in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the current layout set prototypeuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
protected LayoutSetPrototype getByUuid_C_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
public List<LayoutSetPrototype> filterFindByUuid_C(String uuid,
long companyId)
filterFindByUuid_C in interface LayoutSetPrototypePersistenceuuid - the uuidcompanyId - the company ID
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistenceuuid - 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<LayoutSetPrototype> filterFindByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistenceuuid - 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 LayoutSetPrototype[] filterFindByUuid_C_PrevAndNext(long layoutSetPrototypeId,
String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
filterFindByUuid_C_PrevAndNext in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the current layout set prototypeuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
protected LayoutSetPrototype filterGetByUuid_C_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
String uuid,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface LayoutSetPrototypePersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface LayoutSetPrototypePersistenceuuid - the uuidcompanyId - the company ID
public int filterCountByUuid_C(String uuid,
long companyId)
filterCountByUuid_C in interface LayoutSetPrototypePersistenceuuid - the uuidcompanyId - the company ID
public List<LayoutSetPrototype> findByCompanyId(long companyId)
findByCompanyId in interface LayoutSetPrototypePersistencecompanyId - the company ID
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencecompanyId - 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<LayoutSetPrototype> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencecompanyId - 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<LayoutSetPrototype> findByCompanyId(long companyId,
int start,
int end,
OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencecompanyId - 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)retrieveFromCache - whether to retrieve from the finder cache
public LayoutSetPrototype findByCompanyId_First(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByCompanyId_First in interface LayoutSetPrototypePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
public LayoutSetPrototype fetchByCompanyId_First(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
fetchByCompanyId_First in interface LayoutSetPrototypePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout set prototype could not be found
public LayoutSetPrototype findByCompanyId_Last(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByCompanyId_Last in interface LayoutSetPrototypePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
public LayoutSetPrototype fetchByCompanyId_Last(long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
fetchByCompanyId_Last in interface LayoutSetPrototypePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout set prototype could not be found
public LayoutSetPrototype[] findByCompanyId_PrevAndNext(long layoutSetPrototypeId,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByCompanyId_PrevAndNext in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the current layout set prototypecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
protected LayoutSetPrototype getByCompanyId_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
public List<LayoutSetPrototype> filterFindByCompanyId(long companyId)
filterFindByCompanyId in interface LayoutSetPrototypePersistencecompanyId - the company ID
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencecompanyId - 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<LayoutSetPrototype> filterFindByCompanyId(long companyId,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencecompanyId - 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 LayoutSetPrototype[] filterFindByCompanyId_PrevAndNext(long layoutSetPrototypeId,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
filterFindByCompanyId_PrevAndNext in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the current layout set prototypecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
protected LayoutSetPrototype filterGetByCompanyId_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
long companyId,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface LayoutSetPrototypePersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface LayoutSetPrototypePersistencecompanyId - the company ID
public int filterCountByCompanyId(long companyId)
filterCountByCompanyId in interface LayoutSetPrototypePersistencecompanyId - the company ID
public List<LayoutSetPrototype> findByC_A(long companyId,
boolean active)
findByC_A in interface LayoutSetPrototypePersistencecompanyId - the company IDactive - the active
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencecompanyId - 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<LayoutSetPrototype> findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencecompanyId - 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<LayoutSetPrototype> findByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencecompanyId - 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)retrieveFromCache - whether to retrieve from the finder cache
public LayoutSetPrototype findByC_A_First(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByC_A_First in interface LayoutSetPrototypePersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
public LayoutSetPrototype fetchByC_A_First(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
fetchByC_A_First in interface LayoutSetPrototypePersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout set prototype could not be found
public LayoutSetPrototype findByC_A_Last(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByC_A_Last in interface LayoutSetPrototypePersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a matching layout set prototype could not be found
public LayoutSetPrototype fetchByC_A_Last(long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
fetchByC_A_Last in interface LayoutSetPrototypePersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
null if a matching layout set prototype could not be found
public LayoutSetPrototype[] findByC_A_PrevAndNext(long layoutSetPrototypeId,
long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
findByC_A_PrevAndNext in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the current layout set prototypecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
protected LayoutSetPrototype getByC_A_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
public List<LayoutSetPrototype> filterFindByC_A(long companyId,
boolean active)
filterFindByC_A in interface LayoutSetPrototypePersistencecompanyId - the company IDactive - the active
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencecompanyId - 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<LayoutSetPrototype> filterFindByC_A(long companyId,
boolean active,
int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencecompanyId - 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 LayoutSetPrototype[] filterFindByC_A_PrevAndNext(long layoutSetPrototypeId,
long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator)
throws NoSuchLayoutSetPrototypeException
filterFindByC_A_PrevAndNext in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the current layout set prototypecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
protected LayoutSetPrototype filterGetByC_A_PrevAndNext(Session session,
LayoutSetPrototype layoutSetPrototype,
long companyId,
boolean active,
OrderByComparator<LayoutSetPrototype> orderByComparator,
boolean previous)
public void removeByC_A(long companyId,
boolean active)
removeByC_A in interface LayoutSetPrototypePersistencecompanyId - the company IDactive - the active
public int countByC_A(long companyId,
boolean active)
countByC_A in interface LayoutSetPrototypePersistencecompanyId - the company IDactive - the active
public int filterCountByC_A(long companyId,
boolean active)
filterCountByC_A in interface LayoutSetPrototypePersistencecompanyId - the company IDactive - the active
public void cacheResult(LayoutSetPrototype layoutSetPrototype)
cacheResult in interface LayoutSetPrototypePersistencelayoutSetPrototype - the layout set prototypepublic void cacheResult(List<LayoutSetPrototype> layoutSetPrototypes)
cacheResult in interface LayoutSetPrototypePersistencelayoutSetPrototypes - the layout set prototypespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<LayoutSetPrototype>clearCache in class BasePersistenceImpl<LayoutSetPrototype>public void clearCache(LayoutSetPrototype layoutSetPrototype)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<LayoutSetPrototype>clearCache in class BasePersistenceImpl<LayoutSetPrototype>layoutSetPrototype - the instance of this model to clear the cache forpublic void clearCache(List<LayoutSetPrototype> layoutSetPrototypes)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<LayoutSetPrototype>clearCache in class BasePersistenceImpl<LayoutSetPrototype>layoutSetPrototypes - the List instances of this model to clear the cache forpublic LayoutSetPrototype create(long layoutSetPrototypeId)
create in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key for the new layout set prototype
public LayoutSetPrototype remove(long layoutSetPrototypeId)
throws NoSuchLayoutSetPrototypeException
remove in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the layout set prototype
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
public LayoutSetPrototype remove(Serializable primaryKey)
throws NoSuchLayoutSetPrototypeException
remove in interface BasePersistence<LayoutSetPrototype>remove in class BasePersistenceImpl<LayoutSetPrototype>primaryKey - the primary key of the layout set prototype
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be foundprotected LayoutSetPrototype removeImpl(LayoutSetPrototype layoutSetPrototype)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<LayoutSetPrototype>layoutSetPrototype - the model instance to remove
public LayoutSetPrototype updateImpl(LayoutSetPrototype layoutSetPrototype)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface LayoutSetPrototypePersistenceupdateImpl in class BasePersistenceImpl<LayoutSetPrototype>layoutSetPrototype - the model instance to update
protected LayoutSetPrototype toUnwrappedModel(LayoutSetPrototype layoutSetPrototype)
public LayoutSetPrototype findByPrimaryKey(Serializable primaryKey)
throws NoSuchLayoutSetPrototypeException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<LayoutSetPrototype>findByPrimaryKey in class BasePersistenceImpl<LayoutSetPrototype>primaryKey - the primary key of the layout set prototype
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be found
public LayoutSetPrototype findByPrimaryKey(long layoutSetPrototypeId)
throws NoSuchLayoutSetPrototypeException
NoSuchLayoutSetPrototypeException if it could not be found.
findByPrimaryKey in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the layout set prototype
NoSuchLayoutSetPrototypeException - if a layout set prototype with the primary key could not be foundpublic LayoutSetPrototype fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<LayoutSetPrototype>fetchByPrimaryKey in class BasePersistenceImpl<LayoutSetPrototype>primaryKey - the primary key of the layout set prototype
null if a layout set prototype with the primary key could not be foundpublic LayoutSetPrototype fetchByPrimaryKey(long layoutSetPrototypeId)
null if it could not be found.
fetchByPrimaryKey in interface LayoutSetPrototypePersistencelayoutSetPrototypeId - the primary key of the layout set prototype
null if a layout set prototype with the primary key could not be foundpublic Map<Serializable,LayoutSetPrototype> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<LayoutSetPrototype>fetchByPrimaryKeys in interface LayoutSetPrototypePersistencefetchByPrimaryKeys in class BasePersistenceImpl<LayoutSetPrototype>public List<LayoutSetPrototype> findAll()
findAll in interface LayoutSetPrototypePersistence
public List<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencestart - the lower bound of the range of layout set prototypesend - the upper bound of the range of layout set prototypes (not inclusive)
public List<LayoutSetPrototype> findAll(int start,
int end,
OrderByComparator<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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencestart - 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<LayoutSetPrototype> findAll(int start,
int end,
OrderByComparator<LayoutSetPrototype> 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 LayoutSetPrototypeModelImpl. 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 LayoutSetPrototypePersistencestart - 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)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface LayoutSetPrototypePersistencepublic int countAll()
countAll in interface LayoutSetPrototypePersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<LayoutSetPrototype>getBadColumnNames in interface LayoutSetPrototypePersistencegetBadColumnNames in class BasePersistenceImpl<LayoutSetPrototype>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<LayoutSetPrototype>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||