• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java RenderType类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.apache.isis.applib.annotation.RenderType的典型用法代码示例。如果您正苦于以下问题:Java RenderType类的具体用法?Java RenderType怎么用?Java RenderType使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



RenderType类属于org.apache.isis.applib.annotation包,在下文中一共展示了RenderType类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: userSettingsFor

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Action(
        semantics = SemanticsOf.SAFE
)
@ActionLayout(
        named = "User Settings",
        contributed = Contributed.AS_ASSOCIATION
)
@CollectionLayout(
        named = "Settings",
        render = RenderType.EAGERLY
)
public List<UserSettingJdo> userSettingsFor(final ApplicationUser applicationUser) {
    return settingsService.listAllSettings(applicationUser.getUsername());
}
 
开发者ID:incodehq,项目名称:ecpcrm,代码行数:15,代码来源:EcpCrmUserSettingContributions.java


示例2: getItemsNotYetComplete

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
/**
 * All those items {@link ToDoItems#notYetComplete() not yet complete}, for this {@link #getDateRange() date range}.
 */
@CollectionLayout(
        render = RenderType.EAGERLY
)
public List<ToDoItem> getItemsNotYetComplete() {
    final List<ToDoItem> notYetComplete = toDoItems.notYetCompleteNoUi();
    return Lists.newArrayList(Iterables.filter(notYetComplete, thoseInDateRange()));
}
 
开发者ID:isisaddons,项目名称:isis-app-todoapp,代码行数:11,代码来源:ToDoItemsByDateRangeViewModel.java


示例3: getItemsNotYetComplete

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
/**
 * All those items {@link ToDoItems#notYetComplete() not yet complete}, for this {@link #getCategory() category}.
 */
@CollectionLayout(
        render = RenderType.EAGERLY
)
public List<ToDoItem> getItemsNotYetComplete() {
    final List<ToDoItem> notYetComplete = toDoItems.notYetCompleteNoUi();
    return Lists.newArrayList(Iterables.filter(notYetComplete, ToDoItem.Predicates.thoseCategorised(getCategory())));
}
 
开发者ID:isisaddons,项目名称:isis-app-todoapp,代码行数:11,代码来源:ToDoItemsByCategoryViewModel.java


示例4: getItemsComplete

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
/**
 * All those items {@link ToDoItems#complete() complete}, for this {@link #getCategory() category}.
 */
@CollectionLayout(
        render = RenderType.EAGERLY
)
public List<ToDoItem> getItemsComplete() {
    final List<ToDoItem> complete = toDoItems.completeNoUi();
    return Lists.newArrayList(Iterables.filter(complete, ToDoItem.Predicates.thoseCategorised(getCategory())));
}
 
开发者ID:isisaddons,项目名称:isis-app-todoapp,代码行数:11,代码来源:ToDoItemsByCategoryViewModel.java


示例5: renderLazilyToNull

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
private static RenderType renderLazilyToNull(final Render.Type value) {
    switch (value) {
        case LAZILY:
            return null;
        case EAGERLY:
            return RenderType.EAGERLY;
        default:
            // shouldn't happen, above enumerates all values
            return null;
    }
}
 
开发者ID:isisaddons-legacy,项目名称:isis-module-devutils,代码行数:12,代码来源:LayoutJsonExporter.java


示例6: getPermissions

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Collection(
        domainEvent = PermissionsDomainEvent.class
)
@CollectionLayout(
        render = RenderType.EAGERLY
)
@MemberOrder(sequence = "10")
public List<ApplicationPermission> getPermissions() {
    return applicationPermissionRepository.findByFeatureCached(getFeatureId());
}
 
开发者ID:isisaddons-legacy,项目名称:isis-module-security,代码行数:11,代码来源:ApplicationFeatureViewModel.java


示例7: getContents

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Collection(
        domainEvent = ContentsDomainEvent.class
)
@CollectionLayout(
        render = RenderType.EAGERLY
)
@MemberOrder(sequence = "4")
public List<ApplicationFeatureViewModel> getContents() {
    final SortedSet<ApplicationFeatureId> contents = getFeature().getContents();
    return asViewModels(contents);
}
 
开发者ID:isisaddons-legacy,项目名称:isis-module-security,代码行数:12,代码来源:ApplicationPackage.java


示例8: getActions

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Collection(
    domainEvent = ActionsDomainEvent.class
)
@CollectionLayout(
        render = RenderType.EAGERLY
)
@MemberOrder(sequence = "20.1")
public List<ApplicationClassAction> getActions() {
    final SortedSet<ApplicationFeatureId> members = getFeature().getActions();
    return asViewModels(members);
}
 
开发者ID:isisaddons-legacy,项目名称:isis-module-security,代码行数:12,代码来源:ApplicationClass.java


示例9: getProperties

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Collection(
        domainEvent = PropertiesCollectionDomainEvent.class
)
@CollectionLayout(
        render = RenderType.EAGERLY
)
@MemberOrder(sequence = "20.2")
public List<ApplicationClassProperty> getProperties() {
    final SortedSet<ApplicationFeatureId> members = getFeature().getProperties();
    return asViewModels(members);
}
 
开发者ID:isisaddons-legacy,项目名称:isis-module-security,代码行数:12,代码来源:ApplicationClass.java


示例10: getCollections

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Collection(
        domainEvent = CollectionsCollectionDomainEvent.class
)
@CollectionLayout(
        render = RenderType.EAGERLY
)
@MemberOrder(sequence = "20.3")
public List<ApplicationClassCollection> getCollections() {
    final SortedSet<ApplicationFeatureId> members = getFeature().getCollections();
    return asViewModels(members);
}
 
开发者ID:isisaddons-legacy,项目名称:isis-module-security,代码行数:12,代码来源:ApplicationClass.java


示例11: getPermissions

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Collection(
        domainEvent = PermissionsCollectionDomainEvent.class
)
@CollectionLayout(
        render = RenderType.EAGERLY,
        sortedBy = ApplicationPermission.DefaultComparator.class
)
@MemberOrder(sequence = "10")
public List<ApplicationPermission> getPermissions() {
    return applicationPermissionRepository.findByRole(this);
}
 
开发者ID:isisaddons-legacy,项目名称:isis-module-security,代码行数:12,代码来源:ApplicationRole.java


示例12: getUsers

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Collection(
        domainEvent = UsersDomainEvent.class,
        editing = Editing.DISABLED
)
@CollectionLayout(
        render = RenderType.EAGERLY
)
@MemberOrder(sequence = "10")
public List<ApplicationUser> getUsers() {
    return applicationUserRepository.findByAtPath(getPath());
}
 
开发者ID:isisaddons-legacy,项目名称:isis-module-security,代码行数:12,代码来源:ApplicationTenancy.java


示例13: findBudget

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Action(semantics = SemanticsOf.SAFE)
@CollectionLayout(render = RenderType.EAGERLY)
public Budget findBudget(
        final Property property,
        final Budget budget) {
    return budget;
}
 
开发者ID:estatio,项目名称:estatio,代码行数:8,代码来源:BudgetMenu.java


示例14: occupancies

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Action(semantics = SemanticsOf.SAFE)
@ActionLayout(contributed = Contributed.AS_ASSOCIATION)
@CollectionLayout(render = RenderType.EAGERLY)
public List<Occupancy> occupancies(final KeyItem keyItem) {

    return occupancyRepository.occupanciesByUnitAndInterval(keyItem.getUnit(), keyItem.getKeyTable().getBudget().getInterval());

}
 
开发者ID:estatio,项目名称:estatio,代码行数:9,代码来源:KeyItem_occupancies.java


示例15: getLines

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@SuppressWarnings("unchecked")
@Collection()
@CollectionLayout(
        render = RenderType.EAGERLY
)
public List<BudgetImportExport> getLines() {
    return budgetImportExportService.lines(this);
}
 
开发者ID:estatio,项目名称:estatio,代码行数:9,代码来源:BudgetImportExportManager.java


示例16: agreements

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Action(semantics = SemanticsOf.SAFE)
@ActionLayout(contributed = Contributed.AS_ASSOCIATION)
@CollectionLayout(render = RenderType.EAGERLY)
public List<AgreementRoleCommunicationChannel> agreements(
        final CommunicationChannel communicationChannel) {
    return agreementRoleCommunicationChannelRepository.findByCommunicationChannel(communicationChannel);
}
 
开发者ID:estatio,项目名称:estatio,代码行数:8,代码来源:AgreementRoleCommunicationChannelContributions.java


示例17: currentBankMandates

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
/**
 * A contributed collection of the current {@link BankMandate}s of the
 * {@link AgreementRoleHolder}.
 * <p/>
 * <p/>
 * All {@link BankMandate} are {@link #allBankMandate(AgreementRoleHolder)
 * contributed} as an action.
 */
@ActionLayout(contributed = Contributed.AS_ASSOCIATION)
@Action(semantics = SemanticsOf.SAFE)
@CollectionLayout(render = RenderType.LAZILY)
@MemberOrder(sequence = "80")
public Collection<BankMandate> currentBankMandates(final AgreementRoleHolder agreementRoleHolder) {
    final AgreementType agreementType = agreementTypeRepository.find(
            BankMandateAgreementTypeEnum.MANDATE);
    return Lists.newArrayList(
            Iterables.transform(
                    Iterables.filter(
                            agreementRoleHolder.getAgreements(),
                            whetherCurrentAndAgreementTypeIs(agreementType)),
                    AgreementRole.Functions.<BankMandate>agreementOf()));
}
 
开发者ID:estatio,项目名称:estatio,代码行数:23,代码来源:AgreementRoleHolder_bankMandateContributions.java


示例18: getDependencies

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@CollectionLayout(
        sortedBy = DependenciesComparator.class,
        render = RenderType.EAGERLY
)
public SortedSet<FullCalendar2WicketToDoItem> getDependencies() {
    return dependencies;
}
 
开发者ID:isisaddons-legacy,项目名称:isis-wicket-fullcalendar2,代码行数:8,代码来源:FullCalendar2WicketToDoItem.java


示例19: getEquipos

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@Column(allowsNull = "true")
@CollectionLayout(render = RenderType.EAGERLY,named= "Equipo")
public List<Equipo> getEquipos() {		
	return equipos;
}
 
开发者ID:TesisTarjetasMejorar,项目名称:TarjetasISIS,代码行数:6,代码来源:Cliente.java


示例20: getEquipos

import org.apache.isis.applib.annotation.RenderType; //导入依赖的package包/类
@CollectionLayout(render = RenderType.EAGERLY)
@MemberOrder (sequence = "24", name = "Cliente")
public List<Equipo> getEquipos() {
	return cliente.getEquipos();
}
 
开发者ID:TesisTarjetasMejorar,项目名称:TarjetasISIS,代码行数:6,代码来源:ViewModelTarjeta.java



注:本文中的org.apache.isis.applib.annotation.RenderType类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ADelete类代码示例发布时间:2022-05-23
下一篇:
Java FBDanmaku类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap