Class Site
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem
com.amilesend.onedrive.resource.site.Site
Top-level object that represents a SharePoint document library.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Site.SiteBuilder<C extends Site,
B extends Site.SiteBuilder<C, B>> Nested classes/interfaces inherited from class com.amilesend.onedrive.resource.item.BaseItem
BaseItem.BaseItemBuilder<C extends BaseItem,
B extends BaseItem.BaseItemBuilder<C, B>> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Site.SiteBuilder
<?, ?> builder()
boolean
The column definitions that are reusable across lists under this site.The content types for the site.Gets the default document library for this site.The full title for the site.Gets all available document libraries for this site.getItems()
The items contained within this site.getLists()
Gets all lists under the site.getRoot()
If defined, indicates that the item is the top-most folder in the drive (read-only).SharePoint resource identifiers for SharePoint and Business account items (read-only).Provides details about the site's collection.int
hashCode()
toString()
Methods inherited from class com.amilesend.onedrive.resource.item.BaseItem
getCreatedBy, getCreatedDateTime, getDescription, getETag, getId, getLastModifiedBy, getLastModifiedDateTime, getName, getParentReference, getWebUrl, setDescription, setName, setParentReference
-
Field Details
-
SITE_BASE_URL_PATH
- See Also:
-
SITE_URL_PATH_SUFFIX
- See Also:
-
-
Method Details
-
getDefaultDocumentLibrary
Gets the default document library for this site.- Returns:
- the drive representing the default document library
-
getDocumentLibraries
Gets all available document libraries for this site.- Returns:
- the list of drives representing the document libraries.
-
getLists
Gets all lists under the site.- Returns:
- the associated lists
-
equals
-
hashCode
public int hashCode() -
builder
-
getDisplayName
The full title for the site. -
getRoot
If defined, indicates that the item is the top-most folder in the drive (read-only). -
getSiteCollection
Provides details about the site's collection. Only applies to root sites. -
getContentTypes
The content types for the site. -
getColumns
The column definitions that are reusable across lists under this site. -
getItems
The items contained within this site. Note: Cannot be enumerated. -
getConnection
-
toString
-