com.liferay.portlet.expando.model
Interface ExpandoBridge

All Known Implementing Classes:
ExpandoBridgeImpl

public interface ExpandoBridge

View Source

Author:
Raymond Augé

Method Summary
 void addAttribute(java.lang.String name)
           
 void addAttribute(java.lang.String name, int type)
           
 void addAttribute(java.lang.String name, int type, java.io.Serializable defaultValue)
           
 java.io.Serializable getAttribute(java.lang.String name)
           
 java.io.Serializable getAttributeDefault(java.lang.String name)
           
 java.util.Enumeration<java.lang.String> getAttributeNames()
           
 com.liferay.portal.kernel.util.UnicodeProperties getAttributeProperties(java.lang.String name)
           
 java.util.Map<java.lang.String,java.io.Serializable> getAttributes()
           
 int getAttributeType(java.lang.String name)
           
 java.lang.String getClassName()
           
 long getClassPK()
           
 boolean hasAttribute(java.lang.String name)
           
 boolean isIndexEnabled()
           
 void setAttribute(java.lang.String name, java.io.Serializable value)
           
 void setAttributeDefault(java.lang.String name, java.io.Serializable defaultValue)
           
 void setAttributeProperties(java.lang.String name, com.liferay.portal.kernel.util.UnicodeProperties properties)
           
 void setAttributes(java.util.Map<java.lang.String,java.io.Serializable> attributes)
           
 void setAttributes(ServiceContext serviceContext)
           
 void setIndexEnabled(boolean indexEnabled)
           
 

Method Detail

addAttribute

void addAttribute(java.lang.String name)
                  throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException

addAttribute

void addAttribute(java.lang.String name,
                  int type)
                  throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException

addAttribute

void addAttribute(java.lang.String name,
                  int type,
                  java.io.Serializable defaultValue)
                  throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException

getAttribute

java.io.Serializable getAttribute(java.lang.String name)

getAttributeDefault

java.io.Serializable getAttributeDefault(java.lang.String name)

getAttributeNames

java.util.Enumeration<java.lang.String> getAttributeNames()

getAttributeProperties

com.liferay.portal.kernel.util.UnicodeProperties getAttributeProperties(java.lang.String name)

getAttributes

java.util.Map<java.lang.String,java.io.Serializable> getAttributes()

getAttributeType

int getAttributeType(java.lang.String name)

getClassName

java.lang.String getClassName()

getClassPK

long getClassPK()

hasAttribute

boolean hasAttribute(java.lang.String name)

isIndexEnabled

boolean isIndexEnabled()

setAttribute

void setAttribute(java.lang.String name,
                  java.io.Serializable value)

setAttributeDefault

void setAttributeDefault(java.lang.String name,
                         java.io.Serializable defaultValue)

setAttributeProperties

void setAttributeProperties(java.lang.String name,
                            com.liferay.portal.kernel.util.UnicodeProperties properties)

setAttributes

void setAttributes(java.util.Map<java.lang.String,java.io.Serializable> attributes)

setAttributes

void setAttributes(ServiceContext serviceContext)

setIndexEnabled

void setIndexEnabled(boolean indexEnabled)