本文整理汇总了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());
}
示例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());
}
示例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();
}
示例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;
}
示例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();
}
示例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());
}
示例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;
}
示例8: getInvoiceItemStartDate
@org.apache.isis.applib.annotation.Property(hidden = Where.PARENTED_TABLES)
public LocalDate getInvoiceItemStartDate() {
return invoiceItem.getStartDate();
}
示例9: getInvoiceItemEndDate
@org.apache.isis.applib.annotation.Property(hidden = Where.PARENTED_TABLES)
public LocalDate getInvoiceItemEndDate() {
return invoiceItem.getEndDate();
}
示例10: getApplicationTenancy
@Override
@PropertyLayout(hidden = Where.PARENTED_TABLES)
public ApplicationTenancy getApplicationTenancy() {
return item.getApplicationTenancy();
}
示例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;
}