org.nuxeo.webengine.blogs.fragments
Class RecentBlogPostsFragment
java.lang.Object
org.nuxeo.theme.nodes.AbstractNode
org.nuxeo.theme.elements.AbstractElement
org.nuxeo.theme.fragments.AbstractFragment
org.nuxeo.webengine.blogs.fragments.RecentBlogPostsFragment
- All Implemented Interfaces:
- Element, Fragment, Node, Relate, Identifiable
public class RecentBlogPostsFragment
- extends AbstractFragment
Action fragment for initializing the fragment related to retrieving a certain
number of blog posts with information about the last BlogPost-s that
are made under an BlogSite.
- Author:
- rux
Method Summary |
Model |
getModel()
Retrieves a certain number of blog posts with information about the last
BlogPost-s that are made under an BlogSite that is received
as parameter. |
Methods inherited from class org.nuxeo.theme.elements.AbstractElement |
computeXPath, getChildrenInContext, getCssClassName, getDescription, getElementType, getName, getNodeTypeFamily, getUid, hash, isEmpty, setCssClassName, setDescription, setElementType, setName, setUid |
Methods inherited from class org.nuxeo.theme.nodes.AbstractNode |
addChild, clearParent, collectDescendants, getChildren, getDescendants, getNextNode, getOrder, getParent, getPreviousNode, hasChildren, hasSiblings, insertAfter, isChildOf, isLeaf, moveTo, removeChild, removeDescendants, setChildren, setOrder, setParent |
Methods inherited from interface org.nuxeo.theme.relations.Relate |
hash |
Methods inherited from interface org.nuxeo.theme.nodes.Node |
addChild, clearParent, collectDescendants, getChildren, getDescendants, getNextNode, getNodeTypeFamily, getOrder, getParent, getPreviousNode, hasChildren, hasSiblings, insertAfter, isChildOf, isLeaf, moveTo, removeChild, removeDescendants, setChildren, setOrder, setParent |
noForBlogSite
public static final int noForBlogSite
- See Also:
- Constant Field Values
noForBlogPost
public static final int noForBlogPost
- See Also:
- Constant Field Values
RecentBlogPostsFragment
public RecentBlogPostsFragment()
getModel
public Model getModel()
throws ModelException
- Retrieves a certain number of blog posts with information about the last
BlogPost-s that are made under an BlogSite that is received
as parameter.
- Specified by:
getModel
in interface Fragment
- Specified by:
getModel
in class AbstractFragment
- Throws:
ModelException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.