Liferay 7.0-ce-m6

com.liferay.portlet.dynamicdatamapping.storage
Class StorageEngineImpl

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.storage.StorageEngineImpl
All Implemented Interfaces:
StorageAdapter, StorageEngine

public class StorageEngineImpl
extends Object
implements StorageEngine


Constructor Summary
StorageEngineImpl()
           
 
Method Summary
 long create(long companyId, long ddmStructureId, DDMFormValues ddmFormValues, ServiceContext serviceContext)
           
 void deleteByClass(long classPK)
           
 void deleteByDDMStructure(long ddmStructureId)
           
protected  StorageAdapter getClassStorageAdapter(long classPK)
           
 DDMFormValues getDDMFormValues(long classPK)
           
protected  StorageAdapter getStorageAdapter(String storageType)
           
 String getStorageType()
           
protected  StorageAdapter getStructureStorageAdapter(long ddmStructureId)
           
 void update(long classPK, DDMFormValues ddmFormValues, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageEngineImpl

public StorageEngineImpl()
Method Detail

create

public long create(long companyId,
                   long ddmStructureId,
                   DDMFormValues ddmFormValues,
                   ServiceContext serviceContext)
            throws StorageException
Specified by:
create in interface StorageAdapter
Throws:
StorageException

deleteByClass

public void deleteByClass(long classPK)
                   throws StorageException
Specified by:
deleteByClass in interface StorageAdapter
Throws:
StorageException

deleteByDDMStructure

public void deleteByDDMStructure(long ddmStructureId)
                          throws StorageException
Specified by:
deleteByDDMStructure in interface StorageAdapter
Throws:
StorageException

getDDMFormValues

public DDMFormValues getDDMFormValues(long classPK)
                               throws StorageException
Specified by:
getDDMFormValues in interface StorageAdapter
Throws:
StorageException

getStorageType

public String getStorageType()
Specified by:
getStorageType in interface StorageAdapter

update

public void update(long classPK,
                   DDMFormValues ddmFormValues,
                   ServiceContext serviceContext)
            throws StorageException
Specified by:
update in interface StorageAdapter
Throws:
StorageException

getClassStorageAdapter

protected StorageAdapter getClassStorageAdapter(long classPK)
                                         throws StorageException
Throws:
StorageException

getStorageAdapter

protected StorageAdapter getStorageAdapter(String storageType)

getStructureStorageAdapter

protected StorageAdapter getStructureStorageAdapter(long ddmStructureId)
                                             throws StorageException
Throws:
StorageException

Liferay 7.0-ce-m6