public class BrowseDAOUtilsDefault extends Object implements BrowseDAOUtils
| Modifier and Type | Field and Description |
|---|---|
int |
sortColumnMaxChars
Maximum number of characters for sort columns
|
int |
valueColumnMaxChars
Maximum number of characters for value columns
|
String |
valueColumnOmissionMark
string to insert where omissions have been made
|
| Constructor and Description |
|---|
BrowseDAOUtilsDefault()
Create a new instance of the Default set of utils to use with the database.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSortColumnMaxChars()
Get the size to use for the sort columns in characters
|
int |
getValueColumnMaxChars()
Get the size to use for the 'value' columns in characters
|
String |
truncateSortValue(String value)
Truncate strings that are to be used for sorting
|
String |
truncateSortValue(String value,
int chars)
Deprecated.
|
String |
truncateValue(String value)
Truncate strings that are to be used for the 'value' columns
|
String |
truncateValue(String value,
int chars)
Deprecated.
|
public int valueColumnMaxChars
public int sortColumnMaxChars
public String valueColumnOmissionMark
public BrowseDAOUtilsDefault()
public int getValueColumnMaxChars()
getValueColumnMaxChars in interface BrowseDAOUtilspublic int getSortColumnMaxChars()
getSortColumnMaxChars in interface BrowseDAOUtilspublic String truncateValue(String value)
truncateValue in interface BrowseDAOUtilsvalue - public String truncateSortValue(String value)
truncateSortValue in interface BrowseDAOUtilsvalue - public String truncateValue(String value, int chars)
truncateValue in interface BrowseDAOUtilsvalue - chars - public String truncateSortValue(String value, int chars)
truncateSortValue in interface BrowseDAOUtilsvalue - chars - Copyright © 2015 DuraSpace. All Rights Reserved.