|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.security.SecurityAttribute
public final class SecurityAttribute
| Constructor Summary | |
|---|---|
SecurityAttribute(AnyMap metadata)
Conversion Constructor. |
|
SecurityAttribute(AnyMap metadata,
DataFactory factory)
Conversion Constructor. |
|
SecurityAttribute(Record record)
Conversion Constructor. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityAttribute(Record record)
record - the Record to contain the security attributepublic SecurityAttribute(AnyMap metadata)
metadata - the AnyMap to contain the security attribute
public SecurityAttribute(AnyMap metadata,
DataFactory factory)
metadata - the AnyMap to contain the security attributefactory - the RecordFactory to use for attribute creation| Method Detail |
|---|
public AnyMap getAccessRights()
SecurityAttributes.ACCESS_RIGHTS attribute. If it does not exist it is created.
SecurityAttributes.ACCESS_RIGHTS attributepublic AnyMap getAccessRights(SecurityAttributes.AccessRightType accessRightType)
SecurityAttributes.AccessRightType. If it does not exist it is created.
accessRightType - the AccessRightType
public AnySeq getAccessRights(SecurityAttributes.AccessRightType accessRightType,
SecurityAttributes.EntityType entityType)
SecurityAttributes.AccessRightType and SecurityAttributes.EntityType. If it does not exist it
is created.
accessRightType - the AccessRightTypeentityType - the EntityType
public void add(SecurityAttributes.AccessRightType accessRightType,
SecurityAttributes.EntityType entityType,
java.lang.String entity)
SecurityAttributes.AccessRightType and
SecurityAttributes.EntityType. Non existing attributes are created.
accessRightType - the AccessRightTypeentityType - the EntityTypeentity - the value to addpublic void remove()
SecurityAttributes.ACCESS_RIGHTS attribute and all sub attribute.
public void remove(SecurityAttributes.AccessRightType accessRightType)
SecurityAttributes.AccessRightType and all it's sub attribute.
accessRightType - the AccessRightType
public void remove(SecurityAttributes.AccessRightType accessRightType,
SecurityAttributes.EntityType entityType)
SecurityAttributes.AccessRightType and SecurityAttributes.EntityType and all it's sub
attributes.
accessRightType - the AccessRightTypeentityType - the EntityType
public void remove(SecurityAttributes.AccessRightType accessRightType,
SecurityAttributes.EntityType entityType,
java.lang.String entity)
SecurityAttributes.AccessRightType and SecurityAttributes.EntityType.
accessRightType - the AccessRightTypeentityType - the EntityTypeentity - the value to remove
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||