Package org.eurekastreams.server.domain

Examples of org.eurekastreams.server.domain.Layout


    public Serializable execute(final PrincipalActionContext inActionContext) throws ExecutionException
    {
        SetTabLayoutRequest currentRequest = (SetTabLayoutRequest) inActionContext.getParams();

        Tab tab = tabMapper.findById(currentRequest.getTabId());
        Layout oldTabLayout = tab.getTabLayout();
        tab.setTabLayout(currentRequest.getLayout());

        tabMapper.flush();

        // Call mapper to update gadgets for a shrinking layout.
        if (oldTabLayout.getNumberOfZones() > currentRequest.getLayout().getNumberOfZones())
        {
            updateMapper.execute(new UpdateGadgetsWithNewTabLayoutRequest(tab.getTemplate().getId(), currentRequest
                    .getLayout()));
        }
View Full Code Here

TOP

Related Classes of org.eurekastreams.server.domain.Layout

Copyright © 2018 www.massapicom. 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.