public class ContainerUserStoreService extends DirValueStoreService<User>
Modifier and Type | Class and Description |
---|---|
static class |
ContainerUserStoreService.UserDirEntryAdapter |
DirValueStoreService.DirEntryAdapter<T>, DirValueStoreService.MailboxAdapter<T>, DirValueStoreService.VCardAdapter<T>
ContainerStoreService.IItemFlagsProvider<W>, ContainerStoreService.IWeightSeedProvider<W>
adapter, domain, roleStore, vcardAdapter, vcardStore
changelogStore, container, hasChangeLog, itemStore, itemValueStore, logger, securityContext
Constructor and Description |
---|
ContainerUserStoreService(BmContext context,
Container container,
ItemValue<Domain> domain) |
ContainerUserStoreService(BmContext context,
Container container,
ItemValue<Domain> domain,
boolean globalVirt) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
allUids() |
boolean |
allValid(java.lang.String[] usersUids) |
void |
create(java.lang.String uid,
java.lang.String displayName,
User value)
Deprecated.
|
void |
createIdentity(java.lang.String uid,
java.lang.String id,
UserMailIdentity identity) |
protected void |
decorate(Item item,
ItemValue<DirEntryAndValue<User>> value) |
void |
deleteIdentity(java.lang.String uid,
java.lang.String id) |
void |
deleteMailboxIdentities(java.lang.String mailboxUid) |
void |
deleteMailboxIdentities(java.lang.String userUid,
java.lang.String mailboxUid) |
protected void |
deleteValue(Item item) |
protected void |
deleteValues() |
java.lang.String |
findByLogin(java.lang.String login) |
protected byte[] |
getDefaultImage() |
java.util.List<IdentityDescription> |
getIdentities(java.lang.String uid) |
UserMailIdentity |
getIdentity(java.lang.String uid,
java.lang.String id) |
java.util.Set<java.lang.String> |
getItemsWithRoles(java.util.List<java.lang.String> roles) |
void |
setDefaultIdentify(java.lang.String uid,
java.lang.String id) |
void |
setPassword(java.lang.String uid,
java.lang.String password,
boolean updateLastChange) |
void |
updateIdentity(java.lang.String uid,
java.lang.String id,
UserMailIdentity identity) |
create, create, create, createWithExtId, createWithExtId, decorate, delete, deleteAll, deletePhoto, findByEmail, findByEmailFull, findByExtId, get, getIcon, getMultipleValues, getPhoto, getRoles, hasPhoto, setPhoto, setRoles, update, updateVCard
create, create
all, allIds, attach, changelog, changelog, changeset, changesetById, changesetById, count, createValue, createWithId, delete, detach, doOrFail, fullChangesetById, get, get, getByExtId, getItemStore, getItemsValue, getItemValue, getItemValueStore, getMultiple, getMultipleById, getValue, getVersion, prepareContainerDelete, setExtId, touch, update, update, updateValue, xfer
public ContainerUserStoreService(BmContext context, Container container, ItemValue<Domain> domain)
protected void decorate(Item item, ItemValue<DirEntryAndValue<User>> value) throws ServerFault
decorate
in class DirValueStoreService<User>
ServerFault
protected void deleteValue(Item item) throws ServerFault, java.sql.SQLException
deleteValue
in class DirValueStoreService<User>
ServerFault
java.sql.SQLException
protected void deleteValues() throws ServerFault
deleteValues
in class DirValueStoreService<User>
ServerFault
public void createIdentity(java.lang.String uid, java.lang.String id, UserMailIdentity identity) throws ServerFault
ServerFault
public void updateIdentity(java.lang.String uid, java.lang.String id, UserMailIdentity identity) throws ServerFault
ServerFault
public void deleteIdentity(java.lang.String uid, java.lang.String id) throws ServerFault
ServerFault
public UserMailIdentity getIdentity(java.lang.String uid, java.lang.String id) throws ServerFault
ServerFault
public java.util.List<IdentityDescription> getIdentities(java.lang.String uid) throws ServerFault
ServerFault
public void setPassword(java.lang.String uid, java.lang.String password, boolean updateLastChange) throws ServerFault
ServerFault
public java.util.Set<java.lang.String> getItemsWithRoles(java.util.List<java.lang.String> roles) throws ServerFault
ServerFault
public void setDefaultIdentify(java.lang.String uid, java.lang.String id) throws ServerFault
ServerFault
public java.lang.String findByLogin(java.lang.String login) throws ServerFault
ServerFault
public boolean allValid(java.lang.String[] usersUids) throws ServerFault
ServerFault
public java.util.List<java.lang.String> allUids() throws ServerFault
allUids
in interface IContainerStoreService<DirEntryAndValue<User>>
allUids
in class ContainerStoreService<DirEntryAndValue<User>>
ServerFault
@Deprecated public void create(java.lang.String uid, java.lang.String displayName, User value) throws ServerFault
ServerFault
public void deleteMailboxIdentities(java.lang.String userUid, java.lang.String mailboxUid) throws ServerFault
ServerFault
public void deleteMailboxIdentities(java.lang.String mailboxUid) throws ServerFault
ServerFault
protected byte[] getDefaultImage()
getDefaultImage
in class DirValueStoreService<User>
Copyright © 2021. All Rights Reserved.