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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Conditions.Condition
getCreateCondition()
Get the condition required to persist this entitydefault Conditions.Condition
getDeleteCondition()
Get the condition required to delete this entityConditions.Condition
getReadCondition()
Get the condition required to read this entityConditions.Condition
getUpdateCondition()
Get the condition required to update this entity
-
-
-
Method Detail
-
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
-
-