public abstract class PermissionEntryBase extends GrouperAPI implements PermissionEntry
PermissionEntry.PermissionTypeCOLUMN_HIBERNATE_VERSION_NUMBER, dbVersion, FIELD_DB_VERSION, FIELD_HIBERNATE_VERSION_NUMBER, INITIAL_VERSION_NUMBER| Constructor and Description |
|---|
PermissionEntryBase() |
| Modifier and Type | Method and Description |
|---|---|
GrouperAPI |
clone()
deep clone the fields in this object
|
int |
compareTo(PermissionEntry o) |
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
|
String |
getAttributeAssignTypeDb() |
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 |
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 |
setAttributeAssignTypeDb(String theAttributeAssignTypeDb) |
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
|
dbVersion, dbVersionClear, dbVersionDifferentFields, dbVersionIsDifferent, dbVersionReset, fieldValue, getHibernateVersionNumber, onDelete, onLoad, onPostDelete, onPostSave, onPostUpdate, onPreDelete, onPreSave, onPreUpdate, onSave, onUpdate, setHibernateVersionNumberequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisActivepublic PermissionHeuristics getPermissionHeuristics()
PermissionEntrygetPermissionHeuristics in interface PermissionEntryPermissionEntry.getPermissionHeuristics()public void setPermissionHeuristics(PermissionHeuristics permissionHeuristics1)
PermissionEntrysetPermissionHeuristics in interface PermissionEntryPermissionEntry.setPermissionHeuristics(edu.internet2.middleware.grouper.permissions.PermissionHeuristics)public String getDisallowedDb()
PermissionEntrygetDisallowedDb in interface PermissionEntryPermissionEntry.getDisallowedDb()public boolean isDisallowed()
PermissionEntryisDisallowed in interface PermissionEntryPermissionEntry.isDisallowed()public void setDisallowed(boolean disallowed1)
PermissionEntrysetDisallowed in interface PermissionEntrydisallowed1 - the allowed to setPermissionEntry.setDisallowed(boolean)public void setDisallowedDb(String disallowed1)
PermissionEntrysetDisallowedDb in interface PermissionEntrydisallowed1 - the allowed to setPermissionEntry.setDisallowedDb(java.lang.String)public String getAssignmentNotes()
PermissionEntrygetAssignmentNotes in interface PermissionEntryPermissionEntry.getAssignmentNotes()public AttributeAssign getAttributeAssign()
PermissionEntrygetAttributeAssign in interface PermissionEntryPermissionEntry.getAttributeAssign()public AttributeAssignDelegatable getAttributeAssignDelegatable()
PermissionEntrygetAttributeAssignDelegatable in interface PermissionEntryPermissionEntry.getAttributeAssignDelegatable()public String getAttributeAssignDelegatableDb()
PermissionEntrygetAttributeAssignDelegatableDb in interface PermissionEntryPermissionEntry.getAttributeAssignDelegatableDb()public AttributeDef getAttributeDef()
getAttributeDef in interface PermissionEntryPermissionEntry.getAttributeDef()public AttributeDefName getAttributeDefName()
PermissionEntrygetAttributeDefName in interface PermissionEntryPermissionEntry.getAttributeDefName()public String getAttributeDefNameDispName()
PermissionEntrygetAttributeDefNameDispName in interface PermissionEntryPermissionEntry.getAttributeDefNameDispName()public Timestamp getDisabledTime()
PermissionEntrygetDisabledTime in interface PermissionEntryPermissionEntry.getDisabledTime()public Long getDisabledTimeDb()
PermissionEntrygetDisabledTimeDb in interface PermissionEntryPermissionEntry.getDisabledTimeDb()public String getEnabledDb()
PermissionEntrygetEnabledDb in interface PermissionEntryPermissionEntry.getEnabledDb()public Timestamp getEnabledTime()
PermissionEntrygetEnabledTime in interface PermissionEntryPermissionEntry.getEnabledTime()public Long getEnabledTimeDb()
PermissionEntrygetEnabledTimeDb in interface PermissionEntryPermissionEntry.getEnabledTimeDb()public Timestamp getImmediateMshipDisabledTime()
PermissionEntrygetImmediateMshipDisabledTime in interface PermissionEntryPermissionEntry.getImmediateMshipDisabledTime()public Long getImmediateMshipDisabledTimeDb()
PermissionEntrygetImmediateMshipDisabledTimeDb in interface PermissionEntryPermissionEntry.getImmediateMshipDisabledTimeDb()public Timestamp getImmediateMshipEnabledTime()
PermissionEntrygetImmediateMshipEnabledTime in interface PermissionEntryPermissionEntry.getImmediateMshipEnabledTime()public Long getImmediateMshipEnabledTimeDb()
PermissionEntrygetImmediateMshipEnabledTimeDb in interface PermissionEntryPermissionEntry.getImmediateMshipEnabledTimeDb()public Member getMember()
PermissionEntrygetMember in interface PermissionEntryPermissionEntry.getMember()public Role getRole()
PermissionEntrygetRole in interface PermissionEntryPermissionEntry.getRole()public String getRoleDisplayName()
PermissionEntrygetRoleDisplayName in interface PermissionEntryPermissionEntry.getRoleDisplayName()public boolean isAllowedOverall()
PermissionEntryisAllowedOverall in interface PermissionEntryPermissionEntry.isAllowedOverall()public boolean isEnabled()
PermissionEntryisEnabled in interface PermissionEntryPermissionEntry.isEnabled()public boolean isImmediate(PermissionEntry.PermissionType thePermissionType)
isImmediate in interface PermissionEntryPermissionEntry.isImmediate(edu.internet2.middleware.grouper.permissions.PermissionEntry.PermissionType)public boolean isImmediateMembership()
PermissionEntryisImmediateMembership in interface PermissionEntryPermissionEntry.isImmediateMembership()public boolean isImmediatePermission()
PermissionEntryisImmediatePermission in interface PermissionEntryPermissionEntry.isImmediatePermission()public void setAllowedOverall(boolean allowedOverall1)
PermissionEntrysetAllowedOverall in interface PermissionEntryPermissionEntry.setAllowedOverall(boolean)public void setAssignmentNotes(String assignmentNotes1)
PermissionEntrysetAssignmentNotes in interface PermissionEntryPermissionEntry.setAssignmentNotes(java.lang.String)public void setAttributeAssignDelegatable(AttributeAssignDelegatable attributeAssignDelegatable1)
setAttributeAssignDelegatable in interface PermissionEntryattributeAssignDelegatable1 - the attributeAssignDelegatable to setPermissionEntry.setAttributeAssignDelegatable(edu.internet2.middleware.grouper.attr.assign.AttributeAssignDelegatable)public void setAttributeAssignDelegatableDb(String theAttributeAssignDelegatableDb)
PermissionEntrysetAttributeAssignDelegatableDb in interface PermissionEntryPermissionEntry.setAttributeAssignDelegatableDb(java.lang.String)public void setAttributeDefNameDispName(String attributeDefNameDispName1)
PermissionEntrysetAttributeDefNameDispName in interface PermissionEntryattributeDefNameDispName1 - the attributeDefNameDispName to setPermissionEntry.setAttributeDefNameDispName(java.lang.String)public void setDisabledTime(Timestamp disabledTimeDb1)
PermissionEntrysetDisabledTime in interface PermissionEntrydisabledTimeDb1 - the disabledTimeDb to setPermissionEntry.setDisabledTime(java.sql.Timestamp)public void setDisabledTimeDb(Long disabledTimeDb1)
PermissionEntrysetDisabledTimeDb in interface PermissionEntrydisabledTimeDb1 - the disabledTimeDb to setPermissionEntry.setDisabledTimeDb(java.lang.Long)public void setEnabled(boolean enabled1)
PermissionEntrysetEnabled in interface PermissionEntryenabled1 - the enabled to setPermissionEntry.setEnabled(boolean)public void setEnabledDb(String enabled1)
PermissionEntrysetEnabledDb in interface PermissionEntryenabled1 - the enabled to setPermissionEntry.setEnabledDb(java.lang.String)public void setEnabledTime(Timestamp enabledTimeDb1)
PermissionEntrysetEnabledTime in interface PermissionEntryenabledTimeDb1 - the enabledTimeDb to setPermissionEntry.setEnabledTime(java.sql.Timestamp)public void setEnabledTimeDb(Long enabledTimeDb1)
PermissionEntrysetEnabledTimeDb in interface PermissionEntryenabledTimeDb1 - the enabledTimeDb to setPermissionEntry.setEnabledTimeDb(java.lang.Long)public void setImmediateMshipDisabledTimeDb(Long immediateMshipDisabledTimeDb1)
PermissionEntrysetImmediateMshipDisabledTimeDb in interface PermissionEntryPermissionEntry.setImmediateMshipDisabledTimeDb(java.lang.Long)public void setImmediateMshipDisabledTimeDb(Timestamp immediateMshipDisabledTimeDb1)
PermissionEntrysetImmediateMshipDisabledTimeDb in interface PermissionEntryPermissionEntry.setImmediateMshipDisabledTimeDb(java.sql.Timestamp)public void setImmediateMshipEnabledTime(Timestamp immediateMshipEnabledTimeDb1)
PermissionEntrysetImmediateMshipEnabledTime in interface PermissionEntryPermissionEntry.setImmediateMshipEnabledTime(java.sql.Timestamp)public void setImmediateMshipEnabledTimeDb(Long immediateMshipEnabledTimeDb1)
PermissionEntrysetImmediateMshipEnabledTimeDb in interface PermissionEntryPermissionEntry.setImmediateMshipEnabledTimeDb(java.lang.Long)public void setRoleDisplayName(String roleDisplayName1)
PermissionEntrysetRoleDisplayName in interface PermissionEntryroleDisplayName1 - the roleDisplayName to setPermissionEntry.setRoleDisplayName(java.lang.String)public GrouperAPI clone()
GrouperAPIclone in interface GrouperCloneableclone in class GrouperAPIGrouperAPI.clone()public int compareTo(PermissionEntry o)
compareTo in interface Comparable<PermissionEntry>Comparable.compareTo(java.lang.Object)public Timestamp getEndTime()
PermissionEntrygetEndTime in interface PermissionEntryPermissionEntry.getEndTime()public Timestamp getStartTime()
PermissionEntrygetStartTime in interface PermissionEntryPermissionEntry.getStartTime()public int getMembershipDepth()
PermissionEntrygetMembershipDepth in interface PermissionEntryPermissionEntry.getMembershipDepth()public void setMembershipDepth(int membershipDepth1)
PermissionEntrysetMembershipDepth in interface PermissionEntryPermissionEntry.setMembershipDepth(int)public int getRoleSetDepth()
PermissionEntrygetRoleSetDepth in interface PermissionEntryPermissionEntry.getRoleSetDepth()public int getAttributeDefNameSetDepth()
PermissionEntrygetAttributeDefNameSetDepth in interface PermissionEntryPermissionEntry.getAttributeDefNameSetDepth()public void setAttributeDefNameSetDepth(int attributeDefNameSetDepth1)
PermissionEntrysetAttributeDefNameSetDepth in interface PermissionEntryPermissionEntry.setAttributeDefNameSetDepth(int)public int getAttributeAssignActionSetDepth()
PermissionEntrygetAttributeAssignActionSetDepth in interface PermissionEntryPermissionEntry.getAttributeAssignActionSetDepth()public void setAttributeAssignActionSetDepth(int attributeAssignActionSetDepth1)
PermissionEntrysetAttributeAssignActionSetDepth in interface PermissionEntryPermissionEntry.setAttributeAssignActionSetDepth(int)public String getRoleName()
PermissionEntrygetRoleName in interface PermissionEntryPermissionEntry.getRoleName()public void setRoleName(String roleName1)
PermissionEntrysetRoleName in interface PermissionEntryroleName1 - the roleName to setPermissionEntry.setRoleName(java.lang.String)public String getSubjectSourceId()
PermissionEntrygetSubjectSourceId in interface PermissionEntryPermissionEntry.getSubjectSourceId()public void setSubjectSourceId(String subjectSourceId1)
PermissionEntrysetSubjectSourceId in interface PermissionEntrysubjectSourceId1 - the subjectSourceId to setPermissionEntry.setSubjectSourceId(java.lang.String)public String getSubjectId()
PermissionEntrygetSubjectId in interface PermissionEntryPermissionEntry.getSubjectId()public void setSubjectId(String subjectId1)
PermissionEntrysetSubjectId in interface PermissionEntrysubjectId1 - the subjectId to setPermissionEntry.setSubjectId(java.lang.String)public String getAction()
PermissionEntrygetAction in interface PermissionEntryPermissionEntry.getAction()public void setAction(String action1)
PermissionEntrysetAction in interface PermissionEntryaction1 - the action to setPermissionEntry.setAction(java.lang.String)public String getAttributeDefNameName()
PermissionEntrygetAttributeDefNameName in interface PermissionEntryPermissionEntry.getAttributeDefNameName()public void setAttributeDefNameName(String attributeDefNameName1)
PermissionEntrysetAttributeDefNameName in interface PermissionEntryattributeDefNameName1 - the attributeDefNameName to setPermissionEntry.setAttributeDefNameName(java.lang.String)public String getActionId()
PermissionEntrygetActionId in interface PermissionEntryPermissionEntry.getActionId()public void setActionId(String actionId1)
PermissionEntrysetActionId in interface PermissionEntryPermissionEntry.setActionId(java.lang.String)public String getRoleId()
PermissionEntrygetRoleId in interface PermissionEntryPermissionEntry.getRoleId()public void setRoleId(String roleId1)
PermissionEntrysetRoleId in interface PermissionEntryroleId1 - the roleId to setPermissionEntry.setRoleId(java.lang.String)public String getAttributeDefId()
PermissionEntrygetAttributeDefId in interface PermissionEntryPermissionEntry.getAttributeDefId()public void setAttributeDefId(String attributeDefId1)
PermissionEntrysetAttributeDefId in interface PermissionEntryattributeDefId1 - the attributeDefId to setPermissionEntry.setAttributeDefId(java.lang.String)public String getMemberId()
PermissionEntrygetMemberId in interface PermissionEntryPermissionEntry.getMemberId()public void setMemberId(String memberId1)
PermissionEntrysetMemberId in interface PermissionEntrymemberId1 - the memberId to setPermissionEntry.setMemberId(java.lang.String)public String getAttributeDefNameId()
PermissionEntrygetAttributeDefNameId in interface PermissionEntryPermissionEntry.getAttributeDefNameId()public void setAttributeDefNameId(String attributeDefNameId1)
PermissionEntrysetAttributeDefNameId in interface PermissionEntryattributeDefNameId1 - the attributeDefNameId to setPermissionEntry.setAttributeDefNameId(java.lang.String)public String getMembershipId()
PermissionEntrygetMembershipId in interface PermissionEntryPermissionEntry.getMembershipId()public void setMembershipId(String membershipId1)
PermissionEntrysetMembershipId in interface PermissionEntryPermissionEntry.setMembershipId(java.lang.String)public String getAttributeAssignId()
PermissionEntrygetAttributeAssignId in interface PermissionEntryPermissionEntry.getAttributeAssignId()public void setAttributeAssignId(String attributeAssignId1)
PermissionEntrysetAttributeAssignId in interface PermissionEntryPermissionEntry.setAttributeAssignId(java.lang.String)public String getPermissionTypeDb()
PermissionEntrygetPermissionTypeDb in interface PermissionEntryPermissionEntry.getPermissionTypeDb()public void setPermissionTypeDb(String permissionTypeDb1)
PermissionEntrysetPermissionTypeDb in interface PermissionEntryPermissionEntry.setPermissionTypeDb(java.lang.String)public PermissionEntry.PermissionType getPermissionType()
PermissionEntrygetPermissionType in interface PermissionEntryPermissionEntry.getPermissionType()public void setAttributeAssignTypeDb(String theAttributeAssignTypeDb)
theAttributeAssignTypeDb - public String getAttributeAssignTypeDb()
public void setRoleSetDepth(int roleSetDepth1)
PermissionEntrysetRoleSetDepth in interface PermissionEntryPermissionEntry.setRoleSetDepth(int)Copyright © 2016 Internet2. All rights reserved.