Class PostResourceContext
- java.lang.Object
-
- org.openmetadata.service.security.policyevaluator.PostResourceContext
-
- All Implemented Interfaces:
ResourceContextInterface
public class PostResourceContext extends Object implements ResourceContextInterface
Posts that are part of conversation threads require special handling
-
-
Constructor Summary
Constructors Constructor Description PostResourceContext(String postedBy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityInterfacegetEntity()EntityReferencegetOwner()StringgetResource()List<TagLabel>getTags()
-
-
-
Constructor Detail
-
PostResourceContext
public PostResourceContext(String postedBy)
-
-
Method Detail
-
getResource
public String getResource()
- Specified by:
getResourcein interfaceResourceContextInterface
-
getOwner
public EntityReference getOwner()
- Specified by:
getOwnerin interfaceResourceContextInterface
-
getTags
public List<TagLabel> getTags()
- Specified by:
getTagsin interfaceResourceContextInterface
-
getEntity
public EntityInterface getEntity()
- Specified by:
getEntityin interfaceResourceContextInterface
-
-