gran.app.adapter.email
Class TextMsgFormat

java.lang.Object
  extended bygran.app.adapter.email.TextMsgFormat
All Implemented Interfaces:
MsgFormat

public class TextMsgFormat
extends java.lang.Object
implements MsgFormat


Field Summary
protected  gran.app.filter.FValue flthm
           
protected  boolean messageDelete
           
protected  boolean messageView
           
protected  boolean subtasksView
           
protected  boolean taskDelete
           
protected  java.lang.String taskid
           
protected  boolean taskUDFView
           
protected  boolean taskView
           
protected  boolean uploadView
           
protected  gran.model.User user
           
protected  boolean vABACL
           
 
Constructor Summary
TextMsgFormat(gran.model.User user, java.lang.String taskid, gran.app.filter.FValue flthm)
           
 
Method Summary
 java.lang.String getIText(java.lang.String s)
           
 java.lang.String getMessages(java.util.Collection col, boolean addForm, gran.cache.TaskCacheItem tci)
           
 java.lang.String getSubtasks(java.util.Collection items)
           
 java.lang.String getTaskHeader(gran.cache.TaskCacheItem tci)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

taskid

protected java.lang.String taskid

vABACL

protected boolean vABACL

taskView

protected boolean taskView

uploadView

protected boolean uploadView

taskDelete

protected boolean taskDelete

messageView

protected boolean messageView

messageDelete

protected boolean messageDelete

taskUDFView

protected boolean taskUDFView

subtasksView

protected boolean subtasksView

user

protected gran.model.User user

flthm

protected gran.app.filter.FValue flthm
Constructor Detail

TextMsgFormat

public TextMsgFormat(gran.model.User user,
                     java.lang.String taskid,
                     gran.app.filter.FValue flthm)
              throws gran.exception.GranException
Method Detail

getIText

public java.lang.String getIText(java.lang.String s)
                          throws gran.exception.GranException
Specified by:
getIText in interface MsgFormat
Throws:
gran.exception.GranException

getTaskHeader

public java.lang.String getTaskHeader(gran.cache.TaskCacheItem tci)
                               throws gran.exception.GranException
Specified by:
getTaskHeader in interface MsgFormat
Throws:
gran.exception.GranException

getSubtasks

public java.lang.String getSubtasks(java.util.Collection items)
                             throws gran.exception.GranException
Specified by:
getSubtasks in interface MsgFormat
Throws:
gran.exception.GranException

getMessages

public java.lang.String getMessages(java.util.Collection col,
                                    boolean addForm,
                                    gran.cache.TaskCacheItem tci)
                             throws gran.exception.GranException
Specified by:
getMessages in interface MsgFormat
Throws:
gran.exception.GranException


Copyright © 2002-2003 TrackStudio, Ltd. All Rights Reserved.