|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.TemplateListResponse
com.gentics.contentnode.rest.model.response.TemplateUsageListResponse
public class TemplateUsageListResponse
Response for a page usage response (templates).
Constructor Summary | |
---|---|
TemplateUsageListResponse()
Empty constructor |
|
TemplateUsageListResponse(Message message,
ResponseInfo responseInfo,
List<Template> templates,
int total,
int withoutPermission)
Create a new instance |
Method Summary | |
---|---|
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 |
Methods inherited from class com.gentics.contentnode.rest.model.response.TemplateListResponse |
---|
getNumItems, getTemplates, isHasMoreItems, setHasMoreItems, setNumItems, setTemplates |
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse |
---|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 permissionMethod Detail |
---|
public int getWithoutPermission()
public int getTotal()
public void setWithoutPermission(int withoutPermission)
withoutPermission
- number of templates without permissionpublic void setTotal(int total)
total
- total number of templates
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |