Class JDBCUnifiedArchiveRepository.Criteria

  • Enclosing class:
    JDBCUnifiedArchiveRepository

    public static class JDBCUnifiedArchiveRepository.Criteria
    extends tigase.archive.db.JDBCMessageArchiveRepository.Criteria
    • Field Summary

      • Fields inherited from class tigase.archive.db.JDBCMessageArchiveRepository.Criteria

        queryName
      • Fields inherited from class tigase.archive.AbstractCriteria

        ARCHIVE_XMLNS, QUERTY_XMLNS
    • Constructor Summary

      Constructors 
      Constructor Description
      Criteria()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean forItemType​(java.lang.String type)  
      tigase.archive.AbstractCriteria fromElement​(tigase.xml.Element el, boolean tagsSupport)  
      boolean hasItemType()  
      void prepareResult​(tigase.xml.Element retList)  
      int setCountQueryParams​(java.sql.PreparedStatement stmt, tigase.db.DataRepository.dbTypes dbType, int i)  
      void setItemType​(java.lang.String type)  
      java.lang.String updateQueryName()  
      • Methods inherited from class tigase.archive.db.JDBCMessageArchiveRepository.Criteria

        convertTimestamp, getQueryName, setBuddyId, setCountQueryParams, setItemsQueryParams, setOwnerId
      • Methods inherited from class tigase.archive.AbstractCriteria

        addContains, addTag, getContains, getEnd, getLimit, getOffset, getRSM, getStart, getTags, getWith, setEnd, setSize, setStart, setWith
      • Methods inherited from class java.lang.Object

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

      • Criteria

        public Criteria()
    • Method Detail

      • fromElement

        public tigase.archive.AbstractCriteria fromElement​(tigase.xml.Element el,
                                                           boolean tagsSupport)
                                                    throws java.lang.IllegalArgumentException,
                                                           java.text.ParseException
        Overrides:
        fromElement in class tigase.archive.AbstractCriteria<java.sql.Timestamp>
        Throws:
        java.lang.IllegalArgumentException
        java.text.ParseException
      • updateQueryName

        public java.lang.String updateQueryName()
        Overrides:
        updateQueryName in class tigase.archive.db.JDBCMessageArchiveRepository.Criteria
      • setCountQueryParams

        public int setCountQueryParams​(java.sql.PreparedStatement stmt,
                                       tigase.db.DataRepository.dbTypes dbType,
                                       int i)
                                throws java.sql.SQLException
        Overrides:
        setCountQueryParams in class tigase.archive.db.JDBCMessageArchiveRepository.Criteria
        Throws:
        java.sql.SQLException
      • hasItemType

        public boolean hasItemType()
      • forItemType

        public boolean forItemType​(java.lang.String type)
      • setItemType

        public void setItemType​(java.lang.String type)
      • prepareResult

        public void prepareResult​(tigase.xml.Element retList)
        Overrides:
        prepareResult in class tigase.archive.AbstractCriteria<java.sql.Timestamp>