Package com.emc.documentum.rest.dfc
Interface LightweightObjectManager
public interface LightweightObjectManager
The lightweight object manager.
-
Method Summary
Modifier and TypeMethodDescriptiondematerialize
(String objectId) Dematerialize a lightweight object.getLightweightType
(String sharedParentId) Get the lightweight object type which shares this shared parent objectgetParentObject
(String objectId, AttributeView attributeView) Get the parent object of a lightweight object If the object's parent is itself, the DfException will be thrownmaterialize
(String objectId) Materialize a lightweight object.Reparent the lightweight object to a new shareable parent.
-
Method Details
-
materialize
Materialize a lightweight object. The object must be a lightweight object and not materialized.- Parameters:
objectId
- the lightweight object id- Returns:
- the materialized object
- Throws:
com.documentum.fc.common.DfException
- the exceptions during materialize
-
dematerialize
Dematerialize a lightweight object. The object must be a lightweight object and materialize.- Parameters:
objectId
- the lightweight object id- Returns:
- the dematerialized object
- Throws:
com.documentum.fc.common.DfException
- the exceptions during dematerialize
-
reparent
Reparent the lightweight object to a new shareable parent.- Parameters:
objectId
- the lightweight object idnewParent
- the new parent shareable object id- Returns:
- the reparented object
- Throws:
com.documentum.fc.common.DfException
- the exceptions during reparent
-
getParentObject
SysObject getParentObject(String objectId, AttributeView attributeView) throws com.documentum.fc.common.DfException Get the parent object of a lightweight object If the object's parent is itself, the DfException will be thrown- Parameters:
objectId
- the lightweight object idattributeView
- the attribute view- Returns:
- the parent sysobject
- Throws:
com.documentum.fc.common.DfException
- the exceptions during get parent
-
getLightweightType
Get the lightweight object type which shares this shared parent object- Parameters:
sharedParentId
- the shared object id- Returns:
- the lightweight type name, null means the object is not shared
- Throws:
com.documentum.fc.common.DfException
- the exceptions during get lightweight types
-