public class VCardContainerStoreService extends ContainerStoreService<VCard>
changelogStore, container, hasChangeLog, itemStore, itemValueStore, logger, securityContext
Constructor and Description |
---|
VCardContainerStoreService(javax.sql.DataSource dataSource,
SecurityContext securityContext,
Container container) |
VCardContainerStoreService(javax.sql.DataSource dataSource,
SecurityContext securityContext,
Container container,
java.lang.String itemType,
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) |
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, allUids, allUidsOrderedByDisplayname, attach, changelog, changelog, changeset, changesetById, create, create, createWithId, delete, deleteAll, detach, get, get, getByExtId, getItemStore, getItemsValue, getItemValue, getItemValueStore, getMultiple, getMultipleById, getValue, getVersion, inTransaction, prepareContainerDelete, setExtId, touch, update
public VCardContainerStoreService(javax.sql.DataSource dataSource, SecurityContext securityContext, Container container)
public VCardContainerStoreService(javax.sql.DataSource dataSource, SecurityContext securityContext, Container container, java.lang.String itemType, 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()
Copyright © 2021. All Rights Reserved.