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