Uses of Interface
dev.orne.beans.Identity

Packages that use Identity
Package
Description
Utilities for bean manipulation.
Extra converters for Apache commons beanutils.
Jakarta JSON Bind support classes.
  • Uses of Identity in dev.orne.beans

    Classes in dev.orne.beans that implement Identity
    Modifier and Type
    Class
    Description
    class 
    Abstract implementation for Identity for identities composed of a multiple inner values.
    class 
    Base abstract implementation for Identity.
    class 
    Abstract implementation for Identity for identities composed of a single inner value.
    class 
    Implementation for Identity for identities composed of a single inner BigInteger value.
    class 
    Implementation for Identity for identities composed of a single inner Long value.
    class 
    Implementation for Identity for identities composed of a single inner String value.
    class 
    Implementation of Identity for identities of unknown format restored from identity tokens.
    Methods in dev.orne.beans with type parameters of type Identity
    Modifier and Type
    Method
    Description
    default <T extends Identity>
    T
    Identity.resolve(Class<T> type)
    Resolves this identity to an identity of the specified target type.
    <T extends Identity>
    @Nullable T
    IdentityResolver.resolve(@Nullable Identity identity, Class<T> targetType)
    Resolves the specified source identity to an identity of the specified target type.
    <T extends Identity>
    @Nullable T
    IdentityResolver.resolve(@Nullable String identityToken, Class<T> targetType)
    Resolves the specified source identity token to an identity of the specified target type.
    Methods in dev.orne.beans that return Identity
    Modifier and Type
    Method
    Description
    @Nullable Identity
    BaseIdentityBean.getIdentity()
    Returns the instance's identity.
    @NotNull(groups=RequireIdentity.class) @Valid @ConvertGroup(from=RequireIdentity.class,to=javax.validation.groups.Default.class) @Nullable Identity
    IdentityBean.getIdentity()
    Returns the instance's identity.
    Methods in dev.orne.beans with parameters of type Identity
    Modifier and Type
    Method
    Description
    boolean
    ValidIdentity.ValidIdentityValidator.isValid(@Nullable Identity value, javax.validation.ConstraintValidatorContext context)
    static boolean
    ValidIdentity.ValidIdentityValidator.isValid(Identity value)
    Returns true if specified bean is valid reference to it's bean type.
    static boolean
    ValidIdentity.ValidIdentityValidator.isValid(Identity value, Class<? extends Identity> expectedType)
    Returns true if specified bean is valid reference to it's bean type.
    @Nullable String
    TokenIdentity.IdentityXmlAdapter.marshal(@Nullable Identity identity)
    Serializes specified Identity as a String value.
    <T extends Identity>
    @Nullable T
    IdentityResolver.resolve(@Nullable Identity identity, Class<T> targetType)
    Resolves the specified source identity to an identity of the specified target type.
    void
    BaseIdentityBean.setIdentity(@Nullable Identity identity)
    Sets the instance's identity.
    void
    WritableIdentityBean.setIdentity(@Nullable Identity identity)
    Sets the instance's identity.
    Method parameters in dev.orne.beans with type arguments of type Identity
    Modifier and Type
    Method
    Description
    boolean
    IdentityResolver.Cache.contains(Class<? extends Identity> key)
    Returns true if this instance contains an entry for the specified identity type.
    boolean
    IdentityResolver.WeakHashMapCache.contains(Class<? extends Identity> key)
    Returns true if this instance contains an entry for the specified identity type.
    @Nullable Executable
    IdentityResolver.Cache.get(Class<? extends Identity> key)
    Returns the cached identity token resolution executable for the specified identity type, if any.
    @Nullable Executable
    IdentityResolver.WeakHashMapCache.get(Class<? extends Identity> key)
    Returns the cached identity token resolution executable for the specified identity type, if any.
    protected Executable
    IdentityResolver.getResolver(Class<? extends Identity> targetType)
    Returns the method or constructor to be used to resolve identity tokens for the specified target identity type.
    static boolean
    ValidIdentity.ValidIdentityValidator.isValid(Identity value, Class<? extends Identity> expectedType)
    Returns true if specified bean is valid reference to it's bean type.
    static boolean
    ValidIdentity.ValidIdentityValidatorForString.isValid(String value, Class<? extends Identity> expectedType)
    Returns true if specified bean is valid reference to it's bean type.
    void
    IdentityResolver.Cache.put(Class<? extends Identity> key, @Nullable Executable value)
    Puts the specified identity token resolution executable for the specified identity type.
    void
    IdentityResolver.WeakHashMapCache.put(Class<? extends Identity> key, @Nullable Executable value)
    Puts the specified identity token resolution executable for the specified identity type.
  • Uses of Identity in dev.orne.beans.converters

    Methods in dev.orne.beans.converters that return Identity
    Modifier and Type
    Method
    Description
    protected Identity
    IdentityBeanConverter.convertIdentity(Object value)
    Converts the value to a Identity instance.
    Constructors in dev.orne.beans.converters with parameters of type Identity
    Modifier
    Constructor
    Description
     
    IdentityConverter(@Nullable Identity defaultValue)
    Creates a new instance that returns a default value if an error occurs.
  • Uses of Identity in dev.orne.beans.jsonb

    Methods in dev.orne.beans.jsonb that return Identity
    Modifier and Type
    Method
    Description
    @Nullable Identity
    JsonbIdentityAdapter.adaptFromJson(@Nullable String value)
    Parses specified String as a TokenIdentity instance.
    Methods in dev.orne.beans.jsonb with parameters of type Identity
    Modifier and Type
    Method
    Description
    @Nullable String
    JsonbIdentityAdapter.adaptToJson(@Nullable Identity identity)
    Serializes specified Identity as a String value.