public interface CalSuitesI extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
CalSuitesI.ResourceClass
Define class of resource
|
| Modifier and Type | Method and Description |
|---|---|
BwCalSuiteWrapper |
add(String name,
String adminGroupName,
String rootCollectionPath,
String submissionsPath)
Create a new calendar suite
|
void |
addResource(BwCalSuite suite,
BwResource res,
CalSuitesI.ResourceClass cl)
Add a resource.
|
void |
delete(BwCalSuiteWrapper val)
Delete a calendar suite object
|
void |
deleteResource(BwCalSuite suite,
String name,
CalSuitesI.ResourceClass cl)
Delete named resource
|
BwCalSuiteWrapper |
get()
Get the current calendar suite.
|
BwCalSuiteWrapper |
get(BwAdminGroup group)
Get a calendar suite given the 'owning' group
|
BwCalSuiteWrapper |
get(String name)
Get a calendar suite given the name
|
Collection<BwCalSuite> |
getAll()
Get calendar suites to which this user has access
|
BwResource |
getResource(BwCalSuite suite,
String name,
CalSuitesI.ResourceClass cl)
Get named resource.
|
List<BwResource> |
getResources(BwCalSuite suite,
CalSuitesI.ResourceClass cl)
Get a list of resources.
|
String |
getResourcesPath(BwCalSuite suite,
CalSuitesI.ResourceClass cl)
Get the path to the resources directory for the calsuite
|
void |
set(BwCalSuiteWrapper val)
Set the current calendar suite.
|
void |
update(BwCalSuiteWrapper cs,
String adminGroupName,
String rootCollectionPath,
String submissionsPath)
Update a calendar suite.
|
BwCalSuiteWrapper add(String name, String adminGroupName, String rootCollectionPath, String submissionsPath) throws CalFacadeException
name - of calsuiteadminGroupName - - name of the admin grouprootCollectionPath - submissionsPath - CalFacadeExceptionvoid set(BwCalSuiteWrapper val) throws CalFacadeException
val - BwCalSuiteWrapperCalFacadeExceptionBwCalSuiteWrapper get() throws CalFacadeException
CalFacadeExceptionBwCalSuiteWrapper get(String name) throws CalFacadeException
name - String name of calendar suiteCalFacadeExceptionBwCalSuiteWrapper get(BwAdminGroup group) throws CalFacadeException
group - BwAdminGroupCalFacadeExceptionCollection<BwCalSuite> getAll() throws CalFacadeException
CalFacadeExceptionvoid update(BwCalSuiteWrapper cs, String adminGroupName, String rootCollectionPath, String submissionsPath) throws CalFacadeException
cs - BwCalSuiteWrapper objectadminGroupName - - name of the admin grouprootCollectionPath - submissionsPath - CalFacadeExceptionvoid delete(BwCalSuiteWrapper val) throws CalFacadeException
val - BwCalSuiteWrapper objectCalFacadeExceptionString getResourcesPath(BwCalSuite suite, CalSuitesI.ResourceClass cl) throws CalFacadeException
suite - - the suitecl - - class of resourceCalFacadeExceptionList<BwResource> getResources(BwCalSuite suite, CalSuitesI.ResourceClass cl) throws CalFacadeException
suite - - calendar suitecl - - define class of resourceCalFacadeExceptionBwResource getResource(BwCalSuite suite, String name, CalSuitesI.ResourceClass cl) throws CalFacadeException
suite - - calendar suitename - of resourcecl - - define class of resourceCalFacadeExceptionvoid addResource(BwCalSuite suite, BwResource res, CalSuitesI.ResourceClass cl) throws CalFacadeException
The parent collection will be created if necessary.
suite - - calendar suiteres - to addcl - - define class of resourceCalFacadeExceptionvoid deleteResource(BwCalSuite suite, String name, CalSuitesI.ResourceClass cl) throws CalFacadeException
suite - - calendar suitename - of resourcecl - - define class of resourceCalFacadeExceptionCopyright © 2019 Bedework. All rights reserved.