com.liferay.portlet.wiki.service.base
Class WikiNodeLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portlet.wiki.service.base.WikiNodeLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.wiki.service.WikiNodeLocalService
Direct Known Subclasses:
WikiNodeLocalServiceImpl

public abstract class WikiNodeLocalServiceBaseImpl
extends java.lang.Object
implements com.liferay.portlet.wiki.service.WikiNodeLocalService, com.liferay.portal.kernel.bean.IdentifiableBean

The base implementation of the wiki node local service.

This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in WikiNodeLocalServiceImpl.

Author:
Brian Wing Shun Chan
See Also:
WikiNodeLocalServiceImpl, WikiNodeLocalServiceUtil
Generated:

Field Summary
protected  com.liferay.counter.service.CounterLocalService counterLocalService
           
protected  com.liferay.portal.service.persistence.GroupFinder groupFinder
           
protected  com.liferay.portal.service.GroupLocalService groupLocalService
           
protected  com.liferay.portal.service.persistence.GroupPersistence groupPersistence
           
protected  com.liferay.portal.service.GroupService groupService
           
protected  com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  com.liferay.portal.service.persistence.ResourceFinder resourceFinder
           
protected  com.liferay.portal.service.ResourceLocalService resourceLocalService
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.ResourceService resourceService
           
protected  com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService
           
protected  com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence
           
protected  com.liferay.portal.service.persistence.UserFinder userFinder
           
protected  com.liferay.portal.service.UserLocalService userLocalService
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portal.service.UserService userService
           
protected  com.liferay.portlet.wiki.service.WikiNodeLocalService wikiNodeLocalService
           
protected  com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence
           
protected  com.liferay.portlet.wiki.service.WikiNodeService wikiNodeService
           
protected  com.liferay.portlet.wiki.service.persistence.WikiPageFinder wikiPageFinder
           
protected  com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService
           
protected  com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence
           
protected  com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService
           
protected  com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence
           
protected  com.liferay.portlet.wiki.service.WikiPageService wikiPageService
           
 
Constructor Summary
WikiNodeLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.portlet.wiki.model.WikiNode addWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
          Adds the wiki node to the database.
 void afterPropertiesSet()
           
 com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId)
          Creates a new wiki node with the primary key.
 void deleteWikiNode(long nodeId)
          Deletes the wiki node with the primary key from the database.
 void deleteWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
          Deletes the wiki node from the database.
 void destroy()
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 com.liferay.portlet.wiki.model.WikiNode fetchWikiNode(long nodeId)
           
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 com.liferay.counter.service.CounterLocalService getCounterLocalService()
          Returns the counter local service.
 com.liferay.portal.service.persistence.GroupFinder getGroupFinder()
          Returns the group finder.
 com.liferay.portal.service.GroupLocalService getGroupLocalService()
          Returns the group local service.
 com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence()
          Returns the group persistence.
 com.liferay.portal.service.GroupService getGroupService()
          Returns the group remote service.
protected  java.lang.Class<?> getModelClass()
           
protected  java.lang.String getModelClassName()
           
 com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
           
 com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
          Returns the resource finder.
 com.liferay.portal.service.ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 com.liferay.portal.service.ResourceService getResourceService()
          Returns the resource remote service.
 com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService()
          Returns the subscription local service.
 com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence()
          Returns the subscription persistence.
 com.liferay.portal.service.persistence.UserFinder getUserFinder()
          Returns the user finder.
 com.liferay.portal.service.UserLocalService getUserLocalService()
          Returns the user local service.
 com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
          Returns the user persistence.
 com.liferay.portal.service.UserService getUserService()
          Returns the user remote service.
 com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
          Returns the wiki node with the primary key.
 com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndGroupId(java.lang.String uuid, long groupId)
          Returns the wiki node with the UUID in the group.
 com.liferay.portlet.wiki.service.WikiNodeLocalService getWikiNodeLocalService()
          Returns the wiki node local service.
 com.liferay.portlet.wiki.service.persistence.WikiNodePersistence getWikiNodePersistence()
          Returns the wiki node persistence.
 java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(int start, int end)
          Returns a range of all the wiki nodes.
 int getWikiNodesCount()
          Returns the number of wiki nodes.
 com.liferay.portlet.wiki.service.WikiNodeService getWikiNodeService()
          Returns the wiki node remote service.
 com.liferay.portlet.wiki.service.persistence.WikiPageFinder getWikiPageFinder()
          Returns the wiki page finder.
 com.liferay.portlet.wiki.service.WikiPageLocalService getWikiPageLocalService()
          Returns the wiki page local service.
 com.liferay.portlet.wiki.service.persistence.WikiPagePersistence getWikiPagePersistence()
          Returns the wiki page persistence.
 com.liferay.portlet.wiki.service.WikiPageResourceLocalService getWikiPageResourceLocalService()
          Returns the wiki page resource local service.
 com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence getWikiPageResourcePersistence()
          Returns the wiki page resource persistence.
 com.liferay.portlet.wiki.service.WikiPageService getWikiPageService()
          Returns the wiki page remote service.
protected  void runSQL(java.lang.String sql)
          Performs an SQL query.
 void setBeanIdentifier(java.lang.String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
          Sets the counter local service.
 void setGroupFinder(com.liferay.portal.service.persistence.GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(com.liferay.portal.service.GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(com.liferay.portal.service.persistence.GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupService(com.liferay.portal.service.GroupService groupService)
          Sets the group remote service.
 void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(com.liferay.portal.service.ResourceService resourceService)
          Sets the resource remote service.
 void setSubscriptionLocalService(com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService)
          Sets the subscription local service.
 void setSubscriptionPersistence(com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence)
          Sets the subscription persistence.
 void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(com.liferay.portal.service.UserService userService)
          Sets the user remote service.
 void setWikiNodeLocalService(com.liferay.portlet.wiki.service.WikiNodeLocalService wikiNodeLocalService)
          Sets the wiki node local service.
 void setWikiNodePersistence(com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence)
          Sets the wiki node persistence.
 void setWikiNodeService(com.liferay.portlet.wiki.service.WikiNodeService wikiNodeService)
          Sets the wiki node remote service.
 void setWikiPageFinder(com.liferay.portlet.wiki.service.persistence.WikiPageFinder wikiPageFinder)
          Sets the wiki page finder.
 void setWikiPageLocalService(com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService)
          Sets the wiki page local service.
 void setWikiPagePersistence(com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence)
          Sets the wiki page persistence.
 void setWikiPageResourceLocalService(com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService)
          Sets the wiki page resource local service.
 void setWikiPageResourcePersistence(com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence)
          Sets the wiki page resource persistence.
 void setWikiPageService(com.liferay.portlet.wiki.service.WikiPageService wikiPageService)
          Sets the wiki page remote service.
 com.liferay.portlet.wiki.model.WikiNode updateWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
          Updates the wiki node in the database or adds it if it does not yet exist.
 com.liferay.portlet.wiki.model.WikiNode updateWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
          Updates the wiki node in the database or adds it if it does not yet exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.wiki.service.WikiNodeLocalService
addDefaultNode, addNode, addNodeResources, addNodeResources, addNodeResources, addNodeResources, deleteNode, deleteNode, deleteNodes, getCompanyNodes, getCompanyNodesCount, getNode, getNode, getNodes, getNodes, getNodesCount, importPages, subscribeNode, unsubscribeNode, updateNode
 

Field Detail

wikiNodeLocalService

@BeanReference(type=com.liferay.portlet.wiki.service.WikiNodeLocalService.class)
protected com.liferay.portlet.wiki.service.WikiNodeLocalService wikiNodeLocalService

wikiNodeService

@BeanReference(type=com.liferay.portlet.wiki.service.WikiNodeService.class)
protected com.liferay.portlet.wiki.service.WikiNodeService wikiNodeService

wikiNodePersistence

@BeanReference(type=com.liferay.portlet.wiki.service.persistence.WikiNodePersistence.class)
protected com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence

wikiPageLocalService

@BeanReference(type=com.liferay.portlet.wiki.service.WikiPageLocalService.class)
protected com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService

wikiPageService

@BeanReference(type=com.liferay.portlet.wiki.service.WikiPageService.class)
protected com.liferay.portlet.wiki.service.WikiPageService wikiPageService

wikiPagePersistence

@BeanReference(type=com.liferay.portlet.wiki.service.persistence.WikiPagePersistence.class)
protected com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence

wikiPageFinder

@BeanReference(type=com.liferay.portlet.wiki.service.persistence.WikiPageFinder.class)
protected com.liferay.portlet.wiki.service.persistence.WikiPageFinder wikiPageFinder

wikiPageResourceLocalService

@BeanReference(type=com.liferay.portlet.wiki.service.WikiPageResourceLocalService.class)
protected com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService

wikiPageResourcePersistence

@BeanReference(type=com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence.class)
protected com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence

counterLocalService

@BeanReference(type=com.liferay.counter.service.CounterLocalService.class)
protected com.liferay.counter.service.CounterLocalService counterLocalService

groupLocalService

@BeanReference(type=com.liferay.portal.service.GroupLocalService.class)
protected com.liferay.portal.service.GroupLocalService groupLocalService

groupService

@BeanReference(type=com.liferay.portal.service.GroupService.class)
protected com.liferay.portal.service.GroupService groupService

groupPersistence

@BeanReference(type=com.liferay.portal.service.persistence.GroupPersistence.class)
protected com.liferay.portal.service.persistence.GroupPersistence groupPersistence

groupFinder

@BeanReference(type=com.liferay.portal.service.persistence.GroupFinder.class)
protected com.liferay.portal.service.persistence.GroupFinder groupFinder

resourceLocalService

@BeanReference(type=com.liferay.portal.service.ResourceLocalService.class)
protected com.liferay.portal.service.ResourceLocalService resourceLocalService

resourceService

@BeanReference(type=com.liferay.portal.service.ResourceService.class)
protected com.liferay.portal.service.ResourceService resourceService

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=com.liferay.portal.service.persistence.ResourceFinder.class)
protected com.liferay.portal.service.persistence.ResourceFinder resourceFinder

subscriptionLocalService

@BeanReference(type=com.liferay.portal.service.SubscriptionLocalService.class)
protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService

subscriptionPersistence

@BeanReference(type=com.liferay.portal.service.persistence.SubscriptionPersistence.class)
protected com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence

userLocalService

@BeanReference(type=com.liferay.portal.service.UserLocalService.class)
protected com.liferay.portal.service.UserLocalService userLocalService

userService

@BeanReference(type=com.liferay.portal.service.UserService.class)
protected com.liferay.portal.service.UserService userService

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence

userFinder

@BeanReference(type=com.liferay.portal.service.persistence.UserFinder.class)
protected com.liferay.portal.service.persistence.UserFinder userFinder

persistedModelLocalServiceRegistry

@BeanReference(type=com.liferay.portal.service.PersistedModelLocalServiceRegistry.class)
protected com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

WikiNodeLocalServiceBaseImpl

public WikiNodeLocalServiceBaseImpl()
Method Detail

addWikiNode

public com.liferay.portlet.wiki.model.WikiNode addWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
                                                    throws com.liferay.portal.kernel.exception.SystemException
Adds the wiki node to the database. Also notifies the appropriate model listeners.

Specified by:
addWikiNode in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
wikiNode - the wiki node
Returns:
the wiki node that was added
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

createWikiNode

public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId)
Creates a new wiki node with the primary key. Does not add the wiki node to the database.

Specified by:
createWikiNode in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
nodeId - the primary key for the new wiki node
Returns:
the new wiki node

deleteWikiNode

public void deleteWikiNode(long nodeId)
                    throws com.liferay.portal.kernel.exception.PortalException,
                           com.liferay.portal.kernel.exception.SystemException
Deletes the wiki node with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteWikiNode in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
nodeId - the primary key of the wiki node
Throws:
com.liferay.portal.kernel.exception.PortalException - if a wiki node with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deleteWikiNode

public void deleteWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
                    throws com.liferay.portal.kernel.exception.SystemException
Deletes the wiki node from the database. Also notifies the appropriate model listeners.

Specified by:
deleteWikiNode in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
wikiNode - the wiki node
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

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.

Specified by:
dynamicQuery in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.kernel.exception.SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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.

Specified by:
dynamicQuery in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchWikiNode

public com.liferay.portlet.wiki.model.WikiNode fetchWikiNode(long nodeId)
                                                      throws com.liferay.portal.kernel.exception.SystemException
Specified by:
fetchWikiNode in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getWikiNode

public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
                                                    throws com.liferay.portal.kernel.exception.PortalException,
                                                           com.liferay.portal.kernel.exception.SystemException
Returns the wiki node with the primary key.

Specified by:
getWikiNode in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
nodeId - the primary key of the wiki node
Returns:
the wiki node
Throws:
com.liferay.portal.kernel.exception.PortalException - if a wiki node with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPersistedModel

public com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
                                                          throws com.liferay.portal.kernel.exception.PortalException,
                                                                 com.liferay.portal.kernel.exception.SystemException
Specified by:
getPersistedModel in interface com.liferay.portal.service.PersistedModelLocalService
Specified by:
getPersistedModel in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException

getWikiNodeByUuidAndGroupId

public com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndGroupId(java.lang.String uuid,
                                                                           long groupId)
                                                                    throws com.liferay.portal.kernel.exception.PortalException,
                                                                           com.liferay.portal.kernel.exception.SystemException
Returns the wiki node with the UUID in the group.

Specified by:
getWikiNodeByUuidAndGroupId in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
uuid - the UUID of wiki node
groupId - the group id of the wiki node
Returns:
the wiki node
Throws:
com.liferay.portal.kernel.exception.PortalException - if a wiki node with the UUID in the group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getWikiNodes

public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(int start,
                                                                            int end)
                                                                     throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the wiki nodes.

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.

Specified by:
getWikiNodes in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
start - the lower bound of the range of wiki nodes
end - the upper bound of the range of wiki nodes (not inclusive)
Returns:
the range of wiki nodes
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getWikiNodesCount

public int getWikiNodesCount()
                      throws com.liferay.portal.kernel.exception.SystemException
Returns the number of wiki nodes.

Specified by:
getWikiNodesCount in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Returns:
the number of wiki nodes
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateWikiNode

public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Updates the wiki node in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateWikiNode in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
wikiNode - the wiki node
Returns:
the wiki node that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateWikiNode

public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode,
                                                              boolean merge)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Updates the wiki node in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateWikiNode in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
wikiNode - the wiki node
merge - whether to merge the wiki node with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the wiki node that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getWikiNodeLocalService

public com.liferay.portlet.wiki.service.WikiNodeLocalService getWikiNodeLocalService()
Returns the wiki node local service.

Returns:
the wiki node local service

setWikiNodeLocalService

public void setWikiNodeLocalService(com.liferay.portlet.wiki.service.WikiNodeLocalService wikiNodeLocalService)
Sets the wiki node local service.

Parameters:
wikiNodeLocalService - the wiki node local service

getWikiNodeService

public com.liferay.portlet.wiki.service.WikiNodeService getWikiNodeService()
Returns the wiki node remote service.

Returns:
the wiki node remote service

setWikiNodeService

public void setWikiNodeService(com.liferay.portlet.wiki.service.WikiNodeService wikiNodeService)
Sets the wiki node remote service.

Parameters:
wikiNodeService - the wiki node remote service

getWikiNodePersistence

public com.liferay.portlet.wiki.service.persistence.WikiNodePersistence getWikiNodePersistence()
Returns the wiki node persistence.

Returns:
the wiki node persistence

setWikiNodePersistence

public void setWikiNodePersistence(com.liferay.portlet.wiki.service.persistence.WikiNodePersistence wikiNodePersistence)
Sets the wiki node persistence.

Parameters:
wikiNodePersistence - the wiki node persistence

getWikiPageLocalService

public com.liferay.portlet.wiki.service.WikiPageLocalService getWikiPageLocalService()
Returns the wiki page local service.

Returns:
the wiki page local service

setWikiPageLocalService

public void setWikiPageLocalService(com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService)
Sets the wiki page local service.

Parameters:
wikiPageLocalService - the wiki page local service

getWikiPageService

public com.liferay.portlet.wiki.service.WikiPageService getWikiPageService()
Returns the wiki page remote service.

Returns:
the wiki page remote service

setWikiPageService

public void setWikiPageService(com.liferay.portlet.wiki.service.WikiPageService wikiPageService)
Sets the wiki page remote service.

Parameters:
wikiPageService - the wiki page remote service

getWikiPagePersistence

public com.liferay.portlet.wiki.service.persistence.WikiPagePersistence getWikiPagePersistence()
Returns the wiki page persistence.

Returns:
the wiki page persistence

setWikiPagePersistence

public void setWikiPagePersistence(com.liferay.portlet.wiki.service.persistence.WikiPagePersistence wikiPagePersistence)
Sets the wiki page persistence.

Parameters:
wikiPagePersistence - the wiki page persistence

getWikiPageFinder

public com.liferay.portlet.wiki.service.persistence.WikiPageFinder getWikiPageFinder()
Returns the wiki page finder.

Returns:
the wiki page finder

setWikiPageFinder

public void setWikiPageFinder(com.liferay.portlet.wiki.service.persistence.WikiPageFinder wikiPageFinder)
Sets the wiki page finder.

Parameters:
wikiPageFinder - the wiki page finder

getWikiPageResourceLocalService

public com.liferay.portlet.wiki.service.WikiPageResourceLocalService getWikiPageResourceLocalService()
Returns the wiki page resource local service.

Returns:
the wiki page resource local service

setWikiPageResourceLocalService

public void setWikiPageResourceLocalService(com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService)
Sets the wiki page resource local service.

Parameters:
wikiPageResourceLocalService - the wiki page resource local service

getWikiPageResourcePersistence

public com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence getWikiPageResourcePersistence()
Returns the wiki page resource persistence.

Returns:
the wiki page resource persistence

setWikiPageResourcePersistence

public void setWikiPageResourcePersistence(com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence wikiPageResourcePersistence)
Sets the wiki page resource persistence.

Parameters:
wikiPageResourcePersistence - the wiki page resource persistence

getCounterLocalService

public com.liferay.counter.service.CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getGroupLocalService

public com.liferay.portal.service.GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

public void setGroupLocalService(com.liferay.portal.service.GroupLocalService groupLocalService)
Sets the group local service.

Parameters:
groupLocalService - the group local service

getGroupService

public com.liferay.portal.service.GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

public void setGroupService(com.liferay.portal.service.GroupService groupService)
Sets the group remote service.

Parameters:
groupService - the group remote service

getGroupPersistence

public com.liferay.portal.service.persistence.GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(com.liferay.portal.service.persistence.GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public com.liferay.portal.service.persistence.GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(com.liferay.portal.service.persistence.GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getResourceLocalService

public com.liferay.portal.service.ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

public void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
Sets the resource local service.

Parameters:
resourceLocalService - the resource local service

getResourceService

public com.liferay.portal.service.ResourceService getResourceService()
Returns the resource remote service.

Returns:
the resource remote service

setResourceService

public void setResourceService(com.liferay.portal.service.ResourceService resourceService)
Sets the resource remote service.

Parameters:
resourceService - the resource remote service

getResourcePersistence

public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
Returns the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
Returns the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getSubscriptionLocalService

public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService()
Returns the subscription local service.

Returns:
the subscription local service

setSubscriptionLocalService

public void setSubscriptionLocalService(com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService)
Sets the subscription local service.

Parameters:
subscriptionLocalService - the subscription local service

getSubscriptionPersistence

public com.liferay.portal.service.persistence.SubscriptionPersistence getSubscriptionPersistence()
Returns the subscription persistence.

Returns:
the subscription persistence

setSubscriptionPersistence

public void setSubscriptionPersistence(com.liferay.portal.service.persistence.SubscriptionPersistence subscriptionPersistence)
Sets the subscription persistence.

Parameters:
subscriptionPersistence - the subscription persistence

getUserLocalService

public com.liferay.portal.service.UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public com.liferay.portal.service.UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(com.liferay.portal.service.UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public com.liferay.portal.service.persistence.UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public java.lang.String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
getBeanIdentifier in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface com.liferay.portal.kernel.bean.IdentifiableBean
Specified by:
setBeanIdentifier in interface com.liferay.portlet.wiki.service.WikiNodeLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected java.lang.Class<?> getModelClass()

getModelClassName

protected java.lang.String getModelClassName()

runSQL

protected void runSQL(java.lang.String sql)
               throws com.liferay.portal.kernel.exception.SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
com.liferay.portal.kernel.exception.SystemException