public class WikiPageResourcePersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>
implements com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence
Caching information and settings can be found in portal.properties
WikiPageResourcePersistence,
WikiPageResourceUtil| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_N_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_N_T |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
WikiPageResourcePersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the wiki page resource persistence.
|
void |
cacheResult(java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> wikiPageResources)
Caches the wiki page resources in the entity cache if it is enabled.
|
void |
cacheResult(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
Caches the wiki page resource in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource) |
void |
clearCache()
Clears the cache for all wiki page resources.
|
void |
clearCache(java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> wikiPageResources) |
void |
clearCache(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
Clears the cache for the wiki page resource.
|
protected void |
clearUniqueFindersCache(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource) |
int |
countAll()
Returns the number of wiki page resources.
|
int |
countByN_T(long nodeId,
java.lang.String title)
Returns the number of wiki page resources where nodeId = ? and title = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of wiki page resources where uuid = ?.
|
com.liferay.portlet.wiki.model.WikiPageResource |
create(long resourcePrimKey)
Creates a new wiki page resource with the primary key.
|
void |
destroy() |
com.liferay.portlet.wiki.model.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. |
com.liferay.portlet.wiki.model.WikiPageResource |
fetchByN_T(long nodeId,
java.lang.String title,
boolean retrieveFromCache)
Returns the wiki page resource where nodeId = ? and title = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portlet.wiki.model.WikiPageResource |
fetchByPrimaryKey(long resourcePrimKey)
Returns the wiki page resource with the primary key or returns
null if it could not be found. |
com.liferay.portlet.wiki.model.WikiPageResource |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the wiki page resource with the primary key or returns
null if it could not be found. |
com.liferay.portlet.wiki.model.WikiPageResource |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first wiki page resource in the ordered set where uuid = ?.
|
com.liferay.portlet.wiki.model.WikiPageResource |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last wiki page resource in the ordered set where uuid = ?.
|
java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> |
findAll()
Returns all the wiki page resources.
|
java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> |
findAll(int start,
int end)
Returns a range of all the wiki page resources.
|
java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the wiki page resources.
|
com.liferay.portlet.wiki.model.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. |
com.liferay.portlet.wiki.model.WikiPageResource |
findByPrimaryKey(long resourcePrimKey)
Returns the wiki page resource with the primary key or throws a
NoSuchPageResourceException if it could not be found. |
com.liferay.portlet.wiki.model.WikiPageResource |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the wiki page resource with the primary key or throws a
NoSuchModelException if it could not be found. |
com.liferay.portlet.wiki.model.WikiPageResource |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the first wiki page resource in the ordered set where uuid = ?.
|
com.liferay.portlet.wiki.model.WikiPageResource |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the last wiki page resource in the ordered set where uuid = ?.
|
com.liferay.portlet.wiki.model.WikiPageResource[] |
findByUuid_PrevAndNext(long resourcePrimKey,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns the wiki page resources before and after the current wiki page resource in the ordered set where uuid = ?.
|
java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> |
findByUuid(java.lang.String uuid)
Returns all the wiki page resources where uuid = ?.
|
java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the wiki page resources where uuid = ?.
|
java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
Returns an ordered range of all the wiki page resources where uuid = ?.
|
protected java.util.Set<java.lang.String> |
getBadColumnNames() |
protected com.liferay.portlet.wiki.model.WikiPageResource |
getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous) |
com.liferay.portlet.wiki.model.WikiPageResource |
remove(long resourcePrimKey)
Removes the wiki page resource with the primary key from the database.
|
com.liferay.portlet.wiki.model.WikiPageResource |
remove(java.io.Serializable primaryKey)
Removes the wiki page resource with the primary key from the database.
|
void |
removeAll()
Removes all the wiki page resources from the database.
|
com.liferay.portlet.wiki.model.WikiPageResource |
removeByN_T(long nodeId,
java.lang.String title)
Removes the wiki page resource where nodeId = ? and title = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the wiki page resources where uuid = ? from the database.
|
protected com.liferay.portlet.wiki.model.WikiPageResource |
removeImpl(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource) |
protected com.liferay.portlet.wiki.model.WikiPageResource |
toUnwrappedModel(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource) |
com.liferay.portlet.wiki.model.WikiPageResource |
updateImpl(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImplclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_N_T
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_N_T
public java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
findByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findByUuid(java.lang.String uuid,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageResourceModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceuuid - the uuidstart - the lower bound of the range of wiki page resourcesend - the upper bound of the range of wiki page resources (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageResourceModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceuuid - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.wiki.NoSuchPageResourceException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_First in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.wiki.NoSuchPageResourceException - if a matching wiki page resource could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUuid_First in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching wiki page resource could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.wiki.NoSuchPageResourceException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_Last in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.wiki.NoSuchPageResourceException - if a matching wiki page resource could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
fetchByUuid_Last in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)null if a matching wiki page resource could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource[] findByUuid_PrevAndNext(long resourcePrimKey,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portlet.wiki.NoSuchPageResourceException,
com.liferay.portal.kernel.exception.SystemException
findByUuid_PrevAndNext in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceresourcePrimKey - the primary key of the current wiki page resourceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)com.liferay.portlet.wiki.NoSuchPageResourceException - if a wiki page resource with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.wiki.model.WikiPageResource getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
boolean previous)
public void removeByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
removeByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
countByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceuuid - the uuidcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource findByN_T(long nodeId,
java.lang.String title)
throws com.liferay.portlet.wiki.NoSuchPageResourceException,
com.liferay.portal.kernel.exception.SystemException
NoSuchPageResourceException if it could not be found.findByN_T in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencenodeId - the node IDtitle - the titlecom.liferay.portlet.wiki.NoSuchPageResourceException - if a matching wiki page resource could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource fetchByN_T(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found. Uses the finder cache.fetchByN_T in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencenodeId - the node IDtitle - the titlenull if a matching wiki page resource could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource fetchByN_T(long nodeId,
java.lang.String title,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found, optionally using the finder cache.fetchByN_T in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencenodeId - the node IDtitle - the titleretrieveFromCache - whether to use the finder cachenull if a matching wiki page resource could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource removeByN_T(long nodeId,
java.lang.String title)
throws com.liferay.portlet.wiki.NoSuchPageResourceException,
com.liferay.portal.kernel.exception.SystemException
removeByN_T in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencenodeId - the node IDtitle - the titlecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredcom.liferay.portlet.wiki.NoSuchPageResourceExceptionpublic int countByN_T(long nodeId,
java.lang.String title)
throws com.liferay.portal.kernel.exception.SystemException
countByN_T in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencenodeId - the node IDtitle - the titlecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void cacheResult(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
cacheResult in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencewikiPageResource - the wiki page resourcepublic void cacheResult(java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> wikiPageResources)
cacheResult in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencewikiPageResources - the wiki page resourcespublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.wiki.model.WikiPageResource>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>public void clearCache(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.wiki.model.WikiPageResource>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>public void clearCache(java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> wikiPageResources)
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.wiki.model.WikiPageResource>clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>protected void cacheUniqueFindersCache(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
protected void clearUniqueFindersCache(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
public com.liferay.portlet.wiki.model.WikiPageResource create(long resourcePrimKey)
create in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceresourcePrimKey - the primary key for the new wiki page resourcepublic com.liferay.portlet.wiki.model.WikiPageResource remove(long resourcePrimKey)
throws com.liferay.portlet.wiki.NoSuchPageResourceException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceresourcePrimKey - the primary key of the wiki page resourcecom.liferay.portlet.wiki.NoSuchPageResourceException - if a wiki page resource with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource remove(java.io.Serializable primaryKey)
throws com.liferay.portlet.wiki.NoSuchPageResourceException,
com.liferay.portal.kernel.exception.SystemException
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.wiki.model.WikiPageResource>remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>primaryKey - the primary key of the wiki page resourcecom.liferay.portlet.wiki.NoSuchPageResourceException - if a wiki page resource with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected com.liferay.portlet.wiki.model.WikiPageResource removeImpl(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
throws com.liferay.portal.kernel.exception.SystemException
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.wiki.model.WikiPageResource updateImpl(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
throws com.liferay.portal.kernel.exception.SystemException
updateImpl in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceupdateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>com.liferay.portal.kernel.exception.SystemExceptionprotected com.liferay.portlet.wiki.model.WikiPageResource toUnwrappedModel(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource)
public com.liferay.portlet.wiki.model.WikiPageResource findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portlet.wiki.NoSuchPageResourceException,
com.liferay.portal.kernel.exception.SystemException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.wiki.model.WikiPageResource>findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>primaryKey - the primary key of the wiki page resourcecom.liferay.portlet.wiki.NoSuchPageResourceException - if a wiki page resource with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource findByPrimaryKey(long resourcePrimKey)
throws com.liferay.portlet.wiki.NoSuchPageResourceException,
com.liferay.portal.kernel.exception.SystemException
NoSuchPageResourceException if it could not be found.findByPrimaryKey in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceresourcePrimKey - the primary key of the wiki page resourcecom.liferay.portlet.wiki.NoSuchPageResourceException - if a wiki page resource with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource fetchByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.wiki.model.WikiPageResource>fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>primaryKey - the primary key of the wiki page resourcenull if a wiki page resource with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic com.liferay.portlet.wiki.model.WikiPageResource fetchByPrimaryKey(long resourcePrimKey)
throws com.liferay.portal.kernel.exception.SystemException
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceresourcePrimKey - the primary key of the wiki page resourcenull if a wiki page resource with the primary key could not be foundcom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll()
throws com.liferay.portal.kernel.exception.SystemException
findAll in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageResourceModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencestart - the lower bound of the range of wiki page resourcesend - the upper bound of the range of wiki page resources (not inclusive)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic java.util.List<com.liferay.portlet.wiki.model.WikiPageResource> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageResourceModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencestart - 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)com.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
removeAll in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredpublic int countAll()
throws com.liferay.portal.kernel.exception.SystemException
countAll in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistencecom.liferay.portal.kernel.exception.SystemException - if a system exception occurredprotected java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>public void afterPropertiesSet()
public void destroy()