Skip navigation links
com.fatwire.services.beans.asset.basic.template
Class TemplatesBean
java.lang.Object
com.fatwire.services.beans.BaseBean
com.fatwire.services.beans.asset.basic.template.TemplatesBean
- All Implemented Interfaces:
- java.io.Serializable
-
public class TemplatesBean
- extends BaseBean
The TemplatesBean is the value object used by the template-related services. It is a wrapper around a list of templates. Typically the template services provide for paged results. This bean therefore also provides server side information about how many templates are available against a specific query for templates.
- See Also:
- Serialized Form
Method Summary |
java.lang.Integer |
getCount()
Returns the maximum number of templates that could be fetched from the server against a specific query for templates. |
java.util.List<TemplateBean> |
getTemplates()
List of templates returned in a paged result. |
void |
setCount(java.lang.Integer count)
Sets the maximum number of templates that could be fetched from the server against a specific query for templates. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplatesBean
public TemplatesBean()
getCount
public java.lang.Integer getCount()
- Returns the maximum number of templates that could be fetched from the server against a specific query for templates.
-
- Returns:
- the maximum count of templates.
setCount
public void setCount(java.lang.Integer count)
-
Sets the maximum number of templates that could be fetched from the server against a specific query for templates.
This method is usually used by the service which is aware of the complete size of the fetch result.
-
- Parameters:
count
-
getTemplates
public java.util.List<TemplateBean> getTemplates()
- List of templates returned in a paged result.
-
- Returns:
- list of templates in this paged result.
Skip navigation links
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.