public boolean saveToProperty(LayoutIdentifier layoutId) {
        setName(layoutId.name);

        try {
            LayoutUtil.saveLayout(layoutId, toString());
        } catch (Exception e) {
            log.error("Error saving application layout.", e);
            return false;
        }

        return true;
    }
public boolean saveToProperty ( LayoutIdentifier layoutId ) { setName ( layoutId . name ) ; try { LayoutUtil . saveLayout ( layoutId , toString ( ) ) ; } catch ( Exception e ) { log . error ( "Error saving application layout." , e ) ; return false ; } return true ; }
Saves the layout as a property value using the specified identifier.

@param layoutId Layout identifier
@return True if operation succeeded.