Package com.liferay.portlet.expando.model

Examples of com.liferay.portlet.expando.model.ExpandoBridge.addAttribute()


    if (localizationUpdated) {
      return;
    }

    try {
      expandoBridge.addAttribute(
        attributeName, ExpandoColumnConstants.BOOLEAN, Boolean.FALSE,
        false);
    }
    catch (DuplicateColumnNameException dcne) {
    }
View Full Code Here


    private void load() throws Exception {

        ExpandoBridge properties = WebsiteServiceUtil.getWebsite(currentsWebsitesIds.get(Thread.currentThread())).getExpandoBridge();

        if (!properties.hasAttribute("astenn-liferay")) {
            properties.addAttribute("astenn-liferay");
            properties.setAttribute("astenn-liferay", "");
        }

        persistenceDriver.getProperties().load(new StringReader(properties.getAttribute("astenn-liferay").toString()));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.