Search in sources :

Example 1 with ASILayout

use of de.metas.ui.web.pattribute.ASILayout in project metasfresh-webui-api by metasfresh.

the class ASIViewRowAttributesProvider method createAttributes.

private final ASIViewRowAttributes createAttributes(final DocumentId asiId) {
    final ASIDocument asiDoc = asiRepository.loadReadonly(asiId.toInt());
    final ASILayout asiLayout = asiDoc.getLayout();
    return new ASIViewRowAttributes(asiDoc, asiLayout);
}
Also used : ASIDocument(de.metas.ui.web.pattribute.ASIDocument) ASILayout(de.metas.ui.web.pattribute.ASILayout)

Aggregations

ASIDocument (de.metas.ui.web.pattribute.ASIDocument)1 ASILayout (de.metas.ui.web.pattribute.ASILayout)1