@ProviderType public interface LayoutSEOSitePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<LayoutSEOSite>
Caching information and settings can be found in portal.properties
LayoutSEOSiteUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(LayoutSEOSite layoutSEOSite)
Caches the layout seo site in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<LayoutSEOSite> layoutSEOSites)
Caches the layout seo sites in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of layout seo sites.
|
int |
countByGroupId(long groupId)
Returns the number of layout seo sites where groupId = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of layout seo sites where uuid = ? and companyId = ?.
|
int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of layout seo sites where uuid = ? and groupId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of layout seo sites where uuid = ?.
|
LayoutSEOSite |
create(long layoutSEOSiteId)
Creates a new layout seo site with the primary key.
|
LayoutSEOSite |
fetchByGroupId(long groupId)
Returns the layout seo site where groupId = ? or returns
null if it could not be found. |
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. |
LayoutSEOSite |
fetchByPrimaryKey(long layoutSEOSiteId)
Returns the layout seo site with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
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 = ?.
|
java.util.List<LayoutSEOSite> |
findAll()
Returns all the layout seo sites.
|
java.util.List<LayoutSEOSite> |
findAll(int start,
int end)
Returns a range of all the layout seo sites.
|
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.
|
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.
|
LayoutSEOSite |
findByGroupId(long groupId)
Returns the layout seo site where groupId = ? or throws a
NoSuchSiteException if it could not be found. |
LayoutSEOSite |
findByPrimaryKey(long layoutSEOSiteId)
Returns the layout seo site with the primary key or throws a
NoSuchSiteException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<LayoutSEOSite> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the layout seo sites where uuid = ? and companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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 = ?.
|
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 = ?.
|
java.util.List<LayoutSEOSite> |
findByUuid(java.lang.String uuid)
Returns all the layout seo sites where uuid = ?.
|
java.util.List<LayoutSEOSite> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the layout seo sites where uuid = ?.
|
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 = ?.
|
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 = ?.
|
LayoutSEOSite |
remove(long layoutSEOSiteId)
Removes the layout seo site with the primary key from the database.
|
void |
removeAll()
Removes all the layout seo sites from the database.
|
LayoutSEOSite |
removeByGroupId(long groupId)
Removes the layout seo site where groupId = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the layout seo sites where uuid = ? and companyId = ? from the database.
|
LayoutSEOSite |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the layout seo site where uuid = ? and groupId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the layout seo sites where uuid = ? from the database.
|
LayoutSEOSite |
updateImpl(LayoutSEOSite layoutSEOSite) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<LayoutSEOSite> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.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)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
)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 cacheLayoutSEOSite 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 foundLayoutSEOSite 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 foundLayoutSEOSite 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 foundLayoutSEOSite 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 foundLayoutSEOSite[] 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 foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidLayoutSEOSite 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 foundLayoutSEOSite 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 foundLayoutSEOSite 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 foundLayoutSEOSite removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchSiteException
uuid
- the uuidgroupId
- the group IDNoSuchSiteException
int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDjava.util.List<LayoutSEOSite> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.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)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
)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 cacheLayoutSEOSite 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 foundLayoutSEOSite 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 foundLayoutSEOSite 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 foundLayoutSEOSite 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 foundLayoutSEOSite[] 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 foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDLayoutSEOSite 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 foundLayoutSEOSite 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 foundLayoutSEOSite 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 foundLayoutSEOSite removeByGroupId(long groupId) throws NoSuchSiteException
groupId
- the group IDNoSuchSiteException
int countByGroupId(long groupId)
groupId
- the group IDvoid cacheResult(LayoutSEOSite layoutSEOSite)
layoutSEOSite
- the layout seo sitevoid cacheResult(java.util.List<LayoutSEOSite> layoutSEOSites)
layoutSEOSites
- the layout seo sitesLayoutSEOSite create(long layoutSEOSiteId)
layoutSEOSiteId
- the primary key for the new layout seo siteLayoutSEOSite 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 foundLayoutSEOSite updateImpl(LayoutSEOSite layoutSEOSite)
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 foundLayoutSEOSite 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 foundjava.util.List<LayoutSEOSite> findAll()
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)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
)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 cachevoid removeAll()
int countAll()