com.liferay.portlet.dynamicdatamapping.storage
Class StorageEngineImpl
java.lang.Object
com.liferay.portlet.dynamicdatamapping.storage.StorageEngineImpl
- All Implemented Interfaces:
- StorageAdapter, StorageEngine
public class StorageEngineImpl
- extends Object
- implements StorageEngine
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StorageEngineImpl
public StorageEngineImpl()
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