本文整理汇总了Java中org.apache.isis.applib.annotation.HomePage类的典型用法代码示例。如果您正苦于以下问题:Java HomePage类的具体用法?Java HomePage怎么用?Java HomePage使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
HomePage类属于org.apache.isis.applib.annotation包,在下文中一共展示了HomePage类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: homePage
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(
semantics = SemanticsOf.SAFE
)
@HomePage
public HomePageViewModel homePage() {
List<Poliza> listPolizas = polizaRepository.listar();
for (int i = 0; i < listPolizas.size(); i++) {
listPolizas.get(i).actualizarPoliza();
}
List<Mail> mail = mailRepository.listar();
clientesPorCumpleaños.enviarMailCumpleaños();
return serviceRegistry.injectServicesInto(new HomePageViewModel());
}
开发者ID:leandrogonqn,项目名称:Proyecto2017Seguros,代码行数:14,代码来源:HomePageService.java
示例2: homePage
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(
semantics = SemanticsOf.SAFE
)
@HomePage
public HomePageViewModel homePage() {
return serviceRegistry.injectServicesInto(new HomePageViewModel());
}
开发者ID:Stephen-Cameron-Data-Services,项目名称:isis-agri,代码行数:8,代码来源:HomePageService.java
示例3: homePage
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(
semantics = SemanticsOf.SAFE
)
@HomePage
public HomePageViewModel homePage() {
return container.injectServicesInto(new HomePageViewModel());
}
开发者ID:isisaddons,项目名称:isis-app-simpledsl,代码行数:8,代码来源:HomePageService.java
示例4: lookup
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(
semantics = SemanticsOf.SAFE
//hidden = Where.EVERYWHERE
)
@HomePage
public ToDoAppDashboard lookup() {
return container.injectServicesInto(new ToDoAppDashboard());
}
开发者ID:isisaddons,项目名称:isis-app-todoapp,代码行数:9,代码来源:ToDoAppDashboardService.java
示例5: lookup
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(
semantics = SemanticsOf.SAFE
)
@HomePage
public FullCalendar2WicketToDoAppDashboard lookup() {
return container.newViewModelInstance(FullCalendar2WicketToDoAppDashboard.class, ID);
}
开发者ID:isisaddons-legacy,项目名称:isis-wicket-fullcalendar2,代码行数:8,代码来源:FullCalendar2WicketToDoAppDashboardService.java
示例6: all
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@HomePage
@ActionSemantics(Of.SAFE)
public List<SpeakerViewModel> all() {
return Lists.newArrayList(Iterables.transform(listAll(),
new Function<Speaker, SpeakerViewModel>() {
@Override
public SpeakerViewModel apply(Speaker input) {
Bookmark bookmark = bookmarkService.bookmarkFor(input);
return getContainer().newViewModelInstance(
SpeakerViewModel.class,
SpeakerViewModel.encode(bookmark));
}
})
);
}
开发者ID:danhaywood,项目名称:rrraddd-isis-131,代码行数:16,代码来源:Speakers.java
示例7: homePage
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(semantics = SemanticsOf.SAFE)
@HomePage
public HomePageViewModel homePage() {
return serviceRegistry.injectServicesInto(new HomePageViewModel());
}
开发者ID:bibryam,项目名称:rotabuilder,代码行数:6,代码来源:HomePageService.java
示例8: getClientes
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@HomePage
@CollectionLayout(named="Lista de Clientes por cumpleaños")
public List<ClientesCumpleañosViewModel> getClientes() {
return clientesPorCumpleaños.cumpleaños();
}
开发者ID:leandrogonqn,项目名称:Proyecto2017Seguros,代码行数:6,代码来源:HomePageViewModel.java
示例9: getFacturacion
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@HomePage
@CollectionLayout(named="Facturacion Anual Por Compania")
public List<FacturacionCompaniasViewModel> getFacturacion(){
return facturacionAnualPorComania.facturacion();
}
开发者ID:leandrogonqn,项目名称:Proyecto2017Seguros,代码行数:6,代码来源:HomePageViewModel.java
示例10: getPolizas
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@HomePage
@CollectionLayout(named="Polizas que se estan por vencer y aun no tienen renovacion")
public List<VencimientosPolizaCompaniaViewModel> getPolizas(){
return vencimientoPolizasGeneral.vencimiento();
}
开发者ID:leandrogonqn,项目名称:Proyecto2017Seguros,代码行数:6,代码来源:HomePageViewModel.java
示例11: lookup
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(semantics = SemanticsOf.SAFE)
@HomePage
public EstatioAppHomePage lookup() {
return new EstatioAppHomePage();
}
开发者ID:estatio,项目名称:estatio,代码行数:6,代码来源:EstatioAppHomePageService.java
注:本文中的org.apache.isis.applib.annotation.HomePage类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论