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.String[] communityPermissions, java.lang.String[] guestPermissions)
           
static 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)
           
static 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)
           
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(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)
           
static void afterPropertiesSet()
           
static void checkNewLine(long groupId, java.lang.String structureId)
           
static void deleteStructure(JournalStructure structure)
           
static void deleteStructure(long groupId, java.lang.String structureId)
           
static void deleteStructures(long groupId)
           
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 JournalArticleFinder getJournalArticleFinder()
           
static JournalArticleImagePersistence getJournalArticleImagePersistence()
           
static JournalArticlePersistence getJournalArticlePersistence()
           
static JournalArticleResourcePersistence getJournalArticleResourcePersistence()
           
static JournalContentSearchPersistence getJournalContentSearchPersistence()
           
static JournalFeedFinder getJournalFeedFinder()
           
static JournalFeedPersistence getJournalFeedPersistence()
           
static JournalStructureFinder getJournalStructureFinder()
           
static JournalStructurePersistence getJournalStructurePersistence()
           
static JournalTemplateFinder getJournalTemplateFinder()
           
static JournalTemplatePersistence getJournalTemplatePersistence()
           
static ResourceFinder getResourceFinder()
           
static ResourcePersistence getResourcePersistence()
           
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 UserFinder getUserFinder()
           
static UserPersistence getUserPersistence()
           
static WebDAVPropsPersistence getWebDAVPropsPersistence()
           
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 void setJournalArticleFinder(JournalArticleFinder journalArticleFinder)
           
static void setJournalArticleImagePersistence(JournalArticleImagePersistence journalArticleImagePersistence)
           
static void setJournalArticlePersistence(JournalArticlePersistence journalArticlePersistence)
           
static void setJournalArticleResourcePersistence(JournalArticleResourcePersistence journalArticleResourcePersistence)
           
static void setJournalContentSearchPersistence(JournalContentSearchPersistence journalContentSearchPersistence)
           
static void setJournalFeedFinder(JournalFeedFinder journalFeedFinder)
           
static void setJournalFeedPersistence(JournalFeedPersistence journalFeedPersistence)
           
static void setJournalStructureFinder(JournalStructureFinder journalStructureFinder)
           
static void setJournalStructurePersistence(JournalStructurePersistence journalStructurePersistence)
           
static void setJournalTemplateFinder(JournalTemplateFinder journalTemplateFinder)
           
static void setJournalTemplatePersistence(JournalTemplatePersistence journalTemplatePersistence)
           
static void setResourceFinder(ResourceFinder resourceFinder)
           
static void setResourcePersistence(ResourcePersistence resourcePersistence)
           
static void setUserFinder(UserFinder userFinder)
           
static void setUserPersistence(UserPersistence userPersistence)
           
static void setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)
           
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

getJournalArticlePersistence

public static JournalArticlePersistence getJournalArticlePersistence()

setJournalArticlePersistence

public static void setJournalArticlePersistence(JournalArticlePersistence journalArticlePersistence)

getJournalArticleFinder

public static JournalArticleFinder getJournalArticleFinder()

setJournalArticleFinder

public static void setJournalArticleFinder(JournalArticleFinder journalArticleFinder)

getJournalArticleImagePersistence

public static JournalArticleImagePersistence getJournalArticleImagePersistence()

setJournalArticleImagePersistence

public static void setJournalArticleImagePersistence(JournalArticleImagePersistence journalArticleImagePersistence)

getJournalArticleResourcePersistence

public static JournalArticleResourcePersistence getJournalArticleResourcePersistence()

setJournalArticleResourcePersistence

public static void setJournalArticleResourcePersistence(JournalArticleResourcePersistence journalArticleResourcePersistence)

getJournalContentSearchPersistence

public static JournalContentSearchPersistence getJournalContentSearchPersistence()

setJournalContentSearchPersistence

public static void setJournalContentSearchPersistence(JournalContentSearchPersistence journalContentSearchPersistence)

getJournalFeedPersistence

public static JournalFeedPersistence getJournalFeedPersistence()

setJournalFeedPersistence

public static void setJournalFeedPersistence(JournalFeedPersistence journalFeedPersistence)

getJournalFeedFinder

public static JournalFeedFinder getJournalFeedFinder()

setJournalFeedFinder

public static void setJournalFeedFinder(JournalFeedFinder journalFeedFinder)

getJournalStructurePersistence

public static JournalStructurePersistence getJournalStructurePersistence()

setJournalStructurePersistence

public static void setJournalStructurePersistence(JournalStructurePersistence journalStructurePersistence)

getJournalStructureFinder

public static JournalStructureFinder getJournalStructureFinder()

setJournalStructureFinder

public static void setJournalStructureFinder(JournalStructureFinder journalStructureFinder)

getJournalTemplatePersistence

public static JournalTemplatePersistence getJournalTemplatePersistence()

setJournalTemplatePersistence

public static void setJournalTemplatePersistence(JournalTemplatePersistence journalTemplatePersistence)

getJournalTemplateFinder

public static JournalTemplateFinder getJournalTemplateFinder()

setJournalTemplateFinder

public static void setJournalTemplateFinder(JournalTemplateFinder journalTemplateFinder)

getResourcePersistence

public static ResourcePersistence getResourcePersistence()

setResourcePersistence

public static void setResourcePersistence(ResourcePersistence resourcePersistence)

getResourceFinder

public static ResourceFinder getResourceFinder()

setResourceFinder

public static void setResourceFinder(ResourceFinder resourceFinder)

getUserPersistence

public static UserPersistence getUserPersistence()

setUserPersistence

public static void setUserPersistence(UserPersistence userPersistence)

getUserFinder

public static UserFinder getUserFinder()

setUserFinder

public static void setUserFinder(UserFinder userFinder)

getWebDAVPropsPersistence

public static WebDAVPropsPersistence getWebDAVPropsPersistence()

setWebDAVPropsPersistence

public static void setWebDAVPropsPersistence(WebDAVPropsPersistence webDAVPropsPersistence)

afterPropertiesSet

public static void afterPropertiesSet()

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

addStructureToGroup

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

deleteStructures

public static void deleteStructures(long groupId)
                             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