public class LayoutSEOEntryUtil
extends java.lang.Object
com.liferay.layout.seo.service.persistence.impl.LayoutSEOEntryPersistenceImpl
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
LayoutSEOEntryPersistence
Constructor and Description |
---|
LayoutSEOEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(LayoutSEOEntry layoutSEOEntry)
Caches the layout seo entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<LayoutSEOEntry> layoutSEOEntries)
Caches the layout seo entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(LayoutSEOEntry layoutSEOEntry) |
static int |
countAll()
Returns the number of layout seo entries.
|
static int |
countByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the number of layout seo entries where groupId = ? and privateLayout = ? and layoutId = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout seo entries where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of layout seo entries where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of layout seo entries where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static LayoutSEOEntry |
create(long layoutSEOEntryId)
Creates a new layout seo entry with the primary key.
|
static LayoutSEOEntry |
fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the layout seo entry where groupId = ? and privateLayout = ? and layoutId = ? or returns
null if it could not be found. |
static LayoutSEOEntry |
fetchByG_P_L(long groupId,
boolean privateLayout,
long layoutId,
boolean useFinderCache)
Returns the layout seo entry where groupId = ? and privateLayout = ? and layoutId = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutSEOEntry |
fetchByPrimaryKey(long layoutSEOEntryId)
Returns the layout seo entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,LayoutSEOEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static LayoutSEOEntry |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns the first layout seo entry in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSEOEntry |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns the last layout seo entry in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSEOEntry |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns the first layout seo entry in the ordered set where uuid = ?.
|
static LayoutSEOEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout seo entry where uuid = ? and groupId = ? or returns
null if it could not be found. |
static LayoutSEOEntry |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the layout seo entry where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static LayoutSEOEntry |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns the last layout seo entry in the ordered set where uuid = ?.
|
static java.util.List<LayoutSEOEntry> |
findAll()
Returns all the layout seo entries.
|
static java.util.List<LayoutSEOEntry> |
findAll(int start,
int end)
Returns a range of all the layout seo entries.
|
static java.util.List<LayoutSEOEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns an ordered range of all the layout seo entries.
|
static java.util.List<LayoutSEOEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout seo entries.
|
static LayoutSEOEntry |
findByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Returns the layout seo entry where groupId = ? and privateLayout = ? and layoutId = ? or throws a
NoSuchEntryException if it could not be found. |
static LayoutSEOEntry |
findByPrimaryKey(long layoutSEOEntryId)
Returns the layout seo entry with the primary key or throws a
NoSuchEntryException if it could not be found. |
static LayoutSEOEntry |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns the first layout seo entry in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSEOEntry |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns the last layout seo entry in the ordered set where uuid = ? and companyId = ?.
|
static LayoutSEOEntry[] |
findByUuid_C_PrevAndNext(long layoutSEOEntryId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns the layout seo entries before and after the current layout seo entry in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<LayoutSEOEntry> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout seo entries where uuid = ? and companyId = ?.
|
static java.util.List<LayoutSEOEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the layout seo entries where uuid = ? and companyId = ?.
|
static java.util.List<LayoutSEOEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns an ordered range of all the layout seo entries where uuid = ? and companyId = ?.
|
static java.util.List<LayoutSEOEntry> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout seo entries where uuid = ? and companyId = ?.
|
static LayoutSEOEntry |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns the first layout seo entry in the ordered set where uuid = ?.
|
static LayoutSEOEntry |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the layout seo entry where uuid = ? and groupId = ? or throws a
NoSuchEntryException if it could not be found. |
static LayoutSEOEntry |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns the last layout seo entry in the ordered set where uuid = ?.
|
static LayoutSEOEntry[] |
findByUuid_PrevAndNext(long layoutSEOEntryId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns the layout seo entries before and after the current layout seo entry in the ordered set where uuid = ?.
|
static java.util.List<LayoutSEOEntry> |
findByUuid(java.lang.String uuid)
Returns all the layout seo entries where uuid = ?.
|
static java.util.List<LayoutSEOEntry> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout seo entries where uuid = ?.
|
static java.util.List<LayoutSEOEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
Returns an ordered range of all the layout seo entries where uuid = ?.
|
static java.util.List<LayoutSEOEntry> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the layout seo entries where uuid = ?.
|
static java.util.List<LayoutSEOEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<LayoutSEOEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<LayoutSEOEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator) |
static LayoutSEOEntryPersistence |
getPersistence() |
static LayoutSEOEntry |
remove(long layoutSEOEntryId)
Removes the layout seo entry with the primary key from the database.
|
static void |
removeAll()
Removes all the layout seo entries from the database.
|
static LayoutSEOEntry |
removeByG_P_L(long groupId,
boolean privateLayout,
long layoutId)
Removes the layout seo entry where groupId = ? and privateLayout = ? and layoutId = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the layout seo entries where uuid = ? and companyId = ? from the database.
|
static LayoutSEOEntry |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the layout seo entry where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the layout seo entries where uuid = ? from the database.
|
static LayoutSEOEntry |
update(LayoutSEOEntry layoutSEOEntry) |
static LayoutSEOEntry |
update(LayoutSEOEntry layoutSEOEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static LayoutSEOEntry |
updateImpl(LayoutSEOEntry layoutSEOEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(LayoutSEOEntry layoutSEOEntry)
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,LayoutSEOEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<LayoutSEOEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<LayoutSEOEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<LayoutSEOEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static LayoutSEOEntry update(LayoutSEOEntry layoutSEOEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static LayoutSEOEntry update(LayoutSEOEntry layoutSEOEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<LayoutSEOEntry> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<LayoutSEOEntry> 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 LayoutSEOEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout seo entriesend
- the upper bound of the range of layout seo entries (not inclusive)public static java.util.List<LayoutSEOEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> 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 LayoutSEOEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout seo entriesend
- the upper bound of the range of layout seo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSEOEntry> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> 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 LayoutSEOEntryModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of layout seo entriesend
- the upper bound of the range of layout seo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSEOEntry findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching layout seo entry could not be foundpublic static LayoutSEOEntry fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout seo entry could not be foundpublic static LayoutSEOEntry findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching layout seo entry could not be foundpublic static LayoutSEOEntry fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout seo entry could not be foundpublic static LayoutSEOEntry[] findByUuid_PrevAndNext(long layoutSEOEntryId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator) throws NoSuchEntryException
layoutSEOEntryId
- the primary key of the current layout seo entryuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a layout seo entry 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 LayoutSEOEntry findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchEntryException
- if a matching layout seo entry could not be foundpublic static LayoutSEOEntry 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 entry could not be foundpublic static LayoutSEOEntry 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 entry could not be foundpublic static LayoutSEOEntry removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchEntryException
uuid
- the uuidgroupId
- the group IDNoSuchEntryException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<LayoutSEOEntry> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<LayoutSEOEntry> 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 LayoutSEOEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout seo entriesend
- the upper bound of the range of layout seo entries (not inclusive)public static java.util.List<LayoutSEOEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> 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 LayoutSEOEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout seo entriesend
- the upper bound of the range of layout seo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSEOEntry> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> 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 LayoutSEOEntryModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of layout seo entriesend
- the upper bound of the range of layout seo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static LayoutSEOEntry findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching layout seo entry could not be foundpublic static LayoutSEOEntry fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout seo entry could not be foundpublic static LayoutSEOEntry findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator) throws NoSuchEntryException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a matching layout seo entry could not be foundpublic static LayoutSEOEntry fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout seo entry could not be foundpublic static LayoutSEOEntry[] findByUuid_C_PrevAndNext(long layoutSEOEntryId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> orderByComparator) throws NoSuchEntryException
layoutSEOEntryId
- the primary key of the current layout seo entryuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchEntryException
- if a layout seo entry 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 LayoutSEOEntry findByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDNoSuchEntryException
- if a matching layout seo entry could not be foundpublic static LayoutSEOEntry fetchByG_P_L(long groupId, boolean privateLayout, long layoutId)
null
if it could not be found. Uses the finder cache.groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDnull
if a matching layout seo entry could not be foundpublic static LayoutSEOEntry fetchByG_P_L(long groupId, boolean privateLayout, long layoutId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDuseFinderCache
- whether to use the finder cachenull
if a matching layout seo entry could not be foundpublic static LayoutSEOEntry removeByG_P_L(long groupId, boolean privateLayout, long layoutId) throws NoSuchEntryException
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDNoSuchEntryException
public static int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
groupId
- the group IDprivateLayout
- the private layoutlayoutId
- the layout IDpublic static void cacheResult(LayoutSEOEntry layoutSEOEntry)
layoutSEOEntry
- the layout seo entrypublic static void cacheResult(java.util.List<LayoutSEOEntry> layoutSEOEntries)
layoutSEOEntries
- the layout seo entriespublic static LayoutSEOEntry create(long layoutSEOEntryId)
layoutSEOEntryId
- the primary key for the new layout seo entrypublic static LayoutSEOEntry remove(long layoutSEOEntryId) throws NoSuchEntryException
layoutSEOEntryId
- the primary key of the layout seo entryNoSuchEntryException
- if a layout seo entry with the primary key could not be foundpublic static LayoutSEOEntry updateImpl(LayoutSEOEntry layoutSEOEntry)
public static LayoutSEOEntry findByPrimaryKey(long layoutSEOEntryId) throws NoSuchEntryException
NoSuchEntryException
if it could not be found.layoutSEOEntryId
- the primary key of the layout seo entryNoSuchEntryException
- if a layout seo entry with the primary key could not be foundpublic static LayoutSEOEntry fetchByPrimaryKey(long layoutSEOEntryId)
null
if it could not be found.layoutSEOEntryId
- the primary key of the layout seo entrynull
if a layout seo entry with the primary key could not be foundpublic static java.util.List<LayoutSEOEntry> findAll()
public static java.util.List<LayoutSEOEntry> 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 LayoutSEOEntryModelImpl
.
start
- the lower bound of the range of layout seo entriesend
- the upper bound of the range of layout seo entries (not inclusive)public static java.util.List<LayoutSEOEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> 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 LayoutSEOEntryModelImpl
.
start
- the lower bound of the range of layout seo entriesend
- the upper bound of the range of layout seo entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<LayoutSEOEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<LayoutSEOEntry> 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 LayoutSEOEntryModelImpl
.
start
- the lower bound of the range of layout seo entriesend
- the upper bound of the range of layout seo entries (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 LayoutSEOEntryPersistence getPersistence()