com.dotmarketing.viewtools
Class CommentsWebAPI

java.lang.Object
  extended by 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


Nested Class Summary
 class CommentsWebAPI.CommentsComparator
           
 
Field Summary
static java.lang.String commentsStructureName
           
 
Constructor Summary
CommentsWebAPI()
           
 
Method Summary
 java.util.List<Contentlet> getComments(long inode)
          Deprecated. 
 java.util.List<Contentlet> getComments(java.lang.String inode)
           
 int getCommentsCount(long inode)
          Deprecated. 
 int getCommentsCount(java.lang.String inode)
           
 com.liferay.portal.model.User getUser()
           
 void init(java.lang.Object obj)
          Initializes this instance using the given data
 boolean isRespectFrontendRoles()
           
 void setRespectFrontendRoles(boolean respectFrontendRoles)
           
 void setUser(com.liferay.portal.model.User user)
           
 void validateComments(java.lang.String contentletInode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commentsStructureName

public static final java.lang.String commentsStructureName
See Also:
Constant Field Values
Constructor Detail

CommentsWebAPI

public CommentsWebAPI()
Method Detail

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.