Liferay 6.2-ce-ga5

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

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

public abstract class WikiNodeLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements WikiNodeLocalService, IdentifiableBean

Provides the base implementation for 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.

See Also:
WikiNodeLocalServiceImpl, WikiNodeLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  AssetEntryFinder assetEntryFinder
           
protected  AssetEntryLocalService assetEntryLocalService
           
protected  AssetEntryPersistence assetEntryPersistence
           
protected  AssetEntryService assetEntryService
           
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  GroupService groupService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  ResourceLocalService resourceLocalService
           
protected  SubscriptionLocalService subscriptionLocalService
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  SystemEventLocalService systemEventLocalService
           
protected  SystemEventPersistence systemEventPersistence
           
protected  TrashEntryLocalService trashEntryLocalService
           
protected  TrashEntryPersistence trashEntryPersistence
           
protected  TrashEntryService trashEntryService
           
protected  TrashVersionLocalService trashVersionLocalService
           
protected  TrashVersionPersistence trashVersionPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
protected  WikiNodeLocalService wikiNodeLocalService
           
protected  WikiNodePersistence wikiNodePersistence
           
protected  WikiNodeService wikiNodeService
           
protected  WikiPageFinder wikiPageFinder
           
protected  WikiPageLocalService wikiPageLocalService
           
protected  WikiPagePersistence wikiPagePersistence
           
protected  WikiPageResourceLocalService wikiPageResourceLocalService
           
protected  WikiPageResourcePersistence wikiPageResourcePersistence
           
protected  WikiPageService wikiPageService
           
protected  WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService
           
protected  WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence
           
 
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl
layoutPersistence
 
Constructor Summary
WikiNodeLocalServiceBaseImpl()
           
 
Method Summary
 WikiNode addWikiNode(WikiNode wikiNode)
          Adds the wiki node to the database.
 void afterPropertiesSet()
           
 WikiNode createWikiNode(long nodeId)
          Creates a new wiki node with the primary key.
 WikiNode deleteWikiNode(long nodeId)
          Deletes the wiki node with the primary key from the database.
 WikiNode deleteWikiNode(WikiNode wikiNode)
          Deletes the wiki node from the database.
 void destroy()
           
 DynamicQuery dynamicQuery()
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows that match the dynamic query.
 WikiNode fetchWikiNode(long nodeId)
           
 WikiNode fetchWikiNodeByUuidAndCompanyId(String uuid, long companyId)
          Returns the wiki node with the matching UUID and company.
 WikiNode fetchWikiNodeByUuidAndGroupId(String uuid, long groupId)
          Returns the wiki node matching the UUID and group.
 AssetEntryFinder getAssetEntryFinder()
          Returns the asset entry finder.
 AssetEntryLocalService getAssetEntryLocalService()
          Returns the asset entry local service.
 AssetEntryPersistence getAssetEntryPersistence()
          Returns the asset entry persistence.
 AssetEntryService getAssetEntryService()
          Returns the asset entry remote service.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 GroupService getGroupService()
          Returns the group remote service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 SubscriptionLocalService getSubscriptionLocalService()
          Returns the subscription local service.
 SubscriptionPersistence getSubscriptionPersistence()
          Returns the subscription persistence.
 SystemEventLocalService getSystemEventLocalService()
          Returns the system event local service.
 SystemEventPersistence getSystemEventPersistence()
          Returns the system event persistence.
 TrashEntryLocalService getTrashEntryLocalService()
          Returns the trash entry local service.
 TrashEntryPersistence getTrashEntryPersistence()
          Returns the trash entry persistence.
 TrashEntryService getTrashEntryService()
          Returns the trash entry remote service.
 TrashVersionLocalService getTrashVersionLocalService()
          Returns the trash version local service.
 TrashVersionPersistence getTrashVersionPersistence()
          Returns the trash version persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 UserService getUserService()
          Returns the user remote service.
 WikiNode getWikiNode(long nodeId)
          Returns the wiki node with the primary key.
 WikiNode getWikiNodeByUuidAndCompanyId(String uuid, long companyId)
          Returns the wiki node with the matching UUID and company.
 WikiNode getWikiNodeByUuidAndGroupId(String uuid, long groupId)
          Returns the wiki node matching the UUID and group.
 WikiNodeLocalService getWikiNodeLocalService()
          Returns the wiki node local service.
 WikiNodePersistence getWikiNodePersistence()
          Returns the wiki node persistence.
 List<WikiNode> getWikiNodes(int start, int end)
          Returns a range of all the wiki nodes.
 int getWikiNodesCount()
          Returns the number of wiki nodes.
 WikiNodeService getWikiNodeService()
          Returns the wiki node remote service.
 WikiPageFinder getWikiPageFinder()
          Returns the wiki page finder.
 WikiPageLocalService getWikiPageLocalService()
          Returns the wiki page local service.
 WikiPagePersistence getWikiPagePersistence()
          Returns the wiki page persistence.
 WikiPageResourceLocalService getWikiPageResourceLocalService()
          Returns the wiki page resource local service.
 WikiPageResourcePersistence getWikiPageResourcePersistence()
          Returns the wiki page resource persistence.
 WikiPageService getWikiPageService()
          Returns the wiki page remote service.
 WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
          Returns the workflow instance link local service.
 WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
          Returns the workflow instance link persistence.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
          Sets the asset entry finder.
 void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
          Sets the asset entry local service.
 void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
          Sets the asset entry persistence.
 void setAssetEntryService(AssetEntryService assetEntryService)
          Sets the asset entry remote service.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupService(GroupService groupService)
          Sets the group remote service.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
          Sets the subscription local service.
 void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
          Sets the subscription persistence.
 void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
          Sets the system event local service.
 void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
          Sets the system event persistence.
 void setTrashEntryLocalService(TrashEntryLocalService trashEntryLocalService)
          Sets the trash entry local service.
 void setTrashEntryPersistence(TrashEntryPersistence trashEntryPersistence)
          Sets the trash entry persistence.
 void setTrashEntryService(TrashEntryService trashEntryService)
          Sets the trash entry remote service.
 void setTrashVersionLocalService(TrashVersionLocalService trashVersionLocalService)
          Sets the trash version local service.
 void setTrashVersionPersistence(TrashVersionPersistence trashVersionPersistence)
          Sets the trash version persistence.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(UserService userService)
          Sets the user remote service.
 void setWikiNodeLocalService(WikiNodeLocalService wikiNodeLocalService)
          Sets the wiki node local service.
 void setWikiNodePersistence(WikiNodePersistence wikiNodePersistence)
          Sets the wiki node persistence.
 void setWikiNodeService(WikiNodeService wikiNodeService)
          Sets the wiki node remote service.
 void setWikiPageFinder(WikiPageFinder wikiPageFinder)
          Sets the wiki page finder.
 void setWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
          Sets the wiki page local service.
 void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence)
          Sets the wiki page persistence.
 void setWikiPageResourceLocalService(WikiPageResourceLocalService wikiPageResourceLocalService)
          Sets the wiki page resource local service.
 void setWikiPageResourcePersistence(WikiPageResourcePersistence wikiPageResourcePersistence)
          Sets the wiki page resource persistence.
 void setWikiPageService(WikiPageService wikiPageService)
          Sets the wiki page remote service.
 void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
          Sets the workflow instance link local service.
 void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
          Sets the workflow instance link persistence.
 WikiNode updateWikiNode(WikiNode wikiNode)
          Updates the wiki node in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader, getLayoutURL, getLayoutURL
 
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, fetchNode, fetchNodeByUuidAndGroupId, getCompanyNodes, getCompanyNodes, getCompanyNodesCount, getCompanyNodesCount, getNode, getNode, getNodes, getNodes, getNodes, getNodes, getNodesCount, getNodesCount, importPages, moveNodeToTrash, moveNodeToTrash, restoreNodeFromTrash, subscribeNode, unsubscribeNode, updateNode, updateStatus
 

Field Detail

wikiNodeLocalService

@BeanReference(type=WikiNodeLocalService.class)
protected WikiNodeLocalService wikiNodeLocalService

wikiNodeService

@BeanReference(type=WikiNodeService.class)
protected WikiNodeService wikiNodeService

wikiNodePersistence

@BeanReference(type=WikiNodePersistence.class)
protected WikiNodePersistence wikiNodePersistence

wikiPageLocalService

@BeanReference(type=WikiPageLocalService.class)
protected WikiPageLocalService wikiPageLocalService

wikiPageService

@BeanReference(type=WikiPageService.class)
protected WikiPageService wikiPageService

wikiPagePersistence

@BeanReference(type=WikiPagePersistence.class)
protected WikiPagePersistence wikiPagePersistence

wikiPageFinder

@BeanReference(type=WikiPageFinder.class)
protected WikiPageFinder wikiPageFinder

wikiPageResourceLocalService

@BeanReference(type=WikiPageResourceLocalService.class)
protected WikiPageResourceLocalService wikiPageResourceLocalService

wikiPageResourcePersistence

@BeanReference(type=WikiPageResourcePersistence.class)
protected WikiPageResourcePersistence wikiPageResourcePersistence

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

groupLocalService

@BeanReference(type=GroupLocalService.class)
protected GroupLocalService groupLocalService

groupService

@BeanReference(type=GroupService.class)
protected GroupService groupService

groupPersistence

@BeanReference(type=GroupPersistence.class)
protected GroupPersistence groupPersistence

groupFinder

@BeanReference(type=GroupFinder.class)
protected GroupFinder groupFinder

resourceLocalService

@BeanReference(type=ResourceLocalService.class)
protected ResourceLocalService resourceLocalService

subscriptionLocalService

@BeanReference(type=SubscriptionLocalService.class)
protected SubscriptionLocalService subscriptionLocalService

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

systemEventLocalService

@BeanReference(type=SystemEventLocalService.class)
protected SystemEventLocalService systemEventLocalService

systemEventPersistence

@BeanReference(type=SystemEventPersistence.class)
protected SystemEventPersistence systemEventPersistence

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

workflowInstanceLinkLocalService

@BeanReference(type=WorkflowInstanceLinkLocalService.class)
protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService

workflowInstanceLinkPersistence

@BeanReference(type=WorkflowInstanceLinkPersistence.class)
protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence

assetEntryLocalService

@BeanReference(type=AssetEntryLocalService.class)
protected AssetEntryLocalService assetEntryLocalService

assetEntryService

@BeanReference(type=AssetEntryService.class)
protected AssetEntryService assetEntryService

assetEntryPersistence

@BeanReference(type=AssetEntryPersistence.class)
protected AssetEntryPersistence assetEntryPersistence

assetEntryFinder

@BeanReference(type=AssetEntryFinder.class)
protected AssetEntryFinder assetEntryFinder

trashEntryLocalService

@BeanReference(type=TrashEntryLocalService.class)
protected TrashEntryLocalService trashEntryLocalService

trashEntryService

@BeanReference(type=TrashEntryService.class)
protected TrashEntryService trashEntryService

trashEntryPersistence

@BeanReference(type=TrashEntryPersistence.class)
protected TrashEntryPersistence trashEntryPersistence

trashVersionLocalService

@BeanReference(type=TrashVersionLocalService.class)
protected TrashVersionLocalService trashVersionLocalService

trashVersionPersistence

@BeanReference(type=TrashVersionPersistence.class)
protected TrashVersionPersistence trashVersionPersistence

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

WikiNodeLocalServiceBaseImpl

public WikiNodeLocalServiceBaseImpl()
Method Detail

addWikiNode

@Indexable(type=REINDEX)
public WikiNode addWikiNode(WikiNode wikiNode)
                     throws SystemException
Adds the wiki node to the database. Also notifies the appropriate model listeners.

Specified by:
addWikiNode in interface WikiNodeLocalService
Parameters:
wikiNode - the wiki node
Returns:
the wiki node that was added
Throws:
SystemException - if a system exception occurred

createWikiNode

public 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 WikiNodeLocalService
Parameters:
nodeId - the primary key for the new wiki node
Returns:
the new wiki node

deleteWikiNode

@Indexable(type=DELETE)
public WikiNode deleteWikiNode(long nodeId)
                        throws PortalException,
                               SystemException
Deletes the wiki node with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteWikiNode in interface WikiNodeLocalService
Parameters:
nodeId - the primary key of the wiki node
Returns:
the wiki node that was removed
Throws:
PortalException - if a wiki node with the primary key could not be found
SystemException - if a system exception occurred

deleteWikiNode

@Indexable(type=DELETE)
public WikiNode deleteWikiNode(WikiNode wikiNode)
                        throws SystemException
Deletes the wiki node from the database. Also notifies the appropriate model listeners.

Specified by:
deleteWikiNode in interface WikiNodeLocalService
Parameters:
wikiNode - the wiki node
Returns:
the wiki node that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface WikiNodeLocalService

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface WikiNodeLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws 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. 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 WikiNodeModelImpl. 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.

Specified by:
dynamicQuery in interface 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:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws 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. 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 WikiNodeModelImpl. 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.

Specified by:
dynamicQuery in interface 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:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface WikiNodeLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface WikiNodeLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchWikiNode

public WikiNode fetchWikiNode(long nodeId)
                       throws SystemException
Specified by:
fetchWikiNode in interface WikiNodeLocalService
Throws:
SystemException

fetchWikiNodeByUuidAndCompanyId

public WikiNode fetchWikiNodeByUuidAndCompanyId(String uuid,
                                                long companyId)
                                         throws SystemException
Returns the wiki node with the matching UUID and company.

Specified by:
fetchWikiNodeByUuidAndCompanyId in interface WikiNodeLocalService
Parameters:
uuid - the wiki node's UUID
companyId - the primary key of the company
Returns:
the matching wiki node, or null if a matching wiki node could not be found
Throws:
SystemException - if a system exception occurred

fetchWikiNodeByUuidAndGroupId

public WikiNode fetchWikiNodeByUuidAndGroupId(String uuid,
                                              long groupId)
                                       throws SystemException
Returns the wiki node matching the UUID and group.

Specified by:
fetchWikiNodeByUuidAndGroupId in interface WikiNodeLocalService
Parameters:
uuid - the wiki node's UUID
groupId - the primary key of the group
Returns:
the matching wiki node, or null if a matching wiki node could not be found
Throws:
SystemException - if a system exception occurred

getWikiNode

public WikiNode getWikiNode(long nodeId)
                     throws PortalException,
                            SystemException
Returns the wiki node with the primary key.

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

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface WikiNodeLocalService
Throws:
PortalException
SystemException

getWikiNodeByUuidAndCompanyId

public WikiNode getWikiNodeByUuidAndCompanyId(String uuid,
                                              long companyId)
                                       throws PortalException,
                                              SystemException
Returns the wiki node with the matching UUID and company.

Specified by:
getWikiNodeByUuidAndCompanyId in interface WikiNodeLocalService
Parameters:
uuid - the wiki node's UUID
companyId - the primary key of the company
Returns:
the matching wiki node
Throws:
PortalException - if a matching wiki node could not be found
SystemException - if a system exception occurred

getWikiNodeByUuidAndGroupId

public WikiNode getWikiNodeByUuidAndGroupId(String uuid,
                                            long groupId)
                                     throws PortalException,
                                            SystemException
Returns the wiki node matching the UUID and group.

Specified by:
getWikiNodeByUuidAndGroupId in interface WikiNodeLocalService
Parameters:
uuid - the wiki node's UUID
groupId - the primary key of the group
Returns:
the matching wiki node
Throws:
PortalException - if a matching wiki node could not be found
SystemException - if a system exception occurred

getWikiNodes

public List<WikiNode> getWikiNodes(int start,
                                   int end)
                            throws 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. 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 WikiNodeModelImpl. 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.

Specified by:
getWikiNodes in interface 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:
SystemException - if a system exception occurred

getWikiNodesCount

public int getWikiNodesCount()
                      throws SystemException
Returns the number of wiki nodes.

Specified by:
getWikiNodesCount in interface WikiNodeLocalService
Returns:
the number of wiki nodes
Throws:
SystemException - if a system exception occurred

updateWikiNode

@Indexable(type=REINDEX)
public WikiNode updateWikiNode(WikiNode wikiNode)
                        throws 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 WikiNodeLocalService
Parameters:
wikiNode - the wiki node
Returns:
the wiki node that was updated
Throws:
SystemException - if a system exception occurred

getWikiNodeLocalService

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

Returns:
the wiki node local service

setWikiNodeLocalService

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

Parameters:
wikiNodeLocalService - the wiki node local service

getWikiNodeService

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

Returns:
the wiki node remote service

setWikiNodeService

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

Parameters:
wikiNodeService - the wiki node remote service

getWikiNodePersistence

public WikiNodePersistence getWikiNodePersistence()
Returns the wiki node persistence.

Returns:
the wiki node persistence

setWikiNodePersistence

public void setWikiNodePersistence(WikiNodePersistence wikiNodePersistence)
Sets the wiki node persistence.

Parameters:
wikiNodePersistence - the wiki node persistence

getWikiPageLocalService

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

Returns:
the wiki page local service

setWikiPageLocalService

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

Parameters:
wikiPageLocalService - the wiki page local service

getWikiPageService

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

Returns:
the wiki page remote service

setWikiPageService

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

Parameters:
wikiPageService - the wiki page remote service

getWikiPagePersistence

public WikiPagePersistence getWikiPagePersistence()
Returns the wiki page persistence.

Returns:
the wiki page persistence

setWikiPagePersistence

public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence)
Sets the wiki page persistence.

Parameters:
wikiPagePersistence - the wiki page persistence

getWikiPageFinder

public WikiPageFinder getWikiPageFinder()
Returns the wiki page finder.

Returns:
the wiki page finder

setWikiPageFinder

public void setWikiPageFinder(WikiPageFinder wikiPageFinder)
Sets the wiki page finder.

Parameters:
wikiPageFinder - the wiki page finder

getWikiPageResourceLocalService

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

Returns:
the wiki page resource local service

setWikiPageResourceLocalService

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

Parameters:
wikiPageResourceLocalService - the wiki page resource local service

getWikiPageResourcePersistence

public WikiPageResourcePersistence getWikiPageResourcePersistence()
Returns the wiki page resource persistence.

Returns:
the wiki page resource persistence

setWikiPageResourcePersistence

public void setWikiPageResourcePersistence(WikiPageResourcePersistence wikiPageResourcePersistence)
Sets the wiki page resource persistence.

Parameters:
wikiPageResourcePersistence - the wiki page resource persistence

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

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

Parameters:
counterLocalService - the counter local service

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

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

Parameters:
groupLocalService - the group local service

getGroupService

public GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

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

Parameters:
groupService - the group remote service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

public void setGroupPersistence(GroupPersistence groupPersistence)
Sets the group persistence.

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

public void setGroupFinder(GroupFinder groupFinder)
Sets the group finder.

Parameters:
groupFinder - the group finder

getResourceLocalService

public ResourceLocalService getResourceLocalService()
Returns the resource local service.

Returns:
the resource local service

setResourceLocalService

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

Parameters:
resourceLocalService - the resource local service

getSubscriptionLocalService

public SubscriptionLocalService getSubscriptionLocalService()
Returns the subscription local service.

Returns:
the subscription local service

setSubscriptionLocalService

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

Parameters:
subscriptionLocalService - the subscription local service

getSubscriptionPersistence

public SubscriptionPersistence getSubscriptionPersistence()
Returns the subscription persistence.

Returns:
the subscription persistence

setSubscriptionPersistence

public void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
Sets the subscription persistence.

Parameters:
subscriptionPersistence - the subscription persistence

getSystemEventLocalService

public SystemEventLocalService getSystemEventLocalService()
Returns the system event local service.

Returns:
the system event local service

setSystemEventLocalService

public void setSystemEventLocalService(SystemEventLocalService systemEventLocalService)
Sets the system event local service.

Parameters:
systemEventLocalService - the system event local service

getSystemEventPersistence

public SystemEventPersistence getSystemEventPersistence()
Returns the system event persistence.

Returns:
the system event persistence

setSystemEventPersistence

public void setSystemEventPersistence(SystemEventPersistence systemEventPersistence)
Sets the system event persistence.

Parameters:
systemEventPersistence - the system event persistence

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

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

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

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

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

getWorkflowInstanceLinkLocalService

public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService()
Returns the workflow instance link local service.

Returns:
the workflow instance link local service

setWorkflowInstanceLinkLocalService

public void setWorkflowInstanceLinkLocalService(WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService)
Sets the workflow instance link local service.

Parameters:
workflowInstanceLinkLocalService - the workflow instance link local service

getWorkflowInstanceLinkPersistence

public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence()
Returns the workflow instance link persistence.

Returns:
the workflow instance link persistence

setWorkflowInstanceLinkPersistence

public void setWorkflowInstanceLinkPersistence(WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence)
Sets the workflow instance link persistence.

Parameters:
workflowInstanceLinkPersistence - the workflow instance link persistence

getAssetEntryLocalService

public AssetEntryLocalService getAssetEntryLocalService()
Returns the asset entry local service.

Returns:
the asset entry local service

setAssetEntryLocalService

public void setAssetEntryLocalService(AssetEntryLocalService assetEntryLocalService)
Sets the asset entry local service.

Parameters:
assetEntryLocalService - the asset entry local service

getAssetEntryService

public AssetEntryService getAssetEntryService()
Returns the asset entry remote service.

Returns:
the asset entry remote service

setAssetEntryService

public void setAssetEntryService(AssetEntryService assetEntryService)
Sets the asset entry remote service.

Parameters:
assetEntryService - the asset entry remote service

getAssetEntryPersistence

public AssetEntryPersistence getAssetEntryPersistence()
Returns the asset entry persistence.

Returns:
the asset entry persistence

setAssetEntryPersistence

public void setAssetEntryPersistence(AssetEntryPersistence assetEntryPersistence)
Sets the asset entry persistence.

Parameters:
assetEntryPersistence - the asset entry persistence

getAssetEntryFinder

public AssetEntryFinder getAssetEntryFinder()
Returns the asset entry finder.

Returns:
the asset entry finder

setAssetEntryFinder

public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder)
Sets the asset entry finder.

Parameters:
assetEntryFinder - the asset entry finder

getTrashEntryLocalService

public TrashEntryLocalService getTrashEntryLocalService()
Returns the trash entry local service.

Returns:
the trash entry local service

setTrashEntryLocalService

public void setTrashEntryLocalService(TrashEntryLocalService trashEntryLocalService)
Sets the trash entry local service.

Parameters:
trashEntryLocalService - the trash entry local service

getTrashEntryService

public TrashEntryService getTrashEntryService()
Returns the trash entry remote service.

Returns:
the trash entry remote service

setTrashEntryService

public void setTrashEntryService(TrashEntryService trashEntryService)
Sets the trash entry remote service.

Parameters:
trashEntryService - the trash entry remote service

getTrashEntryPersistence

public TrashEntryPersistence getTrashEntryPersistence()
Returns the trash entry persistence.

Returns:
the trash entry persistence

setTrashEntryPersistence

public void setTrashEntryPersistence(TrashEntryPersistence trashEntryPersistence)
Sets the trash entry persistence.

Parameters:
trashEntryPersistence - the trash entry persistence

getTrashVersionLocalService

public TrashVersionLocalService getTrashVersionLocalService()
Returns the trash version local service.

Returns:
the trash version local service

setTrashVersionLocalService

public void setTrashVersionLocalService(TrashVersionLocalService trashVersionLocalService)
Sets the trash version local service.

Parameters:
trashVersionLocalService - the trash version local service

getTrashVersionPersistence

public TrashVersionPersistence getTrashVersionPersistence()
Returns the trash version persistence.

Returns:
the trash version persistence

setTrashVersionPersistence

public void setTrashVersionPersistence(TrashVersionPersistence trashVersionPersistence)
Sets the trash version persistence.

Parameters:
trashVersionPersistence - the trash version persistence

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface WikiNodeLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

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

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface WikiNodeLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
               throws SystemException
Performs an SQL query.

Parameters:
sql - the sql query
Throws:
SystemException

Liferay 6.2-ce-ga5