Examples of save()


Examples of com.ecyrd.jspwiki.auth.user.UserDatabase.save()

            UserProfile profile = db.newProfile();
            profile.setEmail( "testuser@testville.com" );
            profile.setLoginName( loginName );
            profile.setFullname( "FullName"+loginName );
            profile.setPassword( "password" );
            db.save(profile);

            // Make sure the profile saved successfully
            if ( db.getWikiNames().length == oldUserCount )
            {
                m_session.addMessage( ERROR_DB, "Could not add a test user to the database." );
View Full Code Here

Examples of com.emitrom.lienzo.client.core.Context2D.save()

                    {
                        transform = getViewport().getTransform();
                    }
                    if (transform != null)
                    {
                        context.save();

                        context.transform(transform);
                    }
                    drawWithTransforms(context);
View Full Code Here

Examples of com.esri.gpt.catalog.search.ISearchSaveRepository.save()

    new SavedSearchCriteria(this.getSearchCriteria().getSavedSearchName(),
        criteria, this.extractRequestContext().getUser());

  ISearchSaveRepository saveRpstry =
    SearchSaveRpstryFactory.getSearchSaveRepository();
  saveRpstry.save(savedSearchCriteria);
  criteria.setSavedSearchName(null);

}

/**
 
View Full Code Here

Examples of com.eviware.soapui.config.SoapuiProjectDocumentConfig.save()

    {
      File tempFile = File.createTempFile( "project-temp-", ".xml", projectFile.getParentFile() );

      // save once to make sure it can be saved
      FileOutputStream tempOut = new FileOutputStream( tempFile );
      projectDocument.save( tempOut, options );
      tempOut.close();

      if( getSettings().getBoolean( UISettings.LINEBREAK ) )
      {
        normalizeLineBreak( projectFile, tempFile );
View Full Code Here

Examples of com.eviware.soapui.config.SoapuiSettingsDocumentConfig.save()

          log.error( "Encryption error", e );
        }
      }

      FileOutputStream out = new FileOutputStream( file );
      settingsDocument.save( out );
      out.flush();
      out.close();
      log.info( "Settings saved to [" + file.getAbsolutePath() + "]" );
      lastSettingsLoad = file.lastModified();
      return file.getAbsolutePath();
View Full Code Here

Examples of com.eviware.soapui.impl.WorkspaceImpl.save()

        {
          SoapUI.log( "Autosaving Workspace" );
          WorkspaceImpl wrkspc = ( WorkspaceImpl )SoapUI.getWorkspace();
          if( wrkspc != null )
          {
            wrkspc.save( false, true );
          }
        }
      } );
    }
  }
View Full Code Here

Examples of com.eviware.soapui.impl.wsdl.WsdlProject.save()

      if( saveAfterRun && !project.isRemote() )
      {
        try
        {
          project.save();
        }
        catch( Throwable t )
        {
          log.error( "Failed to save project", t );
        }
View Full Code Here

Examples of com.eviware.soapui.inferredSchema.SchemaSetConfig.save()

  public void save( OutputStream os ) throws IOException
  {
    SchemaSetConfig xml = SchemaSetConfig.Factory.newInstance();
    ss.save( xml );
    xml.save( os );
  }

  public boolean validate( XmlObject xml )
  {
    try
View Full Code Here

Examples of com.eviware.soapui.model.project.Project.save()

    {
      if( UISupport.confirm( "Save project before setting path?", "Project has not been saved" ) )
      {
        try
        {
          project.save();
        }
        catch( IOException e )
        {
          SoapUI.logError( e );
          UISupport.showErrorMessage( e );
View Full Code Here

Examples of com.example.model.Tag.save()

public class TagController extends ApplicationController {

    @At(path = "/tag", types = {RestRequest.Method.POST})
    public void save() {
        Tag tag = Tag.create(params());
        if (tag.save()) {
            render(200, "成功", ViewType.string);
        }
        render(400, "失败", ViewType.string);
    }
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.