Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * This program is free software; you can redistribute it and/or modify it under the 
  * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software 
  * Foundation.
  *
  * You should have received a copy of the GNU Lesser General Public License along with this 
  * program; if not, you can obtain a copy at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html 
  * or from the Free Software Foundation, Inc., 
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details.
 *
 * Copyright 2005 - 2008 Pentaho Corporation.  All rights reserved.
 *
 * @created Jun 24, 2005 
 * @author Marc Batchelor
 * 
 */
package org.pentaho.platform.api.repository;
public interface IRuntimeRepository extends ILoggerISessionContainer {

  
Loads a runtimeElement by it's ID.

Parameters:
instanceId The instance ID for the Runtime Element
allowableReadAttributeNames The attribute names that are allowed to be read by this process
Returns:
The RuntimeElement
Throws:
RepositoryException
  @SuppressWarnings("unchecked")
  public IRuntimeElement loadElementById(String instanceIdCollection allowableReadAttributeNames)
      throws RepositoryException;

  
Constructs a new Runtime Element.

Parameters:
parentId The parent of the Runtime Element
parentType The parent type of the Runtime Element
transientOnly Indicates whether this runtime element will be transient only (unsaved) or persistent. If true, then this will be in memory only, and will not be persisted when it goes out of scope.
Returns:
The new Runtime element
  public IRuntimeElement newRuntimeElement(String parentIdString parentTypeboolean transientOnly);

  
Constructs a new Runtime Element.

Parameters:
parentId The parent of the Runtime Element
parentType The parent type of the Runtime Element
solutionId The ID of the Solution this Runtime Element is associated with
transientOnly Indicates whether this runtime element will be transient only (unsaved) or persistent. If true, then this will be in memory only, and will not be persisted when it goes out of scope.
Returns:
The new Runtime element
  public IRuntimeElement newRuntimeElement(String parentIdString parentTypeString solutionIdboolean transientOnly);
  public boolean usesHibernate();
New to GrepCode? Check out our FAQ X