Class LanguageListResponse

java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.LanguageListResponse
All Implemented Interfaces:
Serializable

public class LanguageListResponse extends GenericResponse
Response for a language list request
Author:
norbert
See Also:
  • Constructor Details

    • LanguageListResponse

      public LanguageListResponse()
      Empty constructor
    • LanguageListResponse

      public LanguageListResponse(Message message, ResponseInfo responseInfo)
      Create an instance with given message and response info
      Parameters:
      message - message
      responseInfo - response info
  • Method Details

    • getLanguages

      public List<ContentLanguage> getLanguages()
      List of languages
      Returns:
      list of languages
    • isHasMoreItems

      public boolean isHasMoreItems()
      True if more items are present
      Returns:
      true if more items are present
    • getNumItems

      public Integer getNumItems()
      Total number of items present
      Returns:
      total number of items present
    • setLanguages

      public void setLanguages(List<ContentLanguage> languages)
      Set the list of languages
      Parameters:
      languages - list of languages
    • setHasMoreItems

      public void setHasMoreItems(boolean hasMoreItems)
      Set true when more items are available
      Parameters:
      hasMoreItems - true if more items are available
    • setNumItems

      public void setNumItems(Integer numItems)
      Set the total number of items present
      Parameters:
      numItems - total number of items present