fr.paris.lutece.plugins.mylutece.modules.notification.business.folder
Interface IFolder

All Known Implementing Classes:
AbstractFolder, FolderArchive, FolderInbox, FolderOutbox, FolderPersonnal

public interface IFolder

IFolder


Method Summary
 FolderType getFolderType()
          Get the folder type
 int getIdFolder()
          Get the id folder
 java.lang.String getLabel()
          Get the label
 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
 boolean isEditable()
          Check if the folder is editable
 void setFolderType(java.util.Locale locale)
          Set the folder type
 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
 

Method Detail

getIdFolder

int getIdFolder()
Get the id folder

Returns:
the id folder

setIdFolder

void setIdFolder(int nIdFolder)
Set the id folder

Parameters:
nIdFolder - the id folder

getUrlIcon

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

Returns:
the url icon

setUrlIcon

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

Parameters:
strUrlIcon - the url icon

getUserGuid

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

Returns:
the user guid

setUserGuid

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

Parameters:
strUserGuid - the user guid

isEditable

boolean isEditable()
Check if the folder is editable

Returns:
true if it is editable, false otherwise

getLabel

java.lang.String getLabel()
Get the label

Returns:
the label

setLabel

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

Parameters:
strLabel - the label

setFolderType

void setFolderType(java.util.Locale locale)
Set the folder type

Parameters:
locale - Locale

getFolderType

FolderType getFolderType()
Get the folder type

Returns:
the FolderType

getNumberNotifications

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

Parameters:
strUserGuid - the user guid
Returns:
the number of notifications

getNumberUnreadNotifications

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

Parameters:
strUserGuid - the user guid
Returns:
the number of unread notifications


Copyright © 2011 Mairie de Paris. All Rights Reserved.