Liferay 6.1.2-ce-ga3

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

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portlet.journal.service.base.JournalTemplateLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, JournalTemplateLocalService
Direct Known Subclasses:
JournalTemplateLocalServiceImpl

public abstract class JournalTemplateLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements JournalTemplateLocalService, IdentifiableBean

The base implementation of the journal template 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 JournalTemplateLocalServiceImpl.

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

Field Summary
protected  CounterLocalService counterLocalService
           
protected  ExpandoValueLocalService expandoValueLocalService
           
protected  ExpandoValuePersistence expandoValuePersistence
           
protected  ExpandoValueService expandoValueService
           
protected  GroupFinder groupFinder
           
protected  GroupLocalService groupLocalService
           
protected  GroupPersistence groupPersistence
           
protected  GroupService groupService
           
protected  ImageLocalService imageLocalService
           
protected  ImagePersistence imagePersistence
           
protected  ImageService imageService
           
protected  JournalArticleFinder journalArticleFinder
           
protected  JournalArticleImageLocalService journalArticleImageLocalService
           
protected  JournalArticleImagePersistence journalArticleImagePersistence
           
protected  JournalArticleLocalService journalArticleLocalService
           
protected  JournalArticlePersistence journalArticlePersistence
           
protected  JournalArticleResourceLocalService journalArticleResourceLocalService
           
protected  JournalArticleResourcePersistence journalArticleResourcePersistence
           
protected  JournalArticleService journalArticleService
           
protected  JournalContentSearchLocalService journalContentSearchLocalService
           
protected  JournalContentSearchPersistence journalContentSearchPersistence
           
protected  JournalFeedFinder journalFeedFinder
           
protected  JournalFeedLocalService journalFeedLocalService
           
protected  JournalFeedPersistence journalFeedPersistence
           
protected  JournalFeedService journalFeedService
           
protected  JournalStructureFinder journalStructureFinder
           
protected  JournalStructureLocalService journalStructureLocalService
           
protected  JournalStructurePersistence journalStructurePersistence
           
protected  JournalStructureService journalStructureService
           
protected  JournalTemplateFinder journalTemplateFinder
           
protected  JournalTemplateLocalService journalTemplateLocalService
           
protected  JournalTemplatePersistence journalTemplatePersistence
           
protected  JournalTemplateService journalTemplateService
           
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  WebDAVPropsLocalService webDAVPropsLocalService
           
protected  WebDAVPropsPersistence webDAVPropsPersistence
           
 
Constructor Summary
JournalTemplateLocalServiceBaseImpl()
           
 
Method Summary
 JournalTemplate addJournalTemplate(JournalTemplate journalTemplate)
          Adds the journal template to the database.
 void afterPropertiesSet()
           
 JournalTemplate createJournalTemplate(long id)
          Creates a new journal template with the primary key.
 JournalTemplate deleteJournalTemplate(JournalTemplate journalTemplate)
          Deletes the journal template from the database.
 JournalTemplate deleteJournalTemplate(long id)
          Deletes the journal template with the primary key 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.
 JournalTemplate fetchJournalTemplate(long id)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
 ExpandoValueLocalService getExpandoValueLocalService()
          Returns the expando value local service.
 ExpandoValuePersistence getExpandoValuePersistence()
          Returns the expando value persistence.
 ExpandoValueService getExpandoValueService()
          Returns the expando value remote service.
 GroupFinder getGroupFinder()
          Returns the group finder.
 GroupLocalService getGroupLocalService()
          Returns the group local service.
 GroupPersistence getGroupPersistence()
          Returns the group persistence.
 GroupService getGroupService()
          Returns the group remote service.
 ImageLocalService getImageLocalService()
          Returns the image local service.
 ImagePersistence getImagePersistence()
          Returns the image persistence.
 ImageService getImageService()
          Returns the image remote service.
 JournalArticleFinder getJournalArticleFinder()
          Returns the journal article finder.
 JournalArticleImageLocalService getJournalArticleImageLocalService()
          Returns the journal article image local service.
 JournalArticleImagePersistence getJournalArticleImagePersistence()
          Returns the journal article image persistence.
 JournalArticleLocalService getJournalArticleLocalService()
          Returns the journal article local service.
 JournalArticlePersistence getJournalArticlePersistence()
          Returns the journal article persistence.
 JournalArticleResourceLocalService getJournalArticleResourceLocalService()
          Returns the journal article resource local service.
 JournalArticleResourcePersistence getJournalArticleResourcePersistence()
          Returns the journal article resource persistence.
 JournalArticleService getJournalArticleService()
          Returns the journal article remote service.
 JournalContentSearchLocalService getJournalContentSearchLocalService()
          Returns the journal content search local service.
 JournalContentSearchPersistence getJournalContentSearchPersistence()
          Returns the journal content search persistence.
 JournalFeedFinder getJournalFeedFinder()
          Returns the journal feed finder.
 JournalFeedLocalService getJournalFeedLocalService()
          Returns the journal feed local service.
 JournalFeedPersistence getJournalFeedPersistence()
          Returns the journal feed persistence.
 JournalFeedService getJournalFeedService()
          Returns the journal feed remote service.
 JournalStructureFinder getJournalStructureFinder()
          Returns the journal structure finder.
 JournalStructureLocalService getJournalStructureLocalService()
          Returns the journal structure local service.
 JournalStructurePersistence getJournalStructurePersistence()
          Returns the journal structure persistence.
 JournalStructureService getJournalStructureService()
          Returns the journal structure remote service.
 JournalTemplate getJournalTemplate(long id)
          Returns the journal template with the primary key.
 JournalTemplate getJournalTemplateByUuidAndGroupId(String uuid, long groupId)
          Returns the journal template with the UUID in the group.
 JournalTemplateFinder getJournalTemplateFinder()
          Returns the journal template finder.
 JournalTemplateLocalService getJournalTemplateLocalService()
          Returns the journal template local service.
 JournalTemplatePersistence getJournalTemplatePersistence()
          Returns the journal template persistence.
 List<JournalTemplate> getJournalTemplates(int start, int end)
          Returns a range of all the journal templates.
 int getJournalTemplatesCount()
          Returns the number of journal templates.
 JournalTemplateService getJournalTemplateService()
          Returns the journal template remote 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.
 WebDAVPropsLocalService getWebDAVPropsLocalService()
          Returns the web d a v props local service.
 WebDAVPropsPersistence getWebDAVPropsPersistence()
          Returns the web d a v props persistence.
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 setExpandoValueLocalService(ExpandoValueLocalService expandoValueLocalService)
          Sets the expando value local service.
 void setExpandoValuePersistence(ExpandoValuePersistence expandoValuePersistence)
          Sets the expando value persistence.
 void setExpandoValueService(ExpandoValueService expandoValueService)
          Sets the expando value remote service.
 void setGroupFinder(GroupFinder groupFinder)
          Sets the group finder.
 void setGroupLocalService(GroupLocalService groupLocalService)
          Sets the group local service.
 void setGroupPersistence(GroupPersistence groupPersistence)
          Sets the group persistence.
 void setGroupService(GroupService groupService)
          Sets the group remote service.
 void setImageLocalService(ImageLocalService imageLocalService)
          Sets the image local service.
 void setImagePersistence(ImagePersistence imagePersistence)
          Sets the image persistence.
 void setImageService(ImageService imageService)
          Sets the image remote service.
 void setJournalArticleFinder(JournalArticleFinder journalArticleFinder)
          Sets the journal article finder.
 void setJournalArticleImageLocalService(JournalArticleImageLocalService journalArticleImageLocalService)
          Sets the journal article image local service.
 void setJournalArticleImagePersistence(JournalArticleImagePersistence journalArticleImagePersistence)
          Sets the journal article image persistence.
 void setJournalArticleLocalService(JournalArticleLocalService journalArticleLocalService)
          Sets the journal article local service.
 void setJournalArticlePersistence(JournalArticlePersistence journalArticlePersistence)
          Sets the journal article persistence.
 void setJournalArticleResourceLocalService(JournalArticleResourceLocalService journalArticleResourceLocalService)
          Sets the journal article resource local service.
 void setJournalArticleResourcePersistence(JournalArticleResourcePersistence journalArticleResourcePersistence)
          Sets the journal article resource persistence.
 void setJournalArticleService(JournalArticleService journalArticleService)
          Sets the journal article remote service.
 void setJournalContentSearchLocalService(JournalContentSearchLocalService journalContentSearchLocalService)
          Sets the journal content search local service.
 void setJournalContentSearchPersistence(JournalContentSearchPersistence journalContentSearchPersistence)
          Sets the journal content search persistence.
 void setJournalFeedFinder(JournalFeedFinder journalFeedFinder)
          Sets the journal feed finder.
 void setJournalFeedLocalService(JournalFeedLocalService journalFeedLocalService)
          Sets the journal feed local service.
 void setJournalFeedPersistence(JournalFeedPersistence journalFeedPersistence)
          Sets the journal feed persistence.
 void setJournalFeedService(JournalFeedService journalFeedService)
          Sets the journal feed remote service.
 void setJournalStructureFinder(JournalStructureFinder journalStructureFinder)
          Sets the journal structure finder.
 void setJournalStructureLocalService(JournalStructureLocalService journalStructureLocalService)
          Sets the journal structure local service.
 void setJournalStructurePersistence(JournalStructurePersistence journalStructurePersistence)
          Sets the journal structure persistence.
 void setJournalStructureService(JournalStructureService journalStructureService)
          Sets the journal structure remote service.
 void setJournalTemplateFinder(JournalTemplateFinder journalTemplateFinder)
          Sets the journal template finder.
 void setJournalTemplateLocalService(JournalTemplateLocalService journalTemplateLocalService)
          Sets the journal template local service.
 void setJournalTemplatePersistence(JournalTemplatePersistence journalTemplatePersistence)
          Sets the journal template persistence.
 void setJournalTemplateService(JournalTemplateService journalTemplateService)
          Sets the journal template remote service.
 void setResourceFinder(ResourceFinder resourceFinder)
          Sets the resource finder.
 void setResourceLocalService(ResourceLocalService resourceLocalService)
          Sets the resource local service.
 void setResourcePersistence(ResourcePersistence resourcePersistence)
          Sets the resource persistence.
 void setResourceService(ResourceService resourceService)
          Sets the resource remote service.
 void 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 setWebDAVPropsLocalService(WebDAVPropsLocalService webDAVPropsLocalService)
          Sets the web d a v props local service.
 void setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)
          Sets the web d a v props persistence.
 JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate)
          Updates the journal template in the database or adds it if it does not yet exist.
 JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate, boolean merge)
          Updates the journal template 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.journal.service.JournalTemplateLocalService
addTemplate, addTemplateResources, addTemplateResources, addTemplateResources, addTemplateResources, checkNewLine, copyTemplate, deleteTemplate, deleteTemplate, deleteTemplates, getStructureTemplates, getStructureTemplates, getStructureTemplatesCount, getTemplate, getTemplate, getTemplate, getTemplateBySmallImageId, getTemplates, getTemplates, getTemplates, getTemplatesCount, hasTemplate, search, search, searchCount, searchCount, updateTemplate
 

Field Detail

journalArticleLocalService

@BeanReference(type=JournalArticleLocalService.class)
protected JournalArticleLocalService journalArticleLocalService

journalArticleService

@BeanReference(type=JournalArticleService.class)
protected JournalArticleService journalArticleService

journalArticlePersistence

@BeanReference(type=JournalArticlePersistence.class)
protected JournalArticlePersistence journalArticlePersistence

journalArticleFinder

@BeanReference(type=JournalArticleFinder.class)
protected JournalArticleFinder journalArticleFinder

journalArticleImageLocalService

@BeanReference(type=JournalArticleImageLocalService.class)
protected JournalArticleImageLocalService journalArticleImageLocalService

journalArticleImagePersistence

@BeanReference(type=JournalArticleImagePersistence.class)
protected JournalArticleImagePersistence journalArticleImagePersistence

journalArticleResourceLocalService

@BeanReference(type=JournalArticleResourceLocalService.class)
protected JournalArticleResourceLocalService journalArticleResourceLocalService

journalArticleResourcePersistence

@BeanReference(type=JournalArticleResourcePersistence.class)
protected JournalArticleResourcePersistence journalArticleResourcePersistence

journalContentSearchLocalService

@BeanReference(type=JournalContentSearchLocalService.class)
protected JournalContentSearchLocalService journalContentSearchLocalService

journalContentSearchPersistence

@BeanReference(type=JournalContentSearchPersistence.class)
protected JournalContentSearchPersistence journalContentSearchPersistence

journalFeedLocalService

@BeanReference(type=JournalFeedLocalService.class)
protected JournalFeedLocalService journalFeedLocalService

journalFeedService

@BeanReference(type=JournalFeedService.class)
protected JournalFeedService journalFeedService

journalFeedPersistence

@BeanReference(type=JournalFeedPersistence.class)
protected JournalFeedPersistence journalFeedPersistence

journalFeedFinder

@BeanReference(type=JournalFeedFinder.class)
protected JournalFeedFinder journalFeedFinder

journalStructureLocalService

@BeanReference(type=JournalStructureLocalService.class)
protected JournalStructureLocalService journalStructureLocalService

journalStructureService

@BeanReference(type=JournalStructureService.class)
protected JournalStructureService journalStructureService

journalStructurePersistence

@BeanReference(type=JournalStructurePersistence.class)
protected JournalStructurePersistence journalStructurePersistence

journalStructureFinder

@BeanReference(type=JournalStructureFinder.class)
protected JournalStructureFinder journalStructureFinder

journalTemplateLocalService

@BeanReference(type=JournalTemplateLocalService.class)
protected JournalTemplateLocalService journalTemplateLocalService

journalTemplateService

@BeanReference(type=JournalTemplateService.class)
protected JournalTemplateService journalTemplateService

journalTemplatePersistence

@BeanReference(type=JournalTemplatePersistence.class)
protected JournalTemplatePersistence journalTemplatePersistence

journalTemplateFinder

@BeanReference(type=JournalTemplateFinder.class)
protected JournalTemplateFinder journalTemplateFinder

counterLocalService

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

groupLocalService

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

groupService

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

groupPersistence

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

groupFinder

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

imageLocalService

@BeanReference(type=ImageLocalService.class)
protected ImageLocalService imageLocalService

imageService

@BeanReference(type=ImageService.class)
protected ImageService imageService

imagePersistence

@BeanReference(type=ImagePersistence.class)
protected ImagePersistence imagePersistence

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

webDAVPropsLocalService

@BeanReference(type=WebDAVPropsLocalService.class)
protected WebDAVPropsLocalService webDAVPropsLocalService

webDAVPropsPersistence

@BeanReference(type=WebDAVPropsPersistence.class)
protected WebDAVPropsPersistence webDAVPropsPersistence

expandoValueLocalService

@BeanReference(type=ExpandoValueLocalService.class)
protected ExpandoValueLocalService expandoValueLocalService

expandoValueService

@BeanReference(type=ExpandoValueService.class)
protected ExpandoValueService expandoValueService

expandoValuePersistence

@BeanReference(type=ExpandoValuePersistence.class)
protected ExpandoValuePersistence expandoValuePersistence

persistedModelLocalServiceRegistry

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

JournalTemplateLocalServiceBaseImpl

public JournalTemplateLocalServiceBaseImpl()
Method Detail

addJournalTemplate

@Indexable(type=REINDEX)
public JournalTemplate addJournalTemplate(JournalTemplate journalTemplate)
                                   throws SystemException
Adds the journal template to the database. Also notifies the appropriate model listeners.

Specified by:
addJournalTemplate in interface JournalTemplateLocalService
Parameters:
journalTemplate - the journal template
Returns:
the journal template that was added
Throws:
SystemException - if a system exception occurred

createJournalTemplate

public JournalTemplate createJournalTemplate(long id)
Creates a new journal template with the primary key. Does not add the journal template to the database.

Specified by:
createJournalTemplate in interface JournalTemplateLocalService
Parameters:
id - the primary key for the new journal template
Returns:
the new journal template

deleteJournalTemplate

@Indexable(type=DELETE)
public JournalTemplate deleteJournalTemplate(long id)
                                      throws PortalException,
                                             SystemException
Deletes the journal template with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteJournalTemplate in interface JournalTemplateLocalService
Parameters:
id - the primary key of the journal template
Returns:
the journal template that was removed
Throws:
PortalException - if a journal template with the primary key could not be found
SystemException - if a system exception occurred

deleteJournalTemplate

@Indexable(type=DELETE)
public JournalTemplate deleteJournalTemplate(JournalTemplate journalTemplate)
                                      throws SystemException
Deletes the journal template from the database. Also notifies the appropriate model listeners.

Specified by:
deleteJournalTemplate in interface JournalTemplateLocalService
Parameters:
journalTemplate - the journal template
Returns:
the journal template that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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

fetchJournalTemplate

public JournalTemplate fetchJournalTemplate(long id)
                                     throws SystemException
Specified by:
fetchJournalTemplate in interface JournalTemplateLocalService
Throws:
SystemException

getJournalTemplate

public JournalTemplate getJournalTemplate(long id)
                                   throws PortalException,
                                          SystemException
Returns the journal template with the primary key.

Specified by:
getJournalTemplate in interface JournalTemplateLocalService
Parameters:
id - the primary key of the journal template
Returns:
the journal template
Throws:
PortalException - if a journal template 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 JournalTemplateLocalService
Throws:
PortalException
SystemException

getJournalTemplateByUuidAndGroupId

public JournalTemplate getJournalTemplateByUuidAndGroupId(String uuid,
                                                          long groupId)
                                                   throws PortalException,
                                                          SystemException
Returns the journal template with the UUID in the group.

Specified by:
getJournalTemplateByUuidAndGroupId in interface JournalTemplateLocalService
Parameters:
uuid - the UUID of journal template
groupId - the group id of the journal template
Returns:
the journal template
Throws:
PortalException - if a journal template with the UUID in the group could not be found
SystemException - if a system exception occurred

getJournalTemplates

public List<JournalTemplate> getJournalTemplates(int start,
                                                 int end)
                                          throws SystemException
Returns a range of all the journal templates.

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:
getJournalTemplates in interface JournalTemplateLocalService
Parameters:
start - the lower bound of the range of journal templates
end - the upper bound of the range of journal templates (not inclusive)
Returns:
the range of journal templates
Throws:
SystemException - if a system exception occurred

getJournalTemplatesCount

public int getJournalTemplatesCount()
                             throws SystemException
Returns the number of journal templates.

Specified by:
getJournalTemplatesCount in interface JournalTemplateLocalService
Returns:
the number of journal templates
Throws:
SystemException - if a system exception occurred

updateJournalTemplate

@Indexable(type=REINDEX)
public JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate)
                                      throws SystemException
Updates the journal template in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateJournalTemplate in interface JournalTemplateLocalService
Parameters:
journalTemplate - the journal template
Returns:
the journal template that was updated
Throws:
SystemException - if a system exception occurred

updateJournalTemplate

@Indexable(type=REINDEX)
public JournalTemplate updateJournalTemplate(JournalTemplate journalTemplate,
                                                                  boolean merge)
                                      throws SystemException
Updates the journal template in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateJournalTemplate in interface JournalTemplateLocalService
Parameters:
journalTemplate - the journal template
merge - whether to merge the journal template 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 template that was updated
Throws:
SystemException - if a system exception occurred

getJournalArticleLocalService

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

Returns:
the journal article local service

setJournalArticleLocalService

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

Parameters:
journalArticleLocalService - the journal article local service

getJournalArticleService

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

Returns:
the journal article remote service

setJournalArticleService

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

Parameters:
journalArticleService - the journal article remote service

getJournalArticlePersistence

public JournalArticlePersistence getJournalArticlePersistence()
Returns the journal article persistence.

Returns:
the journal article persistence

setJournalArticlePersistence

public void setJournalArticlePersistence(JournalArticlePersistence journalArticlePersistence)
Sets the journal article persistence.

Parameters:
journalArticlePersistence - the journal article persistence

getJournalArticleFinder

public JournalArticleFinder getJournalArticleFinder()
Returns the journal article finder.

Returns:
the journal article finder

setJournalArticleFinder

public void setJournalArticleFinder(JournalArticleFinder journalArticleFinder)
Sets the journal article finder.

Parameters:
journalArticleFinder - the journal article finder

getJournalArticleImageLocalService

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

Returns:
the journal article image local service

setJournalArticleImageLocalService

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

Parameters:
journalArticleImageLocalService - the journal article image local service

getJournalArticleImagePersistence

public JournalArticleImagePersistence getJournalArticleImagePersistence()
Returns the journal article image persistence.

Returns:
the journal article image persistence

setJournalArticleImagePersistence

public void setJournalArticleImagePersistence(JournalArticleImagePersistence journalArticleImagePersistence)
Sets the journal article image persistence.

Parameters:
journalArticleImagePersistence - the journal article image persistence

getJournalArticleResourceLocalService

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

Returns:
the journal article resource local service

setJournalArticleResourceLocalService

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

Parameters:
journalArticleResourceLocalService - the journal article resource local service

getJournalArticleResourcePersistence

public JournalArticleResourcePersistence getJournalArticleResourcePersistence()
Returns the journal article resource persistence.

Returns:
the journal article resource persistence

setJournalArticleResourcePersistence

public void setJournalArticleResourcePersistence(JournalArticleResourcePersistence journalArticleResourcePersistence)
Sets the journal article resource persistence.

Parameters:
journalArticleResourcePersistence - the journal article resource persistence

getJournalContentSearchLocalService

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

Returns:
the journal content search local service

setJournalContentSearchLocalService

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

Parameters:
journalContentSearchLocalService - the journal content search local service

getJournalContentSearchPersistence

public JournalContentSearchPersistence getJournalContentSearchPersistence()
Returns the journal content search persistence.

Returns:
the journal content search persistence

setJournalContentSearchPersistence

public void setJournalContentSearchPersistence(JournalContentSearchPersistence journalContentSearchPersistence)
Sets the journal content search persistence.

Parameters:
journalContentSearchPersistence - the journal content search persistence

getJournalFeedLocalService

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

Returns:
the journal feed local service

setJournalFeedLocalService

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

Parameters:
journalFeedLocalService - the journal feed local service

getJournalFeedService

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

Returns:
the journal feed remote service

setJournalFeedService

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

Parameters:
journalFeedService - the journal feed remote service

getJournalFeedPersistence

public JournalFeedPersistence getJournalFeedPersistence()
Returns the journal feed persistence.

Returns:
the journal feed persistence

setJournalFeedPersistence

public void setJournalFeedPersistence(JournalFeedPersistence journalFeedPersistence)
Sets the journal feed persistence.

Parameters:
journalFeedPersistence - the journal feed persistence

getJournalFeedFinder

public JournalFeedFinder getJournalFeedFinder()
Returns the journal feed finder.

Returns:
the journal feed finder

setJournalFeedFinder

public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder)
Sets the journal feed finder.

Parameters:
journalFeedFinder - the journal feed finder

getJournalStructureLocalService

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

Returns:
the journal structure local service

setJournalStructureLocalService

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

Parameters:
journalStructureLocalService - the journal structure local service

getJournalStructureService

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

Returns:
the journal structure remote service

setJournalStructureService

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

Parameters:
journalStructureService - the journal structure remote service

getJournalStructurePersistence

public JournalStructurePersistence getJournalStructurePersistence()
Returns the journal structure persistence.

Returns:
the journal structure persistence

setJournalStructurePersistence

public void setJournalStructurePersistence(JournalStructurePersistence journalStructurePersistence)
Sets the journal structure persistence.

Parameters:
journalStructurePersistence - the journal structure persistence

getJournalStructureFinder

public JournalStructureFinder getJournalStructureFinder()
Returns the journal structure finder.

Returns:
the journal structure finder

setJournalStructureFinder

public void setJournalStructureFinder(JournalStructureFinder journalStructureFinder)
Sets the journal structure finder.

Parameters:
journalStructureFinder - the journal structure finder

getJournalTemplateLocalService

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

Returns:
the journal template local service

setJournalTemplateLocalService

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

Parameters:
journalTemplateLocalService - the journal template local service

getJournalTemplateService

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

Returns:
the journal template remote service

setJournalTemplateService

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

Parameters:
journalTemplateService - the journal template remote service

getJournalTemplatePersistence

public JournalTemplatePersistence getJournalTemplatePersistence()
Returns the journal template persistence.

Returns:
the journal template persistence

setJournalTemplatePersistence

public void setJournalTemplatePersistence(JournalTemplatePersistence journalTemplatePersistence)
Sets the journal template persistence.

Parameters:
journalTemplatePersistence - the journal template persistence

getJournalTemplateFinder

public JournalTemplateFinder getJournalTemplateFinder()
Returns the journal template finder.

Returns:
the journal template finder

setJournalTemplateFinder

public void setJournalTemplateFinder(JournalTemplateFinder journalTemplateFinder)
Sets the journal template finder.

Parameters:
journalTemplateFinder - the journal template finder

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

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

Parameters:
counterLocalService - the counter local service

getGroupLocalService

public GroupLocalService getGroupLocalService()
Returns the group local service.

Returns:
the group local service

setGroupLocalService

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

Parameters:
groupLocalService - the group local service

getGroupService

public GroupService getGroupService()
Returns the group remote service.

Returns:
the group remote service

setGroupService

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

Parameters:
groupService - the group remote service

getGroupPersistence

public GroupPersistence getGroupPersistence()
Returns the group persistence.

Returns:
the group persistence

setGroupPersistence

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

Parameters:
groupPersistence - the group persistence

getGroupFinder

public GroupFinder getGroupFinder()
Returns the group finder.

Returns:
the group finder

setGroupFinder

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

Parameters:
groupFinder - the group finder

getImageLocalService

public ImageLocalService getImageLocalService()
Returns the image local service.

Returns:
the image local service

setImageLocalService

public void setImageLocalService(ImageLocalService imageLocalService)
Sets the image local service.

Parameters:
imageLocalService - the image local service

getImageService

public ImageService getImageService()
Returns the image remote service.

Returns:
the image remote service

setImageService

public void setImageService(ImageService imageService)
Sets the image remote service.

Parameters:
imageService - the image remote service

getImagePersistence

public ImagePersistence getImagePersistence()
Returns the image persistence.

Returns:
the image persistence

setImagePersistence

public void setImagePersistence(ImagePersistence imagePersistence)
Sets the image persistence.

Parameters:
imagePersistence - the image persistence

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

getWebDAVPropsLocalService

public WebDAVPropsLocalService getWebDAVPropsLocalService()
Returns the web d a v props local service.

Returns:
the web d a v props local service

setWebDAVPropsLocalService

public void setWebDAVPropsLocalService(WebDAVPropsLocalService webDAVPropsLocalService)
Sets the web d a v props local service.

Parameters:
webDAVPropsLocalService - the web d a v props local service

getWebDAVPropsPersistence

public WebDAVPropsPersistence getWebDAVPropsPersistence()
Returns the web d a v props persistence.

Returns:
the web d a v props persistence

setWebDAVPropsPersistence

public void setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)
Sets the web d a v props persistence.

Parameters:
webDAVPropsPersistence - the web d a v props persistence

getExpandoValueLocalService

public ExpandoValueLocalService getExpandoValueLocalService()
Returns the expando value local service.

Returns:
the expando value local service

setExpandoValueLocalService

public void setExpandoValueLocalService(ExpandoValueLocalService expandoValueLocalService)
Sets the expando value local service.

Parameters:
expandoValueLocalService - the expando value local service

getExpandoValueService

public ExpandoValueService getExpandoValueService()
Returns the expando value remote service.

Returns:
the expando value remote service

setExpandoValueService

public void setExpandoValueService(ExpandoValueService expandoValueService)
Sets the expando value remote service.

Parameters:
expandoValueService - the expando value remote service

getExpandoValuePersistence

public ExpandoValuePersistence getExpandoValuePersistence()
Returns the expando value persistence.

Returns:
the expando value persistence

setExpandoValuePersistence

public void setExpandoValuePersistence(ExpandoValuePersistence expandoValuePersistence)
Sets the expando value persistence.

Parameters:
expandoValuePersistence - the expando value persistence

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface JournalTemplateLocalService
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 JournalTemplateLocalService
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