|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.ubicollab.osgi.CollaborationImpl
public class CollaborationImpl
Constructor Summary | |
---|---|
CollaborationImpl()
|
Method Summary | |
---|---|
boolean |
addPersonToCollabInst(java.lang.String collabInstId,
java.lang.String username)
Adds a specified person to the specified collaboration instance |
boolean |
addResourceToCollabInst(java.lang.String collabInstId,
java.lang.String descriptionUrl,
java.lang.String username,
java.lang.String appName,
java.lang.String fileName)
|
boolean |
addServiceToCollabInst(java.lang.String collabInstId,
java.lang.String descriptionUrl)
Adds a specified service to the specified collaboration instance |
java.lang.String |
createCollaborationInstance(java.lang.String username,
java.lang.String collabInstName)
Creates a collaboration instance with the specified collabInstName, and where the creator is specified by username. |
java.lang.String[] |
getAllCollaborationInstances()
Gets a list of all registered collaboration instances |
java.lang.String[] |
getAllPersons()
Gets a list of all registered persons |
java.lang.String[] |
getAllPersonsInCollabInst(java.lang.String collabInstId)
Gets a list of all persons in the specified collaboration instance |
java.lang.String[] |
getAllServices()
Gets a list of all registered services |
java.lang.String[] |
getAllServicesInCollabInst(java.lang.String collabInstId)
Gets a list of all services in the specified collaboration instance |
java.lang.String |
getCollabInstName(java.lang.String collabInstId)
Gets the name of the specified collaboration instance |
java.lang.String[] |
getInfoAboutService(java.lang.String url)
Gets all registered information about the specified service |
java.lang.String |
getPersonsFullName(java.lang.String username)
Gets the full name of the specified person |
boolean |
removeCollaborationInstance(java.lang.String collabInstId,
java.lang.String username)
Removes a specified collaboration instance, if the username specified matches the collaboration instance's owner. |
boolean |
removePersonFromCollabInst(java.lang.String collabInstId,
java.lang.String username)
Removes a specified person from the specified collaboration instance |
boolean |
removeResourceFromCollabInst(java.lang.String collabInstId,
java.lang.String descriptionUrl,
java.lang.String username,
java.lang.String appName,
java.lang.String fileName)
|
boolean |
removeServiceFromCollabInst(java.lang.String collabInstId,
java.lang.String descriptionUrl)
Removes a specified service from the specified collaboration instance |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollaborationImpl()
Method Detail |
---|
public java.lang.String createCollaborationInstance(java.lang.String username, java.lang.String collabInstName)
CollaborationService
createCollaborationInstance
in interface CollaborationService
username
- The username of the collaboration instance's creatorcollabInstName
- The name of the collaboration instance to create
public boolean removeCollaborationInstance(java.lang.String collabInstId, java.lang.String username)
CollaborationService
removeCollaborationInstance
in interface CollaborationService
collabInstId
- The id of the collaboration instance to removeusername
- The username of the person calling the method
public boolean addPersonToCollabInst(java.lang.String collabInstId, java.lang.String username)
CollaborationService
addPersonToCollabInst
in interface CollaborationService
collabInstId
- The id of the collaboration instance to add tousername
- The username of the person to add
public boolean removePersonFromCollabInst(java.lang.String collabInstId, java.lang.String username)
CollaborationService
removePersonFromCollabInst
in interface CollaborationService
collabInstId
- The id of the collaboration instance to remove fromusername
- The username of the person to remove
public boolean addServiceToCollabInst(java.lang.String collabInstId, java.lang.String descriptionUrl)
CollaborationService
addServiceToCollabInst
in interface CollaborationService
collabInstId
- The id of the collaboration instance to add todescriptionUrl
- The descriptionUrl of the service to add
public boolean removeServiceFromCollabInst(java.lang.String collabInstId, java.lang.String descriptionUrl)
CollaborationService
removeServiceFromCollabInst
in interface CollaborationService
collabInstId
- The id of the collaboration instance to remove fromdescriptionUrl
- The descriptionUrl of the service to remove
public boolean addResourceToCollabInst(java.lang.String collabInstId, java.lang.String descriptionUrl, java.lang.String username, java.lang.String appName, java.lang.String fileName)
addResourceToCollabInst
in interface CollaborationService
public boolean removeResourceFromCollabInst(java.lang.String collabInstId, java.lang.String descriptionUrl, java.lang.String username, java.lang.String appName, java.lang.String fileName)
removeResourceFromCollabInst
in interface CollaborationService
public java.lang.String[] getAllCollaborationInstances()
CollaborationService
getAllCollaborationInstances
in interface CollaborationService
public java.lang.String[] getAllPersons()
CollaborationService
getAllPersons
in interface CollaborationService
public java.lang.String[] getAllServices()
CollaborationService
getAllServices
in interface CollaborationService
public java.lang.String[] getAllPersonsInCollabInst(java.lang.String collabInstId)
CollaborationService
getAllPersonsInCollabInst
in interface CollaborationService
collabInstId
- The id of the collaboration instance
public java.lang.String[] getAllServicesInCollabInst(java.lang.String collabInstId)
CollaborationService
getAllServicesInCollabInst
in interface CollaborationService
collabInstId
- The id of the collaboration instance
public java.lang.String getCollabInstName(java.lang.String collabInstId)
CollaborationService
getCollabInstName
in interface CollaborationService
collabInstId
- The id of the collaboration instance
public java.lang.String getPersonsFullName(java.lang.String username)
CollaborationService
getPersonsFullName
in interface CollaborationService
username
- The person's username
public java.lang.String[] getInfoAboutService(java.lang.String url)
CollaborationService
getInfoAboutService
in interface CollaborationService
url
- The descriptionUrl of the service
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |