com.liferay.portlet.journal.service
Class JournalStructureLocalServiceUtil

java.lang.Object
  extended bycom.liferay.portlet.journal.service.JournalStructureLocalServiceUtil

public class JournalStructureLocalServiceUtil
extends java.lang.Object

View Source

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

This class provides static methods for the com.liferay.portlet.journal.service.JournalStructureLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

com.liferay.portlet.journal.service.JournalStructureLocalServiceFactory is responsible for the lookup of the bean.

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

Constructor Summary
JournalStructureLocalServiceUtil()
           
 
Method Summary
static JournalStructure addJournalStructure(JournalStructure model)
           
static 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)
           
static 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)
           
static 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)
           
static void addStructureResources(JournalStructure structure, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addStructureResources(JournalStructure structure, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static void addStructureResources(long groupId, java.lang.String structureId, boolean addCommunityPermissions, boolean addGuestPermissions)
           
static void addStructureResources(long groupId, java.lang.String structureId, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static 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)
           
static void checkNewLine(long groupId, java.lang.String structureId)
           
static void deleteStructure(JournalStructure structure)
           
static void deleteStructure(long groupId, java.lang.String structureId)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static JournalStructure getStructure(long id)
           
static JournalStructure getStructure(long groupId, java.lang.String structureId)
           
static java.util.List getStructures()
           
static java.util.List getStructures(long groupId)
           
static java.util.List getStructures(long groupId, int begin, int end)
           
static int getStructuresCount(long groupId)
           
static java.util.List search(long companyId, long groupId, java.lang.String keywords, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static 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)
           
static int searchCount(long companyId, long groupId, java.lang.String keywords)
           
static int searchCount(long companyId, long groupId, java.lang.String structureId, java.lang.String name, java.lang.String description, boolean andOperator)
           
static JournalStructure updateJournalStructure(JournalStructure model)
           
static JournalStructure updateStructure(long groupId, java.lang.String structureId, java.lang.String name, java.lang.String description, java.lang.String xsd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalStructureLocalServiceUtil

public JournalStructureLocalServiceUtil()
Method Detail

addJournalStructure

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

dynamicQuery

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

dynamicQuery

public static 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 static JournalStructure updateJournalStructure(JournalStructure model)
                                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addStructure

public static 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.PortalException,
                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addStructure

public static 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.PortalException,
                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addStructure

public static 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.PortalException,
                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addStructureToGroup

public static 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.PortalException,
                                                   com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addStructureResources

public static 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

public static 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

public static 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

public static 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

public static 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

deleteStructure

public static 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

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

getStructure

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

getStructure

public static 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

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

getStructures

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

getStructures

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

getStructuresCount

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

search

public static 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 static 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 static int searchCount(long companyId,
                              long groupId,
                              java.lang.String keywords)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

public static 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 static JournalStructure updateStructure(long groupId,
                                               java.lang.String structureId,
                                               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