com.liferay.portlet.expando.model.impl
Class ExpandoBridgeImpl
java.lang.Object
com.liferay.portlet.expando.model.impl.ExpandoBridgeImpl
- All Implemented Interfaces:
- ExpandoBridge
public class ExpandoBridgeImpl
- extends Object
- implements ExpandoBridge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpandoBridgeImpl
public ExpandoBridgeImpl(long companyId,
String className)
ExpandoBridgeImpl
public ExpandoBridgeImpl(long companyId,
String className,
long classPK)
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