org.camunda.bpm.cycle.repository
Class UserRepository

java.lang.Object
  extended by org.camunda.bpm.cycle.repository.AbstractRepository<User>
      extended by org.camunda.bpm.cycle.repository.UserRepository
All Implemented Interfaces:
UserLookup

@Repository
public class UserRepository
extends AbstractRepository<User>
implements UserLookup

Author:
nico.rehwaldt

Field Summary
 
Fields inherited from class org.camunda.bpm.cycle.repository.AbstractRepository
em
 
Constructor Summary
UserRepository()
           
 
Method Summary
 User findByName(String name)
          Return user with the given name
 boolean isNameAvailable(String name)
           
 
Methods inherited from class org.camunda.bpm.cycle.repository.AbstractRepository
countAll, delete, delete, deleteAll, findAll, findById, saveAndFlush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserRepository

public UserRepository()
Method Detail

isNameAvailable

public boolean isNameAvailable(String name)

findByName

public User findByName(String name)
Return user with the given name

Specified by:
findByName in interface UserLookup
Parameters:
name -
Returns:


Copyright © 2014 camunda services GmbH. All rights reserved.