Package com.documentum.fc.common

# Interface IMipLabelService

All Known Implementing Classes:
  `MipLabelServiceImpl`

public interface IMipLabelService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isMipProtectionSettingPresent()`
  This method isMipProtectionSettingPresent checks whether the MIP protection setting is present in CS session Cache and returns true if it is found; otherwise, it returns false.
  `List<LabelInfo>`
  `listMipLabels()`
  listMipLabels methos is resposible for retruning the label from server
  `boolean`
  `refreshMipCache()`
  Refreshes the Microsoft Information Protection (MIP) cache.

- ## Method Details

  - ### listMipLabels

    List<LabelInfo> listMipLabels() throws DfException
    listMipLabels methos is resposible for retruning the label from server
    Returns:
      listMipLabels in array of LabelInfo
    Throws:
      `DfException`

  - ### refreshMipCache

    boolean refreshMipCache() throws DfException
    Refreshes the Microsoft Information Protection (MIP) cache. This method attempts to refresh the MIP cache, which may contain classification labels, policies, or protection templates used for labeling and securing documents. It ensures that the latest data from the MIP server is available for application usage.
    Returns:
      true if the cache refresh was successful; false otherwise.
    Throws:
      `DfException` - if there is an issue while refreshing the MIP cache, such as communication errors with the MIP server or other runtime exceptions.

  - ### isMipProtectionSettingPresent

    boolean isMipProtectionSettingPresent() throws DfException
    This method isMipProtectionSettingPresent checks whether the MIP protection setting is present in CS session Cache and returns true if it is found; otherwise, it returns false. It may throw a DfException in case of any errors during execution.
    Returns:
    Throws:
      `DfException`