public class LabelDao extends Object implements IDataProviderDao<StringLabel>
StringLabel| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
APP_RESOURCES |
static String |
APP_RESOURCES_EN |
| コンストラクタと説明 |
|---|
LabelDao() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static void |
add(Locale l) |
long |
count()
Count the number of instances of
T |
static long |
count(Locale l,
String search) |
long |
count(String search)
Count the number of instances of
T |
static void |
delete(Locale l) |
static void |
delete(Locale l,
StringLabel entity) |
void |
delete(StringLabel entity,
Long userId)
Delete an instance of
T |
List<StringLabel> |
get(int start,
int count)
Get a list of instances of
T |
static List<StringLabel> |
get(Locale l,
String search,
int start,
int count,
org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort) |
StringLabel |
get(long id) |
StringLabel |
get(Long id)
Get an instance of an
T |
List<StringLabel> |
get(String search,
int start,
int count,
String order)
Get a list of instances of
T |
static Class<?> |
getAppClass() |
static String |
getLabelFileName(Locale l) |
static Long |
getLanguage(Locale loc,
Long def) |
static Set<Map.Entry<Long,Locale>> |
getLanguages() |
static Locale |
getLocale(Long id) |
static String |
getString(String key,
long langId) |
static void |
initLanguageMap() |
static StringLabel |
update(Locale l,
StringLabel entity) |
StringLabel |
update(StringLabel entity,
Long userId)
Update an instance of
T |
static void |
upload(Locale l,
InputStream is) |
public static Class<?> getAppClass() throws ClassNotFoundException
public static void initLanguageMap()
public static void upload(Locale l, InputStream is) throws Exception
Exceptionpublic StringLabel get(long id)
get インタフェース内 IDataProviderDao<StringLabel>public StringLabel get(Long id)
IDataProviderDaoTget インタフェース内 IDataProviderDao<StringLabel>id - - id of instance to retrievepublic List<StringLabel> get(int start, int count)
IDataProviderDaoTget インタフェース内 IDataProviderDao<StringLabel>start - - the start to range to retrievecount - - maximum instance count to retrievepublic List<StringLabel> get(String search, int start, int count, String order)
IDataProviderDaoTget インタフェース内 IDataProviderDao<StringLabel>search - - string search criteria to filter entitiesstart - - the start to range to retrievecount - - maximum instance count to retrieveorder - - column and sort orderpublic static List<StringLabel> get(Locale l, String search, int start, int count, org.apache.wicket.extensions.markup.html.repeater.util.SortParam<String> sort)
public long count()
IDataProviderDaoTcount インタフェース内 IDataProviderDao<StringLabel>public long count(String search)
IDataProviderDaoTcount インタフェース内 IDataProviderDao<StringLabel>search - - string search criteria to filter entitiespublic StringLabel update(StringLabel entity, Long userId)
IDataProviderDaoTupdate インタフェース内 IDataProviderDao<StringLabel>entity - - entity to be updateduserId - - user performed updatepublic static StringLabel update(Locale l, StringLabel entity) throws Exception
Exceptionpublic void delete(StringLabel entity, Long userId)
IDataProviderDaoTdelete インタフェース内 IDataProviderDao<StringLabel>entity - - entity to be deleteduserId - - user performed deletepublic static void delete(Locale l, StringLabel entity) throws Exception
Exceptionpublic static void delete(Locale l)
Copyright © 2012–2017 Apache Software Foundation. All rights reserved.