|A workspace is a first class jObject that provides a tree structure mechanism for organizing jazz objects. All Jazz objects belong to 1 and only 1 workspace. All jazz objects belong to the 'Public' workspace by default, but may be moved to another workspace.|
Workspaces are a container for jazz objects behaving much like directories behave for files.
- All Jazz objects, including workspaces, belong to a workspace.
- The root workspace has the name 'Public'
- A workspace may contain other workspaces.
- Jazz objects can be moved to different workspace.
- Objects within a workspace have the same accessibility as the workspace (see ACL)
- Workspace objects may be fully customized. See Customization
When a client nexus starts it will create a 'Public' workspace, if none has been created. All Jazz objects, by default, will be placed in the 'Public' workspace.
It is highly recommended to leave 'empty'
objects and roles in the 'Public' workspace.
Create A Workspace
A Jetfire workspace can be created programatically just like any .net object.
// Create a workspace
jWorkspace mySpace = jWorkspace.Create(nexus, "MySpace");
Moving Jazz Objects to a Workspace
When Jazz objects are created they are, by default, placed in the 'Public' workspace. This code snippet demonstrates moving objects to another workspace.
// Create some Jazz objects
MyJazzClass one = new MyJazzClass(nexus, "One");
MyJazzClass two = new MyJazzClass(nexus, "Two");
// Add several objects to the workspace
- If you want to provide feedback or there is missing, bad or just downright wrong information please let us know. (You will need to sign into Codeplex.)