Modifier and Type | Method and Description |
---|---|
void |
LibraryService.clearPermissions(Guid itemId,
boolean includeDescendants)
Clears the permissions on the given library item (and possibly on all of its descendants) meaning that the item
will inherit its permissions instead.
|
java.util.List<java.lang.String> |
LibraryService.copyFolders(java.util.List<java.lang.String> folders,
java.lang.String destinationFolder,
LibraryConflictResolution conflictResolution)
Copies the given folders to the given destination folder.
|
java.util.List<LibraryItem> |
LibraryService.copyItems(java.util.List<Guid> itemIds,
Guid destinationFolderId,
LibraryConflictResolution conflictResolution)
Copies the given items to the given destination folder.
|
LibraryItem |
LibraryService.createFolder(java.lang.String title,
java.lang.String description,
Guid parentId)
Creates a new folder.
|
java.util.List<LibraryItem> |
LibraryService.getChildItems(Guid folderId)
Returns all items (if any) within the given folder that the calling user has read access to.
|
java.util.List<LibraryItem> |
LibraryService.getChildItemsAsUser(Guid folderId,
UserName userName)
Returns all items (if any) within the given folder that the given user has read access to.
|
java.util.List<LibraryItem> |
LibraryService.getItems(java.util.List<Guid> itemIds)
Returns the items with the given IDs that the calling user has read access to.
|
java.util.List<LibraryItem> |
LibraryService.getItemsAsUser(java.util.List<Guid> itemIds,
UserName userName)
Returns the items with the given IDs that the given user has read access to.
|
java.util.List<java.lang.String> |
LibraryService.getItemTypes()
Returns all item types.
|
AclEntryCollection |
LibraryService.getPermissions(Guid itemId)
Returns the effective permissions of the given library item.
|
LibraryItem |
LibraryService.getRootItem()
Returns the root item.
|
java.lang.String |
LibraryService.idToPath(Guid itemId)
Returns the path to the given library item.
|
java.util.List<LibraryItem> |
LibraryService.moveItems(java.util.List<Guid> itemIds,
Guid destinationFolderId,
LibraryConflictResolution conflictResolution)
Moves the given items to the given destination folder.
|
Guid |
LibraryService.pathToId(java.lang.String path,
java.lang.String type)
Returns the ID of the item of the given type in the given location.
|
void |
LibraryService.removeItems(java.util.List<Guid> itemIds)
Removes the given items.
|
java.util.List<LibraryItem> |
LibraryService.searchItems(java.lang.String searchExpression,
Guid locationId,
int maxResults)
Returns all items, up to the given limit, in the given location that matches the given search expression.
|
java.util.List<LibraryItem> |
LibraryService.searchItemsAsUser(java.lang.String searchExpression,
Guid locationId,
int maxResults,
UserName userName)
Returns all items, up to the given limit, in the given location that matches the given search expression.
|
void |
LibraryService.setDescription(Guid itemId,
java.lang.String description)
Sets the description of the given library item.
|
void |
LibraryService.setPermissions(Guid itemId,
AclEntryCollection aclEntryCollection)
Sets the permissions on the given library item.
|
void |
LibraryService.setProperties(Guid itemId,
java.util.Collection<LibraryProperty> properties)
Sets the properties of the given library item.
|
void |
LibraryService.setTitle(Guid itemId,
java.lang.String title)
Sets the title of the given library item.
|
Copyright © 2013-2020 TIBCO Software Inc. All Rights Reserved.