public class StorageEngineImpl extends java.lang.Object implements StorageEngine
Constructor and Description |
---|
StorageEngineImpl() |
Modifier and Type | Method and Description |
---|---|
long |
create(long companyId,
long ddmStructureId,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
deleteByClass(long classPK) |
void |
deleteByDDMStructure(long ddmStructureId) |
protected StorageAdapter |
getClassStorageAdapter(long classPK) |
DDMFormValues |
getDDMFormValues(long classPK) |
protected StorageAdapter |
getStorageAdapter(java.lang.String storageType) |
java.lang.String |
getStorageType() |
protected StorageAdapter |
getStructureStorageAdapter(long ddmStructureId) |
protected void |
setDDMStorageLinkLocalService(DDMStorageLinkLocalService ddmStorageLinkLocalService) |
protected void |
setDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService) |
protected void |
setStorageAdapterRegistry(StorageAdapterRegistry storageAdapterRegistry) |
void |
update(long classPK,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public long create(long companyId, long ddmStructureId, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws StorageException
create
in interface StorageAdapter
StorageException
public void deleteByClass(long classPK) throws StorageException
deleteByClass
in interface StorageAdapter
StorageException
public void deleteByDDMStructure(long ddmStructureId) throws StorageException
deleteByDDMStructure
in interface StorageAdapter
StorageException
public DDMFormValues getDDMFormValues(long classPK) throws StorageException
getDDMFormValues
in interface StorageAdapter
StorageException
public java.lang.String getStorageType()
getStorageType
in interface StorageAdapter
public void update(long classPK, DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws StorageException
update
in interface StorageAdapter
StorageException
protected StorageAdapter getClassStorageAdapter(long classPK) throws StorageException
StorageException
protected StorageAdapter getStorageAdapter(java.lang.String storageType)
protected StorageAdapter getStructureStorageAdapter(long ddmStructureId) throws StorageException
StorageException
protected void setDDMStorageLinkLocalService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
protected void setDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService)
protected void setStorageAdapterRegistry(StorageAdapterRegistry storageAdapterRegistry)