Class OpenIDExternalScopesModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class OpenIDExternalScopesModel
    extends ItemModel
    Generated model class for type OpenIDExternalScopes first defined at extension oauth2.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of OpenIDExternalScopes.code attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • CLIENTDETAILSID

        public static final java.lang.String CLIENTDETAILSID
        Generated constant - Attribute key of OpenIDExternalScopes.clientDetailsId attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • PERMITTEDPRINCIPALS

        public static final java.lang.String PERMITTEDPRINCIPALS
        Generated constant - Attribute key of OpenIDExternalScopes.permittedPrincipals attribute defined at extension oauth2.
        See Also:
        Constant Field Values
      • SCOPE

        public static final java.lang.String SCOPE
        Generated constant - Attribute key of OpenIDExternalScopes.scope attribute defined at extension oauth2.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OpenIDExternalScopesModel

        public OpenIDExternalScopesModel()
        Generated constructor - Default constructor for generic creation.
      • OpenIDExternalScopesModel

        public OpenIDExternalScopesModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • OpenIDExternalScopesModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public OpenIDExternalScopesModel​(OpenIDClientDetailsModel _clientDetailsId,
                                         java.lang.String _code)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _clientDetailsId - initial attribute declared by type OpenIDExternalScopes at extension oauth2
        _code - initial attribute declared by type OpenIDExternalScopes at extension oauth2
      • OpenIDExternalScopesModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public OpenIDExternalScopesModel​(OpenIDClientDetailsModel _clientDetailsId,
                                         java.lang.String _code,
                                         ItemModel _owner)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _clientDetailsId - initial attribute declared by type OpenIDExternalScopes at extension oauth2
        _code - initial attribute declared by type OpenIDExternalScopes at extension oauth2
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getClientDetailsId

        @Accessor(qualifier="clientDetailsId",
                  type=GETTER)
        public OpenIDClientDetailsModel getClientDetailsId()
        Generated method - Getter of the OpenIDExternalScopes.clientDetailsId attribute defined at extension oauth2.
        Returns:
        the clientDetailsId - Client Details Id
      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the OpenIDExternalScopes.code attribute defined at extension oauth2.
        Returns:
        the code
      • getPermittedPrincipals

        @Accessor(qualifier="permittedPrincipals",
                  type=GETTER)
        public java.util.Collection<PrincipalModel> getPermittedPrincipals()
        Generated method - Getter of the OpenIDExternalScopes.permittedPrincipals attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the permittedPrincipals - Collection of Principals that are assigned to this set od scopes
      • getScope

        @Accessor(qualifier="scope",
                  type=GETTER)
        public java.util.Set<java.lang.String> getScope()
        Generated method - Getter of the OpenIDExternalScopes.scope attribute defined at extension oauth2. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the scope - Set of scopes assigned to given Principals
      • setClientDetailsId

        @Accessor(qualifier="clientDetailsId",
                  type=SETTER)
        public void setClientDetailsId​(OpenIDClientDetailsModel value)
        Generated method - Setter of OpenIDExternalScopes.clientDetailsId attribute defined at extension oauth2.
        Parameters:
        value - the clientDetailsId - Client Details Id
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of OpenIDExternalScopes.code attribute defined at extension oauth2.
        Parameters:
        value - the code
      • setPermittedPrincipals

        @Accessor(qualifier="permittedPrincipals",
                  type=SETTER)
        public void setPermittedPrincipals​(java.util.Collection<PrincipalModel> value)
        Generated method - Setter of OpenIDExternalScopes.permittedPrincipals attribute defined at extension oauth2.
        Parameters:
        value - the permittedPrincipals - Collection of Principals that are assigned to this set od scopes
      • setScope

        @Accessor(qualifier="scope",
                  type=SETTER)
        public void setScope​(java.util.Set<java.lang.String> value)
        Generated method - Setter of OpenIDExternalScopes.scope attribute defined at extension oauth2.
        Parameters:
        value - the scope - Set of scopes assigned to given Principals