public class LanguageListResponse extends GenericResponse
| Constructor and Description |
|---|
LanguageListResponse()
Empty constructor
|
LanguageListResponse(Message message,
ResponseInfo responseInfo)
Create an instance with given message and response info
|
| Modifier and Type | Method and Description |
|---|---|
List<ContentLanguage> |
getLanguages()
List of languages
|
Integer |
getNumItems()
Total number of items present
|
boolean |
isHasMoreItems()
True if more items are present
|
void |
setHasMoreItems(boolean hasMoreItems)
Set true when more items are available
|
void |
setLanguages(List<ContentLanguage> languages)
Set the list of languages
|
void |
setNumItems(Integer numItems)
Set the total number of items present
|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfopublic LanguageListResponse()
public LanguageListResponse(Message message, ResponseInfo responseInfo)
message - messageresponseInfo - response infopublic List<ContentLanguage> getLanguages()
public boolean isHasMoreItems()
public Integer getNumItems()
public void setLanguages(List<ContentLanguage> languages)
languages - list of languagespublic void setHasMoreItems(boolean hasMoreItems)
hasMoreItems - true if more items are availablepublic void setNumItems(Integer numItems)
numItems - total number of items presentCopyright © 2024 Gentics Software. All rights reserved.