|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.policy.bean.basic.BasicPart
org.openpermis.policy.bean.basic.BasicPartBean
org.openpermis.policy.bean.basic.BasicAbstractCollection<TargetAccessRuleBean>
org.openpermis.policy.bean.basic.BasicTargetAccessRuleCollection
public class BasicTargetAccessRuleCollection
Basic implementation of TargetAccessRuleBeanCollection
.
Constructor Summary | |
---|---|
protected |
BasicTargetAccessRuleCollection(SerialNumber serialNumber)
Creates a basic target access rule collection. |
protected |
BasicTargetAccessRuleCollection(SerialNumber serialNumber,
Collection<TargetAccessRuleBean> collection)
Creates a basic target access rule collection. |
Method Summary | |
---|---|
BasicTargetAccessRuleCollection |
create(List<TargetAccessRuleBean> list)
Returns a new bean collection containing the list. |
List<AuthorizedRoles> |
findAuthorizedRoleSets(URI resourceUri,
String actionName,
List<?> arguments,
TimeStamp timeStamp)
Returns a list of authorized role sets. |
protected boolean |
isCollectionType(BasicPart part)
Returns true if collection type of part is an instance of this collection. |
Methods inherited from class org.openpermis.policy.bean.basic.BasicAbstractCollection |
---|
appendPartDetails, comparablePart, equalPart, findBySerialNumber, getCollection, isPartValid, iterator, partHashCode, toList |
Methods inherited from class org.openpermis.policy.bean.basic.BasicPartBean |
---|
addPropertyChangeListener, equalSerialNumber, firePropertyChange, getPartBeanType, getSerialNumber, getSerialNumberString, notifyIdentityChange, notifyNameChange, removePropertyChangeListener, toShortString |
Methods inherited from class org.openpermis.policy.bean.basic.BasicPart |
---|
appendDetails, equals, getIdentity, getName, getSimpleClassName, hashCode, hasPartIdentity, hasPartName, isChildCollectionValid, isChildNotNull, isChildNullOrValid, isChildValid, isIdentityValid, isNameValid, isValid, reportProblem, setIdentity, setName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openpermis.policy.bean.BeanCollection |
---|
iterator, toList |
Methods inherited from interface org.openpermis.policy.bean.PartBean |
---|
addPropertyChangeListener, equalSerialNumber, findBySerialNumber, getPartBeanType, getSerialNumber, removePropertyChangeListener, toShortString |
Constructor Detail |
---|
protected BasicTargetAccessRuleCollection(SerialNumber serialNumber)
serialNumber
- the serial number of this part.protected BasicTargetAccessRuleCollection(SerialNumber serialNumber, Collection<TargetAccessRuleBean> collection)
serialNumber
- the serial number of this part.collection
- a collection of TargetAccessRuleBean
's.Method Detail |
---|
public List<AuthorizedRoles> findAuthorizedRoleSets(URI resourceUri, String actionName, List<?> arguments, TimeStamp timeStamp)
TargetAccessRuleCollection
findAuthorizedRoleSets
in interface TargetAccessRuleCollection
resourceUri
- an URI
to identify a resource.actionName
- the name of an action.arguments
- an optional list of arguments for the action.timeStamp
- a TimeStamp
to determine the temporal time context.
protected boolean isCollectionType(BasicPart part)
BasicAbstractCollection
isCollectionType
in class BasicAbstractCollection<TargetAccessRuleBean>
part
- a BasicPart
.
public BasicTargetAccessRuleCollection create(List<TargetAccessRuleBean> list)
BeanCollection
create
in interface BeanCollection<TargetAccessRuleBean>
list
- a List
.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG