com.liferay.portlet.dynamicdatamapping.service
Class DDMStructureServiceUtil
java.lang.Object
com.liferay.portlet.dynamicdatamapping.service.DDMStructureServiceUtil
public class DDMStructureServiceUtil
- extends Object
The utility for the d d m structure remote service. This utility wraps com.liferay.portlet.dynamicdatamapping.service.impl.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,
com.liferay.portlet.dynamicdatamapping.service.base.DDMStructureServiceBaseImpl,
com.liferay.portlet.dynamicdatamapping.service.impl.DDMStructureServiceImpl
|
Method Summary |
static DDMStructure |
addStructure(long groupId,
long classNameId,
String structureKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
String storageType,
ServiceContext serviceContext)
|
static void |
deleteStructure(long structureId)
|
static DDMStructure |
fetchStructure(long groupId,
String structureKey)
|
static DDMStructureService |
getService()
|
static DDMStructure |
getStructure(long structureId)
|
void |
setService(DDMStructureService service)
|
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 |
DDMStructureServiceUtil
public DDMStructureServiceUtil()
addStructure
public static DDMStructure addStructure(long groupId,
long classNameId,
String structureKey,
Map<Locale,String> nameMap,
Map<Locale,String> descriptionMap,
String xsd,
String storageType,
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
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)