Liferay 6.1.2-ce-ga3

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

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

public abstract class WikiPageResourceLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements WikiPageResourceLocalService, IdentifiableBean

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.

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

Field Summary
protected  CounterLocalService counterLocalService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
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.
 void afterPropertiesSet()
           
 WikiPageResource createWikiPageResource(long resourcePrimKey)
          Creates a new wiki page resource with the primary key.
 WikiPageResource deleteWikiPageResource(long resourcePrimKey)
          Deletes the wiki page resource with the primary key from the database.
 WikiPageResource deleteWikiPageResource(WikiPageResource wikiPageResource)
          Deletes the wiki page resource 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.
 WikiPageResource fetchWikiPageResource(long resourcePrimKey)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 ResourceFinder getResourceFinder()
          Returns the resource finder.
 ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 ResourceService getResourceService()
          Returns the resource remote service.
 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.
 WikiNodeLocalService getWikiNodeLocalService()
          Returns the wiki node local service.
 WikiNodePersistence getWikiNodePersistence()
          Returns the wiki node persistence.
 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.
 WikiPageResource getWikiPageResource(long resourcePrimKey)
          Returns the wiki page resource with the primary key.
 WikiPageResourceLocalService getWikiPageResourceLocalService()
          Returns the wiki page resource local service.
 WikiPageResourcePersistence getWikiPageResourcePersistence()
          Returns the wiki page resource persistence.
 List<WikiPageResource> getWikiPageResources(int start, int end)
          Returns a range of all the wiki page resources.
 int getWikiPageResourcesCount()
          Returns the number of wiki page resources.
 WikiPageService getWikiPageService()
          Returns the wiki page remote service.
protected  void runSQL(String sql)
          Performs an SQL query.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 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 or adds it if it does not yet exist.
 WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource, boolean merge)
          Updates the wiki page resource in the database or adds it if it does not yet exist.
 
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl
getClassLoader
 
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

persistedModelLocalServiceRegistry

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

WikiPageResourceLocalServiceBaseImpl

public WikiPageResourceLocalServiceBaseImpl()
Method Detail

addWikiPageResource

@Indexable(type=REINDEX)
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
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

@Indexable(type=DELETE)
public WikiPageResource 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
Returns:
the wiki page resource that was removed
Throws:
PortalException - if a wiki page resource with the primary key could not be found
SystemException - if a system exception occurred

deleteWikiPageResource

@Indexable(type=DELETE)
public WikiPageResource 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
Returns:
the wiki page resource that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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
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
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.

Specified by:
dynamicQuery in interface WikiPageResourceLocalService
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 WikiPageResourceLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchWikiPageResource

public WikiPageResource fetchWikiPageResource(long resourcePrimKey)
                                       throws SystemException
Specified by:
fetchWikiPageResource in interface WikiPageResourceLocalService
Throws:
SystemException

getWikiPageResource

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

Specified by:
getWikiPageResource in interface WikiPageResourceLocalService
Parameters:
resourcePrimKey - the primary key of the wiki page resource
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

getPersistedModel

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

getWikiPageResources

public List<WikiPageResource> getWikiPageResources(int start,
                                                   int end)
                                            throws SystemException
Returns 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
end - the upper bound of the range of wiki page resources (not inclusive)
Returns:
the range of wiki page resources
Throws:
SystemException - if a system exception occurred

getWikiPageResourcesCount

public int getWikiPageResourcesCount()
                              throws SystemException
Returns 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

@Indexable(type=REINDEX)
public WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource)
                                        throws SystemException
Updates the wiki page resource in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

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

updateWikiPageResource

@Indexable(type=REINDEX)
public WikiPageResource updateWikiPageResource(WikiPageResource wikiPageResource,
                                                                    boolean merge)
                                        throws SystemException
Updates the wiki page resource in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

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

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

getResourceService

public ResourceService getResourceService()
Returns 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()
Returns 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()
Returns 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()
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

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 WikiPageResourceLocalService
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 WikiPageResourceLocalService
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.1.2-ce-ga3