Dav accessible
Represents the root of a website. A "website" in this context is a product,
its a customer facing side of some activity, such as Learning Management
System or business website.
Resources within a WebsiteRootFolder will often behave differently then if
they were located under a OrganisationRootFolder, because the assumption is
that websites are for customers, while aadministrators will accessing the
organisation directly
While WebsiteRootFolder is a view of a repository (or rather a branch within
a repository) it also provides access to other repositories. Any repository
within the containing organisation can be access by name from the root
folder. For example, if an org has this structure:
myOrg - milton.io - maven
... then requests to http://milton.io/maven will show the maven repository
Properties
| Name |
Returns |
Notes |
Example |
| usersFolder |
UsersFolder |
|
|
| name |
String |
|
|
| websiteName |
String |
|
|
| id |
String |
|
|
| domainName |
String |
|
|
| modifiedDate |
Date |
|
|
| website |
Website |
|
|
| attributes |
Map |
|
|
| emailAddress |
String |
|
|
| themeName |
String |
|
|
| comments |
List |
|
|
| numComments |
int |
|
|
| newComment |
String |
Dav accessible
This is just here to make newComment a bean property
|
|
| externalUrl |
String |
|
|
| orgData |
OrgData |
Get the OrgData for the organisation that owns this website. This can be
used to get a list of members within the organisation
|
|
| orgTypes |
List |
Returns all organisation types defined by the organisation holding this
website
|
|
| adminDomainName |
String |
Get the admin domain name for current website
|
|
| allGroups |
List |
Return all groups defined by the organisation
|
|
| allGroupFolders |
List |
|
|
| languages |
List |
|
|
| settings |
WebsiteSettings |
|
|
Methods
| Name |
Returns |
Notes |
Example |
|
externalUrl ( path )
|
String |
Build a fully qualified URL for an (optional) path to this website
|
|
|
returnWithCurrent ( c )
|
Object |
Execute the given function, returning the return value
|
|
|
doWithCurrent ( c )
|
void |
|
|