Package lumis.content.core
Class ContentAssociation
- java.lang.Object
-
- lumis.content.core.ContentAssociation
-
- All Implemented Interfaces:
Serializable
@StableMinor(version="14.1", sinceVersion="4.2") public class ContentAssociation extends Object implements Serializable
Represents an association from aContentVersion
to aContent
.This object also describes the type of association between the content version and the content.
- Since:
- 4.2.0
- Version:
- $Revision: 24684 $ $Date: 2021-08-23 18:58:35 -0300 (Mon, 23 Aug 2021) $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_CATEGORIZATION_TERM
static String
TYPE_STANDARD
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
Deletes this content association.Content
getAssociatedContent()
ContentVersion
getContentVersion()
String
getId()
String
getType()
void
setAssociatedContent(Content associatedContent)
void
setType(String type)
-
-
-
Field Detail
-
TYPE_STANDARD
public static final String TYPE_STANDARD
- See Also:
- Constant Field Values
-
TYPE_CATEGORIZATION_TERM
public static final String TYPE_CATEGORIZATION_TERM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getContentVersion
public ContentVersion getContentVersion()
-
getAssociatedContent
public Content getAssociatedContent()
-
setAssociatedContent
public void setAssociatedContent(Content associatedContent)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getId
public String getId()
-
delete
public void delete() throws PortalException
Deletes this content association.- Throws:
PortalException
- Since:
- 4.2.0
-
-