## Uses of Class
org.silverpeas.components.kmelia.model.KmeliaPublication

- Packages that use KmeliaPublication
  Package | Description
  --- | ---
  org.silverpeas.components.kmelia.model |
  org.silverpeas.components.kmelia.service |

- - ### Uses of KmeliaPublication in org.silverpeas.components.kmelia.model

    Methods in org.silverpeas.components.kmelia.model that return KmeliaPublication
    Modifier and Type | Method | Description
    --- | --- | ---
    `static KmeliaPublication` | KmeliaPublication.`aKmeliaPublicationFromCompleteDetail​(org.silverpeas.core.contribution.publication.model.CompletePublication detail)` | Gets the Kmelia publication from the specified complete publication detail.
    `static KmeliaPublication` | KmeliaPublication.`fromDetail​(org.silverpeas.core.contribution.publication.model.PublicationDetail detail)` | Gets the Kmelia publication from the specified publication detail.
    `static KmeliaPublication` | KmeliaPublication.`fromDetail​(org.silverpeas.core.contribution.publication.model.PublicationDetail detail, org.silverpeas.core.node.model.NodePK fatherPK)` | Gets the Kmelia publication in the given topic from the specified publication detail.
    `static KmeliaPublication` | KmeliaPublication.`fromDetail​(org.silverpeas.core.contribution.publication.model.PublicationDetail detail, org.silverpeas.core.node.model.NodePK fatherPK, Map<String,​List<org.silverpeas.core.contribution.publication.model.Location>> locationCache)` | Gets the Kmelia publication in the given topic from the specified publication detail.
    `static KmeliaPublication` | KmeliaPublication.`withPK​(org.silverpeas.core.contribution.publication.model.PublicationPK pk)` | Gets the Kmelia publication with the specified primary key identifying it uniquely.
    `static KmeliaPublication` | KmeliaPublication.`withPK​(org.silverpeas.core.contribution.publication.model.PublicationPK pk, org.silverpeas.core.node.model.NodePK fatherPk)` | Gets the Kmelia publication with the specified primary key and that is in the topic specified by its primary key.

    Methods in org.silverpeas.components.kmelia.model that return types with arguments of type KmeliaPublication
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<KmeliaPublication>` | TopicDetail.`getKmeliaPublications()` | Get a PublicationDetail collection containing all the publications in this topic
    `List<KmeliaPublication>` | TopicDetail.`getValidPublications()` |
    `List<KmeliaPublication>` | TopicDetail.`getValidPublications​(org.silverpeas.core.contribution.publication.model.PublicationPK pubPKToExclude)` |
    `KmeliaPublicationSort.SortConsumer<List<KmeliaPublication>>` | KmeliaPublicationSort.`withContentLanguage​(String language)` | Gets the publication consumer according to given content language.

    Methods in org.silverpeas.components.kmelia.model with parameters of type KmeliaPublication
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | KmeliaPublicationComparator.`compare​(KmeliaPublication obj1, KmeliaPublication obj2)` |
    `protected org.silverpeas.core.util.comparator.AbstractComplexComparator.ValueBuffer` | AbstractPublicationComparator.`getValuesToCompare​(KmeliaPublication publication)` |

    Method parameters in org.silverpeas.components.kmelia.model with type arguments of type KmeliaPublication
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | TopicDetail.`setPublicationDetails​(Collection<KmeliaPublication> pd)` | Set the publication details of each publication containing in this topic

  - ### Uses of KmeliaPublication in org.silverpeas.components.kmelia.service

    Methods in org.silverpeas.components.kmelia.service that return KmeliaPublication
    Modifier and Type | Method | Description
    --- | --- | ---
    `KmeliaPublication` | DefaultKmeliaService.`getKmaxPublication​(String pubId, String currentUserId)` |
    `KmeliaPublication` | KmeliaService.`getKmaxPublication​(String pubId, String currentUserId)` | Get the given publication for the given user.
    `KmeliaPublication` | DefaultKmeliaService.`getPublication​(org.silverpeas.core.contribution.publication.model.PublicationPK pubPK, org.silverpeas.core.node.model.NodePK topicPK)` |
    `KmeliaPublication` | KmeliaService.`getPublication​(org.silverpeas.core.contribution.publication.model.PublicationPK pubPK, org.silverpeas.core.node.model.NodePK topicPK)` | Gets the Kmelia publication identified by the specified identifying key and that is located into the specified topic.

    Methods in org.silverpeas.components.kmelia.service that return types with arguments of type KmeliaPublication
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<KmeliaPublication>` | DefaultKmeliaService.`filterPublications​(List<KmeliaPublication> publications, String instanceId, org.silverpeas.core.admin.user.model.SilverpeasRole profile, String userId)` |
    `List<KmeliaPublication>` | KmeliaService.`filterPublications​(List<KmeliaPublication> publications, String instanceId, org.silverpeas.core.admin.user.model.SilverpeasRole profile, String userId)` |
    `List<KmeliaPublication>` | DefaultKmeliaService.`getAuthorizedPublicationsOfFolder​(org.silverpeas.core.node.model.NodePK pk, String userProfile, String userId, boolean isTreeStructureUsed)` |
    `List<KmeliaPublication>` | KmeliaService.`getAuthorizedPublicationsOfFolder​(org.silverpeas.core.node.model.NodePK pk, String userProfile, String userId, boolean isTreeStructureUsed)` | Gets the publications linked to the folder represented by given `NodePK` reference.
    `Optional<KmeliaPublication>` | DefaultKmeliaService.`getContributionById​(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)` |
    `Optional<KmeliaPublication>` | DefaultToolBoxService.`getContributionById​(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)` |
    `Optional<KmeliaPublication>` | KmeliaService.`getContributionById​(org.silverpeas.core.contribution.model.ContributionIdentifier contributionId)` |
    `List<KmeliaPublication>` | DefaultKmeliaService.`getLatestAuthorizedPublications​(String instanceId, String userId, int limit)` |
    `List<KmeliaPublication>` | KmeliaService.`getLatestAuthorizedPublications​(String instanceId, String userId, int limit)` | Checks rights on publications order by descending begin visibility date of publication.
    `List<KmeliaPublication>` | DefaultKmeliaService.`getLinkedPublications​(KmeliaPublication publication, String userId)` | Gets the publications linked with the specified one and for which the specified user is authorized to access.
    `List<KmeliaPublication>` | KmeliaService.`getLinkedPublications​(KmeliaPublication publication, String userId)` | Gets the publications linked with the specified one and for which the specified user is authorized to access.
    `List<KmeliaPublication>` | DefaultKmeliaService.`getNonVisiblePublications​(String componentId, String userId)` |
    `List<KmeliaPublication>` | KmeliaService.`getNonVisiblePublications​(String componentId, String userId)` |
    `<T extends org.silverpeas.core.ResourceReference> List<KmeliaPublication>` | DefaultKmeliaService.`getPublications​(List<T> references, String userId, org.silverpeas.core.node.model.NodePK contextFolder, boolean accessControlFiltering)` |
    `<T extends org.silverpeas.core.ResourceReference> List<KmeliaPublication>` | KmeliaService.`getPublications​(List<T> references, String userId, org.silverpeas.core.node.model.NodePK contextFolder, boolean accessControlFiltering)` | Gets a list of publications with optional control access filtering.
    `<T extends org.silverpeas.core.ResourceReference> List<org.silverpeas.kernel.util.Pair<KmeliaPublication,​KmeliaPublication>>` | DefaultKmeliaService.`getPublicationsForModification​(List<T> references, String userId)` |
    `<T extends org.silverpeas.core.ResourceReference> List<org.silverpeas.kernel.util.Pair<KmeliaPublication,​KmeliaPublication>>` | DefaultKmeliaService.`getPublicationsForModification​(List<T> references, String userId)` |
    `<T extends org.silverpeas.core.ResourceReference> List<org.silverpeas.kernel.util.Pair<KmeliaPublication,​KmeliaPublication>>` | KmeliaService.`getPublicationsForModification​(List<T> references, String userId)` | Gets a list of `Pair` of `KmeliaPublication` instances into context of modification by a user represented by the given user id.
    `<T extends org.silverpeas.core.ResourceReference> List<org.silverpeas.kernel.util.Pair<KmeliaPublication,​KmeliaPublication>>` | KmeliaService.`getPublicationsForModification​(List<T> references, String userId)` | Gets a list of `Pair` of `KmeliaPublication` instances into context of modification by a user represented by the given user id.
    `List<KmeliaPublication>` | DefaultKmeliaService.`getPublicationsToValidate​(String componentId, String userId)` |
    `List<KmeliaPublication>` | KmeliaService.`getPublicationsToValidate​(String componentId, String userId)` |
    `Collection<KmeliaPublication>` | DefaultKmeliaService.`getUnbalancedPublications​(String componentId)` |
    `Collection<KmeliaPublication>` | KmeliaService.`getUnbalancedPublications​(String componentId)` | Get publications that aren't categorized on any axis.
    `List<KmeliaPublication>` | DefaultKmeliaService.`search​(List<String> combination, int nbDays, String componentId)` |
    `List<KmeliaPublication>` | DefaultKmeliaService.`search​(List<String> combination, String componentId)` |
    `List<KmeliaPublication>` | KmeliaService.`search​(List<String> combination, int nbDays, String componentId)` | Get publications categorized in a combination of positions and that are visible or created the given number of days ago.
    `List<KmeliaPublication>` | KmeliaService.`search​(List<String> combination, String componentId)` | Get publications categorized in a combination of positions.

    Methods in org.silverpeas.components.kmelia.service with parameters of type KmeliaPublication
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<KmeliaPublication>` | DefaultKmeliaService.`getLinkedPublications​(KmeliaPublication publication, String userId)` | Gets the publications linked with the specified one and for which the specified user is authorized to access.
    `List<KmeliaPublication>` | KmeliaService.`getLinkedPublications​(KmeliaPublication publication, String userId)` | Gets the publications linked with the specified one and for which the specified user is authorized to access.

    Method parameters in org.silverpeas.components.kmelia.service with type arguments of type KmeliaPublication
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<KmeliaPublication>` | DefaultKmeliaService.`filterPublications​(List<KmeliaPublication> publications, String instanceId, org.silverpeas.core.admin.user.model.SilverpeasRole profile, String userId)` |
    `List<KmeliaPublication>` | KmeliaService.`filterPublications​(List<KmeliaPublication> publications, String instanceId, org.silverpeas.core.admin.user.model.SilverpeasRole profile, String userId)` |