public abstract class AbstractConfiguration extends Object implements Configuration
Configuration
.Modifier and Type | Field and Description |
---|---|
protected Configurer |
configurer |
Constructor and Description |
---|
AbstractConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
applyRestrictions() |
boolean |
checkPermission(DataModel model) |
MessageKeyInfo |
generateMessageInfo(String labelKey)
Generates a message info to be used in your field descriptor to get the label for the field.
|
String |
getLabel(String labelKey)
Gets the string corresponding to the label key passed in from the application messages
|
void |
removeRestrictions() |
void |
setConfigurer(Configurer configurer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asWidget, getName, getView
protected Configurer configurer
public AbstractConfiguration()
public void setConfigurer(Configurer configurer)
setConfigurer
in interface Configuration
public void applyRestrictions()
applyRestrictions
in interface Configuration
public boolean checkPermission(DataModel model)
checkPermission
in interface Configuration
public void removeRestrictions()
removeRestrictions
in interface Configuration
public MessageKeyInfo generateMessageInfo(String labelKey)
labelKey
- key of the message - must match a message in your messages (stored in the db)Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.