com.ibm.commerce.foundation.server.services.dataaccess

Class PhysicalDataContainerImpl

  • java.lang.Object
    • com.ibm.commerce.foundation.server.services.dataaccess.PhysicalDataContainerImpl
  • All Implemented Interfaces:
    PhysicalDataContainer


    public class PhysicalDataContainerImpl
    extends java.lang.Object
    implements PhysicalDataContainer
    This is an implementation for the physical data container that is used to perform CRUD operations on the physical entities.
    • Constructor Summary

      Constructors 
      Constructor and Description
      PhysicalDataContainerImpl(java.lang.String componentId, EntityContainer anEntityContainer, com.ibm.commerce.foundation.internal.server.services.dataaccess.datamediator.DataMediator aDataMediator, KeyManager aKeyManager)
      Creates a new physical data container
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object createPhysicalObject(java.lang.Object owningObject, java.lang.Class objectClass)
      Creates a physical entity of the specified entity class
      EntityContainer getEntityContainer()
      This method returns the entity container associated with this physical data container.
      java.lang.Long getNextPrimaryKey(java.lang.Class aClass)
      Gets the unique key for a database table represented by the given class (the mapping between the physical table name and class name is defined by the object-relational mapping).
      boolean getPagingRecordSetCompleteIndicator()
      (non-Javadoc)
      java.math.BigInteger getPagingRecordSetCount()
      Returns the number of records from the query result set returned by this request.
      java.lang.String getPagingRecordSetReferenceId()
      (non-Javadoc)
      java.math.BigInteger getPagingRecordSetStartNumber()
      (non-Javadoc)
      java.math.BigInteger getPagingTotal()
      (non-Javadoc)
      java.util.List getPhysicalObjects()
      Gets the physical objects
      void removePhysicalObject(java.lang.Object entityObject)
      Removes the physical object from the objects associated with the container.
      void save()
      This method applies all the changes made to the entity objects stored by this physical data container.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PhysicalDataContainerImpl

        public PhysicalDataContainerImpl(java.lang.String componentId,
                                         EntityContainer anEntityContainer,
                                         com.ibm.commerce.foundation.internal.server.services.dataaccess.datamediator.DataMediator aDataMediator,
                                         KeyManager aKeyManager)
        Creates a new physical data container
        Parameters:
        componentId - The component id.
        anEntityContainer - The entity container which contains physical SDO.
        aDataMediator - An instance object of DataMediator for the current data mediator the caller is using.
        aKeyManager - The instance object of KeyManager