Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatamapping.storage
Class ExpandoStorageAdapter

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.storage.BaseStorageAdapter
      extended by com.liferay.portlet.dynamicdatamapping.storage.ExpandoStorageAdapter
All Implemented Interfaces:
StorageAdapter

public class ExpandoStorageAdapter
extends BaseStorageAdapter


Constructor Summary
ExpandoStorageAdapter()
           
 
Method Summary
protected  long doCreate(long companyId, long ddmStructureId, Fields fields, ServiceContext serviceContext)
           
protected  void doDeleteByClass(long classPK)
           
protected  void doDeleteByDDMStructure(long ddmStructureId)
           
protected  List<Fields> doGetFieldsListByClasses(long ddmStructureId, long[] classPKs, List<String> fieldNames, OrderByComparator orderByComparator)
           
protected  List<Fields> doGetFieldsListByDDMStructure(long ddmStructureId, List<String> fieldNames, OrderByComparator orderByComparator)
           
protected  Map<Long,Fields> doGetFieldsMapByClasses(long ddmStructureId, long[] classPKs, List<String> fieldNames)
           
protected  List<Fields> doQuery(long ddmStructureId, List<String> fieldNames, Condition condition, OrderByComparator orderByComparator)
           
protected  int doQueryCount(long ddmStructureId, Condition condition)
           
protected  void doUpdate(long classPK, Fields fields, boolean mergeFields, ServiceContext serviceContext)
           
 
Methods inherited from class com.liferay.portlet.dynamicdatamapping.storage.BaseStorageAdapter
create, deleteByClass, deleteByDDMStructure, getFields, getFields, getFieldsList, getFieldsList, getFieldsList, getFieldsList, getFieldsMap, getFieldsMap, query, queryCount, update, update, validateClassFields, validateDDMStructureFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoStorageAdapter

public ExpandoStorageAdapter()
Method Detail

doCreate

protected long doCreate(long companyId,
                        long ddmStructureId,
                        Fields fields,
                        ServiceContext serviceContext)
                 throws Exception
Specified by:
doCreate in class BaseStorageAdapter
Throws:
Exception

doDeleteByClass

protected void doDeleteByClass(long classPK)
                        throws Exception
Specified by:
doDeleteByClass in class BaseStorageAdapter
Throws:
Exception

doDeleteByDDMStructure

protected void doDeleteByDDMStructure(long ddmStructureId)
                               throws Exception
Specified by:
doDeleteByDDMStructure in class BaseStorageAdapter
Throws:
Exception

doGetFieldsListByClasses

protected List<Fields> doGetFieldsListByClasses(long ddmStructureId,
                                                long[] classPKs,
                                                List<String> fieldNames,
                                                OrderByComparator orderByComparator)
                                         throws Exception
Specified by:
doGetFieldsListByClasses in class BaseStorageAdapter
Throws:
Exception

doGetFieldsListByDDMStructure

protected List<Fields> doGetFieldsListByDDMStructure(long ddmStructureId,
                                                     List<String> fieldNames,
                                                     OrderByComparator orderByComparator)
                                              throws Exception
Specified by:
doGetFieldsListByDDMStructure in class BaseStorageAdapter
Throws:
Exception

doGetFieldsMapByClasses

protected Map<Long,Fields> doGetFieldsMapByClasses(long ddmStructureId,
                                                   long[] classPKs,
                                                   List<String> fieldNames)
                                            throws Exception
Specified by:
doGetFieldsMapByClasses in class BaseStorageAdapter
Throws:
Exception

doQuery

protected List<Fields> doQuery(long ddmStructureId,
                               List<String> fieldNames,
                               Condition condition,
                               OrderByComparator orderByComparator)
                        throws Exception
Specified by:
doQuery in class BaseStorageAdapter
Throws:
Exception

doQueryCount

protected int doQueryCount(long ddmStructureId,
                           Condition condition)
                    throws Exception
Specified by:
doQueryCount in class BaseStorageAdapter
Throws:
Exception

doUpdate

protected void doUpdate(long classPK,
                        Fields fields,
                        boolean mergeFields,
                        ServiceContext serviceContext)
                 throws Exception
Specified by:
doUpdate in class BaseStorageAdapter
Throws:
Exception

Liferay 6.1.2-ce-ga3