com.liferay.portlet.journal.service.base
Class JournalArticleResourceLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portlet.journal.service.base.JournalArticleResourceLocalServiceBaseImpl
All Implemented Interfaces:
com.liferay.portal.kernel.bean.IdentifiableBean, com.liferay.portal.service.PersistedModelLocalService, com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Direct Known Subclasses:
JournalArticleResourceLocalServiceImpl

public abstract class JournalArticleResourceLocalServiceBaseImpl
extends java.lang.Object
implements com.liferay.portlet.journal.service.JournalArticleResourceLocalService, com.liferay.portal.kernel.bean.IdentifiableBean

The base implementation of the journal article 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 JournalArticleResourceLocalServiceImpl.

Author:
Brian Wing Shun Chan
See Also:
JournalArticleResourceLocalServiceImpl, JournalArticleResourceLocalServiceUtil
Generated:

Field Summary
protected  com.liferay.counter.service.CounterLocalService counterLocalService
           
protected  com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder
           
protected  com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService
           
protected  com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence
           
protected  com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService
           
protected  com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence
           
protected  com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService
           
protected  com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence
           
protected  com.liferay.portlet.journal.service.JournalArticleService journalArticleService
           
protected  com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService
           
protected  com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence
           
protected  com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder
           
protected  com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService
           
protected  com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence
           
protected  com.liferay.portlet.journal.service.JournalFeedService journalFeedService
           
protected  com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder
           
protected  com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService
           
protected  com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence
           
protected  com.liferay.portlet.journal.service.JournalStructureService journalStructureService
           
protected  com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder
           
protected  com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService
           
protected  com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence
           
protected  com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService
           
protected  com.liferay.portal.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  com.liferay.portal.service.persistence.ResourceFinder resourceFinder
           
protected  com.liferay.portal.service.ResourceLocalService resourceLocalService
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.ResourceService resourceService
           
protected  com.liferay.portal.service.persistence.UserFinder userFinder
           
protected  com.liferay.portal.service.UserLocalService userLocalService
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
protected  com.liferay.portal.service.UserService userService
           
 
Constructor Summary
JournalArticleResourceLocalServiceBaseImpl()
           
 
Method Summary
 com.liferay.portlet.journal.model.JournalArticleResource addJournalArticleResource(com.liferay.portlet.journal.model.JournalArticleResource journalArticleResource)
          Adds the journal article resource to the database.
 void afterPropertiesSet()
           
 com.liferay.portlet.journal.model.JournalArticleResource createJournalArticleResource(long resourcePrimKey)
          Creates a new journal article resource with the primary key.
 void deleteJournalArticleResource(com.liferay.portlet.journal.model.JournalArticleResource journalArticleResource)
          Deletes the journal article resource from the database.
 void deleteJournalArticleResource(long resourcePrimKey)
          Deletes the journal article resource with the primary key from the database.
 void destroy()
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Performs a dynamic query on the database and returns an ordered range of the matching rows.
 long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
          Returns the number of rows that match the dynamic query.
 com.liferay.portlet.journal.model.JournalArticleResource fetchJournalArticleResource(long resourcePrimKey)
           
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 com.liferay.counter.service.CounterLocalService getCounterLocalService()
          Returns the counter local service.
 com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder()
          Returns the journal article finder.
 com.liferay.portlet.journal.service.JournalArticleImageLocalService getJournalArticleImageLocalService()
          Returns the journal article image local service.
 com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence()
          Returns the journal article image persistence.
 com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService()
          Returns the journal article local service.
 com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence()
          Returns the journal article persistence.
 com.liferay.portlet.journal.model.JournalArticleResource getJournalArticleResource(long resourcePrimKey)
          Returns the journal article resource with the primary key.
 com.liferay.portlet.journal.model.JournalArticleResource getJournalArticleResourceByUuidAndGroupId(java.lang.String uuid, long groupId)
          Returns the journal article resource with the UUID in the group.
 com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService()
          Returns the journal article resource local service.
 com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence()
          Returns the journal article resource persistence.
 java.util.List<com.liferay.portlet.journal.model.JournalArticleResource> getJournalArticleResources(int start, int end)
          Returns a range of all the journal article resources.
 int getJournalArticleResourcesCount()
          Returns the number of journal article resources.
 com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService()
          Returns the journal article remote service.
 com.liferay.portlet.journal.service.JournalContentSearchLocalService getJournalContentSearchLocalService()
          Returns the journal content search local service.
 com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence()
          Returns the journal content search persistence.
 com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder()
          Returns the journal feed finder.
 com.liferay.portlet.journal.service.JournalFeedLocalService getJournalFeedLocalService()
          Returns the journal feed local service.
 com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence()
          Returns the journal feed persistence.
 com.liferay.portlet.journal.service.JournalFeedService getJournalFeedService()
          Returns the journal feed remote service.
 com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder()
          Returns the journal structure finder.
 com.liferay.portlet.journal.service.JournalStructureLocalService getJournalStructureLocalService()
          Returns the journal structure local service.
 com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence()
          Returns the journal structure persistence.
 com.liferay.portlet.journal.service.JournalStructureService getJournalStructureService()
          Returns the journal structure remote service.
 com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder()
          Returns the journal template finder.
 com.liferay.portlet.journal.service.JournalTemplateLocalService getJournalTemplateLocalService()
          Returns the journal template local service.
 com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence()
          Returns the journal template persistence.
 com.liferay.portlet.journal.service.JournalTemplateService getJournalTemplateService()
          Returns the journal template remote service.
protected  java.lang.Class<?> getModelClass()
           
protected  java.lang.String getModelClassName()
           
 com.liferay.portal.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj)
           
 com.liferay.portal.service.persistence.ResourceFinder getResourceFinder()
          Returns the resource finder.
 com.liferay.portal.service.ResourceLocalService getResourceLocalService()
          Returns the resource local service.
 com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence()
          Returns the resource persistence.
 com.liferay.portal.service.ResourceService getResourceService()
          Returns the resource remote service.
 com.liferay.portal.service.persistence.UserFinder getUserFinder()
          Returns the user finder.
 com.liferay.portal.service.UserLocalService getUserLocalService()
          Returns the user local service.
 com.liferay.portal.service.persistence.UserPersistence getUserPersistence()
          Returns the user persistence.
 com.liferay.portal.service.UserService getUserService()
          Returns the user remote service.
protected  void runSQL(java.lang.String sql)
          Performs an SQL query.
 void setBeanIdentifier(java.lang.String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setCounterLocalService(com.liferay.counter.service.CounterLocalService counterLocalService)
          Sets the counter local service.
 void setJournalArticleFinder(com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder)
          Sets the journal article finder.
 void setJournalArticleImageLocalService(com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService)
          Sets the journal article image local service.
 void setJournalArticleImagePersistence(com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence)
          Sets the journal article image persistence.
 void setJournalArticleLocalService(com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService)
          Sets the journal article local service.
 void setJournalArticlePersistence(com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence)
          Sets the journal article persistence.
 void setJournalArticleResourceLocalService(com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService)
          Sets the journal article resource local service.
 void setJournalArticleResourcePersistence(com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence)
          Sets the journal article resource persistence.
 void setJournalArticleService(com.liferay.portlet.journal.service.JournalArticleService journalArticleService)
          Sets the journal article remote service.
 void setJournalContentSearchLocalService(com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService)
          Sets the journal content search local service.
 void setJournalContentSearchPersistence(com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence)
          Sets the journal content search persistence.
 void setJournalFeedFinder(com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder)
          Sets the journal feed finder.
 void setJournalFeedLocalService(com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService)
          Sets the journal feed local service.
 void setJournalFeedPersistence(com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence)
          Sets the journal feed persistence.
 void setJournalFeedService(com.liferay.portlet.journal.service.JournalFeedService journalFeedService)
          Sets the journal feed remote service.
 void setJournalStructureFinder(com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder)
          Sets the journal structure finder.
 void setJournalStructureLocalService(com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService)
          Sets the journal structure local service.
 void setJournalStructurePersistence(com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence)
          Sets the journal structure persistence.
 void setJournalStructureService(com.liferay.portlet.journal.service.JournalStructureService journalStructureService)
          Sets the journal structure remote service.
 void setJournalTemplateFinder(com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder)
          Sets the journal template finder.
 void setJournalTemplateLocalService(com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService)
          Sets the journal template local service.
 void setJournalTemplatePersistence(com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence)
          Sets the journal template persistence.
 void setJournalTemplateService(com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService)
          Sets the journal template remote service.
 void setResourceFinder(com.liferay.portal.service.persistence.ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(com.liferay.portal.service.ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(com.liferay.portal.service.ResourceService resourceService)
          Sets the resource remote service.
 void setUserFinder(com.liferay.portal.service.persistence.UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(com.liferay.portal.service.UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(com.liferay.portal.service.persistence.UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(com.liferay.portal.service.UserService userService)
          Sets the user remote service.
 com.liferay.portlet.journal.model.JournalArticleResource updateJournalArticleResource(com.liferay.portlet.journal.model.JournalArticleResource journalArticleResource)
          Updates the journal article resource in the database or adds it if it does not yet exist.
 com.liferay.portlet.journal.model.JournalArticleResource updateJournalArticleResource(com.liferay.portlet.journal.model.JournalArticleResource journalArticleResource, boolean merge)
          Updates the journal article resource in the database or adds it if it does not yet exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
deleteArticleResource, getArticleResource, getArticleResourcePrimKey, getArticleResourcePrimKey, getArticleResources
 

Field Detail

journalArticleLocalService

@BeanReference(type=com.liferay.portlet.journal.service.JournalArticleLocalService.class)
protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService

journalArticleService

@BeanReference(type=com.liferay.portlet.journal.service.JournalArticleService.class)
protected com.liferay.portlet.journal.service.JournalArticleService journalArticleService

journalArticlePersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalArticlePersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence

journalArticleFinder

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalArticleFinder.class)
protected com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder

journalArticleImageLocalService

@BeanReference(type=com.liferay.portlet.journal.service.JournalArticleImageLocalService.class)
protected com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService

journalArticleImagePersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence

journalArticleResourceLocalService

@BeanReference(type=com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class)
protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService

journalArticleResourcePersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence

journalContentSearchLocalService

@BeanReference(type=com.liferay.portlet.journal.service.JournalContentSearchLocalService.class)
protected com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService

journalContentSearchPersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence

journalFeedLocalService

@BeanReference(type=com.liferay.portlet.journal.service.JournalFeedLocalService.class)
protected com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService

journalFeedService

@BeanReference(type=com.liferay.portlet.journal.service.JournalFeedService.class)
protected com.liferay.portlet.journal.service.JournalFeedService journalFeedService

journalFeedPersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalFeedPersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence

journalFeedFinder

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalFeedFinder.class)
protected com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder

journalStructureLocalService

@BeanReference(type=com.liferay.portlet.journal.service.JournalStructureLocalService.class)
protected com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService

journalStructureService

@BeanReference(type=com.liferay.portlet.journal.service.JournalStructureService.class)
protected com.liferay.portlet.journal.service.JournalStructureService journalStructureService

journalStructurePersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalStructurePersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence

journalStructureFinder

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalStructureFinder.class)
protected com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder

journalTemplateLocalService

@BeanReference(type=com.liferay.portlet.journal.service.JournalTemplateLocalService.class)
protected com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService

journalTemplateService

@BeanReference(type=com.liferay.portlet.journal.service.JournalTemplateService.class)
protected com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService

journalTemplatePersistence

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence.class)
protected com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence

journalTemplateFinder

@BeanReference(type=com.liferay.portlet.journal.service.persistence.JournalTemplateFinder.class)
protected com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder

counterLocalService

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

resourceLocalService

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

resourceService

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

resourcePersistence

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

resourceFinder

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

userLocalService

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

userService

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

userPersistence

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

userFinder

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

persistedModelLocalServiceRegistry

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

JournalArticleResourceLocalServiceBaseImpl

public JournalArticleResourceLocalServiceBaseImpl()
Method Detail

addJournalArticleResource

public com.liferay.portlet.journal.model.JournalArticleResource addJournalArticleResource(com.liferay.portlet.journal.model.JournalArticleResource journalArticleResource)
                                                                                   throws com.liferay.portal.kernel.exception.SystemException
Adds the journal article resource to the database. Also notifies the appropriate model listeners.

Specified by:
addJournalArticleResource in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Parameters:
journalArticleResource - the journal article resource
Returns:
the journal article resource that was added
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

createJournalArticleResource

public com.liferay.portlet.journal.model.JournalArticleResource createJournalArticleResource(long resourcePrimKey)
Creates a new journal article resource with the primary key. Does not add the journal article resource to the database.

Specified by:
createJournalArticleResource in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Parameters:
resourcePrimKey - the primary key for the new journal article resource
Returns:
the new journal article resource

deleteJournalArticleResource

public void deleteJournalArticleResource(long resourcePrimKey)
                                  throws com.liferay.portal.kernel.exception.PortalException,
                                         com.liferay.portal.kernel.exception.SystemException
Deletes the journal article resource with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteJournalArticleResource in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Parameters:
resourcePrimKey - the primary key of the journal article resource
Throws:
com.liferay.portal.kernel.exception.PortalException - if a journal article resource with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

deleteJournalArticleResource

public void deleteJournalArticleResource(com.liferay.portlet.journal.model.JournalArticleResource journalArticleResource)
                                  throws com.liferay.portal.kernel.exception.SystemException
Deletes the journal article resource from the database. Also notifies the appropriate model listeners.

Specified by:
deleteJournalArticleResource in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Parameters:
journalArticleResource - the journal article resource
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

dynamicQuery

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

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

dynamicQuery

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

dynamicQuery

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set.

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

dynamicQueryCount

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

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

fetchJournalArticleResource

public com.liferay.portlet.journal.model.JournalArticleResource fetchJournalArticleResource(long resourcePrimKey)
                                                                                     throws com.liferay.portal.kernel.exception.SystemException
Specified by:
fetchJournalArticleResource in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Throws:
com.liferay.portal.kernel.exception.SystemException

getJournalArticleResource

public com.liferay.portlet.journal.model.JournalArticleResource getJournalArticleResource(long resourcePrimKey)
                                                                                   throws com.liferay.portal.kernel.exception.PortalException,
                                                                                          com.liferay.portal.kernel.exception.SystemException
Returns the journal article resource with the primary key.

Specified by:
getJournalArticleResource in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Parameters:
resourcePrimKey - the primary key of the journal article resource
Returns:
the journal article resource
Throws:
com.liferay.portal.kernel.exception.PortalException - if a journal article resource with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getPersistedModel

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

getJournalArticleResourceByUuidAndGroupId

public com.liferay.portlet.journal.model.JournalArticleResource getJournalArticleResourceByUuidAndGroupId(java.lang.String uuid,
                                                                                                          long groupId)
                                                                                                   throws com.liferay.portal.kernel.exception.PortalException,
                                                                                                          com.liferay.portal.kernel.exception.SystemException
Returns the journal article resource with the UUID in the group.

Specified by:
getJournalArticleResourceByUuidAndGroupId in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Parameters:
uuid - the UUID of journal article resource
groupId - the group id of the journal article resource
Returns:
the journal article resource
Throws:
com.liferay.portal.kernel.exception.PortalException - if a journal article resource with the UUID in the group could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getJournalArticleResources

public java.util.List<com.liferay.portlet.journal.model.JournalArticleResource> getJournalArticleResources(int start,
                                                                                                           int end)
                                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the journal article 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:
getJournalArticleResources in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Parameters:
start - the lower bound of the range of journal article resources
end - the upper bound of the range of journal article resources (not inclusive)
Returns:
the range of journal article resources
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getJournalArticleResourcesCount

public int getJournalArticleResourcesCount()
                                    throws com.liferay.portal.kernel.exception.SystemException
Returns the number of journal article resources.

Specified by:
getJournalArticleResourcesCount in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Returns:
the number of journal article resources
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateJournalArticleResource

public com.liferay.portlet.journal.model.JournalArticleResource updateJournalArticleResource(com.liferay.portlet.journal.model.JournalArticleResource journalArticleResource)
                                                                                      throws com.liferay.portal.kernel.exception.SystemException
Updates the journal article resource in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateJournalArticleResource in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Parameters:
journalArticleResource - the journal article resource
Returns:
the journal article resource that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

updateJournalArticleResource

public com.liferay.portlet.journal.model.JournalArticleResource updateJournalArticleResource(com.liferay.portlet.journal.model.JournalArticleResource journalArticleResource,
                                                                                             boolean merge)
                                                                                      throws com.liferay.portal.kernel.exception.SystemException
Updates the journal article resource in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateJournalArticleResource in interface com.liferay.portlet.journal.service.JournalArticleResourceLocalService
Parameters:
journalArticleResource - the journal article resource
merge - whether to merge the journal article 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 journal article resource that was updated
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getJournalArticleLocalService

public com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService()
Returns the journal article local service.

Returns:
the journal article local service

setJournalArticleLocalService

public void setJournalArticleLocalService(com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService)
Sets the journal article local service.

Parameters:
journalArticleLocalService - the journal article local service

getJournalArticleService

public com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService()
Returns the journal article remote service.

Returns:
the journal article remote service

setJournalArticleService

public void setJournalArticleService(com.liferay.portlet.journal.service.JournalArticleService journalArticleService)
Sets the journal article remote service.

Parameters:
journalArticleService - the journal article remote service

getJournalArticlePersistence

public com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence()
Returns the journal article persistence.

Returns:
the journal article persistence

setJournalArticlePersistence

public void setJournalArticlePersistence(com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence)
Sets the journal article persistence.

Parameters:
journalArticlePersistence - the journal article persistence

getJournalArticleFinder

public com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder()
Returns the journal article finder.

Returns:
the journal article finder

setJournalArticleFinder

public void setJournalArticleFinder(com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder)
Sets the journal article finder.

Parameters:
journalArticleFinder - the journal article finder

getJournalArticleImageLocalService

public com.liferay.portlet.journal.service.JournalArticleImageLocalService getJournalArticleImageLocalService()
Returns the journal article image local service.

Returns:
the journal article image local service

setJournalArticleImageLocalService

public void setJournalArticleImageLocalService(com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService)
Sets the journal article image local service.

Parameters:
journalArticleImageLocalService - the journal article image local service

getJournalArticleImagePersistence

public com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence()
Returns the journal article image persistence.

Returns:
the journal article image persistence

setJournalArticleImagePersistence

public void setJournalArticleImagePersistence(com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence)
Sets the journal article image persistence.

Parameters:
journalArticleImagePersistence - the journal article image persistence

getJournalArticleResourceLocalService

public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService()
Returns the journal article resource local service.

Returns:
the journal article resource local service

setJournalArticleResourceLocalService

public void setJournalArticleResourceLocalService(com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService)
Sets the journal article resource local service.

Parameters:
journalArticleResourceLocalService - the journal article resource local service

getJournalArticleResourcePersistence

public com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence()
Returns the journal article resource persistence.

Returns:
the journal article resource persistence

setJournalArticleResourcePersistence

public void setJournalArticleResourcePersistence(com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence)
Sets the journal article resource persistence.

Parameters:
journalArticleResourcePersistence - the journal article resource persistence

getJournalContentSearchLocalService

public com.liferay.portlet.journal.service.JournalContentSearchLocalService getJournalContentSearchLocalService()
Returns the journal content search local service.

Returns:
the journal content search local service

setJournalContentSearchLocalService

public void setJournalContentSearchLocalService(com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService)
Sets the journal content search local service.

Parameters:
journalContentSearchLocalService - the journal content search local service

getJournalContentSearchPersistence

public com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence()
Returns the journal content search persistence.

Returns:
the journal content search persistence

setJournalContentSearchPersistence

public void setJournalContentSearchPersistence(com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence)
Sets the journal content search persistence.

Parameters:
journalContentSearchPersistence - the journal content search persistence

getJournalFeedLocalService

public com.liferay.portlet.journal.service.JournalFeedLocalService getJournalFeedLocalService()
Returns the journal feed local service.

Returns:
the journal feed local service

setJournalFeedLocalService

public void setJournalFeedLocalService(com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService)
Sets the journal feed local service.

Parameters:
journalFeedLocalService - the journal feed local service

getJournalFeedService

public com.liferay.portlet.journal.service.JournalFeedService getJournalFeedService()
Returns the journal feed remote service.

Returns:
the journal feed remote service

setJournalFeedService

public void setJournalFeedService(com.liferay.portlet.journal.service.JournalFeedService journalFeedService)
Sets the journal feed remote service.

Parameters:
journalFeedService - the journal feed remote service

getJournalFeedPersistence

public com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence()
Returns the journal feed persistence.

Returns:
the journal feed persistence

setJournalFeedPersistence

public void setJournalFeedPersistence(com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence)
Sets the journal feed persistence.

Parameters:
journalFeedPersistence - the journal feed persistence

getJournalFeedFinder

public com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder()
Returns the journal feed finder.

Returns:
the journal feed finder

setJournalFeedFinder

public void setJournalFeedFinder(com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder)
Sets the journal feed finder.

Parameters:
journalFeedFinder - the journal feed finder

getJournalStructureLocalService

public com.liferay.portlet.journal.service.JournalStructureLocalService getJournalStructureLocalService()
Returns the journal structure local service.

Returns:
the journal structure local service

setJournalStructureLocalService

public void setJournalStructureLocalService(com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService)
Sets the journal structure local service.

Parameters:
journalStructureLocalService - the journal structure local service

getJournalStructureService

public com.liferay.portlet.journal.service.JournalStructureService getJournalStructureService()
Returns the journal structure remote service.

Returns:
the journal structure remote service

setJournalStructureService

public void setJournalStructureService(com.liferay.portlet.journal.service.JournalStructureService journalStructureService)
Sets the journal structure remote service.

Parameters:
journalStructureService - the journal structure remote service

getJournalStructurePersistence

public com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence()
Returns the journal structure persistence.

Returns:
the journal structure persistence

setJournalStructurePersistence

public void setJournalStructurePersistence(com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence)
Sets the journal structure persistence.

Parameters:
journalStructurePersistence - the journal structure persistence

getJournalStructureFinder

public com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder()
Returns the journal structure finder.

Returns:
the journal structure finder

setJournalStructureFinder

public void setJournalStructureFinder(com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder)
Sets the journal structure finder.

Parameters:
journalStructureFinder - the journal structure finder

getJournalTemplateLocalService

public com.liferay.portlet.journal.service.JournalTemplateLocalService getJournalTemplateLocalService()
Returns the journal template local service.

Returns:
the journal template local service

setJournalTemplateLocalService

public void setJournalTemplateLocalService(com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService)
Sets the journal template local service.

Parameters:
journalTemplateLocalService - the journal template local service

getJournalTemplateService

public com.liferay.portlet.journal.service.JournalTemplateService getJournalTemplateService()
Returns the journal template remote service.

Returns:
the journal template remote service

setJournalTemplateService

public void setJournalTemplateService(com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService)
Sets the journal template remote service.

Parameters:
journalTemplateService - the journal template remote service

getJournalTemplatePersistence

public com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence()
Returns the journal template persistence.

Returns:
the journal template persistence

setJournalTemplatePersistence

public void setJournalTemplatePersistence(com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence)
Sets the journal template persistence.

Parameters:
journalTemplatePersistence - the journal template persistence

getJournalTemplateFinder

public com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder()
Returns the journal template finder.

Returns:
the journal template finder

setJournalTemplateFinder

public void setJournalTemplateFinder(com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder)
Sets the journal template finder.

Parameters:
journalTemplateFinder - the journal template finder

getCounterLocalService

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

Returns:
the counter local service

setCounterLocalService

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

Parameters:
counterLocalService - the counter local service

getResourceLocalService

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

Returns:
the resource local service

setResourceLocalService

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

Parameters:
resourceLocalService - the resource local service

getResourceService

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

Returns:
the resource remote service

setResourceService

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

Parameters:
resourceService - the resource remote service

getResourcePersistence

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

Returns:
the resource persistence

setResourcePersistence

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

Parameters:
resourcePersistence - the resource persistence

getResourceFinder

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

Returns:
the resource finder

setResourceFinder

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

Parameters:
resourceFinder - the resource finder

getUserLocalService

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

Returns:
the user local service

setUserLocalService

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

Parameters:
userLocalService - the user local service

getUserService

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

Returns:
the user remote service

setUserService

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

Parameters:
userService - the user remote service

getUserPersistence

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

Returns:
the user persistence

setUserPersistence

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

Parameters:
userPersistence - the user persistence

getUserFinder

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

Returns:
the user finder

setUserFinder

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

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

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

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

setBeanIdentifier

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

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

getModelClass

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

getModelClassName

protected java.lang.String getModelClassName()

runSQL

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

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