cartago
Interface ICartagoController


public interface ICartagoController

Interface for CArtAgO controllers for a workspace

Author:
aricci

Method Summary
 ArtifactInfo getArtifactInfo(java.lang.String name)
          Get artifact information
 AgentId[] getCurrentAgents()
          Get current user list.
 ArtifactId[] getCurrentArtifacts()
          Get current artifact list
 boolean removeAgent(java.lang.String agentGlobaId)
          Remove a user from the workspace
 boolean removeArtifact(java.lang.String artifactName)
          Remove an artifact from the workspace
 

Method Detail

getCurrentAgents

AgentId[] getCurrentAgents()
                           throws CartagoException
Get current user list.

Returns:
user names
Throws:
CartagoException

getCurrentArtifacts

ArtifactId[] getCurrentArtifacts()
                                 throws CartagoException
Get current artifact list

Returns:
artifact names
Throws:
CartagoException

getArtifactInfo

ArtifactInfo getArtifactInfo(java.lang.String name)
                             throws CartagoException
Get artifact information

Parameters:
name -
Returns:
Throws:
CartagoException

removeArtifact

boolean removeArtifact(java.lang.String artifactName)
                       throws CartagoException
Remove an artifact from the workspace

Parameters:
artifactName - artifact name
Throws:
CartagoException

removeAgent

boolean removeAgent(java.lang.String agentGlobaId)
                    throws CartagoException
Remove a user from the workspace

Parameters:
agentGlobalId - agent id
Throws:
CartagoException


>DEIS - University of Bologna