Interface BaseDAO


public interface BaseDAO
BaseDAO.
  • Method Details

    • getBindingName

      String getBindingName()
      Gets the unique binding name for this DAO based on the storage id, storage type and persistence type.
      Returns:
      This DAO's binding name.
    • getStorageId

      String getStorageId()
    • getTypeMapping

      String getTypeMapping()
    • getStorageType

      String getStorageType()
      This returns the storage type of the DAO.
      Returns:
      The storage Type of the DAO
    • getBaseNamespaceId

      int getBaseNamespaceId() throws com.tridion.broker.StorageException
      Get the base namespace id that should be used by this DAO instance.
      Returns:
      the base namespace id
      Throws:
      com.tridion.broker.StorageException
    • getInternalNamespaceId

      int getInternalNamespaceId(int itemType) throws com.tridion.broker.StorageException
      Get the namespace id for the specified item type. Returns ID that associated with internal prefix if it was defined for the given type. Otherwise returns base namespace id.
      Parameters:
      itemType - item type (eg ItemTypes.PAGE)
      Returns:
      the namespace id
      Throws:
      com.tridion.broker.StorageException - A storage exception in case of a storage error.