Liferay 6.0.5

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

java.lang.Object
  extended by com.liferay.portlet.wiki.service.base.WikiPageResourceLocalServiceBaseImpl
All Implemented Interfaces:
WikiPageResourceLocalService
Direct Known Subclasses:
WikiPageResourceLocalServiceImpl

public abstract class WikiPageResourceLocalServiceBaseImpl
extends Object
implements WikiPageResourceLocalService

The base implementation of the wiki page resource 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 WikiPageResourceLocalServiceImpl.

Never modify or reference this class directly. Always use WikiPageResourceLocalServiceUtil to access the wiki page resource local service.

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

Field Summary
protected  CounterLocalService counterLocalService
           
protected  ResourceFinder resourceFinder
           
protected  ResourceLocalService resourceLocalService
           
protected  ResourcePersistence resourcePersistence
           
protected  ResourceService resourceService
           
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
WikiPageResourceLocalServiceBaseImpl()
           
 
Method Summary
 WikiPageResource addWikiPageResource(WikiPageResource wikiPageResource)
          Adds the wiki page resource to the database.
 WikiPageResource createWikiPageResource(long resourcePrimKey)
          Creates a new wiki page resource with the primary key.
 void deleteWikiPageResource(long resourcePrimKey)
          Deletes the wiki page resource with the primary key from the database.
 void deleteWikiPageResource(WikiPageResource wikiPageResource)
          Deletes the wiki page resource 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.
 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.
 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.
 WikiNodeLocalService getWikiNodeLocalService()
          Gets the wiki node local service.
 WikiNodePersistence getWikiNodePersistence()
          Gets the wiki node persistence.
 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.
 WikiPageResource getWikiPageResource(long resourcePrimKey)
          Gets the wiki page resource with the primary key.
 WikiPageResourceLocalService getWikiPageResourceLocalService()
          Gets the wiki page resource local service.
 WikiPageResourcePersistence getWikiPageResourcePersistence()
          Gets the wiki page resource persistence.
 List<WikiPageResource> getWikiPageResources(int start, int end)
          Gets a range of all the wiki page resources.
 int getWikiPageResourcesCount()
          Gets the number of wiki page resources.
 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 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 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.
 WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource)
          Updates the wiki page resource in the database.
 WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource, boolean merge)
          Updates the wiki page resource 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.WikiPageResourceLocalService
addPageResource, deletePageResource, getPageResource, getPageResource, getPageResourcePrimKey
 

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

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

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

WikiPageResourceLocalServiceBaseImpl

public WikiPageResourceLocalServiceBaseImpl()
Method Detail

addWikiPageResource

public WikiPageResource addWikiPageResource(WikiPageResource wikiPageResource)
                                     throws SystemException
Adds the wiki page resource to the database. Also notifies the appropriate model listeners.

Specified by:
addWikiPageResource in interface WikiPageResourceLocalService
Parameters:
wikiPageResource - the wiki page resource to add
Returns:
the wiki page resource that was added
Throws:
SystemException - if a system exception occurred

createWikiPageResource

public WikiPageResource createWikiPageResource(long resourcePrimKey)
Creates a new wiki page resource with the primary key. Does not add the wiki page resource to the database.

Specified by:
createWikiPageResource in interface WikiPageResourceLocalService
Parameters:
resourcePrimKey - the primary key for the new wiki page resource
Returns:
the new wiki page resource

deleteWikiPageResource

public void deleteWikiPageResource(long resourcePrimKey)
                            throws PortalException,
                                   SystemException
Deletes the wiki page resource with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteWikiPageResource in interface WikiPageResourceLocalService
Parameters:
resourcePrimKey - the primary key of the wiki page resource to delete
Throws:
PortalException - if a wiki page resource with the primary key could not be found
SystemException - if a system exception occurred

deleteWikiPageResource

public void deleteWikiPageResource(WikiPageResource wikiPageResource)
                            throws SystemException
Deletes the wiki page resource from the database. Also notifies the appropriate model listeners.

Specified by:
deleteWikiPageResource in interface WikiPageResourceLocalService
Parameters:
wikiPageResource - the wiki page resource 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 WikiPageResourceLocalService
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 WikiPageResourceLocalService
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 WikiPageResourceLocalService
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 WikiPageResourceLocalService
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

getWikiPageResource

public WikiPageResource getWikiPageResource(long resourcePrimKey)
                                     throws PortalException,
                                            SystemException
Gets the wiki page resource with the primary key.

Specified by:
getWikiPageResource in interface WikiPageResourceLocalService
Parameters:
resourcePrimKey - the primary key of the wiki page resource to get
Returns:
the wiki page resource
Throws:
PortalException - if a wiki page resource with the primary key could not be found
SystemException - if a system exception occurred

getWikiPageResources

public List<WikiPageResource> getWikiPageResources(int start,
                                                   int end)
                                            throws SystemException
Gets a range of all the wiki page resources.

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:
getWikiPageResources in interface WikiPageResourceLocalService
Parameters:
start - the lower bound of the range of wiki page resources to return
end - the upper bound of the range of wiki page resources to return (not inclusive)
Returns:
the range of wiki page resources
Throws:
SystemException - if a system exception occurred

getWikiPageResourcesCount

public int getWikiPageResourcesCount()
                              throws SystemException
Gets the number of wiki page resources.

Specified by:
getWikiPageResourcesCount in interface WikiPageResourceLocalService
Returns:
the number of wiki page resources
Throws:
SystemException - if a system exception occurred

updateWikiPageResource

public WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource)
                                        throws SystemException
Updates the wiki page resource in the database. Also notifies the appropriate model listeners.

Specified by:
updateWikiPageResource in interface WikiPageResourceLocalService
Parameters:
wikiPageResource - the wiki page resource to update
Returns:
the wiki page resource that was updated
Throws:
SystemException - if a system exception occurred

updateWikiPageResource

public WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource,
                                               boolean merge)
                                        throws SystemException
Updates the wiki page resource in the database. Also notifies the appropriate model listeners.

Specified by:
updateWikiPageResource in interface WikiPageResourceLocalService
Parameters:
wikiPageResource - the wiki page resource to update
merge - whether to merge the wiki page resource 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 page resource 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

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

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