org.kuali.student.lum.common.client.configuration
Class AbstractConfiguration
java.lang.Object
org.kuali.student.lum.common.client.configuration.AbstractConfiguration
- All Implemented Interfaces:
- Configuration
- Direct Known Subclasses:
- AbstractSectionConfiguration
public abstract class AbstractConfiguration
- extends Object
- implements Configuration
Skeletal implementation of Configuration
.
- Author:
- Igor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configurer
protected Configurer configurer
AbstractConfiguration
public AbstractConfiguration()
setConfigurer
public void setConfigurer(Configurer configurer)
- Specified by:
setConfigurer
in interface Configuration
applyRestrictions
public void applyRestrictions()
- Specified by:
applyRestrictions
in interface Configuration
checkPermission
public boolean checkPermission(DataModel model)
- Specified by:
checkPermission
in interface Configuration
removeRestrictions
public void removeRestrictions()
- Specified by:
removeRestrictions
in interface Configuration
generateMessageInfo
public MessageKeyInfo generateMessageInfo(String labelKey)
- Generates a message info to be used in your field descriptor to get the label for the field.
Used by the field descriptor with the application context to determine the label to show based on
the labelKey
- Parameters:
labelKey
- key of the message - must match a message in your messages (stored in the db)
- Returns:
getLabel
public String getLabel(String labelKey)
- Gets the string corresponding to the label key passed in from the application messages
- Parameters:
labelKey
-
- Returns:
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.