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 |
commentsStructureName
public static final java.lang.String commentsStructureName
- See Also:
- Constant Field Values
CommentsWebAPI
public CommentsWebAPI()
init
public void init(java.lang.Object obj)
- Description copied from interface:
org.apache.velocity.tools.view.tools.ViewTool
- Initializes this instance using the given data
- Specified by:
init in interface org.apache.velocity.tools.view.tools.ViewTool
- Parameters:
obj - the initialization data
getComments
@Deprecated
public java.util.List<Contentlet> getComments(long inode)
- Deprecated.
getComments
public java.util.List<Contentlet> getComments(java.lang.String inode)
validateComments
public void validateComments(java.lang.String contentletInode)
throws DotSecurityException
- Throws:
DotSecurityException
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 © 2010 dotCMS Inc. All Rights Reserved.