|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MembershipPolicy
Defines a membership policy for a role.
A membership policy contains:getTriggerRule()
inherited from Policy
.getScopeRule()
.
createMembershipPolicy()
Method Summary | |
---|---|
ScopeRule |
getScopeRule(ObjectType type)
Retrieves the scope rule for the specified managed object type. |
ScopeRule |
getScopeRule(ObjectType type,
ScopePurpose sp)
Retrieves the scope rule for the specified managed object type. |
java.util.Map |
getScopeRules()
Get a Map representing all the scope rules in this policy |
java.util.Vector |
getScopeRules(java.util.Set types,
ScopePurpose sp)
Retrieves the set of scope rules for the specified managed object type set. |
void |
removeScopingRule(ObjectType type)
Removes the scope rule for the specified managed object type. |
void |
removeScopingRule(ObjectType type,
ScopePurpose sp)
Removes the scope rule for the specified managed object type. |
void |
setScopeRule(ObjectType type,
ScopePurpose sp,
ScopeRule rule)
Sets the scope rule for the specified managed object type. |
void |
setScopeRule(ObjectType type,
ScopeRule rule)
Sets the scope rule for the specified managed object type. |
java.util.Map |
setScopeRules(java.util.Map t)
Replaces the set of scope rule for this policy with the ones from the map passed in. |
Methods inherited from interface com.netegrity.llsdk6.imsapi.policy.Policy |
---|
getMemberRule, getRole, getTriggerRule, setMemberRule, setTriggerRule |
Methods inherited from interface com.netegrity.llsdk6.imsapi.abstractinterface.ModifiableObject |
---|
modifyObject, modifyObject |
Method Detail |
---|
ScopeRule getScopeRule(ObjectType type)
Retrieves the scope rule for the specified managed object type. If a scope rule
is not defined for this object type, the method returns null
.
type
- The type of managed object whose scope rule is being retrieved.
null
if no scope rule is defined for this object type.ScopeRule getScopeRule(ObjectType type, ScopePurpose sp)
Retrieves the scope rule for the specified managed object type. If a scope rule
is not defined for this object type, the method returns null
.
type
- The type of managed object whose scope rule is being retrieved.
null
if no scope rule is defined for this object type.java.util.Vector getScopeRules(java.util.Set types, ScopePurpose sp)
Retrieves the set of scope rules for the specified managed object type set. If a scope rule is not defined for this object type, the method returns an empty map.
types
- The set of managed ObjectType
's whose scope rules are being retrieved.
Vector
if no scope rule is defined for this object type.void setScopeRule(ObjectType type, ScopeRule rule)
Sets the scope rule for the specified managed object type.
type
- The type of managed object whose scope rule is being set.rule
- The scope rule to set for the managed object type.void setScopeRule(ObjectType type, ScopePurpose sp, ScopeRule rule)
Sets the scope rule for the specified managed object type.
type
- The type of managed object whose scope rule is being set.rule
- The scope rule to set for the managed object type.void removeScopingRule(ObjectType type)
Removes the scope rule for the specified managed object type. If the policy does not have a scope rule defined for this object type, the method succeeds.
type
- The type of managed object whose scope rule is being removed.void removeScopingRule(ObjectType type, ScopePurpose sp)
Removes the scope rule for the specified managed object type. If the policy does not have a scope rule defined for this object type, the method succeeds.
type
- The type of managed object whose scope rule is being removed.java.util.Map setScopeRules(java.util.Map t)
t
- A Map of ObjectType-to-ScopeRule. Keys are ObjectType, and values are scope rules
java.util.Map getScopeRules()
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |