Interface PermissionFactory
- All Known Implementing Classes:
 DefaultPermissionFactory
public interface PermissionFactory
Provides a simple mechanism to retrieve 
Permission instances from integer
 masks.- Since:
 - 2.0.3
 
- 
Method Summary
Modifier and TypeMethodDescriptionbuildFromMask(int mask) Dynamically creates aCumulativePermissionorBasePermissionrepresenting the active bits in the passed mask.buildFromName(String name) buildFromNames(List<String> names)  
- 
Method Details
- 
buildFromMask
Dynamically creates aCumulativePermissionorBasePermissionrepresenting the active bits in the passed mask.- Parameters:
 mask- to build- Returns:
 - a Permission representing the requested object
 
 - 
buildFromName
 - 
buildFromNames
 
 -