|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.security.SecurityAnnotation
public final class SecurityAnnotation
| Constructor Summary | |
|---|---|
SecurityAnnotation(MObject mObject)
Conversion Constructor. |
|
SecurityAnnotation(MObject mObject,
RecordFactory factory)
Conversion Constructor. |
|
SecurityAnnotation(Record record)
Conversion Constructor. |
|
| Method Summary | |
|---|---|
void |
add(SecurityAnnotations.AccessRightType accessRightType,
SecurityAnnotations.EntityType entityType,
java.lang.String entity)
Adds the given entity as a value to the security annotation specified by accessRightType and entityType. |
Annotation |
getAccessRights()
Returns the SecurityAnnotations.ACCESS_RIGHTS annotation. |
Annotation |
getAccessRights(SecurityAnnotations.AccessRightType accessRightType)
Returns the security annotation of the given accessRightType. |
Annotation |
getAccessRights(SecurityAnnotations.AccessRightType accessRightType,
SecurityAnnotations.EntityType entityType)
Returns the security annotation of the given accessRightType and entityType. |
void |
remove()
Removes the SecurityAnnotations.ACCESS_RIGHTS annotation and all sub annotations. |
void |
remove(SecurityAnnotations.AccessRightType accessRightType)
Removes the security annotation with the given accessRightType and all it's sub annotations. |
void |
remove(SecurityAnnotations.AccessRightType accessRightType,
SecurityAnnotations.EntityType entityType)
Removes the security annotation with the given accessRightType and entityType and all it's sub annotations. |
void |
remove(SecurityAnnotations.AccessRightType accessRightType,
SecurityAnnotations.EntityType entityType,
java.lang.String entity)
Removes the given entity from the security annotation of the given accessRightType and entityType. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityAnnotation(Record record)
record - the record to contain the security annotationpublic SecurityAnnotation(MObject mObject)
mObject - the mObject to contain the security annotation
public SecurityAnnotation(MObject mObject,
RecordFactory factory)
mObject - the mObject to contain the security annotationfactory - the RecordFactory to use for annotation creation| Method Detail |
|---|
public Annotation getAccessRights()
public Annotation getAccessRights(SecurityAnnotations.AccessRightType accessRightType)
accessRightType - the AccessRightType
public Annotation getAccessRights(SecurityAnnotations.AccessRightType accessRightType,
SecurityAnnotations.EntityType entityType)
accessRightType - the AccessRightTypeentityType - the EntityType
public void add(SecurityAnnotations.AccessRightType accessRightType,
SecurityAnnotations.EntityType entityType,
java.lang.String entity)
accessRightType - the AccessRightTypeentityType - the EntityTypeentity - the value to addpublic void remove()
public void remove(SecurityAnnotations.AccessRightType accessRightType)
accessRightType - the AccessRightType
public void remove(SecurityAnnotations.AccessRightType accessRightType,
SecurityAnnotations.EntityType entityType)
accessRightType - the AccessRightTypeentityType - the EntityType
public void remove(SecurityAnnotations.AccessRightType accessRightType,
SecurityAnnotations.EntityType entityType,
java.lang.String entity)
accessRightType - the AccessRightTypeentityType - the EntityTypeentity - the value to remove
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||