org.squashtest.tm.security.annotation
Annotation Type InheritsAcls


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface InheritsAcls

Indicates that an objects inherits acl from another constrained object. One should be able to navigate from the ACL constrained object to the target object. In the assotiation is single valued, the inheriting object should be accessible using a property named . If the association is multi-valued, it should be accessible using a property named collectionName()

Author:
Gregory Fouquet

Required Element Summary
 Class<?> constrainedClass
          Class from which the target objects inherits ACLs.
 
Optional Element Summary
 String collectionName
          Name of the multi-valued property in constrainedClass() which contains the target object.
 String propertyName
          Name of the single-valued property in constrainedClass() which references the target object.
 

Element Detail

constrainedClass

public abstract Class<?> constrainedClass
Class from which the target objects inherits ACLs.

collectionName

public abstract String collectionName
Name of the multi-valued property in constrainedClass() which contains the target object. When collectionName() is used, propertyName() should be null.

Returns:
Default:
""

propertyName

public abstract String propertyName
Name of the single-valued property in constrainedClass() which references the target object. When propertyName() is used, collectionName() should be null.

Returns:
Default:
""


Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.