Liferay 6.0.5

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 Object
implements ExpandoBridge


Constructor Summary
ExpandoBridgeImpl(long companyId, String className)
           
ExpandoBridgeImpl(long companyId, String className, long classPK)
           
 
Method Summary
 void addAttribute(String name)
           
 void addAttribute(String name, int type)
           
 void addAttribute(String name, int type, Serializable defaultValue)
           
 Serializable getAttribute(String name)
           
 Serializable getAttributeDefault(String name)
           
 Enumeration<String> getAttributeNames()
           
 UnicodeProperties getAttributeProperties(String name)
           
 Map<String,Serializable> getAttributes()
           
 int getAttributeType(String name)
           
 String getClassName()
           
 long getClassPK()
           
 long getCompanyId()
           
 boolean hasAttribute(String name)
           
 boolean isIndexEnabled()
           
 void reindex()
           
 void setAttribute(String name, Serializable value)
           
 void setAttributeDefault(String name, Serializable defaultValue)
           
 void setAttributeProperties(String name, UnicodeProperties properties)
           
 void setAttributes(Map<String,Serializable> attributes)
           
 void setAttributes(ServiceContext serviceContext)
           
 void setClassName(String className)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 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(long companyId,
                         String className)

ExpandoBridgeImpl

public ExpandoBridgeImpl(long companyId,
                         String className,
                         long classPK)
Method Detail

addAttribute

public void addAttribute(String name)
                  throws PortalException
Specified by:
addAttribute in interface ExpandoBridge
Throws:
PortalException

addAttribute

public void addAttribute(String name,
                         int type)
                  throws PortalException
Specified by:
addAttribute in interface ExpandoBridge
Throws:
PortalException

addAttribute

public void addAttribute(String name,
                         int type,
                         Serializable defaultValue)
                  throws PortalException
Specified by:
addAttribute in interface ExpandoBridge
Throws:
PortalException

getAttribute

public Serializable getAttribute(String name)
Specified by:
getAttribute in interface ExpandoBridge

getAttributeDefault

public Serializable getAttributeDefault(String name)
Specified by:
getAttributeDefault in interface ExpandoBridge

getAttributeNames

public Enumeration<String> getAttributeNames()
Specified by:
getAttributeNames in interface ExpandoBridge

getAttributeProperties

public UnicodeProperties getAttributeProperties(String name)
Specified by:
getAttributeProperties in interface ExpandoBridge

getAttributes

public Map<String,Serializable> getAttributes()
Specified by:
getAttributes in interface ExpandoBridge

getAttributeType

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

getClassName

public String getClassName()
Specified by:
getClassName in interface ExpandoBridge

getClassPK

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

getCompanyId

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

hasAttribute

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

isIndexEnabled

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

reindex

public void reindex()

setAttribute

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

setAttributeDefault

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

setAttributeProperties

public void setAttributeProperties(String name,
                                   UnicodeProperties properties)
Specified by:
setAttributeProperties in interface ExpandoBridge

setAttributes

public void setAttributes(Map<String,Serializable> attributes)
Specified by:
setAttributes in interface ExpandoBridge

setAttributes

public void setAttributes(ServiceContext serviceContext)
Specified by:
setAttributes in interface ExpandoBridge

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface ExpandoBridge

setClassPK

public void setClassPK(long classPK)
Specified by:
setClassPK in interface ExpandoBridge

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface ExpandoBridge

setIndexEnabled

public void setIndexEnabled(boolean indexEnabled)
Specified by:
setIndexEnabled in interface ExpandoBridge

Liferay 6.0.5