public static class RMFactory.RMPermission
extends java.lang.Object
RMPermission
instances.Modifier and Type | Method and Description |
---|---|
static RMPermission |
createInstance(DomainType domainType)
Returns a new
RMPermission instance. |
public static RMPermission createInstance(DomainType domainType)
RMPermission
instance.
This new instance can be further defined and then included in a
List
collection in order to be applied to some entity
using its Persistable.setPermissions
method.
This collection is then persisted when the associated entity is saved.
domainType
- The DomainType
to which
some entity is or will be associated with, and to which
this new permission will belong to.
This entry cannot be null
.RMPermission
instance.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.