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 classSite.SiteBuilder<C extends Site, B extends Site.SiteBuilder<C,B>> Nested classes/interfaces inherited from class BaseItem
BaseItem.BaseItemBuilder<C,B> Modifier and TypeClassDescriptionstatic classBaseItem.BaseItemBuilder<C extends BaseItem, B extends BaseItem.BaseItemBuilder<C,B>> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Site.SiteBuilder<?, ?> builder()booleanThe 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.inthashCode()toString()Methods inherited from class BaseItem
getCreatedBy, getCreatedDateTime, getDescription, getETag, getId, getLastModifiedBy, getLastModifiedDateTime, getName, getParentReference, getUpdatedAttributesMap, getWebUrl, setDescription, setName, setParentReferenceModifier and TypeMethodDescriptionThe source identity that created the item.Describes when the item was created.Description of the item.getETag()Associated ETag for the item.getId()The unique identifier for the item.The identity that last modified the item.Describes when the item was last modified.getName()The name of the item.Describes the parent information.URL for the resource shown in a browser.voidsetDescription(String description) Sets the description for updating the drive item.voidSets the updated drive item name.voidsetParentReference(ItemReference parentReference) Sets the updated parentItemReferenceused for moving a file to another folder.
-
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
-
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
-
getConnection
-
toString
-