public class PkHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected ClassAccessor |
classAccessor |
static String |
copyright |
static org.slf4j.Logger |
logger |
Constructor and Description |
---|
PkHelper(ClassAccessor classAccessor) |
Modifier and Type | Method and Description |
---|---|
TextFormat |
createPkGenerator() |
String[] |
generatePkStringArray(Object object) |
String |
getPkStringForUrl(Object o,
String encoding) |
String |
getPkStringForUrl(String[] pk,
String encoding) |
Serializable |
getPrimaryKey(String... params) |
public static final String copyright
public static final org.slf4j.Logger logger
protected final ClassAccessor classAccessor
public PkHelper(ClassAccessor classAccessor)
public TextFormat createPkGenerator()
public Serializable getPrimaryKey(String... params)
public String getPkStringForUrl(Object o, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException
public String getPkStringForUrl(String[] pk, String encoding) throws UnsupportedEncodingException
UnsupportedEncodingException