use of de.metas.ui.web.window.datatypes.DocumentType in project metasfresh-webui-api by metasfresh.
the class QuickInputDescriptorFactoryService method hasQuickInputEntityDescriptor.
public boolean hasQuickInputEntityDescriptor(@NonNull final DocumentEntityDescriptor includedDocumentDescriptor) {
final DocumentType documentType = includedDocumentDescriptor.getDocumentType();
final DocumentId documentTypeId = includedDocumentDescriptor.getDocumentTypeId();
final String tableName = includedDocumentDescriptor.getTableNameOrNull();
final DetailId detailId = includedDocumentDescriptor.getDetailId();
final Optional<Boolean> soTrx = includedDocumentDescriptor.getIsSOTrx();
return getQuickInputEntityDescriptorOrNull(documentType, documentTypeId, tableName, detailId, soTrx) != null;
}
use of de.metas.ui.web.window.datatypes.DocumentType in project metasfresh-webui-api by metasfresh.
the class QuickInputDescriptorFactoryService method getQuickInputEntityDescriptor.
public QuickInputDescriptor getQuickInputEntityDescriptor(final DocumentEntityDescriptor includedDocumentDescriptor) {
final DocumentType documentType = includedDocumentDescriptor.getDocumentType();
final DocumentId documentTypeId = includedDocumentDescriptor.getDocumentTypeId();
final String tableName = includedDocumentDescriptor.getTableNameOrNull();
final DetailId detailId = includedDocumentDescriptor.getDetailId();
final Optional<Boolean> soTrx = includedDocumentDescriptor.getIsSOTrx();
return getQuickInputEntityDescriptor(documentType, documentTypeId, tableName, detailId, soTrx);
}
Aggregations