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:
JournalStructureServiceFactory, JournalStructureServiceUtil

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.Boolean addCommunityPermissions, java.lang.Boolean addGuestPermissions, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 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)
           
 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(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 deleteStructure(JournalStructure structure)
           
 void deleteStructure(long groupId, java.lang.String structureId)
           
 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)
           
 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)
           
 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)
           
 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

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

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