public class TemplateUsageListResponse extends TemplateListResponse
Constructor and Description |
---|
TemplateUsageListResponse()
Empty constructor
|
TemplateUsageListResponse(Message message,
ResponseInfo responseInfo,
List<Template> templates,
int total,
int withoutPermission)
Create a new instance
|
Modifier and Type | Method and Description |
---|---|
int |
getTotal()
Get the total number of templates
|
int |
getWithoutPermission()
Get the number of templates without permission
|
void |
setTotal(int total)
Set the total number of templates
|
void |
setWithoutPermission(int withoutPermission)
Set the number of templates without permission
|
getNumItems, getTemplates, isHasMoreItems, setHasMoreItems, setNumItems, setTemplates
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
public TemplateUsageListResponse()
public TemplateUsageListResponse(Message message, ResponseInfo responseInfo, List<Template> templates, int total, int withoutPermission)
message
- messageresponseInfo
- response infotemplates
- templatestotal
- total number of templateswithoutPermission
- number of templates without permissionpublic int getWithoutPermission()
public int getTotal()
public void setWithoutPermission(int withoutPermission)
withoutPermission
- number of templates without permissionpublic void setTotal(int total)
total
- total number of templatesCopyright © 2024 Gentics Software. All rights reserved.