public class WikiPageResourceUtil
extends java.lang.Object
com.liferay.wiki.service.persistence.impl.WikiPageResourcePersistenceImpl
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
WikiPageResourcePersistence
Constructor and Description |
---|
WikiPageResourceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(java.util.List<WikiPageResource> wikiPageResources)
Caches the wiki page resources in the entity cache if it is enabled.
|
static void |
cacheResult(WikiPageResource wikiPageResource)
Caches the wiki page resource in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(WikiPageResource wikiPageResource) |
static int |
countAll()
Returns the number of wiki page resources.
|
static int |
countByN_T(long nodeId,
java.lang.String title)
Returns the number of wiki page resources where nodeId = ? and title = ?.
|
static int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of wiki page resources where uuid = ? and companyId = ?.
|
static int |
countByUUID_G(java.lang.String uuid,
long groupId)
Returns the number of wiki page resources where uuid = ? and groupId = ?.
|
static int |
countByUuid(java.lang.String uuid)
Returns the number of wiki page resources where uuid = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static WikiPageResource |
create(long resourcePrimKey)
Creates a new wiki page resource with the primary key.
|
static WikiPageResource |
fetchByN_T(long nodeId,
java.lang.String title)
Returns the wiki page resource where nodeId = ? and title = ? or returns
null if it could not be found. |
static WikiPageResource |
fetchByN_T(long nodeId,
java.lang.String title,
boolean useFinderCache)
Returns the wiki page resource where nodeId = ? and title = ? or returns
null if it could not be found, optionally using the finder cache. |
static WikiPageResource |
fetchByPrimaryKey(long resourcePrimKey)
Returns the wiki page resource with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,WikiPageResource> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static WikiPageResource |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns the first wiki page resource in the ordered set where uuid = ? and companyId = ?.
|
static WikiPageResource |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns the last wiki page resource in the ordered set where uuid = ? and companyId = ?.
|
static WikiPageResource |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns the first wiki page resource in the ordered set where uuid = ?.
|
static WikiPageResource |
fetchByUUID_G(java.lang.String uuid,
long groupId)
Returns the wiki page resource where uuid = ? and groupId = ? or returns
null if it could not be found. |
static WikiPageResource |
fetchByUUID_G(java.lang.String uuid,
long groupId,
boolean useFinderCache)
Returns the wiki page resource where uuid = ? and groupId = ? or returns
null if it could not be found, optionally using the finder cache. |
static WikiPageResource |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns the last wiki page resource in the ordered set where uuid = ?.
|
static java.util.List<WikiPageResource> |
findAll()
Returns all the wiki page resources.
|
static java.util.List<WikiPageResource> |
findAll(int start,
int end)
Returns a range of all the wiki page resources.
|
static java.util.List<WikiPageResource> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns an ordered range of all the wiki page resources.
|
static java.util.List<WikiPageResource> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the wiki page resources.
|
static WikiPageResource |
findByN_T(long nodeId,
java.lang.String title)
Returns the wiki page resource where nodeId = ? and title = ? or throws a
NoSuchPageResourceException if it could not be found. |
static WikiPageResource |
findByPrimaryKey(long resourcePrimKey)
Returns the wiki page resource with the primary key or throws a
NoSuchPageResourceException if it could not be found. |
static WikiPageResource |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns the first wiki page resource in the ordered set where uuid = ? and companyId = ?.
|
static WikiPageResource |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns the last wiki page resource in the ordered set where uuid = ? and companyId = ?.
|
static WikiPageResource[] |
findByUuid_C_PrevAndNext(long resourcePrimKey,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns the wiki page resources before and after the current wiki page resource in the ordered set where uuid = ? and companyId = ?.
|
static java.util.List<WikiPageResource> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the wiki page resources where uuid = ? and companyId = ?.
|
static java.util.List<WikiPageResource> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the wiki page resources where uuid = ? and companyId = ?.
|
static java.util.List<WikiPageResource> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns an ordered range of all the wiki page resources where uuid = ? and companyId = ?.
|
static java.util.List<WikiPageResource> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the wiki page resources where uuid = ? and companyId = ?.
|
static WikiPageResource |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns the first wiki page resource in the ordered set where uuid = ?.
|
static WikiPageResource |
findByUUID_G(java.lang.String uuid,
long groupId)
Returns the wiki page resource where uuid = ? and groupId = ? or throws a
NoSuchPageResourceException if it could not be found. |
static WikiPageResource |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns the last wiki page resource in the ordered set where uuid = ?.
|
static WikiPageResource[] |
findByUuid_PrevAndNext(long resourcePrimKey,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns the wiki page resources before and after the current wiki page resource in the ordered set where uuid = ?.
|
static java.util.List<WikiPageResource> |
findByUuid(java.lang.String uuid)
Returns all the wiki page resources where uuid = ?.
|
static java.util.List<WikiPageResource> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the wiki page resources where uuid = ?.
|
static java.util.List<WikiPageResource> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
Returns an ordered range of all the wiki page resources where uuid = ?.
|
static java.util.List<WikiPageResource> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the wiki page resources where uuid = ?.
|
static java.util.List<WikiPageResource> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<WikiPageResource> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<WikiPageResource> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator) |
static WikiPageResourcePersistence |
getPersistence() |
static WikiPageResource |
remove(long resourcePrimKey)
Removes the wiki page resource with the primary key from the database.
|
static void |
removeAll()
Removes all the wiki page resources from the database.
|
static WikiPageResource |
removeByN_T(long nodeId,
java.lang.String title)
Removes the wiki page resource where nodeId = ? and title = ? from the database.
|
static void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the wiki page resources where uuid = ? and companyId = ? from the database.
|
static WikiPageResource |
removeByUUID_G(java.lang.String uuid,
long groupId)
Removes the wiki page resource where uuid = ? and groupId = ? from the database.
|
static void |
removeByUuid(java.lang.String uuid)
Removes all the wiki page resources where uuid = ? from the database.
|
static WikiPageResource |
update(WikiPageResource wikiPageResource) |
static WikiPageResource |
update(WikiPageResource wikiPageResource,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static WikiPageResource |
updateImpl(WikiPageResource wikiPageResource) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(WikiPageResource wikiPageResource)
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,WikiPageResource> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<WikiPageResource> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<WikiPageResource> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<WikiPageResource> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static WikiPageResource update(WikiPageResource wikiPageResource)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static WikiPageResource update(WikiPageResource wikiPageResource, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<WikiPageResource> findByUuid(java.lang.String uuid)
uuid
- the uuidpublic static java.util.List<WikiPageResource> 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 WikiPageResourceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (not inclusive)public static java.util.List<WikiPageResource> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> 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 WikiPageResourceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WikiPageResource> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> 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 WikiPageResourceModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static WikiPageResource findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator) throws NoSuchPageResourceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageResourceException
- if a matching wiki page resource could not be foundpublic static WikiPageResource fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wiki page resource could not be foundpublic static WikiPageResource findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator) throws NoSuchPageResourceException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageResourceException
- if a matching wiki page resource could not be foundpublic static WikiPageResource fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wiki page resource could not be foundpublic static WikiPageResource[] findByUuid_PrevAndNext(long resourcePrimKey, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator) throws NoSuchPageResourceException
resourcePrimKey
- the primary key of the current wiki page resourceuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageResourceException
- if a wiki page resource 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 WikiPageResource findByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPageResourceException
NoSuchPageResourceException
if it could not be found.uuid
- the uuidgroupId
- the group IDNoSuchPageResourceException
- if a matching wiki page resource could not be foundpublic static WikiPageResource 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 wiki page resource could not be foundpublic static WikiPageResource 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 wiki page resource could not be foundpublic static WikiPageResource removeByUUID_G(java.lang.String uuid, long groupId) throws NoSuchPageResourceException
uuid
- the uuidgroupId
- the group IDNoSuchPageResourceException
public static int countByUUID_G(java.lang.String uuid, long groupId)
uuid
- the uuidgroupId
- the group IDpublic static java.util.List<WikiPageResource> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDpublic static java.util.List<WikiPageResource> 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 WikiPageResourceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (not inclusive)public static java.util.List<WikiPageResource> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> 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 WikiPageResourceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WikiPageResource> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> 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 WikiPageResourceModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static WikiPageResource findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator) throws NoSuchPageResourceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageResourceException
- if a matching wiki page resource could not be foundpublic static WikiPageResource fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wiki page resource could not be foundpublic static WikiPageResource findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator) throws NoSuchPageResourceException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageResourceException
- if a matching wiki page resource could not be foundpublic static WikiPageResource fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching wiki page resource could not be foundpublic static WikiPageResource[] findByUuid_C_PrevAndNext(long resourcePrimKey, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> orderByComparator) throws NoSuchPageResourceException
resourcePrimKey
- the primary key of the current wiki page resourceuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchPageResourceException
- if a wiki page resource 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 WikiPageResource findByN_T(long nodeId, java.lang.String title) throws NoSuchPageResourceException
NoSuchPageResourceException
if it could not be found.nodeId
- the node IDtitle
- the titleNoSuchPageResourceException
- if a matching wiki page resource could not be foundpublic static WikiPageResource fetchByN_T(long nodeId, java.lang.String title)
null
if it could not be found. Uses the finder cache.nodeId
- the node IDtitle
- the titlenull
if a matching wiki page resource could not be foundpublic static WikiPageResource fetchByN_T(long nodeId, java.lang.String title, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.nodeId
- the node IDtitle
- the titleuseFinderCache
- whether to use the finder cachenull
if a matching wiki page resource could not be foundpublic static WikiPageResource removeByN_T(long nodeId, java.lang.String title) throws NoSuchPageResourceException
nodeId
- the node IDtitle
- the titleNoSuchPageResourceException
public static int countByN_T(long nodeId, java.lang.String title)
nodeId
- the node IDtitle
- the titlepublic static void cacheResult(WikiPageResource wikiPageResource)
wikiPageResource
- the wiki page resourcepublic static void cacheResult(java.util.List<WikiPageResource> wikiPageResources)
wikiPageResources
- the wiki page resourcespublic static WikiPageResource create(long resourcePrimKey)
resourcePrimKey
- the primary key for the new wiki page resourcepublic static WikiPageResource remove(long resourcePrimKey) throws NoSuchPageResourceException
resourcePrimKey
- the primary key of the wiki page resourceNoSuchPageResourceException
- if a wiki page resource with the primary key could not be foundpublic static WikiPageResource updateImpl(WikiPageResource wikiPageResource)
public static WikiPageResource findByPrimaryKey(long resourcePrimKey) throws NoSuchPageResourceException
NoSuchPageResourceException
if it could not be found.resourcePrimKey
- the primary key of the wiki page resourceNoSuchPageResourceException
- if a wiki page resource with the primary key could not be foundpublic static WikiPageResource fetchByPrimaryKey(long resourcePrimKey)
null
if it could not be found.resourcePrimKey
- the primary key of the wiki page resourcenull
if a wiki page resource with the primary key could not be foundpublic static java.util.List<WikiPageResource> findAll()
public static java.util.List<WikiPageResource> 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 WikiPageResourceModelImpl
.
start
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (not inclusive)public static java.util.List<WikiPageResource> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> 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 WikiPageResourceModelImpl
.
start
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<WikiPageResource> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPageResource> 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 WikiPageResourceModelImpl
.
start
- the lower bound of the range of wiki page resourcesend
- the upper bound of the range of wiki page resources (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 WikiPageResourcePersistence getPersistence()