Package org.silverpeas.components.quickinfo

## Class NewsByStatus

- java.lang.Object
- - org.silverpeas.components.quickinfo.NewsByStatus

-     public class NewsByStatus
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `NewsByStatus​(List<News> allNews, String userId, NewsSort noMoreVisiblesSort, NewsSort notYetVisiblesSort)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<News>` | `getDrafts()` |
    `List<News>` | `getNoMoreVisibles()` |
    `List<News>` | `getNotYetVisibles()` |
    `List<News>` | `getVisibles()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NewsByStatus

          public NewsByStatus​(List<News> allNews,
                              String userId,
                              NewsSort noMoreVisiblesSort,
                              NewsSort notYetVisiblesSort)

  - ### Method Detail

    - #### getVisibles

          public List<News> getVisibles()

    - #### getDrafts

          public List<News> getDrafts()

    - #### getNotYetVisibles

          public List<News> getNotYetVisibles()

    - #### getNoMoreVisibles

          public List<News> getNoMoreVisibles()