Liferay 7.0-ce-m6

com.liferay.portlet.dynamicdatamapping.storage
Class JSONStorageAdapter

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.storage.BaseStorageAdapter
      extended by com.liferay.portlet.dynamicdatamapping.storage.JSONStorageAdapter
All Implemented Interfaces:
StorageAdapter

public class JSONStorageAdapter
extends BaseStorageAdapter


Constructor Summary
JSONStorageAdapter()
           
 
Method Summary
 long doCreate(long companyId, long ddmStructureId, DDMFormValues ddmFormValues, ServiceContext serviceContext)
           
protected  void doDeleteByClass(long classPK)
           
protected  void doDeleteByDDMStructure(long ddmStructureId)
           
protected  DDMFormValues doGetDDMFormValues(long classPK)
           
 void doUpdate(long classPK, DDMFormValues ddmFormValues, ServiceContext serviceContext)
           
 String getStorageType()
           
 
Methods inherited from class com.liferay.portlet.dynamicdatamapping.storage.BaseStorageAdapter
create, deleteByClass, deleteByDDMStructure, getDDMFormValues, transformDDMFormValues, update, validateDDMFormValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSONStorageAdapter

public JSONStorageAdapter()
Method Detail

doCreate

public long doCreate(long companyId,
                     long ddmStructureId,
                     DDMFormValues ddmFormValues,
                     ServiceContext serviceContext)
              throws Exception
Specified by:
doCreate in class BaseStorageAdapter
Throws:
Exception

doUpdate

public void doUpdate(long classPK,
                     DDMFormValues ddmFormValues,
                     ServiceContext serviceContext)
              throws Exception
Specified by:
doUpdate in class BaseStorageAdapter
Throws:
Exception

getStorageType

public String getStorageType()

doDeleteByClass

protected void doDeleteByClass(long classPK)
                        throws Exception
Specified by:
doDeleteByClass in class BaseStorageAdapter
Throws:
Exception

doDeleteByDDMStructure

protected void doDeleteByDDMStructure(long ddmStructureId)
                               throws Exception
Specified by:
doDeleteByDDMStructure in class BaseStorageAdapter
Throws:
Exception

doGetDDMFormValues

protected DDMFormValues doGetDDMFormValues(long classPK)
                                    throws Exception
Specified by:
doGetDDMFormValues in class BaseStorageAdapter
Throws:
Exception

Liferay 7.0-ce-m6