|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NoThanViewInBase
This class is responsible for managing the No-More-Than and No-Less-Than views. The aim is to check if some Eligible Parties (or Sources) has rights on the access target above a given 'no-more' right and below a given 'no-less' right. The 'less' right criteria is generally used to check the compliance to the access needs. The 'more' right criteria is generally used to check the compliance to the access security policy. This view handles one Target, a set of Sources, another set of excluded Sources which belong or run under one of the first-set Source, a StringRight 'more' criteria and a StringRight 'less' criteria. Caution: indeed, every Source is a Target, since a GroupDMember for example is the target of the RUN_UNDER relation.
GraphicNoThanView
Method Summary | |
---|---|
void |
addEorExcludedSource(ImmutableSource _sour)
An excluded Source is in the perimeter of checking, but has not to be checked. |
void |
addEorNoThanAccessTarget(ImmutableTarget _targ)
This view handles exactly one target, in this class version. |
boolean |
containsExcludedSource(ImmutableSource _sour)
An excluded Source is connected to a view basic Source, but it has not to be checked since it is explicitly put away by the user. |
NoThanViewInBase |
copyAndSave(ImmutableName _name)
Creates, registers in the base and saves a view copy with another name. |
java.util.Set<ImmutableSource> |
getCheckingPerimeter()
List of Sources which are in the perimeter of checking, and that includes the view BaseObjects and the listening perimeter. |
ImmutableTarget |
getEorFirstAccessTarget()
This view handles exactly one target. |
java.util.List<ImmutableSource> |
getExcludedSources()
An excluded Source is connected to a view basic Source, but it has not to be checked since it is explicitly put away by the user. |
StringRight |
getLessCriterion()
The aim is to check if an Eligible Party has rights on the target, which are below the 'less' criteria. |
StringRight |
getMoreCriterion()
The aim is to check if an Eligible Party has rights on the target, which are below the 'more' criteria. |
java.util.Set<ImmutableSource> |
getReducedSourcesInViewSources()
List of Sources from the view Sources list which have at most a connected member or a running-under actor being an excluded Source. |
void |
removeEorExcludedSource(ImmutableSource _sour)
An excluded Source is in the perimeter of checking, but has not to be checked. |
void |
removeEorNoThanAccessTarget(ImmutableTarget _targ)
This view handles exactly one target. |
void |
setEorFirstAccessTarget(ImmutableTarget _targ)
This view handles exactly one access target. |
void |
setLessCriterion(StringRight _right)
The aim is to check if an Eligible Party has rights on the target, which are below the 'less' criteria. |
void |
setMoreCriterion(StringRight _right)
The aim is to check if an Eligible Party has rights on the target, which are above the 'more' criteria. |
Methods inherited from interface ARoad0.gBaseInterface.EPRViewInBase |
---|
addEorSource, addEorTarget, containsSource, containsTarget, getEorM_NoSourceTargets, getEorM_Sources, getEorM_Targets, removeEorSource, removeEorTarget |
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 |
---|
ImmutableTarget getEorFirstAccessTarget()
void setEorFirstAccessTarget(ImmutableTarget _targ) throws BaseError
_targ
- the target to add. Never null, so a current target cannot be removed.
BaseError
- if the target is also a registered source in this view,
if the number of targets is too large,
if the argument is null, or the object name is null or empty.void addEorNoThanAccessTarget(ImmutableTarget _targ) throws BaseError
_targ
- the target to add
BaseError
- if the target is also a registered source in this view,
if the number of targets is too large,
if the argument is null, or the object name is null or empty.void removeEorNoThanAccessTarget(ImmutableTarget _targ) throws BaseError
_targ
- the target to remove
BaseError
- if the argument is not the current target,
if the argument is null, or the object name is null or empty.StringRight getMoreCriterion()
void setMoreCriterion(StringRight _right) throws BaseError
_right
- is the 'more' criteria
BaseError
- if the argument is null.StringRight getLessCriterion()
void setLessCriterion(StringRight _right) throws BaseError
_right
- is the 'less' criteria
BaseError
- if the argument is null.java.util.List<ImmutableSource> getExcludedSources()
boolean containsExcludedSource(ImmutableSource _sour)
_sour
- to test
java.util.Set<ImmutableSource> getCheckingPerimeter()
For instance, if the group A is a view Source, and has only group B and group C has direct members, and if the group C is a view excluded Source, the listening perimeter contains only the group B and its associates.
The Sources in the listening perimeter do not registered this NoThanViewInBase has an implied view. The size is limited to 50.
java.util.Set<ImmutableSource> getReducedSourcesInViewSources()
void addEorExcludedSource(ImmutableSource _sour) throws BaseError
_sour
- to exclude
BaseError
- if the argument is a registered Source,
is not in the perimeter of checking,
if the argument is null, or the object name is null or empty.void removeEorExcludedSource(ImmutableSource _sour) throws BaseError
_sour
- non-null Source to remove as excluded Source
BaseError
- if the Source is unknown as excluded, or
if the argument is null, if the object name is empty.NoThanViewInBase copyAndSave(ImmutableName _name) throws BaseError
copyAndSave
in interface EPRViewInBase
_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 |