本文整理汇总了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());
}
示例2: homePage
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(
semantics = SemanticsOf.SAFE
)
@HomePage
public HomePageViewModel homePage() {
return serviceRegistry.injectServicesInto(new HomePageViewModel());
}
示例3: homePage
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(
semantics = SemanticsOf.SAFE
)
@HomePage
public HomePageViewModel homePage() {
return container.injectServicesInto(new HomePageViewModel());
}
示例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());
}
示例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));
}
})
);
}
示例7: homePage
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(semantics = SemanticsOf.SAFE)
@HomePage
public HomePageViewModel homePage() {
return serviceRegistry.injectServicesInto(new HomePageViewModel());
}
示例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();
}
示例9: getFacturacion
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@HomePage
@CollectionLayout(named="Facturacion Anual Por Compania")
public List<FacturacionCompaniasViewModel> getFacturacion(){
return facturacionAnualPorComania.facturacion();
}
示例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();
}
示例11: lookup
import org.apache.isis.applib.annotation.HomePage; //导入依赖的package包/类
@Action(semantics = SemanticsOf.SAFE)
@HomePage
public EstatioAppHomePage lookup() {
return new EstatioAppHomePage();
}