## Uses of Class
org.silverpeas.components.classifieds.model.ClassifiedDetail

- Packages that use ClassifiedDetail
  Package | Description
  --- | ---
  org.silverpeas.components.classifieds |
  org.silverpeas.components.classifieds.dao |
  org.silverpeas.components.classifieds.model |
  org.silverpeas.components.classifieds.notification |
  org.silverpeas.components.classifieds.service |

- - ### Uses of ClassifiedDetail in org.silverpeas.components.classifieds

    Methods in org.silverpeas.components.classifieds with parameters of type ClassifiedDetail
    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | ClassifiedUtil.`getClassifiedUrl​(ClassifiedDetail classified)` | Gets the URL of the specified classified in Silverpeas.

  - ### Uses of ClassifiedDetail in org.silverpeas.components.classifieds.dao

    Methods in org.silverpeas.components.classifieds.dao that return ClassifiedDetail
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ClassifiedDetail` | ClassifiedsDAO.`getClassified​(Connection con, String classifiedId)` | get the classified correspond to classifiedId

    Methods in org.silverpeas.components.classifieds.dao that return types with arguments of type ClassifiedDetail
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Collection<ClassifiedDetail>` | ClassifiedsDAO.`getAllClassifieds​(Connection con, String instanceId)` | get all classifieds of a instance corresponding to instanceId
    `static List<ClassifiedDetail>` | ClassifiedsDAO.`getAllClassifiedsToUnpublish​(Connection con, int nbDays, String instanceId)` | get all expiring classifieds (corresponding of a number of day nbDays)
    `static List<ClassifiedDetail>` | ClassifiedsDAO.`getClassifiedsByUser​(Connection con, String instanceId, String userId)` | get all classifieds for user and instance, corresponding to userId and instanceId
    `static List<ClassifiedDetail>` | ClassifiedsDAO.`getClassifiedsWithStatus​(Connection con, String instanceId, String status, int firstItemIndex, int elementsPerPage)` | get all classifieds with given status for an instance corresponding to instanceId
    `static Collection<ClassifiedDetail>` | ClassifiedsDAO.`getUnpublishedClassifieds​(Connection con, String instanceId, String userId)` | get the unpublished classified

    Methods in org.silverpeas.components.classifieds.dao with parameters of type ClassifiedDetail
    Modifier and Type | Method | Description
    --- | --- | ---
    `static String` | ClassifiedsDAO.`createClassified​(Connection con, ClassifiedDetail classified)` | Create a classified
    `static void` | ClassifiedsDAO.`updateClassified​(Connection con, ClassifiedDetail classified)` | update a classified

  - ### Uses of ClassifiedDetail in org.silverpeas.components.classifieds.model

    Methods in org.silverpeas.components.classifieds.model that return types with arguments of type ClassifiedDetail
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<ClassifiedDetail>` | Category.`getClassifieds()` |

    Method parameters in org.silverpeas.components.classifieds.model with type arguments of type ClassifiedDetail
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Category.`setClassifieds​(Collection<ClassifiedDetail> classifieds)` |

  - ### Uses of ClassifiedDetail in org.silverpeas.components.classifieds.notification

    Methods in org.silverpeas.components.classifieds.notification with parameters of type ClassifiedDetail
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected String` | AbstractClassifiedUserNotification.`getResourceURL​(ClassifiedDetail resource)` |
    `protected void` | ClassifiedOwnerNotification.`perform​(ClassifiedDetail resource)` |
    `protected void` | ClassifiedSupervisorUserNotification.`perform​(ClassifiedDetail resource)` |
    `protected void` | ClassifiedValidationUserNotification.`perform​(ClassifiedDetail resource)` |
    `protected void` | AbstractClassifiedUserNotification.`performNotificationResource​(String language, ClassifiedDetail resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)` |
    `protected void` | AbstractClassifiedUserNotification.`performTemplateData​(String language, ClassifiedDetail resource, org.silverpeas.core.template.SilverpeasTemplate template)` |
    `protected void` | ClassifiedValidationUserNotification.`performTemplateData​(String language, ClassifiedDetail resource, org.silverpeas.core.template.SilverpeasTemplate template)` |

    Constructors in org.silverpeas.components.classifieds.notification with parameters of type ClassifiedDetail
    Constructor | Description
    --- | ---
    `AbstractClassifiedUserNotification​(ClassifiedDetail resource)` |
    `ClassifiedOwnerNotification​(ClassifiedDetail resource, String senderId, String message)` |
    `ClassifiedSimpleNotification​(ClassifiedDetail resource, org.silverpeas.core.admin.user.model.User sender)` |
    `ClassifiedSubscriptionUserNotification​(ClassifiedDetail resource, Collection<String> usersToBeNotified)` |
    `ClassifiedSupervisorUserNotification​(ClassifiedDetail resource)` |
    `ClassifiedValidationUserNotification​(ClassifiedDetail resource, String userIdWhoRefuse, String refusalMotive, String userToBeNotified)` |

  - ### Uses of ClassifiedDetail in org.silverpeas.components.classifieds.service

    Methods in org.silverpeas.components.classifieds.service that return types with arguments of type ClassifiedDetail
    Modifier and Type | Method | Description
    --- | --- | ---
    `Collection<ClassifiedDetail>` | ClassifiedService.`getAllClassifieds​(String instanceId)` | get all classifieds for an instance corresponding to instanceId
    `Collection<ClassifiedDetail>` | DefaultClassifiedService.`getAllClassifieds​(String instanceId)` |
    `Collection<ClassifiedDetail>` | ClassifiedService.`getAllClassifiedsToUnpublish​(int nbDays, String instanceId)` | get all expiring classifieds (corresponding of a number of day nbDays)
    `Collection<ClassifiedDetail>` | DefaultClassifiedService.`getAllClassifiedsToUnpublish​(int nbDays, String instanceId)` |
    `List<ClassifiedDetail>` | ClassifiedService.`getAllValidClassifieds​(String instanceId)` |
    `List<ClassifiedDetail>` | ClassifiedService.`getAllValidClassifieds​(String instanceId, Map<String,​String> mapFields1, Map<String,​String> mapFields2, String searchField1, String searchField2, int firstItemIndex, int elementsPerPage)` | get all valid classifieds
    `List<ClassifiedDetail>` | DefaultClassifiedService.`getAllValidClassifieds​(String instanceId)` |
    `List<ClassifiedDetail>` | DefaultClassifiedService.`getAllValidClassifieds​(String instanceId, Map<String,​String> mapFields1, Map<String,​String> mapFields2, String searchField1, String searchField2, int firstItemIndex, int elementsPerPage)` |
    `List<ClassifiedDetail>` | ClassifiedService.`getClassifiedsByUser​(String instanceId, String userId)` | get all classifieds for user and instance corresponding to userId and instanceId
    `List<ClassifiedDetail>` | DefaultClassifiedService.`getClassifiedsByUser​(String instanceId, String userId)` |
    `List<ClassifiedDetail>` | ClassifiedService.`getClassifiedsToValidate​(String instanceId)` | get all classifieds to validate for an instance corresponding to instanceId
    `List<ClassifiedDetail>` | DefaultClassifiedService.`getClassifiedsToValidate​(String instanceId)` |
    `Optional<ClassifiedDetail>` | ClassifiedService.`getContributionById​(org.silverpeas.core.contribution.model.ContributionIdentifier classifiedId)` |
    `Optional<ClassifiedDetail>` | DefaultClassifiedService.`getContributionById​(org.silverpeas.core.contribution.model.ContributionIdentifier classifiedId)` |
    `List<ClassifiedDetail>` | ClassifiedService.`search​(org.silverpeas.core.index.search.model.QueryDescription query)` | search all classifieds corresponding to the query
    `List<ClassifiedDetail>` | DefaultClassifiedService.`search​(org.silverpeas.core.index.search.model.QueryDescription query)` |

    Methods in org.silverpeas.components.classifieds.service with parameters of type ClassifiedDetail
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | ClassifiedService.`createClassified​(ClassifiedDetail classified)` | create a classified
    `String` | DefaultClassifiedService.`createClassified​(ClassifiedDetail classified)` |
    `void` | DefaultClassifiedService.`deleteIndex​(ClassifiedDetail classified)` |
    `void` | ClassifiedService.`sendSubscriptionsNotification​(String field1, String field2, ClassifiedDetail classified)` | send a notification for subscribers to field1 and field2 when classified modified
    `void` | DefaultClassifiedService.`sendSubscriptionsNotification​(String field1, String field2, ClassifiedDetail classified)` |
    `void` | ClassifiedService.`setClassification​(ClassifiedDetail classified, String searchField1, String searchField2, String xmlFormName)` |
    `void` | DefaultClassifiedService.`setClassification​(ClassifiedDetail classified, String searchField1, String searchField2, String xmlFormName)` |
    `void` | ClassifiedService.`updateClassified​(ClassifiedDetail classified, boolean notify)` | update the classified and send notification if notify is true
    `void` | DefaultClassifiedService.`updateClassified​(ClassifiedDetail classified, boolean notify)` |