com.liferay.portlet.journal.service
Interface JournalStructureLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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:
JournalStructureLocalServiceUtil

Method Summary
 JournalStructure addJournalStructure(JournalStructure journalStructure)
           
 JournalStructure addStructure(long userId, long groupId, java.lang.String structureId, boolean autoStructureId, java.lang.String parentStructureId, java.lang.String name, java.lang.String description, java.lang.String xsd, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 JournalStructure addStructure(long userId, long groupId, java.lang.String structureId, boolean autoStructureId, java.lang.String parentStructureId, 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, long groupId, java.lang.String structureId, boolean autoStructureId, java.lang.String parentStructureId, java.lang.String name, java.lang.String description, java.lang.String xsd, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 JournalStructure addStructure(java.lang.String uuid, long userId, long groupId, java.lang.String structureId, boolean autoStructureId, java.lang.String parentStructureId, 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)
           
 void checkNewLine(long groupId, java.lang.String structureId)
           
 JournalStructure copyStructure(long userId, long groupId, java.lang.String oldStructureId, java.lang.String newStructureId, boolean autoStructureId)
           
 JournalStructure createJournalStructure(long id)
           
 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<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 JournalStructure getJournalStructure(long id)
           
 java.util.List<JournalStructure> getJournalStructures(int start, int end)
           
 int getJournalStructuresCount()
           
 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 start, int end)
           
 int getStructuresCount(long groupId)
           
 java.util.List<JournalStructure> search(long companyId, long groupId, java.lang.String keywords, int start, 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 start, 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 parentStructureId, 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

createJournalStructure

JournalStructure createJournalStructure(long id)

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
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getJournalStructure

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalStructure getJournalStructure(long id)
                                     throws com.liferay.portal.SystemException,
                                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getJournalStructures

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalStructure> getJournalStructures(int start,
                                                                    int end)
                                                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getJournalStructuresCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getJournalStructuresCount()
                              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,
                              long groupId,
                              java.lang.String structureId,
                              boolean autoStructureId,
                              java.lang.String parentStructureId,
                              java.lang.String name,
                              java.lang.String description,
                              java.lang.String xsd,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addStructure

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

addStructure

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

addStructure

JournalStructure addStructure(java.lang.String uuid,
                              long userId,
                              long groupId,
                              java.lang.String structureId,
                              boolean autoStructureId,
                              java.lang.String parentStructureId,
                              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.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addStructureResources

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

addStructureResources

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

addStructureResources

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

addStructureResources

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

checkNewLine

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

copyStructure

JournalStructure copyStructure(long userId,
                               long groupId,
                               java.lang.String oldStructureId,
                               java.lang.String newStructureId,
                               boolean autoStructureId)
                               throws com.liferay.portal.PortalException,
                                      com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteStructure

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

deleteStructure

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

deleteStructures

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

getStructure

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalStructure getStructure(long id)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getStructure

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalStructure getStructure(long groupId,
                                            java.lang.String structureId)
                              throws com.liferay.portal.PortalException,
                                     com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getStructures

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalStructure> getStructures()
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStructures

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalStructure> getStructures(long groupId)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStructures

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalStructure> getStructures(long groupId,
                                                             int start,
                                                             int end)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getStructuresCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getStructuresCount(long groupId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalStructure> search(long companyId,
                                                      long groupId,
                                                      java.lang.String keywords,
                                                      int start,
                                                      int end,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalStructure> search(long companyId,
                                                      long groupId,
                                                      java.lang.String structureId,
                                                      java.lang.String name,
                                                      java.lang.String description,
                                                      boolean andOperator,
                                                      int start,
                                                      int end,
                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                              long groupId,
                              java.lang.String keywords)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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 parentStructureId,
                                 java.lang.String name,
                                 java.lang.String description,
                                 java.lang.String xsd)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException