Package lumis.content.core
Class ContentAssociation
- java.lang.Object
-
- lumis.content.core.ContentAssociation
-
- All Implemented Interfaces:
java.io.Serializable
@StableMinor(version="17.0", sinceVersion="4.2") public class ContentAssociation extends java.lang.Object implements java.io.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$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE_CATEGORIZATION_TERM
static java.lang.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()
java.lang.String
getId()
java.lang.String
getType()
void
setAssociatedContent(Content associatedContent)
void
setType(java.lang.String type)
-
-
-
Field Detail
-
TYPE_STANDARD
public static final java.lang.String TYPE_STANDARD
- See Also:
- Constant Field Values
-
TYPE_CATEGORIZATION_TERM
public static final java.lang.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 java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getId
public java.lang.String getId()
-
delete
public void delete() throws PortalException
Deletes this content association.- Throws:
PortalException
- Since:
- 4.2.0
-
-