Interface ItemHome

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Collection findAll()
      All item beans have a 'findAll' finder.
      java.util.Collection findByPKList​(java.util.Collection pks)  
      java.util.Collection findByType​(PK typePK)  
      java.util.Collection findChangedAfter​(java.util.Date time)
      A finder which selects all bean modified after a given time.
      java.lang.String getOwnJNDIName()  
      void loadItemData​(java.sql.ResultSet resultSet)
      still experimental - dont use
    • Method Detail

      • findAll

        java.util.Collection findAll()
                              throws YFinderException
        All item beans have a 'findAll' finder. So dont define another 'findAll' finder in a subclassed item !
        Throws:
        YFinderException
      • findChangedAfter

        java.util.Collection findChangedAfter​(java.util.Date time)
                                       throws YFinderException
        A finder which selects all bean modified after a given time. This uses the modifiedTimestamp field of the item.
        Parameters:
        time - the time to check in milliseconds ( see java.lang.System )
        Throws:
        YFinderException
      • loadItemData

        void loadItemData​(java.sql.ResultSet resultSet)
        still experimental - dont use
      • getOwnJNDIName

        java.lang.String getOwnJNDIName()
        Returns:
        the item's JNDI name