Class OpenIDExternalScopesModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • CODE

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

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

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

      public static final String SCOPE
      Generated constant - Attribute key of OpenIDExternalScopes.scope attribute defined at extension oauth2.
      See Also:
  • Constructor Details

    • 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, 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, 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 Details

    • 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 String getCode()
      Generated method - Getter of the OpenIDExternalScopes.code attribute defined at extension oauth2.
      Returns:
      the code
    • getPermittedPrincipals

      @Accessor(qualifier="permittedPrincipals", type=GETTER) public 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 Set<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(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(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(Set<String> value)
      Generated method - Setter of OpenIDExternalScopes.scope attribute defined at extension oauth2.
      Parameters:
      value - the scope - Set of scopes assigned to given Principals