Class SearchEntityDescriptor

    • Constructor Detail

      • SearchEntityDescriptor

        public SearchEntityDescriptor()
    • Method Detail

      • getEntityFilter

        public FilterOption getEntityFilter​(org.bonitasoft.engine.search.impl.SearchFilter filter)
      • getEntitySearchTerm

        public SearchFields getEntitySearchTerm​(java.lang.String searchString)
      • getEntityKeys

        protected abstract java.util.Map<java.lang.String,​FieldDescriptor> getEntityKeys()
      • getAllFields

        protected abstract java.util.Map<java.lang.Class<? extends PersistentObject>,​java.util.Set<java.lang.String>> getAllFields()
      • convertFilterValue

        protected java.io.Serializable convertFilterValue​(java.lang.String filterField,
                                                          java.io.Serializable filterValue)
        Override this method to have specific conversion behavior from client filter value to server filter value .
        Parameters:
        filterField - The field to filter
        filterValue - The initial value
        Returns:
        the converted filter value
        Since:
        6.4.0
      • constructFilterOption

        public FilterOption constructFilterOption​(org.bonitasoft.engine.search.impl.SearchFilter filter,
                                                  FieldDescriptor fieldDescriptor)