com.avaya.ccs.api

## Interface CodeListI

-     public interface CodeListI

  The `CodeListI` object represents a list of Contact Center codes administered in the Contact Center.

  The object contains a `CodeType` property and a list of `ContactCenterCodeI` objects with each representing a code in the Contact Center.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addCodeToList(ContactCenterCodeI code)` Add a `ContactCenterCodeI` to the list of codes that this object stores
    `java.util.List<ContactCenterCodeI>` | `getCodes()` A shallow copy of the list of `ContactCenterCodeI` that this object stores
    `CodeType` | `getCodeType()`

- - ### Method Detail

    - #### getCodeType

          CodeType getCodeType()

      Returns:
        the type of codes stored in this `CodeListI`

    - #### getCodes

          java.util.List<ContactCenterCodeI> getCodes()

      A shallow copy of the list of `ContactCenterCodeI` that this object stores
      Returns:
        a list of `ContactCenterCodeI`

    - #### addCodeToList

          void addCodeToList(ContactCenterCodeI code)

      Add a `ContactCenterCodeI` to the list of codes that this object stores
      Parameters:
        `code` - A code in the Contact Center