Interface WithPermission

All Known Subinterfaces:
ColabEntity, Resourceable, StickyNoteSourceable
All Known Implementing Classes:
AbstractCardType, AbstractResource, Account, ActivityFlowLink, Assignment, Card, CardContent, CardType, CardTypeRef, CopyParam, Document, DocumentFile, ExternalLink, HttpSession, InstanceMaker, InvitationToken, LocalAccount, ModelSharingToken, Project, ResetLocalAccountPasswordToken, Resource, ResourceRef, SharingLinkToken, StickyNoteLink, TeamMember, TeamRole, TextDataBlock, Token, User, VerifyLocalAccountToken

public interface WithPermission
Depict an entity which has access controls
Author:
maxence
  • Method Details

    • getReadCondition

      Conditions.Condition getReadCondition()
      Get the condition required to read this entity
      Returns:
      the condition
    • getUpdateCondition

      Conditions.Condition getUpdateCondition()
      Get the condition required to update this entity
      Returns:
      the condition
    • getCreateCondition

      default Conditions.Condition getCreateCondition()
      Get the condition required to persist this entity
      Returns:
      the condition
    • getDeleteCondition

      default Conditions.Condition getDeleteCondition()
      Get the condition required to delete this entity
      Returns:
      the condition