com.example.hello
Interface Hello
- All Known Implementing Classes:
- HelloEngine
public interface Hello
Definition of the service layer facade
- all the things that can be done in the application.
This is used by both the
XML-RPC server
and the
Web controllers.
findUser
User findUser(String username)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
createUser
void createUser(User user)
throws ResourceFoundException
- Throws:
ResourceFoundException
createSession
void createSession(Session session)
throws ResourceFoundException
- Throws:
ResourceFoundException
checkToken
Session checkToken(String token)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
findUser
User findUser(Principal token)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
listGreetings
List<Greeting> listGreetings()
findGreeting
Greeting findGreeting(String name)
throws ResourceNotFoundException
- Throws:
ResourceNotFoundException
createGreeting
void createGreeting(Greeting greeting)
throws ResourceFoundException
- Throws:
ResourceFoundException