Interface Parent
public interface Parent
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@NotNull Parent.Builderbuilder()@Nullable LocalDateTime@Nullable Integer@NotNull LocalDateTimeint@Nullable LocalDateTime@Nullable IntegergroupId()intid()booleanbooleanisGroup()booleanbooleanisUser()static @NotNull Parentof(int id, @Nullable Integer userId, @Nullable Integer groupId, int parentId, @Nullable LocalDateTime expiresAt, int createdBy, @NotNull LocalDateTime createdAt) intparentId()@Nullable IntegeruserId()@NotNull Parentwith(@NotNull Consumer<Parent.Builder> consumer)
-
Method Details
-
id
int id() -
userId
-
groupId
-
parentId
int parentId() -
expiresAt
-
createdBy
int createdBy() -
createdAt
-
changedBy
-
changedAt
-
isExpired
boolean isExpired() -
isPermanent
boolean isPermanent() -
isUser
boolean isUser() -
isGroup
boolean isGroup() -
builder
-
with
-
of
@NotNull static @NotNull Parent of(int id, @Nullable @Nullable Integer userId, @Nullable @Nullable Integer groupId, int parentId, @Nullable @Nullable LocalDateTime expiresAt, int createdBy, @NotNull @NotNull LocalDateTime createdAt)
-