global without sharing class DummyController {
|
public String getLoginUserLanguage() {
|
return UserInfo.getLanguage();
|
}
|
|
// TODO シングルトンに変更
|
public PersonalEvaluation__c pe { get; set; }
|
|
public DummyController() {
|
pe = new PersonalEvaluation__c();
|
}
|
|
// sql実行、without sharing が必要です
|
@RemoteAction
|
global static List<SObject> querySql(String sql) {
|
List<SObject> rsList = Database.query(sql);
|
return rsList;
|
}
|
}
|