cst.loggingTool.persistenceLayer
Class AbstractFilterCommand
java.lang.Object
cst.loggingTool.persistenceLayer.AbstractFilterCommand
- Direct Known Subclasses:
- CompletionFilterCommand, DateFilterCommand, ShowAllFilterCommand, SubjectAttributeFilterCommand
public abstract class AbstractFilterCommand
- extends java.lang.Object
Describes properties of a filter command that is used in the
FiltersMenu
menu of the Logging Tool.
The family of filter command classes that extend this class encapsulate a number of
properties and activities:
Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
- Version:
- 1.0
- Author:
- Kevin Garwood (kgarwood@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionProperties
protected SessionProperties sessionProperties
displayName
protected java.lang.String displayName
toolTip
protected java.lang.String toolTip
database
protected LoggingServiceAPI database
compositeFilter
protected CompositeFilter compositeFilter
AbstractFilterCommand
public AbstractFilterCommand(SessionProperties sessionProperties)
getDisplayName
public java.lang.String getDisplayName()
- Returns:
- the displayName
setDisplayName
public void setDisplayName(java.lang.String displayName)
- Parameters:
displayName
- the displayName to set
getToolTip
public java.lang.String getToolTip()
- Returns:
- the toolTip
setToolTip
public void setToolTip(java.lang.String toolTip)
- Parameters:
toolTip
- the toolTip to set
getLoggingService
protected LoggingServiceAPI getLoggingService()
- Returns:
- the database
updateCompositeFilter
public abstract void updateCompositeFilter()
getShortStatusMessage
public abstract java.lang.String getShortStatusMessage()
getLongStatusMessage
public abstract java.lang.String getLongStatusMessage()