org.eclipse.emf.emfstore.internal.server.model
Interface ServerSpace

All Superinterfaces:
ACDAOFacade, ACGroupDAO, ACUserDAO, DAO, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, ProjectDAO
All Known Implementing Classes:
ServerSpaceImpl

public interface ServerSpace
extends org.eclipse.emf.ecore.EObject, ACDAOFacade

A representation of the model object ' Server Space'.

See Also:
ModelPackage.getServerSpace()

Method Summary
 org.eclipse.emf.common.util.EList<ACGroup> getGroups()
          Returns the value of the 'Groups' containment reference list.
 org.eclipse.emf.common.util.EList<SessionId> getOpenSessions()
          Returns the value of the 'Open Sessions' containment reference list.
 org.eclipse.emf.common.util.EList<ProjectHistory> getProjects()
          Returns the value of the 'Projects' reference list.
 org.eclipse.emf.common.util.EList<ACUser> getUsers()
          Returns the value of the 'Users' containment reference list.
 void save()
          Make the current ServerSpace state persistent.
 void setResource(org.eclipse.emf.ecore.resource.Resource resource)
          Set the resource the ServerSpace is contained in.
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.emfstore.internal.server.model.dao.ACUserDAO
add, remove
 
Methods inherited from interface org.eclipse.emf.emfstore.internal.server.model.dao.ACGroupDAO
add, remove
 
Methods inherited from interface org.eclipse.emf.emfstore.internal.server.model.dao.ProjectDAO
add, remove
 

Method Detail

getGroups

org.eclipse.emf.common.util.EList<ACGroup> getGroups()
Returns the value of the 'Groups' containment reference list. The list contents are of type ACGroup.

If the meaning of the 'Groups' containment reference list isn't clear, there really should be more of a description here...

Specified by:
getGroups in interface ACGroupDAO
Returns:
the value of the 'Groups' containment reference list.
See Also:
ModelPackage.getServerSpace_Groups()

getProjects

org.eclipse.emf.common.util.EList<ProjectHistory> getProjects()
Returns the value of the 'Projects' reference list. The list contents are of type ProjectHistory.

If the meaning of the 'Projects' containment reference list isn't clear, there really should be more of a description here...

Specified by:
getProjects in interface ProjectDAO
Returns:
the value of the 'Projects' reference list.
See Also:
ModelPackage.getServerSpace_Projects()

getOpenSessions

org.eclipse.emf.common.util.EList<SessionId> getOpenSessions()
Returns the value of the 'Open Sessions' containment reference list. The list contents are of type SessionId.

If the meaning of the 'Open Sessions' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Open Sessions' containment reference list.
See Also:
ModelPackage.getServerSpace_OpenSessions()

getUsers

org.eclipse.emf.common.util.EList<ACUser> getUsers()
Returns the value of the 'Users' containment reference list. The list contents are of type ACUser.

If the meaning of the 'Users' containment reference isn't clear, there really should be more of a description here...

Specified by:
getUsers in interface ACUserDAO
Returns:
the value of the 'Users' containment reference list.
See Also:
ModelPackage.getServerSpace_Users()

save

void save()
          throws IOException
Make the current ServerSpace state persistent.

Specified by:
save in interface DAO
Throws:
IOException - if save fails

setResource

void setResource(org.eclipse.emf.ecore.resource.Resource resource)
Set the resource the ServerSpace is contained in.

Parameters:
resource - the resource


Copyright © 2015. All Rights Reserved.