org.liquidsite.app.template
Class UtilBean

java.lang.Object
  extended byorg.liquidsite.app.template.TemplateBean
      extended byorg.liquidsite.app.template.UtilBean

public class UtilBean
extends TemplateBean

A utility template bean. This class is used to provide utility data and functions to the template data model.


Method Summary
 java.util.Date getCurrentTime()
          Returns the current date and time.
 java.lang.String getRandomPassword()
          Returns a new random password.
 
Methods inherited from class org.liquidsite.app.template.TemplateBean
getContext, getContextRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCurrentTime

public java.util.Date getCurrentTime()
Returns the current date and time.

Returns:
the current date and time

getRandomPassword

public java.lang.String getRandomPassword()
Returns a new random password. The generated password can be used for various types of authentication.

Returns:
the new random password