Class SearchAction

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<ome.model.IObject> chainedList
      List of IObject instances which have currently been found.
      protected java.lang.Integer timeout  
      protected SearchValues values  
    • Field Detail

      • timeout

        protected java.lang.Integer timeout
      • chainedList

        protected java.util.List<ome.model.IObject> chainedList
        List of IObject instances which have currently been found. This SearchAction may want to take these values into account if present.
    • Constructor Detail

      • SearchAction

        public SearchAction​(SearchValues values)
    • Method Detail

      • setTimeout

        public void setTimeout​(int timeout)
      • description

        public java.lang.String description()
        Returns the SearchAction subclass as the description.
      • chainedSearch

        public void chainedSearch​(java.util.List<ome.model.IObject> chainedList)
        Set the current list of found ids from previous searches, which should be chained in this search. See the documentation on each by* method in Search to know how chained ids will be used, if at all.
        Parameters:
        chainedList - Can be null to disabled chaining.
      • ids

        protected void ids​(org.hibernate.Criteria criteria)
      • ids

        protected void ids​(QueryBuilder qb,
                           java.lang.String path)
      • ownerOrGroup

        protected void ownerOrGroup​(java.lang.Class cls,
                                    org.hibernate.Criteria criteria)
      • ownerOrGroup

        protected void ownerOrGroup​(java.lang.Class cls,
                                    QueryBuilder qb,
                                    java.lang.String path)
      • createdOrModified

        protected void createdOrModified​(java.lang.Class cls,
                                         org.hibernate.Criteria criteria)
      • createdOrModified

        protected void createdOrModified​(java.lang.Class cls,
                                         QueryBuilder qb,
                                         java.lang.String path)
      • annotatedBy

        protected void annotatedBy​(ome.services.search.AnnotationCriteria ann)
      • annotatedBy

        protected void annotatedBy​(QueryBuilder qb,
                                   java.lang.String path)
      • annotatedBetween

        protected void annotatedBetween​(ome.services.search.AnnotationCriteria ann)
      • annotatedBetween

        protected void annotatedBetween​(QueryBuilder qb,
                                        java.lang.String path)
      • notNullOrLikeOrEqual

        public static void notNullOrLikeOrEqual​(QueryBuilder qb,
                                                java.lang.String path,
                                                java.lang.Class type,
                                                java.lang.Object value,
                                                boolean useLike,
                                                boolean caseSensitive)
      • notNullOrLikeOrEqual

        public static org.hibernate.criterion.Criterion notNullOrLikeOrEqual​(java.lang.String path,
                                                                             java.lang.Class type,
                                                                             java.lang.Object value,
                                                                             boolean useLike,
                                                                             boolean caseSensitive)
      • orderByPath

        public static java.lang.String orderByPath​(java.lang.String orderBy)
      • orderByAscending

        public static boolean orderByAscending​(java.lang.String orderBy)