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

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

public class ExpandoBridgeImpl
extends java.lang.Object
implements 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)
           
protected  void checkIndex(java.lang.String name)
           
 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()
           
protected  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(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 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 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 ExpandoBridge
Throws:
com.liferay.portal.PortalException

getAttribute

public java.io.Serializable getAttribute(java.lang.String name)
Specified by:
getAttribute in interface ExpandoBridge

getAttributeDefault

public java.io.Serializable getAttributeDefault(java.lang.String name)
Specified by:
getAttributeDefault in interface ExpandoBridge

getAttributeNames

public java.util.Enumeration<java.lang.String> getAttributeNames()
Specified by:
getAttributeNames in interface ExpandoBridge

getAttributeProperties

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

getAttributes

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

getAttributeType

public int getAttributeType(java.lang.String name)
Specified by:
getAttributeType in interface ExpandoBridge

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface ExpandoBridge

getClassPK

public long getClassPK()
Specified by:
getClassPK in interface ExpandoBridge

hasAttribute

public boolean hasAttribute(java.lang.String name)
Specified by:
hasAttribute in interface ExpandoBridge

isIndexEnabled

public boolean isIndexEnabled()
Specified by:
isIndexEnabled in interface ExpandoBridge

setAttribute

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

setAttributeDefault

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

setAttributeProperties

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

setAttributes

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

setAttributes

public void setAttributes(ServiceContext serviceContext)
Specified by:
setAttributes in interface 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 ExpandoBridge

checkIndex

protected void checkIndex(java.lang.String name)

reIndex

protected void reIndex()