public interface IPublishRuleSet
Modifier and Type | Method and Description |
---|---|
void |
addRule(java.lang.String aliasName,
ILdapRule rule)
Add a publishing rule
|
int |
count()
Returns the no of publishing rules in a set.
|
java.lang.String |
getName()
Returns the name of the publishing rule set.
|
ILdapRule |
getRule(IRequest req)
Get the publishing rule identified by a corresponding request.
|
ILdapRule |
getRule(java.lang.String ruleName)
Get the publishing rule identified by a given name.
|
java.util.Enumeration |
getRules()
Get an enumeration of publishing rules.
|
void |
init(ISubsystem sys,
IConfigStore conf) |
void |
publish(netscape.ldap.LDAPConnection conn,
IRequest req)
Apply publishing rules on a request.
|
void |
removeRule(java.lang.String ruleName)
Removes a publishing rule identified by the given name.
|
void init(ISubsystem sys, IConfigStore conf) throws EBaseException
EBaseException
java.lang.String getName()
int count()
void addRule(java.lang.String aliasName, ILdapRule rule)
aliasName
- The name of the publishing rule to be added.rule
- rule The publishing rule to be added.void removeRule(java.lang.String ruleName)
ruleName
- The name of the publishing rule to be removed.ILdapRule getRule(java.lang.String ruleName)
ruleName
- The name of the publishing rule to be return.ILdapRule getRule(IRequest req)
req
- The request from which rule will be identified.java.util.Enumeration getRules()
void publish(netscape.ldap.LDAPConnection conn, IRequest req) throws ELdapException
conn
- The Ldap connectionreq
- The request to apply policies on.ELdapException
- publish failed due to Ldap error.