public class OwGlobalParametersConfiguration extends Object
simple Helper to work with GlobalParameters configuration.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwGlobalParametersConfiguration(OwXMLUtil root) |
Modifier and Type | Method and Description |
---|---|
boolean |
getSafeBoolean(String paramName,
boolean defaultValue)
Return a boolean value for requested parameter.
|
int |
getSafeInteger(String paramName,
int defaultValue)
Return a boolean value for requested parameter.
|
String |
getSafeString(String paramName,
String defaultValue)
Return a boolean value for requested parameter.
|
protected OwXMLUtil |
getXMLUtil(String paramName)
Get the OwXMLUtil which is has the parameter name
|
public OwGlobalParametersConfiguration(OwXMLUtil root)
public boolean getSafeBoolean(String paramName, boolean defaultValue)
paramName
- String name of parameterdefaultValue
- boolean default valuepublic int getSafeInteger(String paramName, int defaultValue)
paramName
- String name of parameterdefaultValue
- integer default valuepublic String getSafeString(String paramName, String defaultValue)
paramName
- String name of parameterdefaultValue
- String default valueCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.