Class List
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem
com.amilesend.onedrive.resource.site.List
Represents a list resource in a site that describes the top-level properties of a list.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classList.ListBuilder<C extends List, B extends List.ListBuilder<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 List.ListBuilder<?, ?> builder()createListItem(Map<String, Object> fields) Creates a newListItemfor the givenCreateListItemRequest.booleanQueries and fetches the activities associated with thisList.The column definitions that apply to this list.The OneDrive API connection.The content types for this list.The list title.getDrive()When defined, indicates that this list exists within a document library and can be treated as a drive.getList()Additional list information.The associated site identifier that this list is associated with.Indicates that this is a system-managed list.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
-
LIST_BASE_URL_PATH
- See Also:
-
LIST_URL_PATH_SUFFIX
- See Also:
-
-
Method Details
-
createListItem
- Parameters:
fields- The map of fields, with the key being the column name and the Object being its value- Returns:
- the created list item
-
getActivities
Queries and fetches the activities associated with thisList.- Returns:
- the list of activities
-
equals
-
hashCode
-
builder
-
getSystem
Indicates that this is a system-managed list. Note: Eithernullor defined as empty. -
getColumns
The column definitions that apply to this list. -
getContentTypes
The content types for this list. -
getDrive
When defined, indicates that this list exists within a document library and can be treated as a drive. -
getSiteId
The associated site identifier that this list is associated with. -
getConnection
The OneDrive API connection. -
getDisplayName
The list title. -
getList
Additional list information. -
toString
-