Package ca.cdr.api.security.permission
Class NodeAndModuleId
java.lang.Object
ca.cdr.api.security.permission.PermissionArgumentValue
ca.cdr.api.security.permission.NodeAndModuleId
- All Implemented Interfaces:
PermissionArgumentFormat.INodeAndModuleIdRestriction
,PermissionArgumentFormat.IPermissionComponent
public class NodeAndModuleId
extends PermissionArgumentValue
implements PermissionArgumentFormat.INodeAndModuleIdRestriction
A single String which contains Node ID and Module ID separated by a slash `/`.
For eg. Master/subscription
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NodeAndModuleId
fromNodeIdAndModuleId
(String theNodeId, String theModuleId) the moduleId that the user has permission forthe nodeId that the user has permission forMethods inherited from class ca.cdr.api.security.permission.PermissionArgumentValue
toString
-
Field Details
-
INVALID_METHOD_ARGUMENT_MESSAGE
- See Also:
-
-
Method Details
-
fromNodeIdAndModuleId
-
getNodeId
Description copied from interface:PermissionArgumentFormat.INodeAndModuleIdRestriction
the nodeId that the user has permission for- Specified by:
getNodeId
in interfacePermissionArgumentFormat.INodeAndModuleIdRestriction
-
getModuleId
Description copied from interface:PermissionArgumentFormat.INodeAndModuleIdRestriction
the moduleId that the user has permission for- Specified by:
getModuleId
in interfacePermissionArgumentFormat.INodeAndModuleIdRestriction
-