public abstract class BaseStorageAdapter extends java.lang.Object implements StorageAdapter
| Constructor and Description |
|---|
BaseStorageAdapter() |
| 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 abstract long |
doCreate(long companyId,
long ddmStructureId,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected abstract void |
doDeleteByClass(long classPK) |
protected abstract void |
doDeleteByDDMStructure(long ddmStructureId) |
protected abstract DDMFormValues |
doGetDDMFormValues(long classPK) |
protected abstract void |
doUpdate(long classPK,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
DDMFormValues |
getDDMFormValues(long classPK) |
protected void |
transformDDMFormValues(DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
update(long classPK,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStorageTypepublic long create(long companyId,
long ddmStructureId,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws StorageException
create in interface StorageAdapterStorageExceptionpublic void deleteByClass(long classPK)
throws StorageException
deleteByClass in interface StorageAdapterStorageExceptionpublic void deleteByDDMStructure(long ddmStructureId)
throws StorageException
deleteByDDMStructure in interface StorageAdapterStorageExceptionpublic DDMFormValues getDDMFormValues(long classPK) throws StorageException
getDDMFormValues in interface StorageAdapterStorageExceptionpublic void update(long classPK,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws StorageException
update in interface StorageAdapterStorageExceptionprotected abstract long doCreate(long companyId,
long ddmStructureId,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws java.lang.Exception
java.lang.Exceptionprotected abstract void doDeleteByClass(long classPK)
throws java.lang.Exception
java.lang.Exceptionprotected abstract void doDeleteByDDMStructure(long ddmStructureId)
throws java.lang.Exception
java.lang.Exceptionprotected abstract DDMFormValues doGetDDMFormValues(long classPK) throws java.lang.Exception
java.lang.Exceptionprotected abstract void doUpdate(long classPK,
DDMFormValues ddmFormValues,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws java.lang.Exception
java.lang.Exceptionprotected void transformDDMFormValues(DDMFormValues ddmFormValues, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException