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 -
Field Summary
-
Constructor Summary
Constructors Constructor Description PolicyStatementCreated(java.lang.String sid, java.lang.String domainOwner, java.lang.String domainContext, PolicyStatement.EffectType effect, java.util.Collection<ActionDescriptor> cmdActions, java.util.Collection<ActionDescriptor> queryActions, java.util.Collection<ResourceDescriptor> resources, java.util.Collection<java.lang.String> tags) -
Method Summary
Modifier and Type Method Description java.lang.StringentityId()java.util.Collection<ActionDescriptor>getCmdActions()java.lang.StringgetDomainContext()java.lang.StringgetDomainOwner()PolicyStatement.EffectTypegetEffect()java.lang.Class<? extends Entity>getOwner()java.util.Collection<ActionDescriptor>getQueryActions()java.util.Collection<ResourceDescriptor>getResources()java.lang.Class<? extends RootEntity>getRootOwner()java.lang.StringgetSid()java.util.Collection<java.lang.String>getTags()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, persistedId, rootId, rootPersistedId, 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, java.lang.String domainOwner, java.lang.String domainContext, PolicyStatement.EffectType effect, java.util.Collection<ActionDescriptor> cmdActions, java.util.Collection<ActionDescriptor> queryActions, java.util.Collection<ResourceDescriptor> resources, java.util.Collection<java.lang.String> tags)
-
-
Method Details
-
getSid
public java.lang.String getSid() -
getDomainOwner
public java.lang.String getDomainOwner() -
getDomainContext
public java.lang.String getDomainContext() -
getTags
public java.util.Collection<java.lang.String> getTags() -
getEffect
-
getCmdActions
-
getQueryActions
-
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>
-