public class DraftAttributesCopier extends Object
Constructor and Description |
---|
DraftAttributesCopier(AttachmentManager attachmentManager,
LabelManager labelManager,
ContentPermissionManager contentPermissionManager,
ContentPropertyManager contentPropertyManager) |
Modifier and Type | Method and Description |
---|---|
<T extends ContentEntityObject> |
copyDraftAttributes(T entity,
Draft draft)
Transfers all metadata from draft to the entity.
|
public DraftAttributesCopier(AttachmentManager attachmentManager, LabelManager labelManager, ContentPermissionManager contentPermissionManager, ContentPropertyManager contentPropertyManager)
public <T extends ContentEntityObject> T copyDraftAttributes(T entity, Draft draft)
entity:
- the entity to which metadata will be transferred.draft:
- the draft object contains metadata.Copyright © 2003–2015 Atlassian. All rights reserved.