Class PolicyStatementCreated
java.lang.Object
com.cloudimpl.outstack.runtime.domainspec.Event<PolicyStatement>
com.cloudimpl.outstack.runtime.domain.PolicyStatementCreated
public class PolicyStatementCreated extends Event<PolicyStatement>
- Author:
- nuwan
-
Nested Class Summary
Nested classes/interfaces inherited from class com.cloudimpl.outstack.runtime.domainspec.Event
Event.Action, Event.Meta -
Constructor Summary
Constructors Constructor Description PolicyStatementCreated(java.lang.String sid, PolicyStatement.EffectType effect, java.util.Collection<ActionDescriptor> actions, java.util.Collection<ResourceDescriptor> resources) -
Method Summary
Modifier and Type Method Description java.lang.StringentityId()java.util.Collection<ActionDescriptor>getActions()PolicyStatement.EffectTypegetEffect()java.lang.Class<? extends Entity>getOwner()java.util.Collection<ResourceDescriptor>getResources()java.lang.Class<? extends RootEntity>getRootOwner()java.lang.StringgetSid()booleanisTenantStatement()java.lang.StringrootEntityId()Methods inherited from class com.cloudimpl.outstack.runtime.domainspec.Event
getAction, getBRN, getEntityRN, getEntityTRN, getMeta, getRootEntityRN, getRootEntityTRN, getSeqNum, getTRN, id, isConsumed, isRootEvent, rootId, setAction, setId, setRootId, setSeqNum, setTenantId, tenantId, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
PolicyStatementCreated
public PolicyStatementCreated(java.lang.String sid, PolicyStatement.EffectType effect, java.util.Collection<ActionDescriptor> actions, java.util.Collection<ResourceDescriptor> resources)
-
-
Method Details
-
getSid
public java.lang.String getSid() -
getEffect
-
getActions
-
getResources
-
isTenantStatement
public boolean isTenantStatement() -
getOwner
- Specified by:
getOwnerin classEvent<PolicyStatement>
-
getRootOwner
- Specified by:
getRootOwnerin classEvent<PolicyStatement>
-
entityId
public java.lang.String entityId()- Specified by:
entityIdin classEvent<PolicyStatement>
-
rootEntityId
public java.lang.String rootEntityId()- Specified by:
rootEntityIdin classEvent<PolicyStatement>
-