public interface RestoreIntf
| Modifier and Type | Interface and Description |
|---|---|
static class |
RestoreIntf.FixAliasResult |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdminGroupMember(BwAdminGroup o,
BwPrincipal pr) |
void |
addCalendar(BwCalendar val)
Restore a single calendar - parent is set in the entity
|
void |
checkEmptySystem()
Check for an empty system first
|
void |
endTransaction()
Call to end a transaction - may be ignored if batching
|
void |
endTransactionNow()
Call to end a transaction - even if batched
|
RestoreIntf.FixAliasResult |
fixSharee(BwCalendar col,
String shareeHref,
org.bedework.caldav.util.sharing.AccessType a)
Restore sharing for the given principal href
|
BwAdminGroup |
getAdminGroup(String name)
Get an admin group given it's name.
|
BwCalendar |
getCalendar(String path) |
BwCategory |
getCategory(String uid) |
BwContact |
getContact(String uid) |
BwEvent |
getEvent(BwPrincipal owner,
String colPath,
String recurrenceId,
String uid)
Get an event
|
BwLocation |
getLocation(String uid) |
BwPrincipal |
getPrincipal(String href) |
void |
restoreAdminGroup(BwAdminGroup o)
Restore an admin group - though not the user entries nor
the authuser entries.
|
void |
restoreAuthUser(BwAuthUser o)
Restore an auth user and preferences
|
void |
restoreCalSuite(BwCalSuite o)
Restore calendar suite
|
void |
restoreCategory(BwCategory o)
Restore category
|
void |
restoreContact(BwContact o)
Restore contact
|
void |
restoreEvent(EventInfo ei)
Restore an event and associated entries
|
void |
restoreFilter(BwFilterDef o)
Restore filter
|
void |
restoreLocation(BwLocation o)
Restore location
|
void |
restorePrincipal(BwPrincipal o)
Restore principal
|
void |
restoreResource(BwResource o)
Restore resource
|
void |
restoreSyspars(BwSystem o)
Restore system pars
|
void |
restoreUserPrefs(BwPreferences o)
Restore user prefs
|
void |
saveRootCalendar(BwCalendar val)
Save a single root calendar - no parent is set in the entity
|
void |
setBatchSize(int val)
Allow transactions to span many updates.
|
void |
setLogger(org.bedework.util.logging.Logged val) |
void setLogger(org.bedework.util.logging.Logged val)
val - void setBatchSize(int val)
val - void endTransactionNow()
throws Throwable
Throwablevoid endTransaction()
throws Throwable
Throwablevoid checkEmptySystem()
throws Throwable
Throwablevoid restoreSyspars(BwSystem o) throws Throwable
o - Throwablevoid restorePrincipal(BwPrincipal o) throws Throwable
o - Throwablevoid restoreAdminGroup(BwAdminGroup o) throws Throwable
o - Object to restoreThrowablevoid addAdminGroupMember(BwAdminGroup o, BwPrincipal pr) throws Throwable
o - pr - ThrowableBwAdminGroup getAdminGroup(String name) throws Throwable
name - String name of the groupThrowablevoid restoreAuthUser(BwAuthUser o) throws Throwable
o - Object to restore with id setThrowablevoid restoreEvent(EventInfo ei) throws Throwable
ei - Object to restore with id setThrowableBwEvent getEvent(BwPrincipal owner, String colPath, String recurrenceId, String uid) throws Throwable
owner - - the current user we are acting as - eg, for an annotation and
fetching the master event this will be the annotation owner.colPath - recurrenceId - uid - Throwablevoid restoreCategory(BwCategory o) throws Throwable
o - Object to restore with id setThrowablevoid restoreCalSuite(BwCalSuite o) throws Throwable
o - Object to restoreThrowablevoid restoreLocation(BwLocation o) throws Throwable
o - Object to restore with id setThrowablevoid restoreContact(BwContact o) throws Throwable
o - Object to restore with id setThrowablevoid restoreFilter(BwFilterDef o) throws Throwable
o - Object to restore with id setThrowablevoid restoreResource(BwResource o) throws Throwable
o - Object to restore with id setThrowablevoid restoreUserPrefs(BwPreferences o) throws Throwable
o - Object to restore with id setThrowableBwCalendar getCalendar(String path) throws Throwable
path - ThrowableBwCategory getCategory(String uid) throws Throwable
uid - ThrowableBwContact getContact(String uid) throws Throwable
uid - ThrowableBwLocation getLocation(String uid) throws Throwable
uid - ThrowableBwPrincipal getPrincipal(String href) throws CalFacadeException
href - CalFacadeExceptionvoid saveRootCalendar(BwCalendar val) throws Throwable
val - Throwablevoid addCalendar(BwCalendar val) throws Throwable
val - ThrowableRestoreIntf.FixAliasResult fixSharee(BwCalendar col, String shareeHref, org.bedework.caldav.util.sharing.AccessType a) throws CalFacadeException
col - - the target collectionshareeHref - - the shareea - - accessCalFacadeExceptionCopyright © 2019 Bedework. All rights reserved.