it.eng.spagobi.engines.commonj.runtime
Class WorksRepository

java.lang.Object
  extended by it.eng.spagobi.engines.commonj.runtime.WorksRepository

public class WorksRepository
extends java.lang.Object


Constructor Summary
WorksRepository(java.io.File rootDir)
          Instantiates a new runtime repository.
 
Method Summary
 boolean containsWork(CommonjWork work)
          Contains work.
 java.io.File getExecutableWorkDir(CommonjWork work)
          Gets the executable work dir.
 java.io.File getExecutableWorkFile(CommonjWork work)
          Gets the executable work file.
 java.io.File getExecutableWorkProjectDir(CommonjWork work)
          Gets the executable work project dir.
 java.io.File getRootDir()
          Gets the root dir.
 void setRootDir(java.io.File rootDir)
          Sets the root dir.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorksRepository

public WorksRepository(java.io.File rootDir)
Instantiates a new runtime repository.

Parameters:
rootDir - the root dir
Method Detail

getRootDir

public java.io.File getRootDir()
Gets the root dir.

Returns:
the root dir

setRootDir

public void setRootDir(java.io.File rootDir)
Sets the root dir.

Parameters:
rootDir - the new root dir

getExecutableWorkProjectDir

public java.io.File getExecutableWorkProjectDir(CommonjWork work)
Gets the executable work project dir.

Parameters:
work - the work
Returns:
the executable work project dir

getExecutableWorkDir

public java.io.File getExecutableWorkDir(CommonjWork work)
Gets the executable work dir.

Parameters:
work - the work
Returns:
the executable work dir

getExecutableWorkFile

public java.io.File getExecutableWorkFile(CommonjWork work)
Gets the executable work file.

Parameters:
work - the work
Returns:
the executable work file

containsWork

public boolean containsWork(CommonjWork work)
Contains work.

Parameters:
work - the work
Returns:
true, if successful