Class PropertyRestrictionLevels
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.auth.policy.bean.PropertyRestrictionLevels
-
public class PropertyRestrictionLevels extends Object
The threshold levels for operations on a given property. This is based on the assumption that the FullPropertyKey is sufficient to distinguish all properties. An object property and a data property may not share the same key. A faux property must have a different key from any object property.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPropertyRestrictionLevels.Which
-
Constructor Summary
Constructors Constructor Description PropertyRestrictionLevels(PropertyDao.FullPropertyKey key, RoleRestrictedProperty p)PropertyRestrictionLevels(PropertyDao.FullPropertyKey key, BaseResourceBean.RoleLevel displayThreshold, BaseResourceBean.RoleLevel modifyThreshold, BaseResourceBean.RoleLevel publishThreshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyDao.FullPropertyKeygetKey()BaseResourceBean.RoleLevelgetLevel(PropertyRestrictionLevels.Which which)StringtoString()
-
-
-
Constructor Detail
-
PropertyRestrictionLevels
public PropertyRestrictionLevels(PropertyDao.FullPropertyKey key, RoleRestrictedProperty p)
-
PropertyRestrictionLevels
public PropertyRestrictionLevels(PropertyDao.FullPropertyKey key, BaseResourceBean.RoleLevel displayThreshold, BaseResourceBean.RoleLevel modifyThreshold, BaseResourceBean.RoleLevel publishThreshold)
-
-
Method Detail
-
getKey
public PropertyDao.FullPropertyKey getKey()
-
getLevel
public BaseResourceBean.RoleLevel getLevel(PropertyRestrictionLevels.Which which)
-
-