Companion

public class Companion extends IntEntityClass<PlayerItem>

Properties

Link copied to clipboard
private final List<Column<? extends Object>> dependsOnColumns
Link copied to clipboard
private final ColumnSet dependsOnTables
Link copied to clipboard
public final static PlayerItem.Companion INSTANCE
Link copied to clipboard
private final IdTable<Integer> table

Functions

Link copied to clipboard
public SizedIterable<PlayerItem> all()
Link copied to clipboard
public final ReadOnlyProperty<Entity<Integer>, Target> backReferencedOn<TargetID extends Any, Target extends Entity<TargetID>>(EntityClass<TargetID, Target> $self, IdTable<?> table)
public final ReadOnlyProperty<Entity<Integer>, Target> backReferencedOn<TargetID extends Any, Target extends Entity<TargetID>, REF extends Any>(EntityClass<TargetID, Target> $self, Column<REF> column)
Link copied to clipboard
public final ReadOnlyProperty<Entity<Integer>, Target> backReferencedOnOpt<TargetID extends Any, Target extends Entity<TargetID>, REF extends Any>(EntityClass<TargetID, Target> $self, Column<REF> column)
Link copied to clipboard
public final Long count(Op<Boolean> op)
Link copied to clipboard
public final SizedIterable<PlayerItem> find(Function1<SqlExpressionBuilder, Op<Boolean>> op)
public final SizedIterable<PlayerItem> find(Op<Boolean> op)
Link copied to clipboard
public final PlayerItem findById(Integer id)
public PlayerItem findById(EntityID<Integer> id)
Link copied to clipboard
public final PlayerItem findByIdAndUpdate(Integer id, Function1<PlayerItem, Unit> block)
Link copied to clipboard
public final PlayerItem findSingleByAndUpdate(Op<Boolean> op, Function1<PlayerItem, Unit> block)
Link copied to clipboard
public final Sequence<PlayerItem> findWithCacheCondition(Function1<PlayerItem, Boolean> cacheCheckCondition, Function1<SqlExpressionBuilder, Op<Boolean>> op)
Link copied to clipboard
public SizedIterable<PlayerItem> forEntityIds(List<EntityID<Integer>> ids)
Link copied to clipboard
public final SizedIterable<PlayerItem> forIds(List<Integer> ids)
Link copied to clipboard
public final PlayerItem get(Integer id)
public final PlayerItem get(EntityID<Integer> id)
Link copied to clipboard
public List<Column<? extends Object>> getDependsOnColumns()
Link copied to clipboard
public ColumnSet getDependsOnTables()
Link copied to clipboard
public final IdTable<Integer> getTable()
Link copied to clipboard
public final Boolean isAssignableTo<ID extends Any, T extends Entity<ID>>(EntityClass<ID, T> entityClass)
Link copied to clipboard
public final EntityFieldWithTransform<Unwrapped, Wrapped> memoizedTransform<Unwrapped extends Any, Wrapped extends Any>(Column<Unwrapped> $self, ColumnTransformer<Unwrapped, Wrapped> transformer)
public final EntityFieldWithTransform<TColumn, Wrapped> memoizedTransform<TColumn extends Any, Unwrapped extends Any, Wrapped extends Any>(EntityFieldWithTransform<TColumn, Unwrapped> $self, Function1<Wrapped, Unwrapped> unwrap, Function1<Unwrapped, Wrapped> wrap)
public final EntityFieldWithTransform<Unwrapped, Wrapped> memoizedTransform<Unwrapped extends Any, Wrapped extends Any>(Column<Unwrapped> $self, Function1<Wrapped, Unwrapped> unwrap, Function1<Unwrapped, Wrapped> wrap)
Link copied to clipboard
public PlayerItem new(Function1<PlayerItem, Unit> init)
public PlayerItem new(Integer id, Function1<PlayerItem, Unit> init)
Link copied to clipboard
public final OptionalBackReference<TargetID, Target, Integer, Entity<Integer>, Object> optionalBackReferencedOn<TargetID extends Any, Target extends Entity<TargetID>>(EntityClass<TargetID, Target> $self, IdTable<?> table)
public final OptionalBackReference<TargetID, Target, Integer, Entity<Integer>, REF> optionalBackReferencedOn<TargetID extends Any, Target extends Entity<TargetID>, REF extends Any>(EntityClass<TargetID, Target> $self, Column<REF> column)
Link copied to clipboard
public final OptionalBackReference<TargetID, Target, Integer, Entity<Integer>, REF> optionalBackReferencedOnOpt<TargetID extends Any, Target extends Entity<TargetID>, REF extends Any>(EntityClass<TargetID, Target> $self, Column<REF> column)
Link copied to clipboard
public final OptionalReference<Object, Integer, PlayerItem> optionalReferencedOn(IdTable<?> table)
public final OptionalReference<REF, Integer, PlayerItem> optionalReferencedOn<REF extends Any>(Column<REF> column)
Link copied to clipboard
public final Referrers<Integer, Entity<Integer>, TargetID, Target, Object> optionalReferrersOn<TargetID extends Any, Target extends Entity<TargetID>>(EntityClass<TargetID, Target> $self, IdTable<?> table)
public final Referrers<Integer, Entity<Integer>, TargetID, Target, REF> optionalReferrersOn<TargetID extends Any, Target extends Entity<TargetID>, REF extends Any>(EntityClass<TargetID, Target> $self, Column<REF> column)
public final Referrers<Integer, Entity<Integer>, TargetID, Target, Object> optionalReferrersOn<TargetID extends Any, Target extends Entity<TargetID>>(EntityClass<TargetID, Target> $self, IdTable<?> table, Boolean cache)
public final Referrers<Integer, Entity<Integer>, TargetID, Target, REF> optionalReferrersOn<TargetID extends Any, Target extends Entity<TargetID>, REF extends Any>(EntityClass<TargetID, Target> $self, Column<REF> column, Boolean cache)
Link copied to clipboard
public final Reference<Object, Integer, PlayerItem> referencedOn(IdTable<?> table)
public final Reference<REF, Integer, PlayerItem> referencedOn<REF extends Any>(Column<REF> column)
Link copied to clipboard
public final Referrers<Integer, Entity<Integer>, TargetID, Target, Object> referrersOn<TargetID extends Any, Target extends Entity<TargetID>>(EntityClass<TargetID, Target> $self, IdTable<?> table)
public final Referrers<Integer, Entity<Integer>, TargetID, Target, REF> referrersOn<TargetID extends Any, Target extends Entity<TargetID>, REF extends Any>(EntityClass<TargetID, Target> $self, Column<REF> column)
public final Referrers<Integer, Entity<Integer>, TargetID, Target, Object> referrersOn<TargetID extends Any, Target extends Entity<TargetID>>(EntityClass<TargetID, Target> $self, IdTable<?> table, Boolean cache)
public final Referrers<Integer, Entity<Integer>, TargetID, Target, REF> referrersOn<TargetID extends Any, Target extends Entity<TargetID>, REF extends Any>(EntityClass<TargetID, Target> $self, Column<REF> column, Boolean cache)
Link copied to clipboard
public final PlayerItem reload(Entity<Integer> entity, Boolean flush)
Link copied to clipboard
public final Unit removeFromCache(Entity<Integer> entity)
Link copied to clipboard
public Query searchQuery(Op<Boolean> op)
Link copied to clipboard
public final Sequence<PlayerItem> testCache(Function1<PlayerItem, Boolean> cacheCheckCondition)
public final PlayerItem testCache(EntityID<Integer> id)
Link copied to clipboard
public final EntityFieldWithTransform<Unwrapped, Wrapped> transform<Unwrapped extends Any, Wrapped extends Any>(Column<Unwrapped> $self, ColumnTransformer<Unwrapped, Wrapped> transformer)
public final EntityFieldWithTransform<TColumn, Wrapped> transform<TColumn extends Any, Unwrapped extends Any, Wrapped extends Any>(EntityFieldWithTransform<TColumn, Unwrapped> $self, Function1<Wrapped, Unwrapped> unwrap, Function1<Unwrapped, Wrapped> wrap)
public final EntityFieldWithTransform<Unwrapped, Wrapped> transform<Unwrapped extends Any, Wrapped extends Any>(Column<Unwrapped> $self, Function1<Wrapped, Unwrapped> unwrap, Function1<Unwrapped, Wrapped> wrap)
Link copied to clipboard
public final View<PlayerItem> view(Function1<SqlExpressionBuilder, Op<Boolean>> op)
Link copied to clipboard
public final List<PlayerItem> warmUpLinkedReferences<SID extends Any>(List<EntityID<SID>> references, Table linkTable, Boolean forUpdate, Boolean optimizedLoad)
Link copied to clipboard
public final List<PlayerItem> warmUpOptReferences<SID extends Any>(List<SID> references, Column<SID> refColumn, Boolean forUpdate)
Link copied to clipboard
public final List<PlayerItem> warmUpReferences<SID extends Any>(List<SID> references, Column<SID> refColumn, Boolean forUpdate)
Link copied to clipboard
public final PlayerItem wrap(EntityID<Integer> id, ResultRow row)
Link copied to clipboard
public final PlayerItem wrapRow(ResultRow row)
public final PlayerItem wrapRow(ResultRow row, Alias<IdTable<?>> alias)
public final PlayerItem wrapRow(ResultRow row, QueryAlias alias)
Link copied to clipboard
public final SizedIterable<PlayerItem> wrapRows(SizedIterable<ResultRow> rows)
public final SizedIterable<PlayerItem> wrapRows(SizedIterable<ResultRow> rows, Alias<IdTable<?>> alias)
public final SizedIterable<PlayerItem> wrapRows(SizedIterable<ResultRow> rows, QueryAlias alias)