Liferay 6.1.2-ce-ga3

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, boolean secure)
           
 void addAttribute(String name, int type)
           
 void addAttribute(String name, int type, boolean secure)
           
 void addAttribute(String name, int type, Serializable defaultValue)
           
 void addAttribute(String name, int type, Serializable defaultValue, boolean secure)
           
static boolean equals(int type, Serializable serializable1, Serializable serializable2)
           
 boolean equals(Object obj)
           
 Serializable getAttribute(String name)
           
 Serializable getAttribute(String name, boolean secure)
           
protected  List<ExpandoColumn> getAttributeColumns()
           
 Serializable getAttributeDefault(String name)
           
 Enumeration<String> getAttributeNames()
           
 UnicodeProperties getAttributeProperties(String name)
           
 Map<String,Serializable> getAttributes()
           
 Map<String,Serializable> getAttributes(boolean secure)
           
 Map<String,Serializable> getAttributes(Collection<String> names)
           
 Map<String,Serializable> getAttributes(Collection<String> names, boolean secure)
           
 int getAttributeType(String name)
           
 String getClassName()
           
 long getClassPK()
           
 long getCompanyId()
           
protected  ExpandoTable getTable()
           
 boolean hasAttribute(String name)
           
 boolean isIndexEnabled()
           
 void reindex()
           
 void setAttribute(String name, Serializable value)
           
 void setAttribute(String name, Serializable value, boolean secure)
           
 void setAttributeDefault(String name, Serializable defaultValue)
           
 void setAttributeProperties(String name, UnicodeProperties properties)
           
 void setAttributeProperties(String name, UnicodeProperties properties, boolean secure)
           
 void setAttributes(Map<String,Serializable> attributes)
           
 void setAttributes(Map<String,Serializable> attributes, boolean secure)
           
 void setAttributes(ServiceContext serviceContext)
           
 void setAttributes(ServiceContext serviceContext, boolean secure)
           
 void setClassName(String className)
           
 void setClassPK(long classPK)
           
 void setCompanyId(long companyId)
           
 void setIndexEnabled(boolean indexEnabled)
           
 
Methods inherited from class java.lang.Object
clone, 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

equals

public static boolean equals(int type,
                             Serializable serializable1,
                             Serializable serializable2)

addAttribute

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

addAttribute

public void addAttribute(String name,
                         boolean secure)
                  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,
                         boolean secure)
                  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

addAttribute

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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getAttribute

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

getAttribute

public Serializable getAttribute(String name,
                                 boolean secure)
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

getAttributes

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

getAttributes

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

getAttributes

public Map<String,Serializable> getAttributes(Collection<String> names,
                                              boolean secure)
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

setAttribute

public void setAttribute(String name,
                         Serializable value,
                         boolean secure)
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

setAttributeProperties

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

setAttributes

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

setAttributes

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

setAttributes

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

setAttributes

public void setAttributes(ServiceContext serviceContext,
                          boolean secure)
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

getAttributeColumns

protected List<ExpandoColumn> getAttributeColumns()

getTable

protected ExpandoTable getTable()
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

Liferay 6.1.2-ce-ga3