Class ServiceInterfaceInstanceDaoJdbc

  • All Implemented Interfaces:
    IServiceInterfaceInstanceDao

    public class ServiceInterfaceInstanceDaoJdbc
    extends java.lang.Object
    implements IServiceInterfaceInstanceDao
    JDBC based DAO implementation for service interface instance.
    Since:
    4.0.0
    Version:
    $Revision: 21381 $ $Date: 2018-06-14 11:45:08 -0300 (Thu, 14 Jun 2018) $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(ServiceInterfaceInstanceConfig serviceInterfaceInstance, ITransaction transaction)
      Add the service's interface's instance.
      void delete​(java.lang.String serviceInterfaceInstanceId, ITransaction transaction)
      Delete the service's interface's instance.
      void deleteCustomProperties​(java.lang.String interfaceInstanceId, ITransaction transaction)
      Delete the custom propertires of the service's interface's instance.
      boolean deleteCustomProperty​(java.lang.String interfaceInstanceId, java.lang.String name, ITransaction transaction)
      Delete a custom property of the service's interface's instance.
      ServiceInterfaceInstanceConfig get​(java.lang.String interfaceInstanceId, ITransaction transaction)
      Get the service's interface's instance.
      java.util.HashMap<java.lang.String,​java.lang.String> getCustomProperties​(java.lang.String interfaceInstanceId, ITransaction transaction)
      Get all custom properties of the specified service insterface instance.
      java.lang.String getCustomProperty​(java.lang.String interfaceInstanceId, java.lang.String name, ITransaction transaction)
      Get the custom property of the service's interface's instance.
      java.util.List<java.lang.String> getIdsByBaseInterfaceInstanceId​(java.lang.String interfaceInstanceId, ITransaction daoTransaction)
      Returns a list of ids of interface instances that have the given base interface instance id.
      java.util.List<java.lang.String> getIdsByInterfaceStyleId​(java.lang.String interfaceStyleId, ITransaction daoTransaction)
      Returns a list of ids of interface instances that uses the given interface style id.
      java.util.Collection<java.lang.String> getIdsByServiceInstanceId​(java.lang.String serviceInstanceId, boolean includeRunTimeInterfaces, ITransaction transaction)
      Get a list of ids given the id of the id of the service's instance.
      java.util.Collection<java.lang.String> getIdsByServiceInterfaceId​(java.lang.String serviceInterfaceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction)
      Get a list of ids given the id of the service's interface.
      java.util.Collection<java.lang.String> getIdsByServiceInterfaceId​(java.lang.String serviceInterfaceId, boolean ignoreRuntimeInterfaces, ITransaction transaction)
      Get a list of ids given the id of the service's interface.
      java.util.Collection<java.lang.String> getIdsByServiceInterfaceIdAndServiceInstanceId​(java.lang.String serviceInterfaceId, java.lang.String serviceInstanceId, boolean ignoreRuntimeInterfaces, boolean ignorePageTemplates, ITransaction transaction)
      Get a list of ids given the id of the service's interface and the id of the service's instance.
      java.util.Collection<java.lang.String> getIdsByServiceInterfaceIdAndServiceInstanceId​(java.lang.String serviceInterfaceId, java.lang.String serviceInstanceId, boolean ignoreRuntimeInterfaces, ITransaction transaction)
      Get a list of ids given the id of the service's interface and the id of the service's instance.
      java.util.Collection<java.lang.String> getIdsByServiceInterfaceStyleId​(java.lang.String serviceInterfaceStyleId, java.lang.String serviceInterfaceId, ITransaction transaction)
      Get the id given the id of the service's interface's style.
      java.util.Collection<java.lang.String> getPageInterfaceInstanceIds​(java.lang.String pageId, ITransaction transaction)
      Get the ids of the page's interface's instance.
      ServiceInterfaceInstanceConfig getRunTimeInstance​(java.lang.String serviceInterfaceId, java.lang.String serviceInstanceId, java.lang.String pageId, ITransaction transaction)
      Get the runtime instance.
      boolean setCustomProperty​(java.lang.String interfaceInstanceId, java.lang.String name, java.lang.String value, ITransaction transaction)
      Set the custom property of the service's interface's instance.
      void update​(ServiceInterfaceInstanceConfig serviceInterfaceInstance, ITransaction transaction)
      Update the service's interface's instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait