public class LayoutPrototypePersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutPrototype>
implements com.liferay.portal.service.persistence.LayoutPrototypePersistence
Caching information and settings can be found in portal.properties
LayoutPrototypePersistence,
LayoutPrototypeUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.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 |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, 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.model.LayoutPrototype layoutPrototype)
Caches the layout prototype in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portal.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.model.LayoutPrototype layoutPrototype)
Clears the cache for the layout prototype.
|
void |
clearCache(java.util.List<com.liferay.portal.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(java.lang.String uuid,
long companyId)
Returns the number of layout prototypes where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of layout prototypes where uuid = ?.
|
com.liferay.portal.model.LayoutPrototype |
create(long layoutPrototypeId)
Creates a new layout prototype with the primary key.
|
void |
destroy() |
com.liferay.portal.model.LayoutPrototype |
fetchByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.model.LayoutPrototype |
fetchByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.model.LayoutPrototype |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ?.
|
com.liferay.portal.model.LayoutPrototype |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ?.
|
com.liferay.portal.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.model.LayoutPrototype |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the layout prototype with the primary key or returns
null if it could not be found. |
com.liferay.portal.model.LayoutPrototype |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.model.LayoutPrototype |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.model.LayoutPrototype |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ?.
|
com.liferay.portal.model.LayoutPrototype |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator 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(java.lang.String uuid,
long companyId)
Returns the number of layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
int |
filterCountByUuid(java.lang.String uuid)
Returns the number of layout prototypes that the user has permission to view where uuid = ?.
|
com.liferay.portal.model.LayoutPrototype[] |
filterFindByC_A_PrevAndNext(long layoutPrototypeId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator 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 = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active)
Returns all the layout prototypes that the user has permission to view where companyId = ? and active = ?.
|
java.util.List<com.liferay.portal.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 = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
filterFindByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where companyId = ? and active = ?.
|
com.liferay.portal.model.LayoutPrototype[] |
filterFindByCompanyId_PrevAndNext(long layoutPrototypeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator 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 = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
filterFindByCompanyId(long companyId)
Returns all the layout prototypes that the user has permission to view where companyId = ?.
|
java.util.List<com.liferay.portal.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 = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where companyId = ?.
|
com.liferay.portal.model.LayoutPrototype[] |
filterFindByUuid_C_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator 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 = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
filterFindByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout prototypes that the user has permission to view where uuid = ? and companyId = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
filterFindByUuid_C(java.lang.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 = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where uuid = ? and companyId = ?.
|
com.liferay.portal.model.LayoutPrototype[] |
filterFindByUuid_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator 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 = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
filterFindByUuid(java.lang.String uuid)
Returns all the layout prototypes that the user has permission to view where uuid = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
filterFindByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout prototypes that the user has permission to view where uuid = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes that the user has permissions to view where uuid = ?.
|
protected com.liferay.portal.model.LayoutPrototype |
filterGetByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutPrototype |
filterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutPrototype |
filterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutPrototype |
filterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findAll()
Returns all the layout prototypes.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findAll(int start,
int end)
Returns a range of all the layout prototypes.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes.
|
com.liferay.portal.model.LayoutPrototype |
findByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.model.LayoutPrototype |
findByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ? and active = ?.
|
com.liferay.portal.model.LayoutPrototype[] |
findByC_A_PrevAndNext(long layoutPrototypeId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where companyId = ? and active = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByC_A(long companyId,
boolean active)
Returns all the layout prototypes where companyId = ? and active = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end)
Returns a range of all the layout prototypes where companyId = ? and active = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes where companyId = ? and active = ?.
|
com.liferay.portal.model.LayoutPrototype |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where companyId = ?.
|
com.liferay.portal.model.LayoutPrototype |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where companyId = ?.
|
com.liferay.portal.model.LayoutPrototype[] |
findByCompanyId_PrevAndNext(long layoutPrototypeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where companyId = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByCompanyId(long companyId)
Returns all the layout prototypes where companyId = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the layout prototypes where companyId = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes where companyId = ?.
|
com.liferay.portal.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.model.LayoutPrototype |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the layout prototype with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portal.model.LayoutPrototype |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.model.LayoutPrototype |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ? and companyId = ?.
|
com.liferay.portal.model.LayoutPrototype[] |
findByUuid_C_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout prototypes where uuid = ? and companyId = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout prototypes where uuid = ? and companyId = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes where uuid = ? and companyId = ?.
|
com.liferay.portal.model.LayoutPrototype |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first layout prototype in the ordered set where uuid = ?.
|
com.liferay.portal.model.LayoutPrototype |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last layout prototype in the ordered set where uuid = ?.
|
com.liferay.portal.model.LayoutPrototype[] |
findByUuid_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the layout prototypes before and after the current layout prototype in the ordered set where uuid = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByUuid(java.lang.String uuid)
Returns all the layout prototypes where uuid = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout prototypes where uuid = ?.
|
java.util.List<com.liferay.portal.model.LayoutPrototype> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the layout prototypes where uuid = ?.
|
protected java.util.Set<java.lang.String> |
getBadColumnNames() |
protected com.liferay.portal.model.LayoutPrototype |
getByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutPrototype |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutPrototype |
getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
protected com.liferay.portal.model.LayoutPrototype |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portal.model.LayoutPrototype |
remove(long layoutPrototypeId)
Removes the layout prototype with the primary key from the database.
|
com.liferay.portal.model.LayoutPrototype |
remove(java.io.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(java.lang.String uuid,
long companyId)
Removes all the layout prototypes where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the layout prototypes where uuid = ? from the database.
|
protected com.liferay.portal.model.LayoutPrototype |
removeImpl(com.liferay.portal.model.LayoutPrototype layoutPrototype) |
protected com.liferay.portal.model.LayoutPrototype |
toUnwrappedModel(com.liferay.portal.model.LayoutPrototype layoutPrototype) |
com.liferay.portal.model.LayoutPrototype |
updateImpl(com.liferay.portal.model.LayoutPrototype layoutPrototype) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.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
public java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
findByUuid in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistenceuuid - the uuidstart - the lower bound of the range of layout prototypesend - the upper bound of the range of layout prototypes (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistenceuuid - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_First in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUuid_First in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_Last in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUuid_Last in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype[] findByUuid_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - the primary key of the current layout prototypeuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutPrototype getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByUuid in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistenceuuid - the uuidstart - the lower bound of the range of layout prototypesend - the upper bound of the range of layout prototypes (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistenceuuid - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype[] filterFindByUuid_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
filterFindByUuid_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - the primary key of the current layout prototypeuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutPrototype filterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
removeByUuid in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
countByUuid in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int filterCountByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByUuid in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid_C(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
findByUuid_C in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistenceuuid - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistenceuuid - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_C_First in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUuid_C_First in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_C_Last in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUuid_C_Last in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype[] findByUuid_C_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_C_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - 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.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutPrototype getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid_C(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByUuid_C in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistenceuuid - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistenceuuid - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype[] filterFindByUuid_C_PrevAndNext(long layoutPrototypeId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
filterFindByUuid_C_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - 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.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutPrototype filterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid_C(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByUuid_C in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByUuid_C(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
countByUuid_C in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int filterCountByUuid_C(java.lang.String uuid,
long companyId)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByUuid_C in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceuuid - the uuidcompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
findByCompanyId in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistencecompanyId - the company IDstart - the lower bound of the range of layout prototypesend - the upper bound of the range of layout prototypes (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_First in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCompanyId_First in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_Last in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByCompanyId_Last in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype[] findByCompanyId_PrevAndNext(long layoutPrototypeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByCompanyId_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - the primary key of the current layout prototypecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutPrototype getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByCompanyId in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByCompanyId(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistencecompanyId - the company IDstart - the lower bound of the range of layout prototypesend - the upper bound of the range of layout prototypes (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype[] filterFindByCompanyId_PrevAndNext(long layoutPrototypeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
filterFindByCompanyId_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - the primary key of the current layout prototypecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutPrototype filterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
removeByCompanyId in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
countByCompanyId in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int filterCountByCompanyId(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByCompanyId in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByC_A(long companyId,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
findByC_A in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByC_A(long companyId,
boolean active,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype findByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByC_A_First in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype fetchByC_A_First(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_A_First in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype findByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByC_A_Last in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.NoSuchLayoutPrototypeException - if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype fetchByC_A_Last(long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByC_A_Last in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDactive - the activeorderByComparator - the comparator to order the set by (optionally null)null if a matching layout prototype could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype[] findByC_A_PrevAndNext(long layoutPrototypeId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
findByC_A_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - 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.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutPrototype getByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByC_A(long companyId,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
filterFindByC_A in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByC_A(long companyId,
boolean active,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> filterFindByC_A(long companyId,
boolean active,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistencecompanyId - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype[] filterFindByC_A_PrevAndNext(long layoutPrototypeId,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
filterFindByC_A_PrevAndNext in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - 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.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutPrototype filterGetByC_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.model.LayoutPrototype layoutPrototype,
long companyId,
boolean active,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByC_A(long companyId,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
removeByC_A in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByC_A(long companyId,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
countByC_A in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int filterCountByC_A(long companyId,
boolean active)
throws com.liferay.portal.kernel.exception.SystemException
filterCountByC_A in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecompanyId - the company IDactive - the activecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portal.model.LayoutPrototype layoutPrototype)
cacheResult in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototype - the layout prototypepublic void cacheResult(java.util.List<com.liferay.portal.model.LayoutPrototype> layoutPrototypes)
cacheResult in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypes - the layout prototypespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutPrototype>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutPrototype>public void clearCache(com.liferay.portal.model.LayoutPrototype layoutPrototype)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutPrototype>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutPrototype>public void clearCache(java.util.List<com.liferay.portal.model.LayoutPrototype> layoutPrototypes)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutPrototype>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutPrototype>public com.liferay.portal.model.LayoutPrototype create(long layoutPrototypeId)
create in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - the primary key for the new layout prototypepublic com.liferay.portal.model.LayoutPrototype remove(long layoutPrototypeId)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - the primary key of the layout prototypecom.liferay.portal.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype remove(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutPrototype>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutPrototype>primaryKey - the primary key of the layout prototypecom.liferay.portal.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portal.model.LayoutPrototype removeImpl(com.liferay.portal.model.LayoutPrototype layoutPrototype)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutPrototype>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.model.LayoutPrototype updateImpl(com.liferay.portal.model.LayoutPrototype layoutPrototype)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portal.service.persistence.LayoutPrototypePersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutPrototype>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portal.model.LayoutPrototype toUnwrappedModel(com.liferay.portal.model.LayoutPrototype layoutPrototype)
public com.liferay.portal.model.LayoutPrototype findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutPrototype>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutPrototype>primaryKey - the primary key of the layout prototypecom.liferay.portal.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype findByPrimaryKey(long layoutPrototypeId)
throws com.liferay.portal.NoSuchLayoutPrototypeException,
com.liferay.portal.kernel.exception.SystemException
NoSuchLayoutPrototypeException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - the primary key of the layout prototypecom.liferay.portal.NoSuchLayoutPrototypeException - if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portal.model.LayoutPrototype>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutPrototype>primaryKey - the primary key of the layout prototypenull if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portal.model.LayoutPrototype fetchByPrimaryKey(long layoutPrototypeId)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencelayoutPrototypeId - the primary key of the layout prototypenull if a layout prototype with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistencestart - the lower bound of the range of layout prototypesend - the upper bound of the range of layout prototypes (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portal.model.LayoutPrototype> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
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.service.persistence.LayoutPrototypePersistencestart - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portal.service.persistence.LayoutPrototypePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.model.LayoutPrototype>public void afterPropertiesSet()
public void destroy()