Package org.apache.jetspeed.portal.service

Examples of org.apache.jetspeed.portal.service.PersistenceService


        String attrValue = null ;

        try
        {
            Object[] params = { this };
            PersistenceService ps = (PersistenceService)ServiceFactory
                                        .getService( PersistenceService.class,
                                                     rundata, params);
            attrValue = ps.getPage().getAttribute( attrName );
            if( attrValue == null )
            {
                attrValue = attrDefValue ;
            }
        }
View Full Code Here


    public void setAttribute( String attrName, String attrValue, RunData rundata )
    {
        try
        {
            Object[] params = { this };
            PersistenceService ps = (PersistenceService)ServiceFactory
                                        .getService( PersistenceService.class,
                                                     rundata, params);
            ps.getPage().setAttribute( attrName, attrValue );
            ps.store();
        }
        catch ( ServiceException e ) {}
    }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.portal.service.PersistenceService

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.