org.silverpeas.admin.web.tools
Class AbstractTool

java.lang.Object
  extended by org.silverpeas.admin.web.tools.AbstractTool
Direct Known Subclasses:
AgendaTool, ClipboardTool, FavoriteLinkTool, FavoriteRequestTool, FeedbackTool, FileSharingTool, MyProfileTool, NotificationTool, ScheduleEventTool, SubscriptionTool, TodoTool, WebConnectionTool

public abstract class AbstractTool
extends Object

Author:
Yohann Chastagnier

Constructor Summary
protected AbstractTool(String language, LookHelper lookHelper, String visibleKey, String id, String labelKey, String urlComponentName)
           
protected AbstractTool(String language, LookHelper lookHelper, String visibleKey, String id, String labelKey, String urlComponentName, String urlSuffix)
           
 
Method Summary
 String getId()
           
 String getLabel()
           
protected  LookHelper getLookHelper()
           
protected  ResourceLocator getMessages()
           
 int getNb()
           
 String getUrl()
           
 boolean isVisible()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTool

protected AbstractTool(String language,
                       LookHelper lookHelper,
                       String visibleKey,
                       String id,
                       String labelKey,
                       String urlComponentName)

AbstractTool

protected AbstractTool(String language,
                       LookHelper lookHelper,
                       String visibleKey,
                       String id,
                       String labelKey,
                       String urlComponentName,
                       String urlSuffix)
Method Detail

getMessages

protected ResourceLocator getMessages()

getId

public String getId()
Returns:
the id

getLabel

public String getLabel()
Returns:
the label

getUrl

public String getUrl()
Returns:
the url

getNb

public int getNb()
Returns:
the nb

isVisible

public boolean isVisible()
Returns:
the nb

getLookHelper

protected LookHelper getLookHelper()
Returns:
the lookHelper


Copyright © 2016 Silverpeas. All Rights Reserved.