public class VCardContainerStoreService extends ContainerStoreService<VCard>
ContainerStoreService.IItemFlagsProvider<W>, ContainerStoreService.IWeightSeedProvider<W>
changelogStore, container, hasChangeLog, itemStore, itemValueStore, logger, securityContext
Constructor and Description |
---|
VCardContainerStoreService(BmContext context,
javax.sql.DataSource dataSource,
SecurityContext securityContext,
Container container) |
VCardContainerStoreService(BmContext context,
javax.sql.DataSource dataSource,
SecurityContext securityContext,
Container container,
IItemValueStore<VCard> itemValueStore,
VCardIndexStore indexStore) |
Modifier and Type | Method and Description |
---|---|
protected void |
createValue(Item item,
VCard value) |
protected void |
decorate(Item item,
ItemValue<VCard> value) |
protected void |
decorate(java.util.List<Item> items,
java.util.List<ItemValue<VCard>> values) |
void |
deleteIcon(java.lang.String uid) |
void |
deletePhoto(java.lang.String uid) |
protected void |
deleteValue(Item item) |
protected void |
deleteValues() |
java.util.List<java.lang.String> |
findByEmail(java.lang.String email) |
java.util.List<java.lang.String> |
findGroups() |
java.util.List<java.lang.String> |
findGroupsContaining(java.lang.String[] uid) |
byte[] |
getIcon(java.lang.String uid) |
int |
getItemCount() |
byte[] |
getPhoto(java.lang.String uid) |
boolean |
hasPhoto(java.lang.String uid) |
void |
setIcon(java.lang.String uid,
byte[] photo) |
void |
setPhoto(java.lang.String uid,
byte[] photo) |
protected void |
updateValue(Item item,
VCard value) |
all, allIds, allUids, attach, changelog, changelog, changeset, changesetById, changesetById, count, create, create, createWithId, delete, delete, deleteAll, detach, doOrFail, fullChangesetById, get, get, getByExtId, getItemStore, getItemsValue, getItemValue, getItemValueStore, getMultiple, getMultipleById, getValue, getVersion, prepareContainerDelete, setExtId, touch, update, update, xfer
public VCardContainerStoreService(BmContext context, javax.sql.DataSource dataSource, SecurityContext securityContext, Container container)
public VCardContainerStoreService(BmContext context, javax.sql.DataSource dataSource, SecurityContext securityContext, Container container, IItemValueStore<VCard> itemValueStore, VCardIndexStore indexStore)
protected void decorate(java.util.List<Item> items, java.util.List<ItemValue<VCard>> values) throws ServerFault
decorate
in class ContainerStoreService<VCard>
ServerFault
protected void decorate(Item item, ItemValue<VCard> value) throws ServerFault
decorate
in class ContainerStoreService<VCard>
ServerFault
protected void createValue(Item item, VCard value) throws ServerFault, java.sql.SQLException
createValue
in class ContainerStoreService<VCard>
ServerFault
java.sql.SQLException
protected void updateValue(Item item, VCard value) throws ServerFault, java.sql.SQLException
updateValue
in class ContainerStoreService<VCard>
ServerFault
java.sql.SQLException
protected void deleteValue(Item item) throws ServerFault, java.sql.SQLException
deleteValue
in class ContainerStoreService<VCard>
ServerFault
java.sql.SQLException
protected void deleteValues() throws ServerFault
deleteValues
in class ContainerStoreService<VCard>
ServerFault
public void setPhoto(java.lang.String uid, byte[] photo) throws ServerFault
ServerFault
public void deletePhoto(java.lang.String uid) throws ServerFault
ServerFault
public void deleteIcon(java.lang.String uid) throws ServerFault
ServerFault
public void setIcon(java.lang.String uid, byte[] photo) throws ServerFault
ServerFault
public byte[] getPhoto(java.lang.String uid) throws ServerFault
ServerFault
public boolean hasPhoto(java.lang.String uid) throws ServerFault
ServerFault
public byte[] getIcon(java.lang.String uid) throws ServerFault
ServerFault
public java.util.List<java.lang.String> findByEmail(java.lang.String email) throws ServerFault
ServerFault
public java.util.List<java.lang.String> findGroupsContaining(java.lang.String[] uid)
public java.util.List<java.lang.String> findGroups()
public int getItemCount()
Copyright © 2021. All Rights Reserved.