lumis.content.core
Class ContentAssociation

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

@StableMinor(version="6.2",
             sinceVersion="4.2")
public class ContentAssociation
extends Object
implements 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 String TYPE_CATEGORIZATION_TERM
           
static String TYPE_STANDARD
           
 
Method Summary
 void delete()
          Deletes this content association.
 Content getAssociatedContent()
           
 ContentVersion getContentVersion()
           
 String getId()
           
 String getType()
           
 void setAssociatedContent(Content associatedContent)
           
 void setType(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 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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.