| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public String getFilter(AbstractManagedObjectDefinition<?, ?> d) { |
| | | StringBuilder builder = new StringBuilder(); |
| | | builder.append("(ObjectClass="); |
| | | builder.append(getObjectClass(d)); |
| | | builder.append(')'); |
| | | return builder.toString(); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public String getObjectClass( |
| | | AbstractManagedObjectDefinition<?, ?> d) { |
| | | return resource.getString(d, "objectclass"); |
| | |
| | | |
| | | |
| | | /** |
| | | * Get an LDAP filter string which can be used to search for entries |
| | | * matching the specified definition. |
| | | * |
| | | * @param d |
| | | * The managed object definition. |
| | | * @return Returns the LDAP filter. |
| | | */ |
| | | public abstract String getFilter( |
| | | AbstractManagedObjectDefinition<?, ?> d); |
| | | |
| | | |
| | | |
| | | /** |
| | | * Get the principle object class associated with the specified |
| | | * definition. |
| | | * |