public class LayoutSEOSiteUtil
extends java.lang.Object
com.liferay.layout.seo.service.persistence.impl.LayoutSEOSitePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
LayoutSEOSitePersistence
Constructor and Description |
---|
LayoutSEOSiteUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(LayoutSEOSite layoutSEOSite)
Caches the layout seo site in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<LayoutSEOSite> layoutSEOSites)
Caches the layout seo sites in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(LayoutSEOSite layoutSEOSite) |
static int |
countAll()
Returns the number of layout seo sites.
|
static int |
countByGroupId(long groupId)
Returns the number of layout seo sites where groupId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout seo sites where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of layout seo sites where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of layout seo sites where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static LayoutSEOSite |
create(long layoutSEOSiteId)
Creates a new layout seo site with the primary key.
|
static LayoutSEOSite |
fetchByGroupId(long groupId)
Returns the layout seo site where groupId = ? or returns
null if it could not be found. |
static LayoutSEOSite |
fetchByGroupId(long groupId,
boolean useFinderCache)
Returns the layout seo site where groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutSEOSite |
fetchByPrimaryKey(long layoutSEOSiteId)
Returns the layout seo site with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,LayoutSEOSite> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static LayoutSEOSite |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns the first layout seo site in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSEOSite |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns the last layout seo site in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSEOSite |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns the first layout seo site in the ordered set where uuid = ?.
|
static LayoutSEOSite |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout seo site where uuid = ? and groupId = ? or returns
null if it could not be found. |
static LayoutSEOSite |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the layout seo site where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutSEOSite |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns the last layout seo site in the ordered set where uuid = ?.
|
static java.util.List<LayoutSEOSite> |
findAll()
Returns all the layout seo sites.
|
static java.util.List<LayoutSEOSite> |
findAll(int start,
int end)
Returns a range of all the layout seo sites.
|
static java.util.List<LayoutSEOSite> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns an ordered range of all the layout seo sites.
|
static java.util.List<LayoutSEOSite> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout seo sites.
|
static LayoutSEOSite |
findByGroupId(long groupId)
Returns the layout seo site where groupId = ? or throws a
NoSuchSiteException if it could not be found. |
static LayoutSEOSite |
findByPrimaryKey(long layoutSEOSiteId)
Returns the layout seo site with the primary key or throws a
NoSuchSiteException if it could not be found. |
static LayoutSEOSite |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns the first layout seo site in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSEOSite |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns the last layout seo site in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSEOSite[] |
findByUuid_C_PrevAndNext(long layoutSEOSiteId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns the layout seo sites before and after the current layout seo site in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<LayoutSEOSite> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout seo sites where uuid = ? and companyId = ?.
|
static java.util.List<LayoutSEOSite> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout seo sites where uuid = ? and companyId = ?.
|
static java.util.List<LayoutSEOSite> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns an ordered range of all the layout seo sites where uuid = ? and companyId = ?.
|
static java.util.List<LayoutSEOSite> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout seo sites where uuid = ? and companyId = ?.
|
static LayoutSEOSite |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns the first layout seo site in the ordered set where uuid = ?.
|
static LayoutSEOSite |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout seo site where uuid = ? and groupId = ? or throws a
NoSuchSiteException if it could not be found. |
static LayoutSEOSite |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns the last layout seo site in the ordered set where uuid = ?.
|
static LayoutSEOSite[] |
findByUuid_PrevAndNext(long layoutSEOSiteId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns the layout seo sites before and after the current layout seo site in the ordered set where uuid = ?.
|
static java.util.List<LayoutSEOSite> |
findByUuid(java.lang.String uuid)
Returns all the layout seo sites where uuid = ?.
|
static java.util.List<LayoutSEOSite> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout seo sites where uuid = ?.
|
static java.util.List<LayoutSEOSite> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Returns an ordered range of all the layout seo sites where uuid = ?.
|
static java.util.List<LayoutSEOSite> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout seo sites where uuid = ?.
|
static java.util.List<LayoutSEOSite> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<LayoutSEOSite> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<LayoutSEOSite> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator) |
static LayoutSEOSitePersistence |
getPersistence() |
static LayoutSEOSite |
remove(long layoutSEOSiteId)
Removes the layout seo site with the primary key from the database.
|
static void |
removeAll()
Removes all the layout seo sites from the database.
|
static LayoutSEOSite |
removeByGroupId(long groupId)
Removes the layout seo site where groupId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the layout seo sites where uuid = ? and companyId = ? from the database.
|
static LayoutSEOSite |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the layout seo site where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the layout seo sites where uuid = ? from the database.
|
static LayoutSEOSite |
update(LayoutSEOSite layoutSEOSite) |
static LayoutSEOSite |
update(LayoutSEOSite layoutSEOSite,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static LayoutSEOSite |
updateImpl(LayoutSEOSite layoutSEOSite) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(LayoutSEOSite layoutSEOSite)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,LayoutSEOSite> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<LayoutSEOSite> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<LayoutSEOSite> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<LayoutSEOSite> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static LayoutSEOSite update(LayoutSEOSite layoutSEOSite)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static LayoutSEOSite update(LayoutSEOSite layoutSEOSite, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<LayoutSEOSite> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<LayoutSEOSite> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSEOSiteModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout seo sitesend
- the upper bound of the range of layout seo sites (not inclusive)public static java.util.List<LayoutSEOSite> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSEOSiteModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout seo sitesend
- the upper bound of the range of layout seo sites (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSEOSite> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSEOSiteModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout seo sitesend
- the upper bound of the range of layout seo sites (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSEOSite findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator) throws NoSuchSiteException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSiteException
- if a matching layout seo site could not be foundpublic static LayoutSEOSite fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout seo site could not be foundpublic static LayoutSEOSite findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator) throws NoSuchSiteException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSiteException
- if a matching layout seo site could not be foundpublic static LayoutSEOSite fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout seo site could not be foundpublic static LayoutSEOSite[] findByUuid_PrevAndNext(long layoutSEOSiteId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator) throws NoSuchSiteException
layoutSEOSiteId
- the primary key of the current layout seo siteuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSiteException
- if a layout seo site with the primary key could not be foundpublic static void removeByUuid(java.lang.String uuid)
uuid
- the uuidpublic static int countByUuid(java.lang.String uuid)
uuid
- the uuidpublic static LayoutSEOSite findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSiteException
NoSuchSiteException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchSiteException
- if a matching layout seo site could not be foundpublic static LayoutSEOSite fetchByUUID_G(java.lang.String uuid, long groupId)
null
if it could not be found. Uses the finder cache.uuid
- the uuidgroupId
- the group IDnull
if a matching layout seo site could not be foundpublic static LayoutSEOSite fetchByUUID_G(java.lang.String uuid, long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.uuid
- the uuidgroupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching layout seo site could not be foundpublic static LayoutSEOSite removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSiteException
uuid
- the uuidgroupId
- the group IDNoSuchSiteException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<LayoutSEOSite> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<LayoutSEOSite> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSEOSiteModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout seo sitesend
- the upper bound of the range of layout seo sites (not inclusive)public static java.util.List<LayoutSEOSite> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSEOSiteModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout seo sitesend
- the upper bound of the range of layout seo sites (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSEOSite> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSEOSiteModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout seo sitesend
- the upper bound of the range of layout seo sites (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSEOSite findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator) throws NoSuchSiteException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSiteException
- if a matching layout seo site could not be foundpublic static LayoutSEOSite fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout seo site could not be foundpublic static LayoutSEOSite findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator) throws NoSuchSiteException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSiteException
- if a matching layout seo site could not be foundpublic static LayoutSEOSite fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout seo site could not be foundpublic static LayoutSEOSite[] findByUuid_C_PrevAndNext(long layoutSEOSiteId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator) throws NoSuchSiteException
layoutSEOSiteId
- the primary key of the current layout seo siteuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchSiteException
- if a layout seo site with the primary key could not be foundpublic static void removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static int countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static LayoutSEOSite findByGroupId(long groupId) throws NoSuchSiteException
NoSuchSiteException
if it could not be found.groupId
- the group IDNoSuchSiteException
- if a matching layout seo site could not be foundpublic static LayoutSEOSite fetchByGroupId(long groupId)
null
if it could not be found. Uses the finder cache.groupId
- the group IDnull
if a matching layout seo site could not be foundpublic static LayoutSEOSite fetchByGroupId(long groupId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDuseFinderCache
- whether to use the finder cachenull
if a matching layout seo site could not be foundpublic static LayoutSEOSite removeByGroupId(long groupId) throws NoSuchSiteException
groupId
- the group IDNoSuchSiteException
public static int countByGroupId(long groupId)
groupId
- the group IDpublic static void cacheResult(LayoutSEOSite layoutSEOSite)
layoutSEOSite
- the layout seo sitepublic static void cacheResult(java.util.List<LayoutSEOSite> layoutSEOSites)
layoutSEOSites
- the layout seo sitespublic static LayoutSEOSite create(long layoutSEOSiteId)
layoutSEOSiteId
- the primary key for the new layout seo sitepublic static LayoutSEOSite remove(long layoutSEOSiteId) throws NoSuchSiteException
layoutSEOSiteId
- the primary key of the layout seo siteNoSuchSiteException
- if a layout seo site with the primary key could not be foundpublic static LayoutSEOSite updateImpl(LayoutSEOSite layoutSEOSite)
public static LayoutSEOSite findByPrimaryKey(long layoutSEOSiteId) throws NoSuchSiteException
NoSuchSiteException
if it could not be found.layoutSEOSiteId
- the primary key of the layout seo siteNoSuchSiteException
- if a layout seo site with the primary key could not be foundpublic static LayoutSEOSite fetchByPrimaryKey(long layoutSEOSiteId)
null
if it could not be found.layoutSEOSiteId
- the primary key of the layout seo sitenull
if a layout seo site with the primary key could not be foundpublic static java.util.List<LayoutSEOSite> findAll()
public static java.util.List<LayoutSEOSite> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSEOSiteModelImpl
.
start
- the lower bound of the range of layout seo sitesend
- the upper bound of the range of layout seo sites (not inclusive)public static java.util.List<LayoutSEOSite> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSEOSiteModelImpl
.
start
- the lower bound of the range of layout seo sitesend
- the upper bound of the range of layout seo sites (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSEOSite> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOSite> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from LayoutSEOSiteModelImpl
.
start
- the lower bound of the range of layout seo sitesend
- the upper bound of the range of layout seo sites (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static LayoutSEOSitePersistence getPersistence()