|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectARoad0.gWork.ThreeNodesRightsFactoryImpl
public final class ThreeNodesRightsFactoryImpl
This class is responsible for providing the core algorithms to detect for a view all the 3-nodes access paths, combining the searches among all types of rights and structures. This class returns the 3-nodes access paths, that is the effective applicable paths from an EligibleParty or a VirtualFolder to a Resource, GroupIDMember or VirtualFolder, when there is exactly one intermediate node. All the AG, ACL, BDG and PRI rights, and all the pseudo-structural links are possible. The AcsAddons are handled to detect they proper rights and structures.
The careful study of this class is a good start to understand the search of access paths in Access Road.
This class is stateless, having as variables only the instances of the core algorithm classes of the ViewInBase. Each RightsMediatorImpl instance at its creation setups an instance of this class for its ViewInBase. There is no direct call to the ACS methods from the worker thread using this class.
The calling sequence of the methods is presented hereinafter:
- detectOneHiddenNodeCompoundRights() is the single entry point of the class to analyze a given view; it is called by RightsFactory_Facade,
- for each access source of the view, this entry method calls the 4 methods selectOneHiddenNodePathsForXXXX() for respectively the sources which are virtual folders, the privilege links in the first link, the sources which are Actors, or those which are GroupIDMembers,
- the 2 first selectOneHiddenNodePathsForXXXX() methods apply proper algorithms for detecting the paths; they calls some of the 4 endsPathFromXXX() methods.
- the 2 last selectOneHiddenNodePathsForXXXX() methods call 6 dedicated addPathsFromXXX() methods, and they calls some of the 4 endsPathFromXXX() methods.
This structure of methods facilitates the maintenance, even if there is redondancy in the processing of the data. This choice is the opposite of that done for CompoundRightsFactoryImpl.detectHiddenCompoundEpRights(), where the search performance is better. Comparing the two approaches for a given issue is a good mean to verify the code quality. Some differences are:
- the methods NodeRights.selectAddonNewHiddenNodeForXXX() are called first in CompoundRightsFactoryImpl.detectHiddenCompoundEpRights(), before the other required methods to search new links on the current node. As it is for updating the current access paths in the central search loop, this is not needed in the ThreeNodesRightsFactoryImpl class.
- the method DisplayableLinkUtilities.getContainVirtualFolderWithoutMember() implements the rule 'virtual folder: an indirect access to a Resource that is not a virtual member, is always through a virtual member', and it is called in the central and final search loops of CompoundRightsFactoryImpl.detectHiddenCompoundEpRights(). As it is for analyzing paths of more than 3 nodes, this is not needed in the ThreeNodesRightsFactoryImpl class.
- the third final loop in CompoundRightsFactoryImpl.detectHiddenCompoundEpRights() is about the filtering of all access paths to apply some priority rules among the AGO, PRI, ACL, BDG rights. As it covers also the paths resulting from the work of this ThreeNodesRightsFactoryImpl class, this is not needed there.
CompoundRightsFactoryImpl.detectHiddenCompoundEpRights(ARoad0.Gui2.GraphicView, ARoad0.gBaseInterface.EPRViewInBase, java.util.Map)
Field Summary | |
---|---|
private AclRightsFactoryImpl |
acl_
|
private AgoRightsFactoryImpl |
ago_
|
private CompoundRightsFactoryImpl |
compound_
|
private AlgorithmInterpreter |
interpreter_
|
private java.util.Set<PrivilegeTarget> |
l_targets_
|
private DisplayableLinkUtilities |
linkUtil_
|
private PrivilegeRightsFactoryImpl |
pri_
|
Fields inherited from interface ARoad0.gWorkInterface.CoreAlgorithm |
---|
INITIAL_CAPACITY |
Constructor Summary | |
---|---|
protected |
ThreeNodesRightsFactoryImpl(AlgorithmInterpreter _interpreter)
only one protected constructor |
Method Summary | |
---|---|
java.util.Map |
addPathsFromActorAclActor(Actor _act,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is an Actor with an AclEntry in the first link. |
java.util.Map |
addPathsFromActorAcsAddonRelationActor(Actor _act,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is an Actor with an AcsAddon relation in the first link and an Actor as central node. |
java.util.Map |
addPathsFromActorAcsAddonRelationNoActor(Actor _act,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is an Actor with an AcsAddon relation in the first link and no Actor as central node. |
java.util.Map |
addPathsFromActorAliasReference(Actor _act,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is an Actor with an alias in the first link. |
java.util.Map |
addPathsFromActorBridgeActor(Actor _act,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is an Actor with a bridge in the first link. |
java.util.Map |
addPathsFromActorStartsUnderGroupIDMember(Actor _act,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is an Actor which starts under a GroupIDMember. |
java.util.Map |
addPathsFromGroupIDMemberAclActor(GroupIDMember _gm,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is a GroupIDMember with an ACL in the first link. |
java.util.Map |
addPathsFromGroupIDMemberAcsAddonRelationActor(GroupIDMember _gm,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is a GroupIDMember with an AcsAddon relation in the first link and an Actor as central node. |
java.util.Map |
addPathsFromGroupIDMemberAcsAddonRelationNoActor(GroupIDMember _gm,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is a GroupIDMember with an AcsAddon relation in the first link and no Actor as central node. |
java.util.Map |
addPathsFromGroupIDMemberAliasReference(GroupIDMember _gm,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is a GroupIDMember with an alias in the first link. |
java.util.Map |
addPathsFromGroupIDMemberIsMemberGroup(GroupIDMember _gm,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is a GroupIDMember with an IS_MEMBER relation in the first link. |
java.util.Map |
addPathsFromGroupIDMemberOwnContainActor(GroupIDMember _gm,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 3-nodes access paths when the first end is a GroupIDMember with an own/contain relation in the first link. |
java.util.Map |
detectOneHiddenNodeCompoundRights(GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks)
This is the entry method of this class, since it defines all the access paths containing exactly 3 nodes. |
java.util.Map |
endsPathsFromActorWithAclBridgePrivilegeAlias(DisplayableLinkImpl _dLink,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks)
Ends some 3-nodes access paths from a simple DisplayableLinkImpl where the second end is an Actor. |
java.util.Map |
endsPathsFromActorWithStartingUnderXID(DisplayableLinkImpl _dLink,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks)
Ends some 3-nodes access paths from a simple DisplayableLinkImpl where the second end is an Actor without AG context from the first end. |
java.util.Map |
endsPathsFromGroupIDMemberWithAclPrivilegeAlias(DisplayableLinkImpl _dLink,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks)
Ends some 3-nodes access paths from a simple DisplayableLinkImpl where the second end is a GroupIDMember. |
java.util.Map |
endsPathsFromVirtualFolderWithMemberAlias(DisplayableLinkImpl _dLink,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks)
Ends some 3-nodes access paths from a simple DisplayableLinkImpl where the second end is a VirtualFolder. |
void |
finalizeForProcess()
Finalizes the instance. |
java.util.Map |
selectOneHiddenNodePathsForActor(Actor _act,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 29+14 3-nodes access paths when the first end is an Actor, without privileges in the first link. |
java.util.Map |
selectOneHiddenNodePathsForFirstLinkPrivileges(EligibleParty _ep,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 6+2 3-nodes access paths when the first end is an EligibleParty having Privileges. |
java.util.Map |
selectOneHiddenNodePathsForGroupIDMember(GroupIDMember _gm,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 26+14 3-nodes access paths when the first end is a GroupIDMember, without privileges in the first link. |
java.util.Map |
selectOneHiddenNodePathsForVirtualFolder(VirtualFolder _vf,
GraphicView _gview,
EPRViewInBase _viewInBase,
java.util.Map _m_l_DisplayableLinks,
java.util.HashSet _l_ObjectToRegister)
Defines all the 8+11 3-nodes access paths when the first end is a VirtualFolder. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private AlgorithmInterpreter interpreter_
private DisplayableLinkUtilities linkUtil_
private CompoundRightsFactoryImpl compound_
private AclRightsFactoryImpl acl_
private PrivilegeRightsFactoryImpl pri_
private AgoRightsFactoryImpl ago_
private java.util.Set<PrivilegeTarget> l_targets_
Constructor Detail |
---|
protected ThreeNodesRightsFactoryImpl(AlgorithmInterpreter _interpreter)
_interpreter
- algorithm interpreterMethod Detail |
---|
public final java.util.Map detectOneHiddenNodeCompoundRights(GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks) throws java.lang.InterruptedException
The ACS Addons, if any, are handled to detect their proper rights and structures. There are 55 basic formats of such 3-nodes access paths. They are derived from the ACSObjects in the generic gBase package, and the set of properties they handle. Including the AcsAddon relations, about 100 3-nodes path formats are possible.
These AcsAddon relations are detected in the NodeRights and LinkRights hook methods. To see all the AcsAddon relations, let's go to the 4 selectOneHiddenNodePathsForXXX() methods in this current class. The 55 basic formats, without AcsAddon relations, are listed hereinafter:
- ep virtual folder/virtual member/actor started from xid/run under/ current account or group or secondary group,
- ep virtual folder/virtual member/actor/pri/resource or virtual folder,
- ep virtual folder/virtual member/actor/acl/resource,
- ep/pri/actor/acl/resource,
- ep/pri/actor started from xid/run under/account or group or secondary group,
- ep/pri/actor/bridge/actor,
- ep/pri/virtual folder/virtual member/resource.
- actor/bridge/actor/acl/resource,
- actor/bridge/actor/pri/resource or virtual folder,
- actor/bridge/actor started from xid/run under/ current account or group or secondary group,
- actor/bridge/actor/bridge/actor,
- actor/acl/actor/acl/resource,
- actor/acl/actor/pri/resource or virtual folder,
- actor/acl/actor started from xid/run under/ current account or group or secondary group,
- actor/acl/actor/bridge/actor,
- actor started from xid/run under/account or group or secondary group/acl/resource,
- actor started from xid/run under/account or group or secondary group/pri/ resource or virtual folder,
- actor started from xid/run under/account or group or secondary group/member/group,
- actor started from xid/run under/account or group or secondary group/ own or contain/resource,
- actor started from xid/alias/actor or groupidmember or virtual folder/run under/account or group or secondary group.
- account or group/own or contain/actor/acl/resource,
- account or group/own or contain/actor/bridge/actor,
- account or group/own or contain/actor/pri/resource or virtual folder,
- groupidmember/member/group/acl/resource,
- groupidmember/member/group/pri/resource or virtual folder,
- groupidmember/member/group/member/group,
- groupidmember/member/group/contain/resource,
- groupidmember/acl/actor/acl/resource,
- groupidmember/acl/actor/bridge/actor,
- groupidmember/acl/actor/pri/resource or virtual folder,
- groupidmember/acl/actor started from xid/ run under/current account or group or secondary group,
- virtual folder/alias/virtual folder/virtual member/resource,
- virtual folder/alias/virtual folder/alias/resource,
- virtual folder/alias/actor started from xid/run under/ current account or group or secondary group,
- virtual folder/alias/ep/pri/resource or virtual folder,
- virtual folder/alias/ep/acl/resource,
- virtual folder/alias/actor/bridge/actor,
- virtual folder/alias/ep/alias/reference,
- virtual folder/virtual member/resource/alias/reference.
- ep/pri/resource/alias/reference,
- ep/pri/virtual folder/alias/reference,
- actor/alias/actor started from xid/run under/ current account or group or secondary group,
- actor/alias/ep/pri/resource or virtual folder,
- actor/alias/ep/acl/resource,
- actor/alias/reference/alias/reference,
- actor/bridge/actor/alias/reference,
- actor/acl/resource/alias/reference,
- actor started from xid/run under/account or group or secondary group/alias/reference,
- groupidmember/alias/actor started from xid/run under/ current account or group or secondary group,
- groupidmember/alias/ep/pri/resource or virtual folder,
- groupidmember/alias/ep/acl/resource,
- groupidmember/alias/reference/alias/reference,
- account or group/own or contain/actor/alias/reference,
- groupidmember/member/group/alias/reference,
- groupidmember/acl/actor/alias/reference,
Called by RightsFactory_Facade.detectEPRRights() and detectNoThanRights(). Caution: called by detectNoThanRights(), _viewInBase is not the view of _gview, since this method uses one transient EPRViewInBase for each pair of nodes from the initial NoThanViewInBase.
Calls selectOneHiddenNodePathsForVirtualFolder(), selectOneHiddenNodePathsForFirstLinkPrivileges(), selectOneHiddenNodePathsForActor(), selectOneHiddenNodePathsForGroupIDMember(), and GraphicView.setRightsRelatedBaseObjects().
_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update.
java.lang.InterruptedException
selectOneHiddenNodePathsForVirtualFolder(ARoad0.gBaseInterface.VirtualFolder, ARoad0.Gui2.GraphicView, ARoad0.gBaseInterface.EPRViewInBase, java.util.Map, java.util.HashSet)
,
selectOneHiddenNodePathsForFirstLinkPrivileges(ARoad0.gBaseInterface.EligibleParty, ARoad0.Gui2.GraphicView, ARoad0.gBaseInterface.EPRViewInBase, java.util.Map, java.util.HashSet)
,
selectOneHiddenNodePathsForActor(ARoad0.gBaseInterface.Actor, ARoad0.Gui2.GraphicView, ARoad0.gBaseInterface.EPRViewInBase, java.util.Map, java.util.HashSet)
,
selectOneHiddenNodePathsForGroupIDMember(ARoad0.gBaseInterface.GroupIDMember, ARoad0.Gui2.GraphicView, ARoad0.gBaseInterface.EPRViewInBase, java.util.Map, java.util.HashSet)
public final java.util.Map selectOneHiddenNodePathsForVirtualFolder(VirtualFolder _vf, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- ep virtual folder/virtual member/actor started from xid/run under/ current account or group or secondary group,
- ep virtual folder/virtual member/actor/pri/resource or virtual folder,
- ep virtual folder/virtual member/actor/acl/resource,
- ep virtual folder/virtual member/actor/alias/reference,
- ep virtual folder/any AcsAddon relation/actor started from xid/run under/ current account or group or secondary group,
- ep virtual folder/any AcsAddon relation/actor/pri/resource or virtual folder,
- ep virtual folder/any AcsAddon relation/actor/acl/resource.
- ep virtual folder/any AcsAddon relation/actor/alias/reference.
- ep virtual folder/virtual member/actor/any AcsAddon relation/target,
- ep virtual folder/any AcsAddon relation/actor/any AcsAddon relation/target.
- virtual folder/alias/virtual folder/virtual member/resource,
- virtual folder/alias/virtual folder/alias/reference,
- virtual folder/alias/virtual folder/any AcsAddon relation/target
- virtual folder/alias/actor started from xid/run under/ current account or group or secondary group,
- virtual folder/alias/ep/pri/resource or virtual folder,
- virtual folder/alias/ep/acl/resource,
- virtual folder/alias/ep/any AcsAddon relation/target,
- virtual folder/alias/actor/bridge/actor,
- virtual folder/alias/ep/alias/reference,
Called by detectOneHiddenNodeCompoundRights().
_vf
- the virtual folder as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update._l_ObjectToRegister
- has to be update for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map selectOneHiddenNodePathsForFirstLinkPrivileges(EligibleParty _ep, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- ep/pri/actor/acl/resource,
- ep/pri/actor/any AcsAddon relation/target,
- ep/pri/actor started from xid/run under/account or group or secondary group,
- ep/pri/actor/bridge/actor,
- ep/pri/virtual folder/any AcsAddon relation/resource,
- ep/pri/virtual folder/virtual member/resource.
- ep/pri/resource/alias/reference,
- ep/pri/virtual folder/alias/reference.
Called by detectOneHiddenNodeCompoundRights().
Caution: when called indirectly by RightsFactory_Facade.detectNoThanRights(), _viewInBase is not the view of _gview, since this method uses transient EPRViewInBases with for each of them, a pair of nodes from the initial NoThanViewInBase.
_ep
- the EligibleParty as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map selectOneHiddenNodePathsForActor(Actor _act, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- actor/bridge/actor/acl/resource,
- actor/bridge/actor/pri/resource or virtual folder,
- actor/bridge/actor started from xid/run under/ current account or group or secondary group,
- actor/bridge/actor/bridge/actor,
- actor/bridge/actor/alias/reference,
- actor/bridge/actor/any AcsAddon relation/target,
- actor/acl/actor/acl/resource,
- actor/acl/actor/pri/resource or virtual folder,
- actor/acl/actor started from xid/run under/ current account or group or secondary group,
- actor/acl/actor/bridge/actor,
- actor/acl/actor/alias/reference,
- actor/acl/actor/any AcsAddon relation/target,
- actor started from xid/run under/account or group or secondary group/acl/resource,
- actor started from xid/run under/account or group or secondary group/pri/ resource or virtual folder,
- actor started from xid/run under/account or group or secondary group/member/group,
- actor started from xid/run under/account or group or secondary group/ own or contain/resource,
- actor started from xid/run under/alias/reference,
- actor started from xid/run under/account or group or secondary group/ any AcsAddon relation/target,
- actor/any AcsAddon relation/actor/acl/resource,
- actor/any AcsAddon relation/actor/pri/resource or virtual folder,
- actor/any AcsAddon relation/actor started from xid/run under/ current account or group or secondary group,
- actor/any AcsAddon relation/actor/bridge/actor,
- actor/any AcsAddon relation/actor/alias/reference,
- actor/any AcsAddon relation/actor/any AcsAddon relation/target,
- actor/any AcsAddon relation/account or group/acl/resource,
- actor/any AcsAddon relation/account or group/pri/ resource or virtual folder,
- actor/any AcsAddon relation/account or group/member/group,
- actor/any AcsAddon relation/account or group or secondary group/ own or contain/resource,
- actor/any AcsAddon relation/account or group/alias/reference,
- actor/any AcsAddon relation/account or group/any AcsAddon relation/target,
- actor/any AcsAddon relation/virtual folder/virtual member/resource,
- actor/any AcsAddon relation/virtual folder/any AcsAddon relation/resource,
- actor/alias/ep/pri/resource or virtual folder,
- actor/alias/ep/acl/resource,
- actor/alias/ep/run_under/groupidmember,
- actorr/alias/ep/any AcsAddon relation/target,
- actor/alias/actor/bridge/actor,
- actor/alias/ep/alias/reference,
- actor/alias/actor started from xid/run under/ current account or group or secondary group,
- actor/alias/virtual folder/virtual member/resource, - actor/alias/virtual folder/alias/resource,
- actor/alias/virtual folder/any AcsAddon relation/target,
- actor/alias/virtual folder/run_under/groupidmember.
Called by detectOneHiddenNodeCompoundRights(). Calls the 6 methods addPathsFromActorXXXX().
_act
- the Actor as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- is _gview.getRightsRelatedBaseObjects() to update
java.lang.InterruptedException
public final java.util.Map selectOneHiddenNodePathsForGroupIDMember(GroupIDMember _gm, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- account or group/own or contain/actor/acl/resource,
- account or group/own or contain/actor/bridge/actor,
- account or group/own or contain/actor/pri/resource or virtual folder,
- account or group/own or contain/actor/alias/reference,
- account or group/own or contain/actor/any AcsAddon relation/target,
- groupidmember/member/group/acl/resource,
- groupidmember/member/group/pri/resource or virtual folder,
- groupidmember/member/group/member/group,
- groupidmember/member/group/contain/resource,
- groupidmember/member/group/alias/reference,
- groupidmember/member/group/any AcsAddon relation/target,
- groupidmember/acl/actor/acl/resource,
- groupidmember/acl/actor/bridge/actor,
- groupidmember/acl/actor/pri/resource or virtual folder,v - groupidmember/acl/actor started from xid/ run under/current account or group or secondary group,
- groupidmember/acl/actor/alias/reference,
- groupidmember/acl/actor/any AcsAddon relation/target,
- groupidmember/any AcsAddon relation/actor/acl/resource,
- groupidmember/any AcsAddon relation/actor/bridge/actor,
- groupidmember/any AcsAddon relation/actor/pri/resource or virtual folder,
- groupidmember/any AcsAddon relation/actor/alias/reference,
- groupidmember/any AcsAddon relation/actor started from xid/ run under/current account or group or secondary group,
- groupidmember/any AcsAddon relation/actor/any AcsAddon relation/target,
- groupidmember/any AcsAddon relation/account or group/own or contain/resource,
- groupidmember/any AcsAddon relation/groupidmember/member/group,
- groupidmember/any AcsAddon relation/groupidmember/acl/resource,
- groupidmember/any AcsAddon relation/groupidmember/pri/resource or virtual folder,
- groupidmember/any AcsAddon relation/groupidmember/alias/reference,
- groupidmember/any AcsAddon relation/groupidmember/any AcsAddon relation/target,
- groupidmember/any AcsAddon relation/virtual folder/has member/resource,
- groupidmember/any AcsAddon relation/virtual folder/any AcsAddon relation/resource,
- groupidmember/alias/ep/pri/resource or virtual folder,
- groupidmember/alias/ep/acl/resource,
- groupidmember/alias/ep/any AcsAddon relation/target,
- groupidmember/alias/actor/bridge/actor,
- groupidmember/alias/ep/alias/reference,
- groupidmember/alias/actor started from xid/run under/ current account or group or secondary group,
- groupidmember/alias/virtual folder/virtual member/resource, - groupidmember/alias/virtual folder/alias/resource,
- groupidmember/alias/virtual folder/any AcsAddon relation/target.
Called by detectOneHiddenNodeCompoundRights(). Calls the 6 methods addPathsFromGroupIDMemberXXXX().
_gm
- the GroupIDMember as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromActorBridgeActor(Actor _act, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- actor/bridge/actor started from xid/run under/ current account or group or secondary group,
- actor/bridge/actor/bridge/actor,
- actor/bridge/actor/acl/resource,
- actor/bridge/actor/pri/resource or virtual folder,
- actor/bridge/actor/alias/reference,
- actor/bridge/actor/any AcsAddon relation/target.
Called by selectOneHiddenNodePathsForActor(). Calls endsPathsFromActorWithAclBridgePrivilegeAlias().
_act
- the Actor as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromActorAclActor(Actor _act, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- actor/acl/actor/acl/resource,
- actor/acl/actor/pri/resource or virtual folder,
- actor/acl/actor started from xid/run under/ current account or group or secondary group,
- actor/acl/actor/bridge/actor,
- actor/acl/actor/alias/reference,
- actor/acl/actor/any AcsAddon relation/target.
Called by selectOneHiddenNodePathsForActor(). Calls endsPathsFromActorWithAclBridgePrivilegeAlias().
_act
- the Actor as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromActorStartsUnderGroupIDMember(Actor _act, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- actor started from xid/run under/account or group or secondary group/acl/resource,
- actor started from xid/run under/account or group or secondary group/pri/ resource or virtual folder,
- actor started from xid/run under/account or group or secondary group/ own or contain/resource,
- actor started from xid/run under/account or group or secondary group/ any AcsAddon relation/target,
- actor started from xid/run under/account or group or secondary group/member/group,
- actor started from xid/run under/account or group or secondary group/alias/reference,
- actor started from xid/alias/actor or groupidmember or virtual folder/run under/account or group or secondary group.
Called by selectOneHiddenNodePathsForActor(). Calls endsPathsFromGroupIDMemberWithAclPrivilegeAlias().
_act
- the Actor as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromActorAcsAddonRelationActor(Actor _act, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- actor/any AcsAddon relation/actor/acl/resource,
- actor/any AcsAddon relation/actor/pri/resource or virtual folder,
- actor/any AcsAddon relation/actor started from xid/run under/ current account or group or secondary group,
- actor/any AcsAddon relation/actor/bridge/actor,
- actor/any AcsAddon relation/actor/alias/reference,
- actor/any AcsAddon relation/actor/any AcsAddon relation/target.
Called by selectOneHiddenNodePathsForActor(). Calls endsPathsFromActorWithAclBridgePrivilegeAlias().
_act
- the Actor as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromActorAcsAddonRelationNoActor(Actor _act, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- actor/any AcsAddon relation/account or group/acl/resource,
- actor/any AcsAddon relation/account or group/pri/ resource or virtual folder,
- actor/any AcsAddon relation/account or group/member/group,
- actor/any AcsAddon relation/account or group or secondary group/ own or contain/resource,
- actor/any AcsAddon relation/account or group/any AcsAddon relation/target,
- actor/any AcsAddon relation/virtual folder/virtual member/resource,
- actor/any AcsAddon relation/virtual folder/alias/reference,
- actor/any AcsAddon relation/virtual folder/any AcsAddon relation/resource.
Called by selectOneHiddenNodePathsForActor(). Calls endsPathsFromGroupIDMemberWithAclPrivilegeAlias() and endsPathsFromVirtualFolderWithMemberAlias().
_act
- the Actor as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromActorAliasReference(Actor _act, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- actor/alias/ep/pri/resource or virtual folder,
- actor/alias/ep/acl/resource,
- actorr/alias/ep/any AcsAddon relation/target,
- actor/alias/actor/bridge/actor,
- actor/alias/ep/alias/reference,
- actor/alias/ep/run_under/groupidmember,
- actor/alias/actor started from xid/run under/ current account or group or secondary group,
- actor/alias/virtual folder/virtual member/resource, - actor/alias/virtual folder/alias/resource,
- actor/alias/virtual folder/any AcsAddon relation/target.
- actor/alias/virtual folder/run_under/groupidmember,
Called by selectOneHiddenNodePathsForActor(). Calls endsPathsFromActorWithAclBridgePrivilegeAlias(), endsPathsFromGroupIDMemberWithAclPrivilegeAlias(), endsPathsFromVirtualFolderWithMemberAlias().
_act
- the Actor as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- is _gview.getRightsRelatedBaseObjects() to update
java.lang.InterruptedException
public final java.util.Map addPathsFromGroupIDMemberOwnContainActor(GroupIDMember _gm, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- account or group/own or contain/actor/acl/resource,
- account or group/own or contain/actor/bridge/actor,
- account or group/own or contain/actor/pri/resource or virtual folder,
- account or group/own or contain/actor/alias/reference,
- account or group/own or contain/actor/any AcsAddon relation/target.
Called by selectOneHiddenNodePathsForGroupIDMember(). Calls endsPathsFromActorWithAclBridgePrivilegeAlias().
_gm
- the GroupIDMember as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromGroupIDMemberIsMemberGroup(GroupIDMember _gm, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- groupidmember/member/group/acl/resource,
- groupidmember/member/group/pri/resource or virtual folder,
- groupidmember/member/group/member/group,
- groupidmember/member/group/contain/resource,
- groupidmember/member/group/alias/reference,
- groupidmember/member/group/any AcsAddon relation/target.
Called by selectOneHiddenNodePathsForGroupIDMember(). Calls endsPathsFromGroupIDMemberWithAclPrivilegeAlias().
_gm
- the GroupIDMember as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromGroupIDMemberAclActor(GroupIDMember _gm, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- groupidmember/acl/actor started from xid/run under/current account or group or secondary group,
- groupidmember/acl/actor/acl/resource,
- groupidmember/acl/actor/bridge/actor,
- groupidmember/acl/actor/pri/resource or virtual folder,
- groupidmember/acl/actor/alias/reference,
- groupidmember/acl/actor/any AcsAddon relation/target.
Called by selectOneHiddenNodePathsForGroupIDMember().
_gm
- the GroupIDMember as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromGroupIDMemberAcsAddonRelationActor(GroupIDMember _gm, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- groupidmember/any AcsAddon relation/actor/acl/resource,
- groupidmember/any AcsAddon relation/actor/bridge/actor,
- groupidmember/any AcsAddon relation/actor/pri/resource or virtual folder,
- groupidmember/any AcsAddon relation/actor/ actor started from xid/run under/current account or group or secondary group,
- groupidmember/any AcsAddon relation/actor/alias/reference.
- groupidmember/any AcsAddon relation/actor/any AcsAddon relation/target.
Called by selectOneHiddenNodePathsForGroupIDMember(). Calls endsPathsFromActorWithAclBridgePrivilegeAlias().
_gm
- the GroupIDMember as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromGroupIDMemberAcsAddonRelationNoActor(GroupIDMember _gm, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- groupidmember/any AcsAddon relation/account or group/own or contain/resource,
- groupidmember/any AcsAddon relation/groupidmember/member/group,
- groupidmember/any AcsAddon relation/groupidmember/acl/resource,
- groupidmember/any AcsAddon relation/groupidmember/pri/resource or virtual folder,
- groupidmember/any AcsAddon relation/groupidmember/alias/rereference,
- groupidmember/any AcsAddon relation/groupidmember/any AcsAddon relation/target,
- groupidmember/any AcsAddon relation/virtual folder/has member/resource,
- groupidmember/any AcsAddon relation/virtual folder/alias/reference,
- groupidmember/any AcsAddon relation/virtual folder/any AcsAddon relation/resource.
Called by selectOneHiddenNodePathsForGroupIDMember().
_gm
- the GroupIDMember as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map addPathsFromGroupIDMemberAliasReference(GroupIDMember _gm, GraphicView _gview, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks, java.util.HashSet _l_ObjectToRegister) throws java.lang.InterruptedException
- groupidmember/alias/ep/pri/resource or virtual folder,
- groupidmember/alias/ep/acl/resource,
- groupidmember/alias/ep/any AcsAddon relation/target,
- groupidmember/alias/actor/bridge/actor,
- groupidmember/alias/ep/alias/reference,
- groupidmember/alias/actor started from xid/run under/ current account or group or secondary group,
- groupidmember/alias/virtual folder/virtual member/resource, - groupidmember/alias/virtual folder/alias/resource,
- groupidmember/alias/virtual folder/any AcsAddon relation/target.
Called by selectOneHiddenNodePathsForGroupIDMember(). Calls endsPathsFromActorWithAclBridgePrivilegeAlias(), endsPathsFromGroupIDMemberWithAclPrivilegeAlias(), endsPathsFromVirtualFolderWithMemberAlias().
_gm
- the GroupIDMember as first end of the access paths to find_gview
- is the graphic view to update_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update_l_ObjectToRegister
- has to be updated for _gview.getRightsRelatedBaseObjects()
java.lang.InterruptedException
public final java.util.Map endsPathsFromVirtualFolderWithMemberAlias(DisplayableLinkImpl _dLink, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks) throws java.lang.InterruptedException
- XX/YY/virtual folder/virtual member/resource
- XX/YY/virtual folder/alias/reference
- XX/YY/virtual folder/any AcsAddon relation/resource
Called by the method selectOneHiddenNodePathsForFirstLinkPrivileges(), selectOneHiddenNodePathsForVirtualFolder(), addPathsFromActorAcsAddonRelationNoActor().
_dLink
- simple link with a VirtualFolder as second end_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update
java.lang.InterruptedException
public final java.util.Map endsPathsFromActorWithAclBridgePrivilegeAlias(DisplayableLinkImpl _dLink, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks) throws java.lang.InterruptedException
- XX/YY/actor/bridge/actor,
- XX/YY/actor/acl/resource,
- XX/YY/actor/pri/resource or virtual folder,
- XX/YY/actor/alias/reference,
- XX/YY/actor/any AcsAddon relation/target.
Called by the methods addPathsFromActorXXX() and addPathsFromGroupIDMemberXXX().
_dLink
- simple link with an Actor as second end_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update
java.lang.InterruptedException
public final java.util.Map endsPathsFromActorWithStartingUnderXID(DisplayableLinkImpl _dLink, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks) throws java.lang.InterruptedException
- XX/YY/actor started from xid/run under/ current account or group or secondary group,
Called by the methods addPathsFromActorXXX() and addPathsFromGroupIDMemberXXX().
_dLink
- simple link with an Actor as second end_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update
java.lang.InterruptedException
public final java.util.Map endsPathsFromGroupIDMemberWithAclPrivilegeAlias(DisplayableLinkImpl _dLink, EPRViewInBase _viewInBase, java.util.Map _m_l_DisplayableLinks) throws java.lang.InterruptedException
- XX/YY/groupidmember/acl/resource,
- XX/YY/groupidmember/pri/resource or virtual folder,
- XX/YY/groupidmember/member/group,
- XX/YY/account or group/own or contain/resource,
- XX/YY/groupidmember/alias/reference,
- XX/YY/groupidmember/any AcsAddon relation/target.
Called by the methods addPathsFromActorXXX() and addPathsFromGroupIDMemberXXX(). Calls NodeRights.withAccessThroughNodesTreeFromEP(), detectAccountPriorityInLastLinkAGORights(), NodeRights.selectAddonLastViewNodeAfterGroupIDMember() and AgoRightsFactoryImpl.addOwnerContainRightsToDisplayableLink().
_dLink
- simple link with a GroupIDMember as second end_viewInBase
- EPRViewInBase to analyze; not always the view of _gview_m_l_DisplayableLinks
- Map of DisplayableLinks lists (one per pair)
associated to the view, and to update
java.lang.InterruptedException
public void finalizeForProcess()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |