com.liferay.portlet.journal.service
Interface JournalStructureLocalService

All Known Implementing Classes:
JournalStructureLocalServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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
Generated:

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, ServiceContext serviceContext)
           
 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, ServiceContext serviceContext)
           
 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 dynamicQuery(DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
 long dynamicQueryCount(DynamicQuery dynamicQuery)
           
 JournalStructure getJournalStructure(long id)
           
 JournalStructure getJournalStructureByUuidAndGroupId(java.lang.String uuid, long groupId)
           
 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, 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, 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 updateJournalStructure(JournalStructure journalStructure, boolean merge)
           
 JournalStructure updateStructure(long groupId, java.lang.String structureId, java.lang.String parentStructureId, java.lang.String name, java.lang.String description, java.lang.String xsd, ServiceContext serviceContext)
           
 

Method Detail

addJournalStructure

JournalStructure addJournalStructure(JournalStructure journalStructure)
                                     throws SystemException
Throws:
SystemException

createJournalStructure

JournalStructure createJournalStructure(long id)

deleteJournalStructure

void deleteJournalStructure(long id)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

deleteJournalStructure

void deleteJournalStructure(JournalStructure journalStructure)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end)
                            throws SystemException
Throws:
SystemException

dynamicQuery

java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                            int start,
                            int end,
                            OrderByComparator orderByComparator)
                            throws SystemException
Throws:
SystemException

dynamicQueryCount

long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Throws:
SystemException

getJournalStructure

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

getJournalStructureByUuidAndGroupId

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalStructure getJournalStructureByUuidAndGroupId(java.lang.String uuid,
                                                                                              long groupId)
                                                     throws PortalException,
                                                            SystemException
Throws:
PortalException
SystemException

getJournalStructures

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

getJournalStructuresCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getJournalStructuresCount()
                              throws SystemException
Throws:
SystemException

updateJournalStructure

JournalStructure updateJournalStructure(JournalStructure journalStructure)
                                        throws SystemException
Throws:
SystemException

updateJournalStructure

JournalStructure updateJournalStructure(JournalStructure journalStructure,
                                        boolean merge)
                                        throws SystemException
Throws:
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,
                              ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
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,
                              ServiceContext serviceContext)
                              throws PortalException,
                                     SystemException
Throws:
PortalException
SystemException

addStructureResources

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

addStructureResources

void addStructureResources(JournalStructure structure,
                           boolean addCommunityPermissions,
                           boolean addGuestPermissions)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

addStructureResources

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

addStructureResources

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

checkNewLine

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

copyStructure

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

deleteStructure

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

deleteStructure

void deleteStructure(JournalStructure structure)
                     throws PortalException,
                            SystemException
Throws:
PortalException
SystemException

deleteStructures

void deleteStructures(long groupId)
                      throws PortalException,
                             SystemException
Throws:
PortalException
SystemException

getStructure

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

getStructure

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

getStructures

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

getStructures

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

getStructures

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

getStructuresCount

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

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<JournalStructure> search(long companyId,
                                                                                 long groupId,
                                                                                 java.lang.String keywords,
                                                                                 int start,
                                                                                 int end,
                                                                                 OrderByComparator obc)
                                        throws SystemException
Throws:
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,
                                                                                 OrderByComparator obc)
                                        throws SystemException
Throws:
SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                                                         long groupId,
                                                         java.lang.String keywords)
                throws SystemException
Throws:
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 SystemException
Throws:
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,
                                 ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException