Class EntityPath<E extends EntityReference>
java.lang.Object
ch.tocco.nice2.persist.security.api.provider.EntityPath<E>
Represents a certain field or relation of a specific entity
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T extends EntityReference>
 EntityPath<T> static <T extends EntityReference>
 EntityPath<T> If checkPathOnly is set to true, it is assumed that the access to the entity is granted and only the rules regarding the field itself are evaluated.booleangetPath()inthashCode()booleantoString()
- 
Method Details- 
create
- 
createpublic static <T extends EntityReference> EntityPath<T> create(T entity, String path, boolean checkPathOnly) If checkPathOnly is set to true, it is assumed that the access to the entity is granted and only the rules regarding the field itself are evaluated. This can be useful for performance reasons when entity permission is already checked to avoid entity rules being evaluated multiple times.
- 
getEntity
- 
getPath
- 
isCheckPathOnlypublic boolean isCheckPathOnly()
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
 
-