@Named public class CredentialService extends AbstractMongoCRUDService<Credential> implements CRUDService<Credential>
Constructor and Description |
---|
CredentialService() |
Modifier and Type | Method and Description |
---|---|
Credential |
findByName(String name)
findByName.
|
List<Credential> |
findByType(Credential.Type type)
findByType.
|
protected CredentialMongoStorage |
getMongoStorage()
getMongoStorage.
|
count, delete, deleteAll, exists, findAll, findAll, findOne, update, updateOrCreate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
count, delete, deleteAll, exists, findAll, findAll, findOne, update, updateOrCreate
protected CredentialMongoStorage getMongoStorage()
getMongoStorage.
getMongoStorage
in class AbstractMongoCRUDService<Credential>
MongoRepository
object.public Credential findByName(String name)
findByName.
name
- a String
object.Credential
object.public List<Credential> findByType(Credential.Type type)
findByType.
type
- a Credential.Type
object.List
object.Copyright © 2011–2016 eXo Platform SAS. All rights reserved.