public class DbAddrBookDirHandler extends DbDirHandler
DbDirHandler.CollectionsBatchImplAbstractDirHandler.SplitResultDirHandler.CollectionBatcherdbConfig, objTimestamp, sess, userHomeRootaccount, cdConfig, debug, dhConfig, open, principalNotFound, superUser, unknownPrincipalType, urlHandlerallowed, allowedInherited, denied, deniedInherited, inheritedFlag, oldAllowed, oldDenied, privAll, privAny, privBind, privEncoding, privMaxType, privNone, privRead, privReadAcl, privReadCurrentUserPrivilegeSet, privReadFreeBusy, privSchedule, privScheduleDeliver, privScheduleDeliverInvite, privScheduleDeliverReply, privScheduleFreeBusy, privScheduleQueryFreebusy, privScheduleReply, privScheduleRequest, privScheduleSend, privScheduleSendFreebusy, privScheduleSendInvite, privScheduleSendReply, privUnbind, privUnlock, privWrite, privWriteAcl, privWriteContent, privWriteProperties, unspecifiedstatusChangeUid, statusCreated, statusDestinationExists, statusDuplicate, statusDuplicateUid, statusIllegal, statusNoAccess, statusOK| Constructor and Description |
|---|
DbAddrBookDirHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCard(String path,
Card card) |
int |
copyMove(Card from,
String toPath,
String name,
boolean copy,
boolean overwrite) |
void |
deleteCard(String path) |
void |
deleteCollection(org.bedework.webdav.servlet.shared.WdCollection col) |
boolean |
exportData(String dataOutPath) |
Collection<String> |
getGroups(String rootUrl,
String principalUrl) |
Card |
getPrincipalCard(String href) |
void |
init(CardDAVConfigI cdConfig,
DirHandlerConfig dhConfig,
org.bedework.webdav.servlet.shared.UrlHandler urlHandler) |
int |
makeCollection(CarddavCollection col,
String parentPath) |
int |
rename(org.bedework.webdav.servlet.shared.WdCollection col,
String newName) |
void |
updateCard(String path,
Card card) |
void |
updateCollection(org.bedework.webdav.servlet.shared.WdCollection val) |
beginTransaction, checkAccess, checkOpen, close, closeSession, deleteDbCard, deleteDbCollection, endTransaction, ensureSlashAtEnd, getAll, getCard, getCardByUid, getCards, getCollection, getCollections, getCollections, getDbCard, getDbCard, getDbCardByUid, getDbCollection, makeCdCollection, makeVcard, open, openSession, rollbackTransaction, updateCollectionaddValidUser, ensureEndSlash, error, getDirectoryInfo, getLogger, getPrincipal, getprincipalHome, getprincipalHome, isOpen, isPrincipal, lookupUser, makePrincipalHref, makePrincipalUri, splitUri, trace, verifyPath, warnpublic void init(CardDAVConfigI cdConfig, DirHandlerConfig dhConfig, org.bedework.webdav.servlet.shared.UrlHandler urlHandler) throws org.bedework.webdav.servlet.shared.WebdavException
init in interface DirHandlerinit in class DbDirHandlerorg.bedework.webdav.servlet.shared.WebdavExceptionpublic boolean exportData(String dataOutPath) throws org.bedework.webdav.servlet.shared.WebdavException
exportData in interface DirHandlerexportData in class AbstractDirHandlerorg.bedework.webdav.servlet.shared.WebdavExceptionpublic Card getPrincipalCard(String href) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic Collection<String> getGroups(String rootUrl, String principalUrl) throws org.bedework.webdav.servlet.shared.WebdavException
getGroups in interface DirHandlergetGroups in class AbstractDirHandlerorg.bedework.webdav.servlet.shared.WebdavExceptionpublic void addCard(String path, Card card) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic void updateCard(String path, Card card) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic void deleteCard(String path) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic int makeCollection(CarddavCollection col, String parentPath) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic void deleteCollection(org.bedework.webdav.servlet.shared.WdCollection col)
throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic int rename(org.bedework.webdav.servlet.shared.WdCollection col,
String newName)
throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic int copyMove(Card from, String toPath, String name, boolean copy, boolean overwrite) throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionpublic void updateCollection(org.bedework.webdav.servlet.shared.WdCollection val)
throws org.bedework.webdav.servlet.shared.WebdavException
org.bedework.webdav.servlet.shared.WebdavExceptionCopyright © 2018 Bedework. All rights reserved.