Package com.emc.documentum.rest.dfc

# Interface AspectManager

public interface AspectManager
The aspect manager.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ObjectAspects`
  `attachAspect(String objectId, String... aspect)`
  `void`
  `attachAspects(PersistentObject object, List<String> aspectNames)`
  Deprecated.
  use `attachAspect(String, String...)`
  `void`
  `detachAspect(String objectId, String... aspect)`
  `AspectTypeObject`
  `getAspectType(String aspectTypeName, AttributeView view, String locale)`
  `ObjectAspects`
  `getAttachedAspect(String objectId)`

- ## Method Details

  - ### attachAspects

    @Deprecated void attachAspects(PersistentObject object, List<String> aspectNames)
    Deprecated.
    use `attachAspect(String, String...)`
    Attach a list of aspects to the persistent object.
    Parameters:
      `object` - the persistent object
      `aspectNames` - the list of aspect names

  - ### getAspectType

    AspectTypeObject getAspectType(String aspectTypeName, AttributeView view, String locale) throws com.documentum.fc.common.DfException
    Throws:
      `com.documentum.fc.common.DfException`

  - ### attachAspect

    ObjectAspects attachAspect(String objectId, String... aspect) throws com.documentum.fc.common.DfException
    Throws:
      `com.documentum.fc.common.DfException`

  - ### detachAspect

    void detachAspect(String objectId, String... aspect) throws com.documentum.fc.common.DfException
    Throws:
      `com.documentum.fc.common.DfException`

  - ### getAttachedAspect

    ObjectAspects getAttachedAspect(String objectId) throws com.documentum.fc.common.DfException
    Throws:
      `com.documentum.fc.common.DfException`