org.opennms.web.notification
Class NoticeFactory.ServiceFilter

java.lang.Object
  extended by org.opennms.web.notification.NoticeFactory.ServiceFilter
All Implemented Interfaces:
NoticeFactory.Filter
Enclosing class:
NoticeFactory

public static class NoticeFactory.ServiceFilter
extends Object
implements NoticeFactory.Filter

Encapsulates all service filtering functionality.


Field Summary
protected  int serviceId
           
static String TYPE
           
 
Constructor Summary
NoticeFactory.ServiceFilter(int serviceId)
           
 
Method Summary
 int bindParams(PreparedStatement ps, int parameterIndex)
           
 boolean equals(Object obj)
           
 String getDescription()
           
 String getParamSql()
           
 int getServiceId()
           
 String getSql()
           
 String getTextDescription()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values

serviceId

protected int serviceId
Constructor Detail

NoticeFactory.ServiceFilter

public NoticeFactory.ServiceFilter(int serviceId)
Method Detail

getSql

public String getSql()
Specified by:
getSql in interface NoticeFactory.Filter

getParamSql

public String getParamSql()
Specified by:
getParamSql in interface NoticeFactory.Filter

bindParams

public int bindParams(PreparedStatement ps,
                      int parameterIndex)
               throws SQLException
Specified by:
bindParams in interface NoticeFactory.Filter
Throws:
SQLException

getDescription

public String getDescription()
Specified by:
getDescription in interface NoticeFactory.Filter

getTextDescription

public String getTextDescription()
Specified by:
getTextDescription in interface NoticeFactory.Filter

toString

public String toString()
Overrides:
toString in class Object

getServiceId

public int getServiceId()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright ? 2008. All Rights Reserved.