public class ExpandoBridgeImpl
extends Object
implements com.liferay.expando.kernel.model.ExpandoBridge
Constructor and Description |
---|
ExpandoBridgeImpl(long companyId,
String className) |
ExpandoBridgeImpl(long companyId,
String className,
long classPK) |
Modifier and Type | Method and Description |
---|---|
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) |
protected boolean |
equals(int type,
Serializable serializable1,
Serializable serializable2) |
boolean |
equals(Object object) |
Serializable |
getAttribute(String name) |
Serializable |
getAttribute(String name,
boolean secure) |
protected List<com.liferay.expando.kernel.model.ExpandoColumn> |
getAttributeColumns() |
Serializable |
getAttributeDefault(String name) |
Enumeration<String> |
getAttributeNames() |
com.liferay.portal.kernel.util.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 com.liferay.expando.kernel.model.ExpandoTable |
getTable() |
boolean |
hasAttribute(String name) |
int |
hashCode() |
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,
com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties) |
void |
setAttributeProperties(String name,
com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties,
boolean secure) |
void |
setAttributes(Map<String,Serializable> attributes) |
void |
setAttributes(Map<String,Serializable> attributes,
boolean secure) |
void |
setAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext,
boolean secure) |
void |
setClassName(String className) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setIndexEnabled(boolean indexEnabled) |
public ExpandoBridgeImpl(long companyId, String className)
public ExpandoBridgeImpl(long companyId, String className, long classPK)
public void addAttribute(String name) throws com.liferay.portal.kernel.exception.PortalException
addAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
com.liferay.portal.kernel.exception.PortalException
public void addAttribute(String name, boolean secure) throws com.liferay.portal.kernel.exception.PortalException
addAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
com.liferay.portal.kernel.exception.PortalException
public void addAttribute(String name, int type) throws com.liferay.portal.kernel.exception.PortalException
addAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
com.liferay.portal.kernel.exception.PortalException
public void addAttribute(String name, int type, boolean secure) throws com.liferay.portal.kernel.exception.PortalException
addAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
com.liferay.portal.kernel.exception.PortalException
public void addAttribute(String name, int type, Serializable defaultValue) throws com.liferay.portal.kernel.exception.PortalException
addAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
com.liferay.portal.kernel.exception.PortalException
public void addAttribute(String name, int type, Serializable defaultValue, boolean secure) throws com.liferay.portal.kernel.exception.PortalException
addAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
com.liferay.portal.kernel.exception.PortalException
public boolean equals(Object object)
equals
in class Object
public Serializable getAttribute(String name)
getAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
public Serializable getAttribute(String name, boolean secure)
getAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
public Serializable getAttributeDefault(String name)
getAttributeDefault
in interface com.liferay.expando.kernel.model.ExpandoBridge
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface com.liferay.expando.kernel.model.ExpandoBridge
public com.liferay.portal.kernel.util.UnicodeProperties getAttributeProperties(String name)
getAttributeProperties
in interface com.liferay.expando.kernel.model.ExpandoBridge
public Map<String,Serializable> getAttributes()
getAttributes
in interface com.liferay.expando.kernel.model.ExpandoBridge
public Map<String,Serializable> getAttributes(boolean secure)
getAttributes
in interface com.liferay.expando.kernel.model.ExpandoBridge
public Map<String,Serializable> getAttributes(Collection<String> names)
getAttributes
in interface com.liferay.expando.kernel.model.ExpandoBridge
public Map<String,Serializable> getAttributes(Collection<String> names, boolean secure)
getAttributes
in interface com.liferay.expando.kernel.model.ExpandoBridge
public int getAttributeType(String name)
getAttributeType
in interface com.liferay.expando.kernel.model.ExpandoBridge
public String getClassName()
getClassName
in interface com.liferay.expando.kernel.model.ExpandoBridge
public long getClassPK()
getClassPK
in interface com.liferay.expando.kernel.model.ExpandoBridge
public long getCompanyId()
getCompanyId
in interface com.liferay.expando.kernel.model.ExpandoBridge
public boolean hasAttribute(String name)
hasAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
public int hashCode()
hashCode
in class Object
public boolean isIndexEnabled()
isIndexEnabled
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void reindex()
public void setAttribute(String name, Serializable value)
setAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setAttribute(String name, Serializable value, boolean secure)
setAttribute
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setAttributeDefault(String name, Serializable defaultValue)
setAttributeDefault
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setAttributeProperties(String name, com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties)
setAttributeProperties
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setAttributeProperties(String name, com.liferay.portal.kernel.util.UnicodeProperties unicodeProperties, boolean secure)
setAttributeProperties
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setAttributes(Map<String,Serializable> attributes)
setAttributes
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setAttributes(Map<String,Serializable> attributes, boolean secure)
setAttributes
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setAttributes
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext, boolean secure)
setAttributes
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setClassName(String className)
setClassName
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setClassPK(long classPK)
setClassPK
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.expando.kernel.model.ExpandoBridge
public void setIndexEnabled(boolean indexEnabled)
setIndexEnabled
in interface com.liferay.expando.kernel.model.ExpandoBridge
protected boolean equals(int type, Serializable serializable1, Serializable serializable2)
protected List<com.liferay.expando.kernel.model.ExpandoColumn> getAttributeColumns()
protected com.liferay.expando.kernel.model.ExpandoTable getTable() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException