public interface IPageParameters
| Modifier and Type | Method and Description |
|---|---|
String |
calculateHashString()
EXPENSIVE Hash all parameter values into an MD5 hash.
|
boolean |
equals(Object obj)
Compare this with another instance.
|
boolean |
getBoolean(String name)
Gets the value for the specified parametername as a boolean (primitive).
|
boolean |
getBoolean(String name,
boolean df)
Gets the value for the specified parametername as a boolean (primitive).
|
int |
getDataLength()
Return the number of characters that this would take on an url.
|
int |
getInt(String name)
Gets the value for the specified parametername as an int (primitive).
|
int |
getInt(String name,
int df)
Gets the value for the specified parametername as an int (primitive).
|
long |
getLong(String name)
Gets the value for the specified parametername as a long (primitive).
|
long |
getLong(String name,
long df)
Gets the value for the specified parametername as a long (primitive).
|
Long |
getLongW(String name)
Gets the value for the specified parametername as a Long object.
|
Long |
getLongW(String name,
long df)
Gets the value for the specified parametername as a Long object.
|
Long |
getLongW(String name,
Long df)
Gets the value for the specified parametername as a Long object.
|
String[] |
getParameterNames()
Gets all the names of the parameters this object is holding
|
String |
getString(String name)
Gets the value for the specified parametername as a String object.
|
String |
getString(String name,
String df)
Gets the value for the specified parametername as a String object.
|
String[] |
getStringArray(String name)
Gets the value for the specified parametername as a String array.
|
String[] |
getStringArray(String name,
String[] deflt) |
PageParameters |
getUnlockedCopy()
Creates copy of current PageParameters.
|
int |
hashCode() |
boolean |
hasParameter(String name)
Indicates whether a given parameter name exists in this PageParameters object.
|
boolean |
isReadOnly() |
int |
size() |
PageParameters getUnlockedCopy()
boolean hasParameter(String name)
name, - the name of the parameter to be checked for.int getInt(String name)
name, - the name of the parameter who's value is to be retrieved.int getInt(String name, int df)
name, - the name of the parameter who's value is to be retrieved.df, - the default value to be returned, when the specified parameter does not exist.long getLong(String name)
name, - the name of the parameter who's value is to be retrieved.long getLong(String name, long df)
name, - the name of the parameter who's value is to be retrieved.df, - the default value to be returned, when the specified parameter does not exist.boolean getBoolean(String name)
name, - the name of the parameter who's value is to be retrieved.boolean getBoolean(String name, boolean df)
name, - the name of the parameter who's value is to be retrieved.df, - the default value to be returned, when the specified parameter does not exist.Long getLongW(String name)
name, - the name of the parameter who's value is to be retrieved.Long getLongW(String name, long df)
name, - the name of the parameter who's value is to be retrieved.df, - the default value to be returned, when the specified parameter does not exist.Long getLongW(String name, Long df)
name, - the name of the parameter who's value is to be retrieved.df, - the default value to be returned, when the specified parameter does not exist.@Nonnull String getString(String name)
name, - the name of the parameter who's value is to be retrieved.@Nullable String getString(String name, String df)
name, - the name of the parameter who's value is to be retrieved.df, - the default value to be returned, when the specified parameter does not exist.@Nonnull String[] getStringArray(@Nonnull String name)
name, - the name of the parameter who's value is to be retrieved.@Nonnull String[] getParameterNames()
boolean equals(Object obj)
We check the size of the maps; if they are equal we ONLY have to check that each key-value pair in SOURCE exists in TARGET AND is the same. We don't need to check for "thingies in SRC that do not occur in TGT" because that cannot happen if the map sizes are equal.
equals in class ObjectObject.equals(java.lang.Object)@Nonnull String calculateHashString()
int getDataLength()
boolean isReadOnly()
int size()
Copyright © 2017 etc.to. All rights reserved.