Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portlet.wiki.service.base.WikiNodeLocalServiceBaseImpl
All Implemented Interfaces:
WikiNodeLocalService
Direct Known Subclasses:
WikiNodeLocalServiceImpl

public abstract class WikiNodeLocalServiceBaseImpl
extends Object
implements WikiNodeLocalService

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.

Never modify or reference this class directly. Always use WikiNodeLocalServiceUtil to access the wiki node local service.

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

Field Summary
protected  CounterLocalService counterLocalService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  GroupService groupService
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
protected  SubscriptionLocalService subscriptionLocalService
           
protected  SubscriptionPersistence subscriptionPersistence
           
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
           
 
Constructor Summary
WikiNodeLocalServiceBaseImpl()
           
 
Method Summary
 WikiNode addWikiNode(WikiNode wikiNode)
          Adds the wiki node to the database.
 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(WikiNode wikiNode)
          Deletes the wiki node from the database.
 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)
          Counts the number of rows that match the dynamic query.
 CounterLocalService getCounterLocalService()
          Gets the counter local service.
 GroupFinder getGroupFinder()
          Gets the group finder.
 GroupLocalService getGroupLocalService()
          Gets the group local service.
 GroupPersistence getGroupPersistence()
          Gets the group persistence.
 GroupService getGroupService()
          Gets the group remote service.
 ResourceFinder getResourceFinder()
          Gets the resource finder.
 ResourceLocalService getResourceLocalService()
          Gets the resource local service.
 ResourcePersistence getResourcePersistence()
          Gets the resource persistence.
 ResourceService getResourceService()
          Gets the resource remote service.
 SubscriptionLocalService getSubscriptionLocalService()
          Gets the subscription local service.
 SubscriptionPersistence getSubscriptionPersistence()
          Gets the subscription persistence.
 UserFinder getUserFinder()
          Gets the user finder.
 UserLocalService getUserLocalService()
          Gets the user local service.
 UserPersistence getUserPersistence()
          Gets the user persistence.
 UserService getUserService()
          Gets the user remote service.
 WikiNode getWikiNode(long nodeId)
          Gets the wiki node with the primary key.
 WikiNode getWikiNodeByUuidAndGroupId(String uuid, long groupId)
          Gets the wiki node with the UUID and group id.
 WikiNodeLocalService getWikiNodeLocalService()
          Gets the wiki node local service.
 WikiNodePersistence getWikiNodePersistence()
          Gets the wiki node persistence.
 List<WikiNode> getWikiNodes(int start, int end)
          Gets a range of all the wiki nodes.
 int getWikiNodesCount()
          Gets the number of wiki nodes.
 WikiNodeService getWikiNodeService()
          Gets the wiki node remote service.
 WikiPageFinder getWikiPageFinder()
          Gets the wiki page finder.
 WikiPageLocalService getWikiPageLocalService()
          Gets the wiki page local service.
 WikiPagePersistence getWikiPagePersistence()
          Gets the wiki page persistence.
 WikiPageResourceLocalService getWikiPageResourceLocalService()
          Gets the wiki page resource local service.
 WikiPageResourcePersistence getWikiPageResourcePersistence()
          Gets the wiki page resource persistence.
 WikiPageService getWikiPageService()
          Gets the wiki page remote service.
protected  void runSQL(String sql)
          Performs an SQL query.
 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 setResourceFinder(ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(ResourceService resourceService)
          Sets the resource remote service.
 void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
          Sets the subscription local service.
 void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
          Sets the subscription 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.
 WikiNode updateWikiNode(WikiNode wikiNode)
          Updates the wiki node in the database.
 WikiNode updateWikiNode(WikiNode wikiNode, boolean merge)
          Updates the wiki node in the database.
 
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=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

resourceService

@BeanReference(type=ResourceService.class)
protected ResourceService resourceService

resourcePersistence

@BeanReference(type=ResourcePersistence.class)
protected ResourcePersistence resourcePersistence

resourceFinder

@BeanReference(type=ResourceFinder.class)
protected ResourceFinder resourceFinder

subscriptionLocalService

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

subscriptionPersistence

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

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
Constructor Detail

WikiNodeLocalServiceBaseImpl

public WikiNodeLocalServiceBaseImpl()
Method Detail

addWikiNode

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 to add
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

public void 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 to delete
Throws:
PortalException - if a wiki node with the primary key could not be found
SystemException - if a system exception occurred

deleteWikiNode

public void 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 to delete
Throws:
SystemException - if a system exception occurred

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 to search with
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.

Specified by:
dynamicQuery in interface WikiNodeLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (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.

Specified by:
dynamicQuery in interface WikiNodeLocalService
Parameters:
dynamicQuery - the dynamic query to search with
start - the lower bound of the range of model instances to return
end - the upper bound of the range of model instances to return (not inclusive)
orderByComparator - the comparator to order the results by
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

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

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

getWikiNode

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

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

getWikiNodeByUuidAndGroupId

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

Specified by:
getWikiNodeByUuidAndGroupId in interface WikiNodeLocalService
Parameters:
uuid - the UUID of wiki node to get
groupId - the group id of the wiki node to get
Returns:
the wiki node
Throws:
PortalException - if a wiki node with the UUID and group id could not be found
SystemException - if a system exception occurred

getWikiNodes

public List<WikiNode> getWikiNodes(int start,
                                   int end)
                            throws SystemException
Gets 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 WikiNodeLocalService
Parameters:
start - the lower bound of the range of wiki nodes to return
end - the upper bound of the range of wiki nodes to return (not inclusive)
Returns:
the range of wiki nodes
Throws:
SystemException - if a system exception occurred

getWikiNodesCount

public int getWikiNodesCount()
                      throws SystemException
Gets 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

public WikiNode updateWikiNode(WikiNode wikiNode)
                        throws SystemException
Updates the wiki node in the database. Also notifies the appropriate model listeners.

Specified by:
updateWikiNode in interface WikiNodeLocalService
Parameters:
wikiNode - the wiki node to update
Returns:
the wiki node that was updated
Throws:
SystemException - if a system exception occurred

updateWikiNode

public WikiNode updateWikiNode(WikiNode wikiNode,
                               boolean merge)
                        throws SystemException
Updates the wiki node in the database. Also notifies the appropriate model listeners.

Specified by:
updateWikiNode in interface WikiNodeLocalService
Parameters:
wikiNode - the wiki node to update
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:
SystemException - if a system exception occurred

getWikiNodeLocalService

public WikiNodeLocalService getWikiNodeLocalService()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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

getResourceService

public ResourceService getResourceService()
Gets the resource remote service.

Returns:
the resource remote service

setResourceService

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

Parameters:
resourceService - the resource remote service

getResourcePersistence

public ResourcePersistence getResourcePersistence()
Gets the resource persistence.

Returns:
the resource persistence

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)
Sets the resource persistence.

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

public ResourceFinder getResourceFinder()
Gets the resource finder.

Returns:
the resource finder

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)
Sets the resource finder.

Parameters:
resourceFinder - the resource finder

getSubscriptionLocalService

public SubscriptionLocalService getSubscriptionLocalService()
Gets 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()
Gets the subscription persistence.

Returns:
the subscription persistence

setSubscriptionPersistence

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

Parameters:
subscriptionPersistence - the subscription persistence

getUserLocalService

public UserLocalService getUserLocalService()
Gets 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()
Gets 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()
Gets 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()
Gets the user finder.

Returns:
the user finder

setUserFinder

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

Parameters:
userFinder - the user finder

runSQL

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

Parameters:
sql - the sql query to perform
Throws:
SystemException

Liferay 6.0.5