public interface RASPolicyRuleEntry
Modifier and Type | Interface and Description |
---|---|
static class |
RASPolicyRuleEntry.PrincipalType
Enumeration definition for Principal type in RAS
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description of the entity.
|
java.lang.String |
getDisplayName()
Returns the Display name.
|
PolicyRuleEntry.EffectType |
getEffect()
Get the effect of this rule.
|
java.util.Date |
getEndDate()
Return the time point at which the rule expires
|
java.lang.String |
getName()
Name of the entry.
|
java.lang.String |
getPrincipalName()
Return the principal name for this rule.
|
RASPolicyRuleEntry.PrincipalType |
getPrincipalType()
Return the principal type
|
java.util.Set<java.lang.String> |
getPrivileges()
Return a collection of the privileges used in this rule
|
java.util.Date |
getStartDate()
Return the time point from which the rule takes effect
|
boolean |
isInvertPrincipal()
Flag to specify whether this rule is to invert principal or not
|
void |
setDescription(java.lang.String description)
Set the description of this entry.
|
void |
setDisplayName(java.lang.String displayName)
Set the display name of this entry.
|
void |
setEffect(PolicyRuleEntry.EffectType effect)
Set effect of this rule
|
void |
setEndDate(java.util.Date endDate)
Set the time point at which the rule expires
|
void |
setInvertPrincipal(boolean invert)
Set the flag specifying whether this rule is to invert principal or not
|
void |
setPrincipalName(java.lang.String principalName)
Set the principal name
|
void |
setPrincipalType(RASPolicyRuleEntry.PrincipalType principalType)
Set the Principal type
|
void |
setStartDate(java.util.Date startDate)
Set the time point from which the rule takes effect
|
PolicyRuleEntry.EffectType getEffect()
void setEffect(PolicyRuleEntry.EffectType effect) throws PolicyStoreException
effect
-PolicyStoreException
java.lang.String getDescription()
java.lang.String getDisplayName()
java.lang.String getName()
void setDescription(java.lang.String description)
description
-void setDisplayName(java.lang.String displayName)
displayName
-boolean isInvertPrincipal()
void setInvertPrincipal(boolean invert)
invert
-java.util.Date getStartDate()
void setStartDate(java.util.Date startDate)
startDate
- the time point from which the rule takes effectjava.util.Date getEndDate()
void setEndDate(java.util.Date endDate)
endDate
- the time point at which the rule expiresvoid setPrincipalType(RASPolicyRuleEntry.PrincipalType principalType)
principalType
-RASPolicyRuleEntry.PrincipalType getPrincipalType()
java.util.Set<java.lang.String> getPrivileges()
java.lang.String getPrincipalName()
void setPrincipalName(java.lang.String principalName)
principalName
-