|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.wiki.model.WikiPageResource>
com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceImpl
public class WikiPageResourcePersistenceImpl
The persistence implementation for the wiki page resource service.
Caching information and settings can be found in portal.properties
WikiPageResourcePersistence,
WikiPageResourceUtil| Field Summary | |
|---|---|
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
|
protected com.liferay.portal.service.persistence.ResourcePersistence |
resourcePersistence
|
protected com.liferay.portal.service.persistence.UserPersistence |
userPersistence
|
protected com.liferay.portlet.wiki.service.persistence.WikiNodePersistence |
wikiNodePersistence
|
protected com.liferay.portlet.wiki.service.persistence.WikiPagePersistence |
wikiPagePersistence
|
protected com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence |
wikiPageResourcePersistence
|
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
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 Summary | |
|---|---|
WikiPageResourcePersistenceImpl()
|
|
| Method Summary | |
|---|---|
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. |
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. |
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 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. |
void |
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,
boolean merge)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update |
| Field Detail |
|---|
public 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_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 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
@BeanReference(type=com.liferay.portlet.wiki.service.persistence.WikiNodePersistence.class) protected com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence
@BeanReference(type=com.liferay.portlet.wiki.service.persistence.WikiPagePersistence.class) protected com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence
@BeanReference(type=com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence.class) protected com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class) protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class) protected com.liferay.portal.service.persistence.UserPersistence userPersistence
| Constructor Detail |
|---|
public WikiPageResourcePersistenceImpl()
| Method Detail |
|---|
public 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 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 resource
public 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 resource
com.liferay.portlet.wiki.NoSuchPageResourceException - if a wiki page resource with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 resource
com.liferay.portlet.wiki.NoSuchPageResourceException - if a wiki page resource with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
protected 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.SystemException
public com.liferay.portlet.wiki.model.WikiPageResource updateImpl(com.liferay.portlet.wiki.model.WikiPageResource wikiPageResource,
boolean merge)
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.portal.NoSuchModelException,
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 resource
com.liferay.portal.NoSuchModelException - if a wiki page resource with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 resource
com.liferay.portlet.wiki.NoSuchPageResourceException - if a wiki page resource with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 resource
null if a wiki page resource with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 resource
null if a wiki page resource with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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 uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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.
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 occurred
public 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.
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 occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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
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.
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 found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
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)
public 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 title
com.liferay.portlet.wiki.NoSuchPageResourceException - if a matching wiki page resource could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 title
null if a matching wiki page resource could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 cache
null if a matching wiki page resource could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 occurred
public 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.
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 occurred
public 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.
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 occurred
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 uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public void 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 title
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.wiki.NoSuchPageResourceException
public 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 occurred
public int countByUuid(java.lang.String uuid)
throws com.liferay.portal.kernel.exception.SystemException
countByUuid in interface com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistenceuuid - the uuid
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 title
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
public 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 occurredpublic void afterPropertiesSet()
public void destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||