Class AuthorizationInheritanceInfo
java.lang.Object
com.sas.services.information.metadata.AuthorizationInheritanceInfo
- All Implemented Interfaces:
AuthorizationInheritanceInfoInterface,Serializable,Remote
public class AuthorizationInheritanceInfo
extends Object
implements AuthorizationInheritanceInfoInterface, Serializable
Implementation Methods for obtaining inheritance info for an object
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<String> protected List<AuthorizationInheritanceInfoInterface> protected MetadataInterfaceprotected booleanprotected booleanprotected AuthorizationInheritanceInfoprotected String -
Constructor Summary
ConstructorsConstructorDescriptionAuthorizationInheritanceInfo(boolean hidden, MetadataInterface obj, boolean hasDirectPerms, String roleName) -
Method Summary
Modifier and TypeMethodDescriptionStringReturns the association role name for this object from its direct "child".List<String> Returns the List of Strings where each contains an Inheritance Rule (i.e. association to inheritance parent object) name value.Returns the List of AuthorizationInheritanceInfoInterface instances at the next Level for this AuthorizationInheritanceInfoInterfaceReturns the object for this inheritance instancebooleanReturns true if this parent has permissions set directly on itbooleanReturns true if this object has direct inheritance parent objectsbooleanIsHidden()Returns true if requester is not permitted to see the inheritance object represented by this instanceStringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
inheritanceRules
protected List<String> inheritanceRules -
objHidden
protected boolean objHidden -
obj
-
objHasDirectPermissions
protected boolean objHasDirectPermissions -
nextLevelObjList
-
roleName
protected String roleName -
prevLevelObj
-
-
Constructor Details
-
AuthorizationInheritanceInfo
public AuthorizationInheritanceInfo(boolean hidden, MetadataInterface obj, boolean hasDirectPerms, String roleName)
-
-
Method Details
-
toString
public String toString()- Overrides:
toStringin classObject
-
getInheritanceRules
public List<String> getInheritanceRules() throws RemoteExceptionDescription copied from interface:AuthorizationInheritanceInfoInterfaceReturns the List of Strings where each contains an Inheritance Rule (i.e. association to inheritance parent object) name value.- Specified by:
getInheritanceRulesin interfaceAuthorizationInheritanceInfoInterface- Returns:
- List<
String> - Throws:
RemoteException
-
HasDirectPermissions
public boolean HasDirectPermissions() throws RemoteExceptionDescription copied from interface:AuthorizationInheritanceInfoInterfaceReturns true if this parent has permissions set directly on it- Specified by:
HasDirectPermissionsin interfaceAuthorizationInheritanceInfoInterface- Returns:
boolean- Throws:
RemoteException
-
HasNextLevelParents
public boolean HasNextLevelParents() throws RemoteExceptionDescription copied from interface:AuthorizationInheritanceInfoInterfaceReturns true if this object has direct inheritance parent objects- Specified by:
HasNextLevelParentsin interfaceAuthorizationInheritanceInfoInterface- Returns:
boolean- Throws:
RemoteException
-
IsHidden
public boolean IsHidden() throws RemoteExceptionDescription copied from interface:AuthorizationInheritanceInfoInterfaceReturns true if requester is not permitted to see the inheritance object represented by this instance- Specified by:
IsHiddenin interfaceAuthorizationInheritanceInfoInterface- Returns:
boolean- Throws:
RemoteException
-
getNextLevelParents
Description copied from interface:AuthorizationInheritanceInfoInterfaceReturns the List of AuthorizationInheritanceInfoInterface instances at the next Level for this AuthorizationInheritanceInfoInterface- Specified by:
getNextLevelParentsin interfaceAuthorizationInheritanceInfoInterface- Returns:
- List<
AuthorizationInheritanceInfoInterface> - Throws:
RemoteException
-
getObject
Description copied from interface:AuthorizationInheritanceInfoInterfaceReturns the object for this inheritance instance- Specified by:
getObjectin interfaceAuthorizationInheritanceInfoInterface- Returns:
Stringobject- Throws:
RemoteException
-
getInheritanceRoleName
public String getInheritanceRoleName() throws RemoteExceptionDescription copied from interface:AuthorizationInheritanceInfoInterfaceReturns the association role name for this object from its direct "child". The value will always match one of the rule strings on the list returned from calling getInheritanceRules() on the child object.- Specified by:
getInheritanceRoleNamein interfaceAuthorizationInheritanceInfoInterface- Returns:
Stringobject- Throws:
RemoteException
-