当前位置: 首页>>代码示例>>Java>>正文


Java Where.PARENTED_TABLES属性代码示例

本文整理汇总了Java中org.apache.isis.applib.annotation.Where.PARENTED_TABLES属性的典型用法代码示例。如果您正苦于以下问题:Java Where.PARENTED_TABLES属性的具体用法?Java Where.PARENTED_TABLES怎么用?Java Where.PARENTED_TABLES使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.apache.isis.applib.annotation.Where的用法示例。


在下文中一共展示了Where.PARENTED_TABLES属性的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getUser

@Property(
        domainEvent = UserDomainEvent.class
)
@PropertyLayout(hidden=Where.PARENTED_TABLES)
@MemberOrder(name = "Permission", sequence = "1")
public ApplicationUser getUser() {
    return applicationUserRepository.findOrCreateUserByUsername(getUsername());
}
 
开发者ID:isisaddons-legacy,项目名称:isis-module-security,代码行数:8,代码来源:UserPermissionViewModel.java

示例2: getApplicationTenancy

@PropertyLayout(
		named = "Application Level",
		describedAs = "Determines those users for whom this object is available to view and/or modify.",
		hidden = Where.PARENTED_TABLES
)
public ApplicationTenancy getApplicationTenancy() {
	return applicationTenancyRepository.findByPath(getAtPath());
}
 
开发者ID:estatio,项目名称:estatio,代码行数:8,代码来源:Project.java

示例3: getApplicationTenancy

@Property(hidden = Where.PARENTED_TABLES)
@PropertyLayout(
        named = "Application Level",
        describedAs = "Determines those users for whom this object is available to view and/or modify."
)
public ApplicationTenancy getApplicationTenancy() {
    return getLease().getApplicationTenancy();
}
 
开发者ID:estatio,项目名称:estatio,代码行数:8,代码来源:Guarantee.java

示例4: getSource

/**
 * Polymorphic association to (any implementation of) {@link EventSource}.
 */
@Property(
        editing = Editing.DISABLED,
        hidden = Where.PARENTED_TABLES,
        notPersisted = true
)
public EventSource getSource() {
    final EventSourceLink link = getSourceLink();
    return link != null? link.getPolymorphicReference(): null;
}
 
开发者ID:estatio,项目名称:estatio,代码行数:12,代码来源:Event.java

示例5: getApplicationTenancy

@PropertyLayout(
        hidden = Where.PARENTED_TABLES,
        named = "Application Level",
        describedAs = "Determines those users for whom this object is available to view and/or modify."
)
public ApplicationTenancy getApplicationTenancy() {
    return getLeaseItem().getApplicationTenancy();
}
 
开发者ID:estatio,项目名称:estatio,代码行数:8,代码来源:LeaseTerm.java

示例6: getApplicationTenancy

@PropertyLayout(
        named = "Application Level",
        hidden = Where.PARENTED_TABLES,
        describedAs = "Determines those users for whom this object is available to view and/or modify."
)
public ApplicationTenancy getApplicationTenancy() {
    return securityApplicationTenancyRepository.findByPathCached(getApplicationTenancyPath());
}
 
开发者ID:estatio,项目名称:estatio,代码行数:8,代码来源:LeaseItem.java

示例7: getOwner

@Property(
        notPersisted = true,
        editing = Editing.DISABLED
)
@PropertyLayout(hidden = Where.PARENTED_TABLES)
public CommunicationChannelOwner getOwner() {
    final CommunicationChannelOwnerLink link = getOwnerLink();
    return link != null? link.getPolymorphicReference(): null;
}
 
开发者ID:estatio,项目名称:estatio,代码行数:9,代码来源:CommunicationChannel.java

示例8: getInvoiceItemStartDate

@org.apache.isis.applib.annotation.Property(hidden = Where.PARENTED_TABLES)
public LocalDate getInvoiceItemStartDate() {
    return invoiceItem.getStartDate();
}
 
开发者ID:estatio,项目名称:estatio,代码行数:4,代码来源:OrderItemInvoiceItemLink.java

示例9: getInvoiceItemEndDate

@org.apache.isis.applib.annotation.Property(hidden = Where.PARENTED_TABLES)
public LocalDate getInvoiceItemEndDate() {
    return invoiceItem.getEndDate();
}
 
开发者ID:estatio,项目名称:estatio,代码行数:4,代码来源:OrderItemInvoiceItemLink.java

示例10: getApplicationTenancy

@Override
@PropertyLayout(hidden = Where.PARENTED_TABLES)
public ApplicationTenancy getApplicationTenancy() {
    return item.getApplicationTenancy();
}
 
开发者ID:estatio,项目名称:estatio,代码行数:5,代码来源:LeaseItemSource.java

示例11: getProperty

/**
 * The {@link Property} of the (first of the) {@link #getOccupancies()
 * LeaseUnit}s.
 * <p/>
 * <p/>
 * It is not possible for the {@link Occupancy}s to belong to different
 * {@link Property properties}, and so it is sufficient to obtain the
 * {@link Property} of the first such {@link Occupancy occupancy}.
 */

@org.apache.isis.applib.annotation.Property(hidden = Where.PARENTED_TABLES)
public Property getProperty() {
    if (!getOccupancies().isEmpty()) {
        return getOccupancies().first().getUnit().getProperty();
    }
    return null;
}
 
开发者ID:estatio,项目名称:estatio,代码行数:17,代码来源:Lease.java


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