Interface IPermissionFactory
- All Known Implementing Classes:
GenericPermissionFactory
public interface IPermissionFactory
IPermission
factory.
GenericPermissionFactory
can be used for simple permissions.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionconstructPermission
(String name) Construct permission for given name.Description of permission generated by this factory.
-
Method Details
-
getDescription
Description of permission generated by this factory.- Returns:
- description or
null
-
constructPermission
Construct permission for given name.- Parameters:
name
- permission name- Returns:
IPermission
instance (notnull
)- Throws:
IllegalArgumentException
- ifname
is invalid
-