Modifier and Type | Method and Description |
---|---|
Guid |
LibraryItem.getId()
Returns the ID of the item.
|
Guid |
SpotfirePrincipal.getId()
Returns the ID.
|
Guid |
LibraryItem.getParentId()
Returns the ID of the parent item.
|
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.
|
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<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.
|
GroupPrincipal |
UserDirectoryService.getGroupById(Guid id)
Returns a GroupPrincipal object representing the group with the given ID.
|
AclEntryCollection |
LibraryService.getPermissions(Guid itemId)
Returns the effective permissions of the given library item.
|
UserPrincipal |
UserDirectoryService.getUserById(Guid id)
Returns the user with the given ID.
|
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.
|
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.
|
java.util.List<java.lang.String> |
InformationModelService.testUpdateDataSourceFromId(Guid itemId,
java.lang.String fromCatalog,
java.lang.String toCatalog,
java.lang.String fromSchema,
java.lang.String toSchema)
This method will do a dry run and return all elements that would have changed if the real update method was run.
Use of this method will not result in any changes to the library. |
long |
InformationModelService.updateDataSourceCatalogFromId(Guid itemId,
java.lang.String connectionUrl,
java.lang.String user,
java.lang.String password,
java.lang.String userAuthentication,
java.lang.String fromCatalog,
java.lang.String toCatalog)
Updates the provided information model data source by setting a new connectionUrl, a user, a password and
userAuthentication.
|
long |
InformationModelService.updateDataSourceFromId(Guid itemId,
java.lang.String connectionUrl,
java.lang.String user,
java.lang.String password,
java.lang.String userAuthentication,
java.lang.String fromCatalog,
java.lang.String toCatalog,
java.lang.String fromSchema,
java.lang.String toSchema)
Updates the provided information model data source by setting a new connectionUrl, a user, a password and
userAuthentication.
|
long |
InformationModelService.updateDataSourceSchemaFromId(Guid itemId,
java.lang.String connectionUrl,
java.lang.String user,
java.lang.String password,
java.lang.String userAuthentication,
java.lang.String forTheCatalog,
java.lang.String fromSchema,
java.lang.String toSchema)
Updates the provided information model data source by setting a new connectionUrl, a user, a password and
userAuthentication.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<LibraryItem> |
LibraryService.copyItems(java.util.List<Guid> itemIds,
Guid destinationFolderId,
LibraryConflictResolution conflictResolution)
Copies the given items to the given destination folder.
|
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<LibraryItem> |
LibraryService.moveItems(java.util.List<Guid> itemIds,
Guid destinationFolderId,
LibraryConflictResolution conflictResolution)
Moves the given items to the given destination folder.
|
void |
LibraryService.removeItems(java.util.List<Guid> itemIds)
Removes the given items.
|
Constructor and Description |
---|
UserPrincipal(Guid id,
UserName name,
java.lang.String displayName,
java.lang.String email,
boolean enabled)
Creates a new UserPrincipal instance with the specified details.
|
Copyright © 2013-2020 TIBCO Software Inc. All Rights Reserved.