com.dotmarketing.viewtools
Class CommentsWebAPI
java.lang.Object
com.dotmarketing.viewtools.CommentsWebAPI
- All Implemented Interfaces:
- org.apache.velocity.tools.view.tools.ViewTool
public class CommentsWebAPI
- extends java.lang.Object
- implements org.apache.velocity.tools.view.tools.ViewTool
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commentsVelocityStructureName
public static final java.lang.String commentsVelocityStructureName
- See Also:
- Constant Field Values
CommentsWebAPI
public CommentsWebAPI()
init
public void init(java.lang.Object obj)
- Specified by:
init in interface org.apache.velocity.tools.view.tools.ViewTool
getComments
@Deprecated
public java.util.List<Contentlet> getComments(long inode)
- Deprecated.
getComments
public java.util.List<Contentlet> getComments(java.lang.String inode,
boolean descendingOrder)
getComments
public java.util.List<Contentlet> getComments(java.lang.String inode)
validateComments
public void validateComments(java.lang.String contentletInode)
throws DotSecurityException,
DotHibernateException
- Throws:
DotSecurityException
DotHibernateException
validateComments
public void validateComments(Contentlet contentlet)
throws DotSecurityException,
DotHibernateException
- Throws:
DotSecurityException
DotHibernateException
getCommentsCount
public int getCommentsCount(java.lang.String inode)
getCommentsCount
@Deprecated
public int getCommentsCount(long inode)
- Deprecated.
getUser
public com.liferay.portal.model.User getUser()
setUser
public void setUser(com.liferay.portal.model.User user)
isRespectFrontendRoles
public boolean isRespectFrontendRoles()
setRespectFrontendRoles
public void setRespectFrontendRoles(boolean respectFrontendRoles)
Copyright © 2013 dotCMS Inc. All Rights Reserved.