fr.paris.lutece.plugins.mylutece.modules.notification.business.folder
Class AbstractFolder

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.notification.business.folder.AbstractFolder
All Implemented Interfaces:
IFolder
Direct Known Subclasses:
FolderArchive, FolderInbox, FolderOutbox, FolderPersonnal

public abstract class AbstractFolder
extends java.lang.Object
implements IFolder

AbstractFolder


Constructor Summary
AbstractFolder()
           
 
Method Summary
 FolderType getFolderType()
          Get the folder type
 int getIdFolder()
          Get the id folder
abstract  java.lang.String getImgFolder()
          Get the image folder
 int getNumberNotifications(java.lang.String strUserGuid)
          Get the number of notification given an user guid
 int getNumberUnreadNotifications(java.lang.String strUserGuid)
          Get the number of unread notification given an user guid
 java.lang.String getUrlIcon()
          Get the url icon
 java.lang.String getUserGuid()
          Get the user guid
 void setFolderType(FolderType folderType)
          
 void setIdFolder(int nIdFolder)
          Set the id folder
 void setLabel(java.lang.String strLabel)
          Set the label
 void setUrlIcon(java.lang.String strUrlIcon)
          Set the url icon
 void setUserGuid(java.lang.String strUserGuid)
          Set the user guid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.paris.lutece.plugins.mylutece.modules.notification.business.folder.IFolder
getLabel, isEditable, setFolderType
 

Constructor Detail

AbstractFolder

public AbstractFolder()
Method Detail

getImgFolder

public abstract java.lang.String getImgFolder()
Get the image folder

Returns:
the image folder

setIdFolder

public void setIdFolder(int nIdFolder)
Set the id folder

Specified by:
setIdFolder in interface IFolder
Parameters:
nIdFolder - the id folder

getIdFolder

public int getIdFolder()
Get the id folder

Specified by:
getIdFolder in interface IFolder
Returns:
the id folder

setUrlIcon

public void setUrlIcon(java.lang.String strUrlIcon)
Set the url icon

Specified by:
setUrlIcon in interface IFolder
Parameters:
strUrlIcon - the url icon

getUrlIcon

public java.lang.String getUrlIcon()
Get the url icon

Specified by:
getUrlIcon in interface IFolder
Returns:
the url icon

setFolderType

public void setFolderType(FolderType folderType)


getFolderType

public FolderType getFolderType()
Get the folder type

Specified by:
getFolderType in interface IFolder
Returns:
the FolderType

setUserGuid

public void setUserGuid(java.lang.String strUserGuid)
Set the user guid

Specified by:
setUserGuid in interface IFolder
Parameters:
strUserGuid - the user guid

getUserGuid

public java.lang.String getUserGuid()
Get the user guid

Specified by:
getUserGuid in interface IFolder
Returns:
the user guid

setLabel

public void setLabel(java.lang.String strLabel)
Set the label

Specified by:
setLabel in interface IFolder
Parameters:
strLabel - the label

getNumberNotifications

public int getNumberNotifications(java.lang.String strUserGuid)
Get the number of notification given an user guid

Specified by:
getNumberNotifications in interface IFolder
Parameters:
strUserGuid - the user guid
Returns:
the number of notifications

getNumberUnreadNotifications

public int getNumberUnreadNotifications(java.lang.String strUserGuid)
Get the number of unread notification given an user guid

Specified by:
getNumberUnreadNotifications in interface IFolder
Parameters:
strUserGuid - the user guid
Returns:
the number of unread notifications


Copyright © 2011 Mairie de Paris. All Rights Reserved.