public interface PermissionEntry extends Comparable<PermissionEntry>
Modifier and Type | Interface and Description |
---|---|
static class |
PermissionEntry.PermissionType
type of permission, either assigned to role, or assigned to role and user combined
|
Modifier and Type | Method and Description |
---|---|
String |
getAction()
action on the permission (e.g.
|
String |
getActionId()
action on the permission (e.g.
|
String |
getAssignmentNotes()
notes on the assignment of privilege
|
AttributeAssign |
getAttributeAssign()
get attribute assign
|
int |
getAttributeAssignActionSetDepth()
depth of action hierarchy, 0 means immediate
|
AttributeAssignDelegatable |
getAttributeAssignDelegatable()
get the enum for delegatable, do not return null
|
String |
getAttributeAssignDelegatableDb()
internal method for hibernate to persist this enum
|
String |
getAttributeAssignId()
id of the attribute assign row, either to the role, or to the role member pair
|
AttributeDef |
getAttributeDef() |
String |
getAttributeDefId()
id of the attributeDef
|
AttributeDefName |
getAttributeDefName()
get attribute def name
|
String |
getAttributeDefNameDispName()
display name of the attribute def name which is the permission assigned to the role or subject
|
String |
getAttributeDefNameId()
id of the attribute def name which is the permission
|
String |
getAttributeDefNameName()
name of the attribute def name which is the permission assigned to the role or subject
|
int |
getAttributeDefNameSetDepth()
depth of attributeDefName set hierarchy, 0 means immediate
|
Timestamp |
getDisabledTime()
if there is a date here, and it is in the past, this assignment is disabled
|
Long |
getDisabledTimeDb()
if there is a date here, and it is in the past, this assignment is disabled
|
String |
getDisallowedDb()
if this is a permission, then if this permission assignment is allowed or not
|
String |
getEnabledDb()
true or false for if this assignment is enabled (e.g.
|
Timestamp |
getEnabledTime()
if there is a date here, and it is in the future, this assignment is disabled
until that time
|
Long |
getEnabledTimeDb()
if there is a date here, and it is in the future, this assignment is disabled
until that time
|
Timestamp |
getEndTime()
The end time for this permission entry.
|
Timestamp |
getImmediateMshipDisabledTime()
when the underlying membership will be disabled
|
Long |
getImmediateMshipDisabledTimeDb()
when the underlying membership will be disabled
|
Timestamp |
getImmediateMshipEnabledTime()
when the underlying membership was enabled
|
Long |
getImmediateMshipEnabledTimeDb()
when the underlying membership was enabled
|
Member |
getMember()
get the member
|
String |
getMemberId()
id of the member that has the permission
|
int |
getMembershipDepth()
depth of memberships, 0 means immediate
|
String |
getMembershipId()
id of the membership row
|
PermissionHeuristics |
getPermissionHeuristics()
cache the weighting of this assignment
|
PermissionEntry.PermissionType |
getPermissionType()
type of permission, either assigned to role, or assigned to role and user combined: role_subject
|
String |
getPermissionTypeDb()
type of permission, either assigned to role, or assigned to role and user combined: role_subject
|
Role |
getRole()
owner role
|
String |
getRoleDisplayName()
display name of the role which the subject is in to have the permission
|
String |
getRoleId()
id of the role which the subject is in to get the permission
|
String |
getRoleName()
role which has the permission or which the subject must be in to have the permission
|
int |
getRoleSetDepth()
depth of role hierarchy, 0 means immediate, -1 means no role set involved
|
Timestamp |
getStartTime()
The start time for this permission entry.
|
String |
getSubjectId()
subject id of the subject which has the permissions
|
String |
getSubjectSourceId()
source id of the subject which has the permissions
|
boolean |
isActive()
Whether this permission entry currently exists.
|
boolean |
isAllowedOverall()
this will be if this permissions is allowed (not in DB/assignment, but overall).
|
boolean |
isDisallowed()
if this is a permission, then if this permission assignment is allowed or not
|
boolean |
isEnabled()
true or false for if this assignment is enabled (e.g.
|
boolean |
isImmediate(PermissionEntry.PermissionType thePermissionType) |
boolean |
isImmediateMembership()
see if the membership is unassignable directly
|
boolean |
isImmediatePermission()
see if the permission is unassignable directly
|
void |
setAction(String action1)
action on the permission (e.g.
|
void |
setActionId(String actionId1)
action on the permission (e.g.
|
void |
setAllowedOverall(boolean allowedOverall1)
this will be if this permissions is allowed (not in DB/assignment, but overall).
|
void |
setAssignmentNotes(String assignmentNotes1)
notes on the assignment of privilege
|
void |
setAttributeAssignActionSetDepth(int attributeAssignActionSetDepth1)
depth of action hierarchy, 0 means immediate
|
void |
setAttributeAssignDelegatable(AttributeAssignDelegatable attributeAssignDelegatable1) |
void |
setAttributeAssignDelegatableDb(String theAttributeAssignDelegatableDb)
internal method for hibernate to set if delegatable
|
void |
setAttributeAssignId(String attributeAssignId1)
id of the attribute assign row, either to the role, or to the role member pair
|
void |
setAttributeDefId(String attributeDefId1)
id of the attributeDef
|
void |
setAttributeDefNameDispName(String attributeDefNameDispName1)
display name of the attribute def name which is the permission assigned to the role or subject
|
void |
setAttributeDefNameId(String attributeDefNameId1)
id of the attribute def name which is the permission
|
void |
setAttributeDefNameName(String attributeDefNameName1)
name of the attribute def name which is the permission assigned to the role or subject
|
void |
setAttributeDefNameSetDepth(int attributeDefNameSetDepth1)
depth of attributeDefName set hierarchy, 0 means immediate
|
void |
setDisabledTime(Timestamp disabledTimeDb1)
if there is a date here, and it is in the past, this assignment is disabled
|
void |
setDisabledTimeDb(Long disabledTimeDb1)
if there is a date here, and it is in the past, this assignment is disabled
|
void |
setDisallowed(boolean disallowed1)
if this is a permission, then if this permission assignment is allowed or not
|
void |
setDisallowedDb(String disallowed1)
if this is a permission, then if this permission assignment is allowed or not
|
void |
setEnabled(boolean enabled1)
true or false for if this assignment is enabled (e.g.
|
void |
setEnabledDb(String enabled1)
true or false for if this assignment is enabled (e.g.
|
void |
setEnabledTime(Timestamp enabledTimeDb1)
if there is a date here, and it is in the future, this assignment is disabled
until that time
|
void |
setEnabledTimeDb(Long enabledTimeDb1)
if there is a date here, and it is in the future, this assignment is disabled
until that time
|
void |
setImmediateMshipDisabledTimeDb(Long immediateMshipDisabledTimeDb1)
when the underlying membership was enabled
|
void |
setImmediateMshipDisabledTimeDb(Timestamp immediateMshipDisabledTimeDb1)
when the underlying membership was enabled
|
void |
setImmediateMshipEnabledTime(Timestamp immediateMshipEnabledTimeDb1)
when the underlying membership was enabled
|
void |
setImmediateMshipEnabledTimeDb(Long immediateMshipEnabledTimeDb1)
when the underlying membership was enabled
|
void |
setMemberId(String memberId1)
id of the member that has the permission
|
void |
setMembershipDepth(int membershipDepth1)
depth of memberships, 0 means immediate
|
void |
setMembershipId(String membershipId1)
id of the membership row
|
void |
setPermissionHeuristics(PermissionHeuristics permissionHeuristics1)
cache the weighting of this assignment
|
void |
setPermissionTypeDb(String permissionTypeDb1)
type of permission, either assigned to role, or assigned to role and user combined: role_subject
|
void |
setRoleDisplayName(String roleDisplayName1)
display name of the role which the subject is in to have the permission
|
void |
setRoleId(String roleId1)
id of the role which the subject is in to get the permission
|
void |
setRoleName(String roleName1)
role which has the permission or which the subject must be in to have the permission
|
void |
setRoleSetDepth(int roleSetDepth1)
depth of role hierarchy, 0 means immediate, -1 means no role set involved
|
void |
setSubjectId(String subjectId1)
subject id of the subject which has the permissions
|
void |
setSubjectSourceId(String subjectSourceId1)
source id of the subject which has the permissions
|
compareTo
boolean isAllowedOverall()
void setAllowedOverall(boolean allowedOverall1)
allowedOverall1
- String getAssignmentNotes()
void setAssignmentNotes(String assignmentNotes1)
assignmentNotes1
- Long getImmediateMshipEnabledTimeDb()
Timestamp getImmediateMshipEnabledTime()
void setImmediateMshipEnabledTimeDb(Long immediateMshipEnabledTimeDb1)
immediateMshipEnabledTimeDb1
- void setImmediateMshipEnabledTime(Timestamp immediateMshipEnabledTimeDb1)
immediateMshipEnabledTimeDb1
- Long getImmediateMshipDisabledTimeDb()
void setImmediateMshipDisabledTimeDb(Long immediateMshipDisabledTimeDb1)
immediateMshipDisabledTimeDb1
- Timestamp getImmediateMshipDisabledTime()
void setImmediateMshipDisabledTimeDb(Timestamp immediateMshipDisabledTimeDb1)
immediateMshipDisabledTimeDb1
- String getActionId()
void setActionId(String actionId1)
actionId1
- PermissionHeuristics getPermissionHeuristics()
void setPermissionHeuristics(PermissionHeuristics permissionHeuristics1)
permissionHeuristics1
- int getMembershipDepth()
void setMembershipDepth(int membershipDepth1)
membershipDepth1
- int getRoleSetDepth()
void setRoleSetDepth(int roleSetDepth1)
roleSetDepth1
- int getAttributeDefNameSetDepth()
void setAttributeDefNameSetDepth(int attributeDefNameSetDepth1)
attributeDefNameSetDepth1
- int getAttributeAssignActionSetDepth()
void setAttributeAssignActionSetDepth(int attributeAssignActionSetDepth1)
attributeAssignActionSetDepth1
- String getRoleName()
void setRoleName(String roleName1)
roleName1
- the roleName to setString getSubjectSourceId()
void setSubjectSourceId(String subjectSourceId1)
subjectSourceId1
- the subjectSourceId to setString getSubjectId()
void setSubjectId(String subjectId1)
subjectId1
- the subjectId to setString getAction()
void setAction(String action1)
action1
- the action to setString getAttributeDefNameName()
void setAttributeDefNameName(String attributeDefNameName1)
attributeDefNameName1
- the attributeDefNameName to setString getAttributeDefNameDispName()
void setAttributeDefNameDispName(String attributeDefNameDispName1)
attributeDefNameDispName1
- the attributeDefNameDispName to setString getRoleDisplayName()
void setRoleDisplayName(String roleDisplayName1)
roleDisplayName1
- the roleDisplayName to setString getRoleId()
Role getRole()
AttributeDefName getAttributeDefName()
AttributeAssign getAttributeAssign()
void setRoleId(String roleId1)
roleId1
- the roleId to setString getAttributeDefId()
AttributeDef getAttributeDef()
void setAttributeDefId(String attributeDefId1)
attributeDefId1
- the attributeDefId to setString getMemberId()
Member getMember()
void setMemberId(String memberId1)
memberId1
- the memberId to setString getAttributeDefNameId()
void setAttributeDefNameId(String attributeDefNameId1)
attributeDefNameId1
- the attributeDefNameId to setAttributeAssignDelegatable getAttributeAssignDelegatable()
String getAttributeAssignDelegatableDb()
Timestamp getDisabledTime()
Long getDisabledTimeDb()
String getEnabledDb()
Timestamp getEnabledTime()
Long getEnabledTimeDb()
boolean isEnabled()
void setAttributeAssignDelegatable(AttributeAssignDelegatable attributeAssignDelegatable1)
attributeAssignDelegatable1
- the attributeAssignDelegatable to setvoid setAttributeAssignDelegatableDb(String theAttributeAssignDelegatableDb)
theAttributeAssignDelegatableDb
- void setDisabledTime(Timestamp disabledTimeDb1)
disabledTimeDb1
- the disabledTimeDb to setvoid setDisabledTimeDb(Long disabledTimeDb1)
disabledTimeDb1
- the disabledTimeDb to setvoid setEnabled(boolean enabled1)
enabled1
- the enabled to setvoid setEnabledDb(String enabled1)
enabled1
- the enabled to setvoid setEnabledTime(Timestamp enabledTimeDb1)
enabledTimeDb1
- the enabledTimeDb to setvoid setEnabledTimeDb(Long enabledTimeDb1)
enabledTimeDb1
- the enabledTimeDb to setString getPermissionTypeDb()
void setPermissionTypeDb(String permissionTypeDb1)
permissionTypeDb1
- PermissionEntry.PermissionType getPermissionType()
String getMembershipId()
boolean isImmediate(PermissionEntry.PermissionType thePermissionType)
thePermissionType
- boolean isImmediateMembership()
boolean isImmediatePermission()
void setMembershipId(String membershipId1)
membershipId1
- String getAttributeAssignId()
void setAttributeAssignId(String attributeAssignId1)
attributeAssignId1
- String getDisallowedDb()
boolean isDisallowed()
void setDisallowed(boolean disallowed1)
disallowed1
- the allowed to setvoid setDisallowedDb(String disallowed1)
disallowed1
- the allowed to setTimestamp getEndTime()
Timestamp getStartTime()
boolean isActive()
Copyright © 2016 Internet2. All rights reserved.