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 journalStructure)
           
 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 checkNewLine(long groupId, java.lang.String structureId)
           
 void deleteJournalStructure(JournalStructure journalStructure)
           
 void deleteJournalStructure(long id)
           
 void deleteStructure(JournalStructure structure)
           
 void deleteStructure(long groupId, java.lang.String structureId)
           
 void deleteStructures(long groupId)
           
 java.util.List<JournalStructure> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<JournalStructure> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 JournalStructure getStructure(long id)
           
 JournalStructure getStructure(long groupId, java.lang.String structureId)
           
 java.util.List<JournalStructure> getStructures()
           
 java.util.List<JournalStructure> getStructures(long groupId)
           
 java.util.List<JournalStructure> getStructures(long groupId, int begin, int end)
           
 int getStructuresCount(long groupId)
           
 java.util.List<JournalStructure> search(long companyId, long groupId, java.lang.String keywords, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<JournalStructure> 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)
           
 JournalStructure updateJournalStructure(JournalStructure journalStructure)
           
 JournalStructure updateStructure(long groupId, java.lang.String structureId, java.lang.String name, java.lang.String description, java.lang.String xsd)
           
 

Method Detail

addJournalStructure

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

deleteJournalStructure

void deleteJournalStructure(long id)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteJournalStructure

void deleteJournalStructure(JournalStructure journalStructure)
                            throws com.liferay.portal.SystemException,
                                   com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

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

dynamicQuery

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

updateJournalStructure

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

addStructure

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

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

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

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

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

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

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

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

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

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

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

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

deleteStructures

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

getStructure

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

getStructure

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

java.util.List<JournalStructure> getStructures()
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStructures

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

getStructures

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

getStructuresCount

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

search

java.util.List<JournalStructure> 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

java.util.List<JournalStructure> 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

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

searchCount

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

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