org.eclipse.emf.emfstore.internal.server.core.subinterfaces
Class UserSubInterfaceImpl

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface
      extended by org.eclipse.emf.emfstore.internal.server.core.subinterfaces.UserSubInterfaceImpl

public class UserSubInterfaceImpl
extends AbstractSubEmfstoreInterface

This subinterface implements all user related functionality.

Author:
wesendonk

Constructor Summary
UserSubInterfaceImpl(AbstractEmfstoreInterface parentInterface)
          Default constructor.
 
Method Summary
 ACUser resolveUser(SessionId sessionId, ACOrgUnitId id)
          Resolves a given user ID to the an actual user instance.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.server.core.AbstractSubEmfstoreInterface
execute, getResourceHelper
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSubInterfaceImpl

public UserSubInterfaceImpl(AbstractEmfstoreInterface parentInterface)
                     throws FatalESException
Default constructor.

Parameters:
parentInterface - parent interface
Throws:
FatalESException - in case of failure
Method Detail

resolveUser

public ACUser resolveUser(SessionId sessionId,
                          ACOrgUnitId id)
                   throws ESException
Resolves a given user ID to the an actual user instance.

Parameters:
sessionId - the ID of the session that is used to resolve the user
id - the user ID
Returns:
the user with the given ID
Throws:
ESException - in case of failure


Copyright © 2015. All Rights Reserved.