com.liferay.portlet.journal.service
Interface JournalStructureLocalService


public interface JournalStructureLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.journal.service.impl.JournalStructureLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
JournalStructureLocalServiceFactory, JournalStructureLocalServiceUtil

Method Summary
 JournalStructure addJournalStructure(JournalStructure model)
           
 JournalStructure addStructure(long userId, java.lang.String structureId, boolean autoStructureId, long plid, java.lang.String name, java.lang.String description, java.lang.String xsd, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 JournalStructure addStructure(long userId, java.lang.String structureId, boolean autoStructureId, long plid, java.lang.String name, java.lang.String description, java.lang.String xsd, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 JournalStructure addStructure(java.lang.String uuid, long userId, java.lang.String structureId, boolean autoStructureId, long plid, java.lang.String name, java.lang.String description, java.lang.String xsd, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 JournalStructure addStructure(java.lang.String uuid, long userId, java.lang.String structureId, boolean autoStructureId, long plid, java.lang.String name, java.lang.String description, java.lang.String xsd, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addStructureResources(JournalStructure structure, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addStructureResources(JournalStructure structure, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void addStructureResources(long groupId, java.lang.String structureId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addStructureResources(long groupId, java.lang.String structureId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 JournalStructure addStructureToGroup(java.lang.String uuid, long userId, java.lang.String structureId, boolean autoStructureId, long groupId, java.lang.String name, java.lang.String description, java.lang.String xsd, java.lang.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void afterPropertiesSet()
           
 void checkNewLine(long groupId, java.lang.String structureId)
           
 void deleteStructure(JournalStructure structure)
           
 void deleteStructure(long groupId, java.lang.String structureId)
           
 void deleteStructures(long groupId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 JournalArticleFinder getJournalArticleFinder()
           
 JournalArticleImagePersistence getJournalArticleImagePersistence()
           
 JournalArticlePersistence getJournalArticlePersistence()
           
 JournalArticleResourcePersistence getJournalArticleResourcePersistence()
           
 JournalContentSearchPersistence getJournalContentSearchPersistence()
           
 JournalFeedFinder getJournalFeedFinder()
           
 JournalFeedPersistence getJournalFeedPersistence()
           
 JournalStructureFinder getJournalStructureFinder()
           
 JournalStructurePersistence getJournalStructurePersistence()
           
 JournalTemplateFinder getJournalTemplateFinder()
           
 JournalTemplatePersistence getJournalTemplatePersistence()
           
 ResourceFinder getResourceFinder()
           
 ResourcePersistence getResourcePersistence()
           
 JournalStructure getStructure(long id)
           
 JournalStructure getStructure(long groupId, java.lang.String structureId)
           
 java.util.List getStructures()
           
 java.util.List getStructures(long groupId)
           
 java.util.List getStructures(long groupId, int begin, int end)
           
 int getStructuresCount(long groupId)
           
 UserFinder getUserFinder()
           
 UserPersistence getUserPersistence()
           
 WebDAVPropsPersistence getWebDAVPropsPersistence()
           
 java.util.List search(long companyId, long groupId, java.lang.String keywords, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List search(long companyId, long groupId, java.lang.String structureId, java.lang.String name, java.lang.String description, boolean andOperator, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int searchCount(long companyId, long groupId, java.lang.String keywords)
           
 int searchCount(long companyId, long groupId, java.lang.String structureId, java.lang.String name, java.lang.String description, boolean andOperator)
           
 void setJournalArticleFinder(JournalArticleFinder journalArticleFinder)
           
 void setJournalArticleImagePersistence(JournalArticleImagePersistence journalArticleImagePersistence)
           
 void setJournalArticlePersistence(JournalArticlePersistence journalArticlePersistence)
           
 void setJournalArticleResourcePersistence(JournalArticleResourcePersistence journalArticleResourcePersistence)
           
 void setJournalContentSearchPersistence(JournalContentSearchPersistence journalContentSearchPersistence)
           
 void setJournalFeedFinder(JournalFeedFinder journalFeedFinder)
           
 void setJournalFeedPersistence(JournalFeedPersistence journalFeedPersistence)
           
 void setJournalStructureFinder(JournalStructureFinder journalStructureFinder)
           
 void setJournalStructurePersistence(JournalStructurePersistence journalStructurePersistence)
           
 void setJournalTemplateFinder(JournalTemplateFinder journalTemplateFinder)
           
 void setJournalTemplatePersistence(JournalTemplatePersistence journalTemplatePersistence)
           
 void setResourceFinder(ResourceFinder resourceFinder)
           
 void setResourcePersistence(ResourcePersistence resourcePersistence)
           
 void setUserFinder(UserFinder userFinder)
           
 void setUserPersistence(UserPersistence userPersistence)
           
 void setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)
           
 JournalStructure updateJournalStructure(JournalStructure model)
           
 JournalStructure updateStructure(long groupId, java.lang.String structureId, java.lang.String name, java.lang.String description, java.lang.String xsd)
           
 

Method Detail

addJournalStructure

public JournalStructure addJournalStructure(JournalStructure model)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateJournalStructure

public JournalStructure updateJournalStructure(JournalStructure model)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getJournalArticlePersistence

public JournalArticlePersistence getJournalArticlePersistence()

setJournalArticlePersistence

public void setJournalArticlePersistence(JournalArticlePersistence journalArticlePersistence)

getJournalArticleFinder

public JournalArticleFinder getJournalArticleFinder()

setJournalArticleFinder

public void setJournalArticleFinder(JournalArticleFinder journalArticleFinder)

getJournalArticleImagePersistence

public JournalArticleImagePersistence getJournalArticleImagePersistence()

setJournalArticleImagePersistence

public void setJournalArticleImagePersistence(JournalArticleImagePersistence journalArticleImagePersistence)

getJournalArticleResourcePersistence

public JournalArticleResourcePersistence getJournalArticleResourcePersistence()

setJournalArticleResourcePersistence

public void setJournalArticleResourcePersistence(JournalArticleResourcePersistence journalArticleResourcePersistence)

getJournalContentSearchPersistence

public JournalContentSearchPersistence getJournalContentSearchPersistence()

setJournalContentSearchPersistence

public void setJournalContentSearchPersistence(JournalContentSearchPersistence journalContentSearchPersistence)

getJournalFeedPersistence

public JournalFeedPersistence getJournalFeedPersistence()

setJournalFeedPersistence

public void setJournalFeedPersistence(JournalFeedPersistence journalFeedPersistence)

getJournalFeedFinder

public JournalFeedFinder getJournalFeedFinder()

setJournalFeedFinder

public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder)

getJournalStructurePersistence

public JournalStructurePersistence getJournalStructurePersistence()

setJournalStructurePersistence

public void setJournalStructurePersistence(JournalStructurePersistence journalStructurePersistence)

getJournalStructureFinder

public JournalStructureFinder getJournalStructureFinder()

setJournalStructureFinder

public void setJournalStructureFinder(JournalStructureFinder journalStructureFinder)

getJournalTemplatePersistence

public JournalTemplatePersistence getJournalTemplatePersistence()

setJournalTemplatePersistence

public void setJournalTemplatePersistence(JournalTemplatePersistence journalTemplatePersistence)

getJournalTemplateFinder

public JournalTemplateFinder getJournalTemplateFinder()

setJournalTemplateFinder

public void setJournalTemplateFinder(JournalTemplateFinder journalTemplateFinder)

getResourcePersistence

public ResourcePersistence getResourcePersistence()

setResourcePersistence

public void setResourcePersistence(ResourcePersistence resourcePersistence)

getResourceFinder

public ResourceFinder getResourceFinder()

setResourceFinder

public void setResourceFinder(ResourceFinder resourceFinder)

getUserPersistence

public UserPersistence getUserPersistence()

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)

getUserFinder

public UserFinder getUserFinder()

setUserFinder

public void setUserFinder(UserFinder userFinder)

getWebDAVPropsPersistence

public WebDAVPropsPersistence getWebDAVPropsPersistence()

setWebDAVPropsPersistence

public void setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)

afterPropertiesSet

public void afterPropertiesSet()

addStructure

public JournalStructure addStructure(long userId,
                                     java.lang.String structureId,
                                     boolean autoStructureId,
                                     long plid,
                                     java.lang.String name,
                                     java.lang.String description,
                                     java.lang.String xsd,
                                     boolean addCommunityPermissions,
                                     boolean addGuestPermissions)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addStructure

public JournalStructure addStructure(java.lang.String uuid,
                                     long userId,
                                     java.lang.String structureId,
                                     boolean autoStructureId,
                                     long plid,
                                     java.lang.String name,
                                     java.lang.String description,
                                     java.lang.String xsd,
                                     boolean addCommunityPermissions,
                                     boolean addGuestPermissions)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addStructure

public JournalStructure addStructure(long userId,
                                     java.lang.String structureId,
                                     boolean autoStructureId,
                                     long plid,
                                     java.lang.String name,
                                     java.lang.String description,
                                     java.lang.String xsd,
                                     java.lang.String[] communityPermissions,
                                     java.lang.String[] guestPermissions)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addStructure

public JournalStructure addStructure(java.lang.String uuid,
                                     long userId,
                                     java.lang.String structureId,
                                     boolean autoStructureId,
                                     long plid,
                                     java.lang.String name,
                                     java.lang.String description,
                                     java.lang.String xsd,
                                     java.lang.Boolean addCommunityPermissions,
                                     java.lang.Boolean addGuestPermissions,
                                     java.lang.String[] communityPermissions,
                                     java.lang.String[] guestPermissions)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addStructureToGroup

public JournalStructure addStructureToGroup(java.lang.String uuid,
                                            long userId,
                                            java.lang.String structureId,
                                            boolean autoStructureId,
                                            long groupId,
                                            java.lang.String name,
                                            java.lang.String description,
                                            java.lang.String xsd,
                                            java.lang.Boolean addCommunityPermissions,
                                            java.lang.Boolean addGuestPermissions,
                                            java.lang.String[] communityPermissions,
                                            java.lang.String[] guestPermissions)
                                     throws com.liferay.portal.SystemException,
                                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addStructureResources

public void addStructureResources(long groupId,
                                  java.lang.String structureId,
                                  boolean addCommunityPermissions,
                                  boolean addGuestPermissions)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addStructureResources

public void addStructureResources(JournalStructure structure,
                                  boolean addCommunityPermissions,
                                  boolean addGuestPermissions)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addStructureResources

public void addStructureResources(long groupId,
                                  java.lang.String structureId,
                                  java.lang.String[] communityPermissions,
                                  java.lang.String[] guestPermissions)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

addStructureResources

public void addStructureResources(JournalStructure structure,
                                  java.lang.String[] communityPermissions,
                                  java.lang.String[] guestPermissions)
                           throws com.liferay.portal.SystemException,
                                  com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

checkNewLine

public void checkNewLine(long groupId,
                         java.lang.String structureId)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteStructure

public void deleteStructure(long groupId,
                            java.lang.String structureId)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteStructure

public void deleteStructure(JournalStructure structure)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteStructures

public void deleteStructures(long groupId)
                      throws com.liferay.portal.SystemException,
                             com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getStructure

public JournalStructure getStructure(long id)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getStructure

public JournalStructure getStructure(long groupId,
                                     java.lang.String structureId)
                              throws com.liferay.portal.SystemException,
                                     com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getStructures

public java.util.List getStructures()
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStructures

public java.util.List getStructures(long groupId)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStructures

public java.util.List getStructures(long groupId,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStructuresCount

public int getStructuresCount(long groupId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

public java.util.List search(long companyId,
                             long groupId,
                             java.lang.String keywords,
                             int begin,
                             int end,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

public java.util.List search(long companyId,
                             long groupId,
                             java.lang.String structureId,
                             java.lang.String name,
                             java.lang.String description,
                             boolean andOperator,
                             int begin,
                             int end,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

public int searchCount(long companyId,
                       long groupId,
                       java.lang.String keywords)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

public int searchCount(long companyId,
                       long groupId,
                       java.lang.String structureId,
                       java.lang.String name,
                       java.lang.String description,
                       boolean andOperator)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateStructure

public JournalStructure updateStructure(long groupId,
                                        java.lang.String structureId,
                                        java.lang.String name,
                                        java.lang.String description,
                                        java.lang.String xsd)
                                 throws com.liferay.portal.SystemException,
                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException