public class OpenableHelper extends CommentableHelper
| Modifier and Type | Field and Description |
|---|---|
static Function<OpenableDto,Boolean> |
OPEN_FUNCTION |
COMMENT_FUNCTION| Constructor and Description |
|---|
OpenableHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <BeanType extends OpenableDto> |
copyOpenableDto(BeanType source,
BeanType target) |
static <BeanType extends OpenableDto> |
copyOpenableDto(BeanType source,
BeanType target,
org.nuiton.util.beans.Binder<BeanType,BeanType> binder) |
static <BeanType extends OpenableDto> |
filterByOpen(Collection<BeanType> $source,
boolean open) |
static <BeanType extends OpenableDto> |
newOpenPredicate(boolean open) |
static <BeanType extends OpenableDto> |
typeOfOpenableDto() |
static <BeanType extends OpenableDto> |
uniqueIndexByOpen(Iterable<BeanType> $source) |
copyCommentableDto, copyCommentableDto, filterByComment, newCommentPredicate, typeOfCommentableDto, uniqueIndexByCommentpublic static final Function<OpenableDto,Boolean> OPEN_FUNCTION
public static <BeanType extends OpenableDto> Class<BeanType> typeOfOpenableDto()
public static <BeanType extends OpenableDto> void copyOpenableDto(BeanType source, BeanType target)
public static <BeanType extends OpenableDto> void copyOpenableDto(BeanType source, BeanType target, org.nuiton.util.beans.Binder<BeanType,BeanType> binder)
public static <BeanType extends OpenableDto> Predicate<BeanType> newOpenPredicate(boolean open)
public static <BeanType extends OpenableDto> List<BeanType> filterByOpen(Collection<BeanType> $source, boolean open)
public static <BeanType extends OpenableDto> com.google.common.collect.ImmutableMap<Boolean,BeanType> uniqueIndexByOpen(Iterable<BeanType> $source)
Copyright © 2008–2017 IRD. All rights reserved.