com.liferay.portlet.dynamicdatamapping.service
Interface DDMStructureService

All Superinterfaces:
BaseService
All Known Implementing Classes:
DDMStructureServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface DDMStructureService
extends BaseService

The interface for the d d m structure remote service.

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.

Author:
Brian Wing Shun Chan
See Also:
DDMStructureServiceUtil, com.liferay.portlet.dynamicdatamapping.service.base.DDMStructureServiceBaseImpl, com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureServiceImpl
Generated:

Method Summary
 DDMStructure addStructure(long groupId, long classNameId, java.lang.String structureKey, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String xsd, java.lang.String storageType, int type, ServiceContext serviceContext)
           
 DDMStructure copyStructure(long structureId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, ServiceContext serviceContext)
           
 void deleteStructure(long structureId)
           
 DDMStructure fetchStructure(long groupId, java.lang.String structureKey)
           
 java.lang.String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DDMStructure getStructure(long structureId)
           
 java.util.List<DDMStructure> search(long companyId, long[] groupIds, long[] classNameIds, java.lang.String keywords, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<DDMStructure> search(long companyId, long[] groupIds, long[] classNameIds, java.lang.String name, java.lang.String description, java.lang.String storageType, int type, boolean andOperator, int start, int end, OrderByComparator orderByComparator)
           
 int searchCount(long companyId, long[] groupIds, long[] classNameIds, java.lang.String keywords)
           
 int searchCount(long companyId, long[] groupIds, long[] classNameIds, java.lang.String name, java.lang.String description, java.lang.String storageType, int type, boolean andOperator)
           
 void setBeanIdentifier(java.lang.String beanIdentifier)
          Sets the Spring bean ID for this bean.
 DDMStructure updateStructure(long structureId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String xsd, ServiceContext serviceContext)
           
 DDMStructure updateStructure(long groupId, java.lang.String structureKey, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, java.lang.String xsd, ServiceContext serviceContext)
           
 

Method Detail

getBeanIdentifier

java.lang.String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

addStructure

DDMStructure addStructure(long groupId,
                          long classNameId,
                          java.lang.String structureKey,
                          java.util.Map<java.util.Locale,java.lang.String> nameMap,
                          java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                          java.lang.String xsd,
                          java.lang.String storageType,
                          int type,
                          ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

copyStructure

DDMStructure copyStructure(long structureId,
                           java.util.Map<java.util.Locale,java.lang.String> nameMap,
                           java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                           ServiceContext serviceContext)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

deleteStructure

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

fetchStructure

@Transactional(propagation=SUPPORTS,
               readOnly=true)
DDMStructure fetchStructure(long groupId,
                                                                     java.lang.String structureKey)
                            throws PortalException,
                                   SystemException
Throws:
PortalException
SystemException

getStructure

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

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DDMStructure> search(long companyId,
                                                                             long[] groupIds,
                                                                             long[] classNameIds,
                                                                             java.lang.String keywords,
                                                                             int start,
                                                                             int end,
                                                                             OrderByComparator orderByComparator)
                                    throws SystemException
Throws:
SystemException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<DDMStructure> search(long companyId,
                                                                             long[] groupIds,
                                                                             long[] classNameIds,
                                                                             java.lang.String name,
                                                                             java.lang.String description,
                                                                             java.lang.String storageType,
                                                                             int type,
                                                                             boolean andOperator,
                                                                             int start,
                                                                             int end,
                                                                             OrderByComparator orderByComparator)
                                    throws SystemException
Throws:
SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                                                         long[] groupIds,
                                                         long[] classNameIds,
                                                         java.lang.String keywords)
                throws SystemException
Throws:
SystemException

searchCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int searchCount(long companyId,
                                                         long[] groupIds,
                                                         long[] classNameIds,
                                                         java.lang.String name,
                                                         java.lang.String description,
                                                         java.lang.String storageType,
                                                         int type,
                                                         boolean andOperator)
                throws SystemException
Throws:
SystemException

updateStructure

DDMStructure updateStructure(long structureId,
                             java.util.Map<java.util.Locale,java.lang.String> nameMap,
                             java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                             java.lang.String xsd,
                             ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

updateStructure

DDMStructure updateStructure(long groupId,
                             java.lang.String structureKey,
                             java.util.Map<java.util.Locale,java.lang.String> nameMap,
                             java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
                             java.lang.String xsd,
                             ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException