Package com.dotmarketing.portlets.containers.model

Examples of com.dotmarketing.portlets.containers.model.Container.copy()


      HostAPI hostAPI = APILocator.getHostAPI();

    //gets the new information for the template from the request object
    Container newContainer = new Container();

    newContainer.copy(currentContainer);
         newContainer.setFriendlyName(currentContainer.getFriendlyName()
        + " (COPY) ");
         newContainer.setTitle(currentContainer.getTitle() + " (COPY) ");

        //Copy the structure
View Full Code Here


    }

    //gets the new information for the template from the request object
    Container newContainer = new Container();

    newContainer.copy(source);

    String appendToName = getAppendToContainerTitle(source.getTitle(), destination);
         newContainer.setFriendlyName(source.getFriendlyName() + appendToName);
         newContainer.setTitle(source.getTitle() + appendToName);
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.