Liferay 6.1.2-ce-ga3

com.liferay.portlet.journal.service
Class JournalStructureServiceUtil

java.lang.Object
  extended by com.liferay.portlet.journal.service.JournalStructureServiceUtil

public class JournalStructureServiceUtil
extends Object

The utility for the journal structure remote service. This utility wraps JournalStructureServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
JournalStructureService, JournalStructureServiceBaseImpl, JournalStructureServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
JournalStructureServiceUtil()
           
 
Method Summary
static JournalStructure addStructure(long groupId, String structureId, boolean autoStructureId, String parentStructureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, ServiceContext serviceContext)
           
static JournalStructure copyStructure(long groupId, String oldStructureId, String newStructureId, boolean autoStructureId)
           
static void deleteStructure(long groupId, String structureId)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static JournalStructureService getService()
           
static JournalStructure getStructure(long groupId, String structureId)
           
static JournalStructure getStructure(long groupId, String structureId, boolean includeGlobalStructures)
           
static List<JournalStructure> getStructures(long groupId)
           
static List<JournalStructure> search(long companyId, long[] groupIds, String keywords, int start, int end, OrderByComparator obc)
           
static List<JournalStructure> search(long companyId, long[] groupIds, String structureId, String name, String description, boolean andOperator, int start, int end, OrderByComparator obc)
           
static int searchCount(long companyId, long[] groupIds, String keywords)
           
static int searchCount(long companyId, long[] groupIds, String structureId, String name, String description, boolean andOperator)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(JournalStructureService service)
          Deprecated.  
static JournalStructure updateStructure(long groupId, String structureId, String parentStructureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalStructureServiceUtil

public JournalStructureServiceUtil()
Method Detail

getBeanIdentifier

public static String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

public static void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addStructure

public static JournalStructure addStructure(long groupId,
                                            String structureId,
                                            boolean autoStructureId,
                                            String parentStructureId,
                                            Map<Locale,String> nameMap,
                                            Map<Locale,String> descriptionMap,
                                            String xsd,
                                            ServiceContext serviceContext)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

copyStructure

public static JournalStructure copyStructure(long groupId,
                                             String oldStructureId,
                                             String newStructureId,
                                             boolean autoStructureId)
                                      throws PortalException,
                                             SystemException
Throws:
PortalException
SystemException

deleteStructure

public static void deleteStructure(long groupId,
                                   String structureId)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getStructure

public static JournalStructure getStructure(long groupId,
                                            String structureId)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

getStructure

public static JournalStructure getStructure(long groupId,
                                            String structureId,
                                            boolean includeGlobalStructures)
                                     throws PortalException,
                                            SystemException
Throws:
PortalException
SystemException

getStructures

public static List<JournalStructure> getStructures(long groupId)
                                            throws SystemException
Throws:
SystemException

search

public static List<JournalStructure> search(long companyId,
                                            long[] groupIds,
                                            String keywords,
                                            int start,
                                            int end,
                                            OrderByComparator obc)
                                     throws SystemException
Throws:
SystemException

search

public static List<JournalStructure> search(long companyId,
                                            long[] groupIds,
                                            String structureId,
                                            String name,
                                            String description,
                                            boolean andOperator,
                                            int start,
                                            int end,
                                            OrderByComparator obc)
                                     throws SystemException
Throws:
SystemException

searchCount

public static int searchCount(long companyId,
                              long[] groupIds,
                              String keywords)
                       throws SystemException
Throws:
SystemException

searchCount

public static int searchCount(long companyId,
                              long[] groupIds,
                              String structureId,
                              String name,
                              String description,
                              boolean andOperator)
                       throws SystemException
Throws:
SystemException

updateStructure

public static JournalStructure updateStructure(long groupId,
                                               String structureId,
                                               String parentStructureId,
                                               Map<Locale,String> nameMap,
                                               Map<Locale,String> descriptionMap,
                                               String xsd,
                                               ServiceContext serviceContext)
                                        throws PortalException,
                                               SystemException
Throws:
PortalException
SystemException

getService

public static JournalStructureService getService()

setService

public void setService(JournalStructureService service)
Deprecated. 


Liferay 6.1.2-ce-ga3