|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EPRViewInBase
This class is responsible for modeling in the base, a view about access control issues between eligible parties (EP of EPRViewInBase) as access sources, and resources (R of EPRViewInBase) or virtual folders (containing Resources or EPs) as access targets. It is used by the full views and the sketch views in the GUI to display all the rights between any couple of view objects, since an access source may also be an access target sometimes.
GraphicEPRView
,
GraphicSketchView
Method Summary | |
---|---|
void |
addEorSource(ImmutableSource _sour)
Updates all the internal maps after a test of the parameter type. |
void |
addEorTarget(ImmutableTarget _targ)
Updates all the internal maps after a test of the parameter type. |
boolean |
containsSource(ImmutableSource _sour)
|
boolean |
containsTarget(ImmutableTarget _targ)
|
EPRViewInBase |
copyAndSave(ImmutableName _name)
This method creates, registers and saves a view copy with another name. |
java.util.SortedMap<ImmutableName,ImmutableTarget> |
getEorM_NoSourceTargets()
Gets the targets in this view which are not eligible parties (actors, accounts, groups) nor virtual folders. |
java.util.SortedMap<ImmutableName,ImmutableSource> |
getEorM_Sources()
Gets all the sources in this view, and this covers the actors, accounts, groups and virtual folders. |
java.util.SortedMap<ImmutableName,ImmutableTarget> |
getEorM_Targets()
Gets all the access targets in this view, and this covers simple resources, actors, directories, executables, accounts, groups and virtual folders. |
void |
removeEorSource(ImmutableSource _sour)
Updates all the internal maps after a test of the parameter type. |
void |
removeEorTarget(ImmutableTarget _targ)
Updates all the internal maps after a test of the parameter type. |
Methods inherited from interface ARoad0.gBaseInterface.ViewInBase |
---|
getCompleteResults |
Methods inherited from interface ARoad0.gBaseInterface.Folder |
---|
addEorBaseObject, addPropertyChangeListener, addPropertyChangeListener, propertyChange, removeEorBaseObject, removePropertyChangeListener, removePropertyChangeListener, setComment |
Methods inherited from interface ARoad0.gBaseInterface.ImmutableFolder |
---|
containsBaseObject, getComment, getConnectedToSeveralACS, getEorL_ConnectedACSNames, getEorM_BaseObjects, getType, isEmpty |
Methods inherited from interface ARoad0.gBaseInterface.BaseObject |
---|
equals, getFullName, getName, getNickName, hashCode |
Method Detail |
---|
boolean containsTarget(ImmutableTarget _targ)
_targ
- to test
boolean containsSource(ImmutableSource _sour)
_sour
- to test
void addEorTarget(ImmutableTarget _targ) throws CreateError
_targ
- to add to the view
CreateError
- if the target is already known by the view,
if the name is null, or the object name is null or empty,
or if the name is already known by the view.void addEorSource(ImmutableSource _sour) throws CreateError
_sour
- to add to the view
CreateError
- if the source is already known by the view,
if the name is null, or the object name is null or empty,
or if the name is already known by the view.void removeEorTarget(ImmutableTarget _targ) throws CreateError
_targ
- to remove in the view
CreateError
- if the target is not known by the view, or
if the object name is empty.void removeEorSource(ImmutableSource _sour) throws CreateError
_sour
- to remove in the view
CreateError
- if the source is null or not known by the view, or
if the object name is empty.java.util.SortedMap<ImmutableName,ImmutableTarget> getEorM_Targets()
java.util.SortedMap<ImmutableName,ImmutableTarget> getEorM_NoSourceTargets()
java.util.SortedMap<ImmutableName,ImmutableSource> getEorM_Sources()
EPRViewInBase copyAndSave(ImmutableName _name) throws BaseError
_name
- of the copy. It is copied without test.
BaseError
- if _name is null or already known in BaseManagerImpl,
or if _view is null or not known.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |