Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatamapping.service
Class DDMStructureServiceUtil

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.service.DDMStructureServiceUtil

public class DDMStructureServiceUtil
extends Object

The utility for the d d m structure remote service. This utility wraps DDMStructureServiceImpl 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:
DDMStructureService, DDMStructureServiceBaseImpl, DDMStructureServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
DDMStructureServiceUtil()
           
 
Method Summary
static DDMStructure addStructure(long groupId, long classNameId, String structureKey, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, String storageType, int type, ServiceContext serviceContext)
           
static DDMStructure copyStructure(long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, ServiceContext serviceContext)
           
static void deleteStructure(long structureId)
           
static DDMStructure fetchStructure(long groupId, String structureKey)
           
static String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
static DDMStructureService getService()
           
static DDMStructure getStructure(long structureId)
           
static List<DDMStructure> search(long companyId, long[] groupIds, long[] classNameIds, String keywords, int start, int end, OrderByComparator orderByComparator)
           
static List<DDMStructure> search(long companyId, long[] groupIds, long[] classNameIds, String name, String description, String storageType, int type, boolean andOperator, int start, int end, OrderByComparator orderByComparator)
           
static int searchCount(long companyId, long[] groupIds, long[] classNameIds, String keywords)
           
static int searchCount(long companyId, long[] groupIds, long[] classNameIds, String name, String description, String storageType, int type, boolean andOperator)
           
static void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setService(DDMStructureService service)
          Deprecated.  
static DDMStructure updateStructure(long structureId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, String xsd, ServiceContext serviceContext)
           
static DDMStructure updateStructure(long groupId, String structureKey, 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

DDMStructureServiceUtil

public DDMStructureServiceUtil()
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 DDMStructure addStructure(long groupId,
                                        long classNameId,
                                        String structureKey,
                                        Map<Locale,String> nameMap,
                                        Map<Locale,String> descriptionMap,
                                        String xsd,
                                        String storageType,
                                        int type,
                                        ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

copyStructure

public static DDMStructure copyStructure(long structureId,
                                         Map<Locale,String> nameMap,
                                         Map<Locale,String> descriptionMap,
                                         ServiceContext serviceContext)
                                  throws PortalException,
                                         SystemException
Throws:
PortalException
SystemException

deleteStructure

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

fetchStructure

public static DDMStructure fetchStructure(long groupId,
                                          String structureKey)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getStructure

public static DDMStructure getStructure(long structureId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

search

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

search

public static List<DDMStructure> search(long companyId,
                                        long[] groupIds,
                                        long[] classNameIds,
                                        String name,
                                        String description,
                                        String storageType,
                                        int type,
                                        boolean andOperator,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                 throws SystemException
Throws:
SystemException

searchCount

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

searchCount

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

updateStructure

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

updateStructure

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

getService

public static DDMStructureService getService()

setService

public void setService(DDMStructureService service)
Deprecated. 


Liferay 6.1.2-ce-ga3