lumis.content.core
Class ContentAssociation

Package class diagram package ContentAssociation
java.lang.Object
  extended by lumis.content.core.ContentAssociation
All Implemented Interfaces:
java.io.Serializable

@StableMinor(version="6.1",
             sinceVersion="4.2")
public class ContentAssociation
extends java.lang.Object
implements java.io.Serializable

Represents an association from a ContentVersion to a Content.

This object also describes the type of association between the content version and the content.

Since:
4.2.0
See Also:
Serialized Form

Field Summary
static java.lang.String TYPE_CATEGORIZATION_TERM
           
static java.lang.String TYPE_STANDARD
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Lumisportal  6.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.