## Uses of Interface
org.jbpm.casemgmt.api.model.instance.CommentInstance

- Packages that use CommentInstance
  Package | Description
  --- | ---
  org.jbpm.casemgmt.api |
  org.jbpm.casemgmt.api.auth |
  org.jbpm.casemgmt.api.event |
  org.jbpm.casemgmt.impl |
  org.jbpm.casemgmt.impl.event |
  org.jbpm.casemgmt.impl.model.instance |

- - ### Uses of CommentInstance in org.jbpm.casemgmt.api

    Methods in org.jbpm.casemgmt.api that return types with arguments of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<CommentInstance>` | CaseService.`getCaseComments​(String caseId, CommentSortBy sortBy, org.kie.api.runtime.query.QueryContext queryContext)` | Returns all case comments sorted with given sortBy
    `Collection<CommentInstance>` | CaseService.`getCaseComments​(String caseId, org.kie.api.runtime.query.QueryContext queryContext)` | Returns all case comments sorted by date

  - ### Uses of CommentInstance in org.jbpm.casemgmt.api.auth

    Methods in org.jbpm.casemgmt.api.auth that return types with arguments of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<CommentInstance>` | AuthorizationManager.`filterByCommentAuthorization​(String caseId, CaseFileInstance caseFileInstance, List<CommentInstance> comments)` | Filters provided comments by their restrictions.

    Methods in org.jbpm.casemgmt.api.auth with parameters of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | AuthorizationManager.`checkCommentAuthorization​(String caseId, CaseFileInstance caseFileInstance, CommentInstance commentInstance)` | Check if caller (based on identity provider) is authorized to manipulate given comment

    Method parameters in org.jbpm.casemgmt.api.auth with type arguments of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<CommentInstance>` | AuthorizationManager.`filterByCommentAuthorization​(String caseId, CaseFileInstance caseFileInstance, List<CommentInstance> comments)` | Filters provided comments by their restrictions.

  - ### Uses of CommentInstance in org.jbpm.casemgmt.api.event

    Methods in org.jbpm.casemgmt.api.event that return CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `CommentInstance` | CaseCommentEvent.`getComment()` | Returns actual CommentInstance that is added or removed

    Constructors in org.jbpm.casemgmt.api.event with parameters of type CommentInstance
    Constructor | Description
    --- | ---
    `CaseCommentEvent​(String user, String caseId, CaseFileInstance caseFile, CommentInstance comment)` |

  - ### Uses of CommentInstance in org.jbpm.casemgmt.impl

    Methods in org.jbpm.casemgmt.impl that return types with arguments of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<CommentInstance>` | AuthorizationManagerImpl.`filterByCommentAuthorization​(String caseId, CaseFileInstance caseFileInstance, List<CommentInstance> comments)` |
    `Collection<CommentInstance>` | CaseServiceImpl.`getCaseComments​(String caseId, CommentSortBy sortBy, org.kie.api.runtime.query.QueryContext queryContext)` |
    `Collection<CommentInstance>` | CaseServiceImpl.`getCaseComments​(String caseId, org.kie.api.runtime.query.QueryContext queryContext)` |

    Methods in org.jbpm.casemgmt.impl with parameters of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | AuthorizationManagerImpl.`checkCommentAuthorization​(String caseId, CaseFileInstance caseFileInstance, CommentInstance commentInstance)` |

    Method parameters in org.jbpm.casemgmt.impl with type arguments of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<CommentInstance>` | AuthorizationManagerImpl.`filterByCommentAuthorization​(String caseId, CaseFileInstance caseFileInstance, List<CommentInstance> comments)` |

  - ### Uses of CommentInstance in org.jbpm.casemgmt.impl.event

    Methods in org.jbpm.casemgmt.impl.event with parameters of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CaseEventSupport.`fireAfterCaseCommentAdded​(String caseId, CaseFileInstance caseFile, CommentInstance commentInstance)` |
    `void` | CaseEventSupport.`fireAfterCaseCommentRemoved​(String caseId, CaseFileInstance caseFile, CommentInstance commentInstance)` |
    `void` | CaseEventSupport.`fireAfterCaseCommentUpdated​(String caseId, CaseFileInstance caseFile, CommentInstance commentInstance)` |
    `void` | CaseEventSupport.`fireBeforeCaseCommentAdded​(String caseId, CaseFileInstance caseFile, CommentInstance commentInstance)` |
    `void` | CaseEventSupport.`fireBeforeCaseCommentRemoved​(String caseId, CaseFileInstance caseFile, CommentInstance commentInstance)` |
    `void` | CaseEventSupport.`fireBeforeCaseCommentUpdated​(String caseId, CaseFileInstance caseFile, CommentInstance commentInstance)` |

  - ### Uses of CommentInstance in org.jbpm.casemgmt.impl.model.instance

    Classes in org.jbpm.casemgmt.impl.model.instance that implement CommentInstance
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `CommentInstanceImpl` |

    Methods in org.jbpm.casemgmt.impl.model.instance that return types with arguments of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<CommentInstance>` | CaseFileInstanceImpl.`getComments()` |

    Methods in org.jbpm.casemgmt.impl.model.instance with parameters of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CaseFileInstanceImpl.`addComment​(CommentInstance comment)` |
    `void` | CaseFileInstanceImpl.`removeComment​(CommentInstance comment)` |

    Method parameters in org.jbpm.casemgmt.impl.model.instance with type arguments of type CommentInstance
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CaseFileInstanceImpl.`setComments​(List<CommentInstance> comments)` |