1   package com.atlassian.user.impl.ldap.search;
2   
3   import net.sf.ldaptemplate.support.filter.Filter;
4   import com.atlassian.user.Group;
5   import com.atlassian.user.User;
6   
7   public interface LdapFilterFactory
8   {
9       /**
10       * LDAP getGroupEntries filter suitable for locating groups entries which will be modelled as {@link Group} objects.
11       *
12       * @return LDAP getGroupEntries filter suitable for locating groups entries which will be modelled as {@link Group}
13       *         objects.
14       */
15      Filter getGroupSearchFilter();
16  
17      /**
18       * LDAP getGroupEntries filter suitable for locating user entries which will be modelled as {@link User} objects.
19       *
20       * @return LDAP getGroupEntries filter suitable for locating groups entries which will be modelled as {@link User}
21       * objects.
22       */
23      Filter getUserSearchFilter();
24  }