|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.applications.packaging.ProjectManager
project manager, keeps track of projects we are working on, Projects are not a MMBase defined object they are more like projects inside a IDE containers to keep track of the different projects you are working on.
| Field Summary | |
static java.lang.String |
DTD_CREATORS_1_0
|
static java.lang.String |
DTD_PROJECTS_1_0
|
static java.lang.String |
PUBLIC_ID_CREATORS_1_0
|
static java.lang.String |
PUBLIC_ID_PROJECTS_1_0
|
| Constructor Summary | |
ProjectManager()
|
|
| Method Summary | |
static boolean |
addProject(java.lang.String name,
java.lang.String path)
add a new project to the projectlist (xml file) changes both the memory list and the file on disc. |
static boolean |
changeProjectSettings(java.lang.String oldname,
java.lang.String newname,
java.lang.String newpath)
change project name/path (xml file) changes both the memory list and the file on disc. |
static boolean |
deleteProject(java.lang.String name)
delete a project to the projectlist (xml file) changes both the memory list and the file on disc. |
static CreatorInterface |
getCreatorByType(java.lang.String type)
get a creator based on its mimetype |
static java.util.Map |
getCreators()
get all the defined creators we can use (xml file) |
static Project |
getProject(java.lang.String name)
get a Project based on its name |
static java.util.Iterator |
getProjects()
get all the projects we have defined (xml file) |
static void |
init()
start this manager, it reads all the defined creators and projects |
static boolean |
isRunning()
is this manager running ? |
static void |
readCreators()
read the Creators from disc, the file is defined in your config directory. |
static void |
readProjects()
read the Projects from disc, the file is defined in your config directory. |
static boolean |
save()
save/sync the projects file to disk. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String DTD_PROJECTS_1_0
public static final java.lang.String DTD_CREATORS_1_0
public static final java.lang.String PUBLIC_ID_PROJECTS_1_0
public static final java.lang.String PUBLIC_ID_CREATORS_1_0
| Constructor Detail |
public ProjectManager()
| Method Detail |
public static void init()
public static boolean isRunning()
public static java.util.Iterator getProjects()
public static Project getProject(java.lang.String name)
public static boolean addProject(java.lang.String name,
java.lang.String path)
public static boolean changeProjectSettings(java.lang.String oldname,
java.lang.String newname,
java.lang.String newpath)
public static boolean deleteProject(java.lang.String name)
public static void readProjects()
public static void readCreators()
public static java.util.Map getCreators()
public static CreatorInterface getCreatorByType(java.lang.String type)
public static boolean save()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||