com.liferay.portlet.expando.model.impl
Class ExpandoBridgeImpl

java.lang.Object
  extended by com.liferay.portlet.expando.model.impl.ExpandoBridgeImpl
All Implemented Interfaces:
com.liferay.portlet.expando.model.ExpandoBridge

public class ExpandoBridgeImpl
extends java.lang.Object
implements com.liferay.portlet.expando.model.ExpandoBridge

View Source

Author:
Raymond Augé

Constructor Summary
ExpandoBridgeImpl(java.lang.String className)
           
ExpandoBridgeImpl(java.lang.String className, long classPK)
           
 
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 reIndex()
           
 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(com.liferay.portal.service.ServiceContext serviceContext)
           
 void setClassName(java.lang.String className)
           
 void setClassPK(long classPK)
           
 void setIndexEnabled(boolean indexEnabled)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoBridgeImpl

public ExpandoBridgeImpl(java.lang.String className)

ExpandoBridgeImpl

public ExpandoBridgeImpl(java.lang.String className,
                         long classPK)
Method Detail

addAttribute

public void addAttribute(java.lang.String name)
                  throws com.liferay.portal.PortalException
Specified by:
addAttribute in interface com.liferay.portlet.expando.model.ExpandoBridge
Throws:
com.liferay.portal.PortalException

addAttribute

public void addAttribute(java.lang.String name,
                         int type)
                  throws com.liferay.portal.PortalException
Specified by:
addAttribute in interface com.liferay.portlet.expando.model.ExpandoBridge
Throws:
com.liferay.portal.PortalException

addAttribute

public void addAttribute(java.lang.String name,
                         int type,
                         java.io.Serializable defaultValue)
                  throws com.liferay.portal.PortalException
Specified by:
addAttribute in interface com.liferay.portlet.expando.model.ExpandoBridge
Throws:
com.liferay.portal.PortalException

getAttribute

public java.io.Serializable getAttribute(java.lang.String name)
Specified by:
getAttribute in interface com.liferay.portlet.expando.model.ExpandoBridge

getAttributeDefault

public java.io.Serializable getAttributeDefault(java.lang.String name)
Specified by:
getAttributeDefault in interface com.liferay.portlet.expando.model.ExpandoBridge

getAttributeNames

public java.util.Enumeration<java.lang.String> getAttributeNames()
Specified by:
getAttributeNames in interface com.liferay.portlet.expando.model.ExpandoBridge

getAttributeProperties

public com.liferay.portal.kernel.util.UnicodeProperties getAttributeProperties(java.lang.String name)
Specified by:
getAttributeProperties in interface com.liferay.portlet.expando.model.ExpandoBridge

getAttributes

public java.util.Map<java.lang.String,java.io.Serializable> getAttributes()
Specified by:
getAttributes in interface com.liferay.portlet.expando.model.ExpandoBridge

getAttributeType

public int getAttributeType(java.lang.String name)
Specified by:
getAttributeType in interface com.liferay.portlet.expando.model.ExpandoBridge

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface com.liferay.portlet.expando.model.ExpandoBridge

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface com.liferay.portlet.expando.model.ExpandoBridge

hasAttribute

public boolean hasAttribute(java.lang.String name)
Specified by:
hasAttribute in interface com.liferay.portlet.expando.model.ExpandoBridge

isIndexEnabled

public boolean isIndexEnabled()
Specified by:
isIndexEnabled in interface com.liferay.portlet.expando.model.ExpandoBridge

reIndex

public void reIndex()

setAttribute

public void setAttribute(java.lang.String name,
                         java.io.Serializable value)
Specified by:
setAttribute in interface com.liferay.portlet.expando.model.ExpandoBridge

setAttributeDefault

public void setAttributeDefault(java.lang.String name,
                                java.io.Serializable defaultValue)
Specified by:
setAttributeDefault in interface com.liferay.portlet.expando.model.ExpandoBridge

setAttributeProperties

public void setAttributeProperties(java.lang.String name,
                                   com.liferay.portal.kernel.util.UnicodeProperties properties)
Specified by:
setAttributeProperties in interface com.liferay.portlet.expando.model.ExpandoBridge

setAttributes

public void setAttributes(java.util.Map<java.lang.String,java.io.Serializable> attributes)
Specified by:
setAttributes in interface com.liferay.portlet.expando.model.ExpandoBridge

setAttributes

public void setAttributes(com.liferay.portal.service.ServiceContext serviceContext)
Specified by:
setAttributes in interface com.liferay.portlet.expando.model.ExpandoBridge

setClassName

public void setClassName(java.lang.String className)

setClassPK

public void setClassPK(long classPK)

setIndexEnabled

public void setIndexEnabled(boolean indexEnabled)
Specified by:
setIndexEnabled in interface com.liferay.portlet.expando.model.ExpandoBridge