本文整理了Java中org.apache.isis.applib.annotation.Action
类的一些代码示例,展示了Action
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Action
类的具体详情如下:
包路径:org.apache.isis.applib.annotation.Action
类名称:Action
暂无
代码示例来源:origin: org.incode.example.document/incode-example-document-dom
@Action(
semantics = SemanticsOf.IDEMPOTENT,
domainEvent = ActionDomainEvent.class
)
public DocumentTemplate $$(
final RenderingStrategy renderingStrategy) {
documentTemplate.setContentRenderingStrategy(renderingStrategy);
return documentTemplate;
}
代码示例来源:origin: org.incode.example.document/incode-example-document-dom
@Action(
semantics = SemanticsOf.SAFE,
domainEvent = ActionDomainEvent.class
)
public List<CommandJdo> $$() {
return super.$$();
}
代码示例来源:origin: org.incode.example.document/incode-example-document-dom
@Action(
semantics = SemanticsOf.IDEMPOTENT_ARE_YOU_SURE,
domainEvent = ActionDomainEvent.class
)
public void $$() {
documentTemplateRepository.delete(documentTemplate);
return;
}
public TranslatableString disable$$() {
代码示例来源:origin: org.incode.module.document/incode-module-document-dom
@Action(
semantics = SemanticsOf.SAFE,
domainEvent = ActionDomainEvent.class
)
public List<CommandJdo> $$() {
return super.$$();
}
代码示例来源:origin: isisaddons/isis-app-todoapp
@Action(
hidden = Where.EVERYWHERE
)
public void completeSlowly(final int millis) {
try {
Thread.sleep(millis);
} catch (final InterruptedException ignored) {
}
setComplete(true);
}
//endregion
代码示例来源:origin: org.incode.example.document/incode-example-document-dom
@Action(
semantics = SemanticsOf.IDEMPOTENT,
domainEvent = ActionDomainEvent.class
)
public DocumentTemplate $$(
final RenderingStrategy renderingStrategy) {
documentTemplate.setNameRenderingStrategy(renderingStrategy);
return documentTemplate;
}
代码示例来源:origin: org.incode.module.document/incode-module-document-dom
@Action(
semantics = SemanticsOf.IDEMPOTENT,
domainEvent = ActionDomainEvent.class
)
public DocumentTemplate $$(
final RenderingStrategy renderingStrategy) {
documentTemplate.setNameRenderingStrategy(renderingStrategy);
return documentTemplate;
}
代码示例来源:origin: org.isisaddons.module.settings/isis-module-settings-dom
@Action(
domainEvent = UpdateAsBooleanDomainEvent.class
)
public SettingAbstractJdo updateAsBoolean(
@ParameterLayout(named = "Value")
final Boolean value) {
setValueRaw(value.toString());
return this;
}
public Boolean default0UpdateAsBoolean() {
代码示例来源:origin: org.apache.isis.core/isis-core-applib
@Action(
semantics = SemanticsOf.SAFE,
domainEvent = OpenSwaggerUiDomainEvent.class,
restrictTo = RestrictTo.PROTOTYPING
)
@ActionLayout(
cssClassFa = "fa-external-link"
)
@MemberOrder(sequence="500.600.1")
public URL openSwaggerUi() throws MalformedURLException {
return new java.net.URL("http:///swagger-ui/index.html");
}
代码示例来源:origin: org.isisaddons.module.settings/isis-module-settings-dom
@Action(
domainEvent = UpdateAsIntDomainEvent.class
)
public SettingAbstractJdo updateAsInt(
@ParameterLayout(named = "Value")
final Integer value) {
setValueRaw(value.toString());
return this;
}
public Integer default0UpdateAsInt() {
代码示例来源:origin: org.isisaddons.module.settings/isis-module-settings-dom
@Action(
domainEvent = UpdateAsLongDomainEvent.class
)
public SettingAbstractJdo updateAsLong(
@ParameterLayout(named = "Value") final
Long value) {
setValueRaw(value.toString());
return this;
}
public Long default0UpdateAsLong() {
代码示例来源:origin: org.apache.isis.core/isis-core-applib
@Action(
semantics = SemanticsOf.SAFE,
hidden = Where.EVERYWHERE
)
@HomePage
public T lookup() {
return newViewModelInstance(viewModel, id);
}
代码示例来源:origin: org.apache.isis.core/isis-core-runtime
@Action(
restrictTo = RestrictTo.PROTOTYPING
)
@ActionLayout(
describedAs = "Retrieved all the saved objects"
)
@MemberOrder(sequence = "4")
public Set<Object> allSavedObjects() {
return objects;
}
代码示例来源:origin: org.incode.module.document/incode-module-document-dom
@Action(
semantics = SemanticsOf.SAFE,
domainEvent = ActionDomainEvent.class
)
@ActionLayout(named = "Download")
public Blob $$() {
return urlDownloadService.downloadAsBlob(document);
}
代码示例来源:origin: org.incode.example.document/incode-example-document-dom
@Action(
semantics = SemanticsOf.SAFE,
domainEvent = ActionDomainEvent.class
)
@ActionLayout(named = "Download")
public Clob $$() {
return urlDownloadService.downloadAsClob(document);
}
代码示例来源:origin: org.isisaddons.module.settings/isis-module-settings-dom
@Action(
domainEvent = UpdateAsStringDomainEvent.class
)
public SettingAbstractJdo updateAsString(
@ParameterLayout(named = "Value")
final String value) {
setValueRaw(value);
return this;
}
public String default0UpdateAsString() {
代码示例来源:origin: org.apache.isis.core/isis-core-applib
@Action(
domainEvent = ActionDomainEvent.class,
semantics = SemanticsOf.SAFE
)
@ActionLayout(
contributed = Contributed.AS_ACTION,
cssClassFa = "fa-bookmark"
)
public Object act() {
return bookmarkService.lookup(bookmarkHolder);
}
代码示例来源:origin: org.incode.example.document/incode-example-document-dom
@Action(
semantics = SemanticsOf.IDEMPOTENT,
domainEvent = ActionDomainEvent.class
)
public DocumentTemplate $$(
@ParameterLayout(named = "New date")
final LocalDate date) {
documentTemplate.setDate(date);
return documentTemplate;
}
代码示例来源:origin: org.incode.module.document/incode-module-document-dom
@Action(
semantics = SemanticsOf.IDEMPOTENT,
domainEvent = ActionDomainEvent.class
)
public DocumentTemplate $$(
@ParameterLayout(named = "New date")
final LocalDate date) {
documentTemplate.setDate(date);
return documentTemplate;
}
代码示例来源:origin: org.apache.isis.core/isis-core-applib
@Action(
semantics = SemanticsOf.SAFE,
domainEvent = BookmarkHolder_object.ActionDomainEvent.class
)
@ActionLayout(
contributed = Contributed.AS_ASSOCIATION
)
public Object prop() {
return bookmarkService.lookup(bookmarkHolder);
}
内容来源于网络,如有侵权,请联系作者删除!