Package ch.colabproject.colab.api.model
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 Summary
Modifier and TypeMethodDescriptiondefault Conditions.ConditionGet the condition required to persist this entitydefault Conditions.ConditionGet the condition required to delete this entityGet the condition required to read this entityGet the condition required to update this entity
-
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
Get the condition required to persist this entity- Returns:
- the condition
-
getDeleteCondition
Get the condition required to delete this entity- Returns:
- the condition
-