com.ibm.ram.internal.access.ws
Interface RAM1
- All Superinterfaces:
- java.rmi.Remote
public interface RAM1
- extends java.rmi.Remote
|
Method Summary |
void |
addTag(java.lang.String assetId,
java.lang.String assetVersion,
java.lang.String tagLabels,
java.lang.String asUserID)
|
void |
addTagByID(AssetIdentification asset,
java.lang.String tagLabels,
java.lang.String asUserID)
|
void |
changeAssetOwners(java.lang.String assetID,
java.lang.String assetVersion,
UserInformation[] newOwners)
|
void |
changeAssetOwnersByID(AssetIdentification asset,
UserInformation[] newOwners)
|
java.lang.String[] |
changeAssetState(java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String newState,
boolean force)
|
java.lang.String[] |
changeAssetStateByID(AssetIdentification asset,
java.lang.String newState,
boolean force)
|
RelationshipType |
createAssetRelationType(java.lang.String preferredName,
java.lang.String preferredDisplayName,
java.lang.String reverseName,
java.lang.String reverseDisplayName)
|
void |
createAssetSubscription(java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String subscriptionName)
|
void |
createAssetSubscriptionByID(AssetIdentification asset,
java.lang.String subscriptionName)
|
AssetTypeSO |
createAssetType(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String configuration,
boolean restricted,
boolean isPrivate,
AssetTypeCommunityRelationshipSO[] communityRelationships)
|
AssetAttributeSO |
createAttribute(java.lang.String id,
java.lang.String attributeName,
java.lang.String description,
java.lang.String attributeType,
java.lang.String configuration,
boolean isRestrictedAttribute,
boolean isSingleSetting,
java.lang.String[] settingNames,
java.lang.String[] settingDescriptions)
|
java.lang.String |
createCategorySchema(java.lang.String id,
java.lang.String schemaXMI,
int[] communityIDs,
int[] communityAccessKinds,
boolean isSystemCategorySchema,
int systemSharingType)
|
CommunitySO |
createCommunity(java.lang.String name,
java.lang.String description,
java.lang.String[] adminUIDs)
|
CommunityAssetType |
createCommunityAssetType(java.lang.String id,
java.lang.String communityAssetTypeName,
CommunityAssetType communityAssetType)
|
Forum |
createDiscussionForum(java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String title,
java.lang.String description,
java.lang.String asUserID,
long creationTimestamp)
|
Forum |
createDiscussionForumByID(AssetIdentification asset,
java.lang.String title,
java.lang.String description,
java.lang.String asUserID,
long creationTimestamp)
|
Post |
createDiscussionPost(java.lang.String title,
java.lang.String description,
int topicID,
int replyToPostID,
java.lang.String asUserID,
long creationTimestamp)
|
Topic |
createDiscussionTopic(java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String title,
java.lang.String description,
int forumID,
java.lang.String asUserID,
long creationTimestamp)
|
Topic |
createDiscussionTopicByID(AssetIdentification asset,
java.lang.String title,
java.lang.String description,
int forumID,
java.lang.String asUserID,
long creationTimestamp)
|
RoleSO |
createRole(int inCommunityID,
java.lang.String name,
java.lang.String description,
int[] entitlementIDs,
java.lang.String testData,
int roleType)
|
void |
createSearchSubscription(java.lang.String[] textQueries,
FacetSelectionSO[] facetSelections,
java.lang.String subscriptionName)
|
UserGroupSO |
createUserGroup(java.lang.String name,
java.lang.String description,
int inCommunityID,
java.lang.String[] userIDs,
int[] roleIDs)
|
void |
deleteAsset(java.lang.String assetID,
java.lang.String assetVersion)
|
void |
deleteAssetByID(AssetIdentification asset)
|
void |
deleteAssetRelationType(java.lang.String assetRelationTypeName)
|
void |
deleteAssetTags(java.lang.String assetId,
java.lang.String assetVersion,
java.lang.String tagLabels)
|
void |
deleteAssetTagsByID(AssetIdentification asset,
java.lang.String tagLabels)
|
java.lang.String[] |
deleteAssetTypes(java.lang.String[] assetTypeURIs,
boolean force)
|
java.lang.String[] |
deleteAttributes(java.lang.String[] attributeURI)
|
java.lang.String[] |
deleteCategorySchemas(java.lang.String[] uris,
int[] uriCommunityIDs,
boolean force)
|
int[] |
deleteCommunities(int[] communityIDs,
int moveAssetsToCommunityID)
|
void |
deleteCommunityAssetType(AssetTypeCommunityRelationshipSO communityAssetType)
|
void |
deleteDiscussionForum(int forumID,
java.lang.String assetID,
java.lang.String assetVersion)
|
void |
deleteDiscussionForumByID(int forumID,
AssetIdentification asset)
|
void |
deleteDiscussionPost(long postID)
|
void |
deleteDiscussionTopic(int topicID)
|
int[] |
deleteRoles(int[] roleIDs)
|
void |
deleteSubscription(Subscription subscription)
|
void |
deleteTags(java.lang.String tag)
|
int[] |
deleteUserGroups(int[] userGroupIDs)
|
ActivitySO[] |
getActivities(long fromTimeStamp,
long toTimeStamp,
java.lang.String assetID,
java.lang.String assetVersion,
int[] activityTypes,
java.lang.String language)
|
ActivitySO[] |
getActivitiesByID(long fromTimeStamp,
long toTimeStamp,
AssetIdentification asset,
int[] activityTypes,
java.lang.String language)
|
CommunityInformation[] |
getAdminGroups()
|
RelationshipType[] |
getAllAssetRelationTypes()
|
AssetTypeSO[] |
getAllAssetTypes()
|
AssetAttributeSO[] |
getAllAttributes()
|
java.lang.String[] |
getAllClassificationSchemaURI()
|
State[] |
getAllStates()
|
AssetSO |
getAsset(java.lang.String assetID,
java.lang.String assetVersion,
boolean includeManifest,
boolean includeTags,
boolean includeDiscussions,
boolean includeRatings,
boolean includePermissions,
boolean includeMetrics,
boolean includeEvents,
boolean includeArtifactDetails,
boolean includeVersions,
boolean includePolicyResults,
java.lang.String language)
|
AssetSO |
getAssetByID(AssetIdentification asset,
boolean includeManifest,
boolean includeTags,
boolean includeDiscussions,
boolean includeRatings,
boolean includePermissions,
boolean includeMetrics,
boolean includeEvents,
boolean includeArtifactDetails,
boolean includeVersions,
boolean includePolicyResults,
java.lang.String language)
|
AssetEventSO[] |
getAssetEvents(java.lang.String assetID,
java.lang.String assetVersion,
int maxResults,
long lastRun,
java.lang.String language)
|
AssetEventSO[] |
getAssetEventsByID(AssetIdentification asset,
int maxResults,
long lastRun,
java.lang.String language)
|
AssetPermissionSO[] |
getAssetPermissions(java.lang.String[] assetIDs,
java.lang.String[] assetVersions)
|
AssetPermissionSO[] |
getAssetPermissionsByID(AssetIdentification[] assets)
|
CategorySchemaSO[] |
getCategorySchemas(java.lang.String[] uris,
boolean loadSchemaModel)
|
CommunitySO[] |
getCommunities(int[] communityIDs,
boolean includeUserInformation,
boolean includeRoleInformation)
|
Constants |
getConstants()
|
CommunityInformation[] |
getCreateGroups()
|
Forum[] |
getForums(int[] forumIDs,
boolean includeTopics,
boolean includePosts)
|
GroupPermissionSO[] |
getGroupPermission(int[] groupIDs)
|
LibrarySO[] |
getLibraries(java.lang.String[] libraryIDs,
java.lang.String[] libraryVersions)
|
LibraryInformationSO[] |
getLibraryInformations(java.lang.String[] libraryIDs,
java.lang.String[] libraryVersions)
|
CommunityInformation[] |
getMemberGroups()
|
MyInformationSO |
getMyInformation(int maxRecentAssetsToReview,
int maxRecentDownloads,
long downloadsSinceTime,
int maxRecentUpdated,
int maxRecentSubscriptions,
int maxRecentTasks,
boolean includeTags,
java.lang.String language)
|
TaskSO[] |
getMyOriginatedToDos(java.lang.String language)
|
Post[] |
getPosts(int[] postIDs)
|
RoleSO[] |
getRoles(int inCommunityID)
|
java.lang.String[] |
getSearchSuggestions(java.lang.String searchText)
|
java.lang.String |
getServerPath()
|
Topic[] |
getTopics(int[] topicIDs,
boolean includePosts)
|
java.lang.String |
getUniqueID()
|
UserInformation |
getUser()
|
UserInformation[] |
getUsers(java.lang.String[] userIDs)
|
java.lang.String |
getVersion()
|
boolean |
isRepositoryAdministrator(java.lang.String userID)
|
AssetFeedback |
rateAsset(java.lang.String assetId,
java.lang.String assetVersion,
java.lang.String feedback,
int rating,
boolean rateAnonymously,
java.lang.String asUserID,
long ratingTime)
|
AssetFeedback |
rateAssetByID(AssetIdentification asset,
java.lang.String feedback,
int rating,
boolean rateAnonymously,
java.lang.String asUserID,
long ratingTime)
|
ActivitySO |
recordActivity(int activityType,
long numberData,
java.lang.String stringData,
java.lang.String longStringData,
java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String asUserID,
long timestamp)
|
ActivitySO |
recordActivityByID(int activityType,
long numberData,
java.lang.String stringData,
java.lang.String longStringData,
AssetIdentification asset,
java.lang.String asUserID,
long timestamp)
|
UserInformation |
registerUser(java.lang.String userID,
java.lang.String name,
java.lang.String phone,
java.lang.String email,
int emailFormat,
int subscriptionFrequency)
|
void |
releaseLicenses()
|
void |
renameTag(java.lang.String oldLabel,
java.lang.String newLabel)
|
TaskSO |
requestAccessTeamSpace(int teamSpaceId,
java.lang.String additionalComments,
java.lang.String language)
|
TaskSO |
requestAssetAccess(java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String additionalComments,
java.lang.String language)
|
TaskSO |
requestAssetAccessByID(AssetIdentification asset,
java.lang.String additionalComments,
java.lang.String language)
|
SearchResultSO |
search(java.lang.String[] queries,
FacetSelectionSO[] facetSelections,
boolean sortAscending,
java.lang.String sortVariable,
int index,
int maxResults,
int searchFlags,
boolean recordSearch,
java.lang.String language)
|
UserSearchResultSO |
searchForUsers(java.lang.String userQuery,
boolean searchUnregisteredUsers,
java.lang.String language)
|
UserInformation[] |
searchUsers(java.lang.String userQuery,
boolean searchUnregisteredUsers,
java.lang.String language)
|
boolean |
shouldSubmitAskReviewOptions(java.lang.String newManifest,
java.lang.String assetTypeURI,
int communityID,
java.lang.String originalAssetID,
java.lang.String originalAssetVersion)
|
boolean |
shouldSubmitAskReviewOptionsByID(java.lang.String newManifest,
java.lang.String assetTypeURI,
int communityID,
AssetIdentification asset)
|
ActivitySO |
updateActivity(long activityID,
int activityType,
long numberData,
java.lang.String stringData,
java.lang.String longStringData,
java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String asUserID,
long timestamp)
|
ActivitySO |
updateActivityByID(long activityID,
int activityType,
long numberData,
java.lang.String stringData,
java.lang.String longStringData,
AssetIdentification asset,
java.lang.String asUserID,
long timestamp)
|
AssetTypeSO |
updateAssetType(java.lang.String assetTypeURI,
java.lang.String name,
java.lang.String description,
java.lang.String configuration,
boolean restricted,
boolean isPrivate,
int collisionCount,
AssetTypeCommunityRelationshipSO[] communityRelationships)
|
AssetAttributeSO |
updateAttribute(java.lang.String attributeURI,
java.lang.String name,
java.lang.String description,
java.lang.String attributeType,
java.lang.String configuration,
boolean isSingleSetting,
java.lang.String[] removeNames,
java.lang.String[] addSettingNames,
java.lang.String[] addSettingDescriptions)
|
java.lang.String |
updateCategorySchema(java.lang.String uri,
java.lang.String newSchemaXMI,
boolean clearAllCommunityRelations,
int[] newCommunityIDs,
int[] communityAccessKind,
boolean isSystemCategorySchema,
int systemSharingType)
|
CommunitySO |
updateCommunity(int communityID,
java.lang.String name,
java.lang.String description,
java.lang.String[] adminUIDs)
|
void |
updateCommunityAssetTypes(AssetTypeCommunityRelationshipSO communityAssetType)
|
Forum |
updateDiscussionForum(java.lang.String assetID,
java.lang.String assetVersion,
int forumID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
|
Forum |
updateDiscussionForumByID(AssetIdentification asset,
int forumID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
|
Post |
updateDiscussionPost(java.lang.String assetID,
java.lang.String assetVersion,
long postID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
|
Post |
updateDiscussionPostByID(AssetIdentification asset,
long postID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
|
Topic |
updateDiscussionTopic(java.lang.String assetID,
java.lang.String assetVersion,
int topicID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
|
Topic |
updateDiscussionTopicByID(AssetIdentification asset,
int topicID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
|
RoleSO |
updateRole(int roleID,
java.lang.String name,
java.lang.String description,
int[] entitlementIDs,
java.lang.String testData,
int roleType)
|
UserInformation |
updateUser(java.lang.String userID,
java.lang.String name,
java.lang.String phone,
java.lang.String email,
int emailFormat,
int subscriptionFrequency,
int[] communityIDs,
int[][] communityRoleIDs)
|
UserGroupSO |
updateUserGroup(int userGroupID,
java.lang.String name,
java.lang.String description,
java.lang.String[] addUserIDs,
java.lang.String[] removeUserIDs,
int[] addRoleIDs,
int[] removeRoleIDs)
|
getGroupPermission
GroupPermissionSO[] getGroupPermission(int[] groupIDs)
throws java.rmi.RemoteException,
RAMException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
ResourceGroupNotFoundException
getForums
Forum[] getForums(int[] forumIDs,
boolean includeTopics,
boolean includePosts)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
deleteDiscussionPost
void deleteDiscussionPost(long postID)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
updateUser
UserInformation updateUser(java.lang.String userID,
java.lang.String name,
java.lang.String phone,
java.lang.String email,
int emailFormat,
int subscriptionFrequency,
int[] communityIDs,
int[][] communityRoleIDs)
throws java.rmi.RemoteException,
RAMException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
ResourceGroupNotFoundException
createCategorySchema
java.lang.String createCategorySchema(java.lang.String id,
java.lang.String schemaXMI,
int[] communityIDs,
int[] communityAccessKinds,
boolean isSystemCategorySchema,
int systemSharingType)
throws java.rmi.RemoteException,
RAMException,
EntitlementException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
ResourceGroupNotFoundException
updateActivityByID
ActivitySO updateActivityByID(long activityID,
int activityType,
long numberData,
java.lang.String stringData,
java.lang.String longStringData,
AssetIdentification asset,
java.lang.String asUserID,
long timestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
createRole
RoleSO createRole(int inCommunityID,
java.lang.String name,
java.lang.String description,
int[] entitlementIDs,
java.lang.String testData,
int roleType)
throws java.rmi.RemoteException,
RAMException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
ResourceGroupNotFoundException
deleteUserGroups
int[] deleteUserGroups(int[] userGroupIDs)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
deleteDiscussionTopic
void deleteDiscussionTopic(int topicID)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
deleteDiscussionForumByID
void deleteDiscussionForumByID(int forumID,
AssetIdentification asset)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
createDiscussionTopicByID
Topic createDiscussionTopicByID(AssetIdentification asset,
java.lang.String title,
java.lang.String description,
int forumID,
java.lang.String asUserID,
long creationTimestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
getLibraries
LibrarySO[] getLibraries(java.lang.String[] libraryIDs,
java.lang.String[] libraryVersions)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getTopics
Topic[] getTopics(int[] topicIDs,
boolean includePosts)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
deleteAssetRelationType
void deleteAssetRelationType(java.lang.String assetRelationTypeName)
throws java.rmi.RemoteException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
rateAsset
AssetFeedback rateAsset(java.lang.String assetId,
java.lang.String assetVersion,
java.lang.String feedback,
int rating,
boolean rateAnonymously,
java.lang.String asUserID,
long ratingTime)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
InvalidTextLengthException,
InvalidRatingException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
InvalidTextLengthException
InvalidRatingException
deleteAssetByID
void deleteAssetByID(AssetIdentification asset)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
getSearchSuggestions
java.lang.String[] getSearchSuggestions(java.lang.String searchText)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
deleteTags
void deleteTags(java.lang.String tag)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getAssetByID
AssetSO getAssetByID(AssetIdentification asset,
boolean includeManifest,
boolean includeTags,
boolean includeDiscussions,
boolean includeRatings,
boolean includePermissions,
boolean includeMetrics,
boolean includeEvents,
boolean includeArtifactDetails,
boolean includeVersions,
boolean includePolicyResults,
java.lang.String language)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
createDiscussionTopic
Topic createDiscussionTopic(java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String title,
java.lang.String description,
int forumID,
java.lang.String asUserID,
long creationTimestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
getServerPath
java.lang.String getServerPath()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
updateDiscussionPostByID
Post updateDiscussionPostByID(AssetIdentification asset,
long postID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
deleteAssetTypes
java.lang.String[] deleteAssetTypes(java.lang.String[] assetTypeURIs,
boolean force)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
updateAssetType
AssetTypeSO updateAssetType(java.lang.String assetTypeURI,
java.lang.String name,
java.lang.String description,
java.lang.String configuration,
boolean restricted,
boolean isPrivate,
int collisionCount,
AssetTypeCommunityRelationshipSO[] communityRelationships)
throws java.rmi.RemoteException,
RAMException,
EntitlementException,
AssetTypeNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
AssetTypeNotFoundException
updateDiscussionForumByID
Forum updateDiscussionForumByID(AssetIdentification asset,
int forumID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
createAssetRelationType
RelationshipType createAssetRelationType(java.lang.String preferredName,
java.lang.String preferredDisplayName,
java.lang.String reverseName,
java.lang.String reverseDisplayName)
throws java.rmi.RemoteException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
getMyInformation
MyInformationSO getMyInformation(int maxRecentAssetsToReview,
int maxRecentDownloads,
long downloadsSinceTime,
int maxRecentUpdated,
int maxRecentSubscriptions,
int maxRecentTasks,
boolean includeTags,
java.lang.String language)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
deleteAssetTags
void deleteAssetTags(java.lang.String assetId,
java.lang.String assetVersion,
java.lang.String tagLabels)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
shouldSubmitAskReviewOptionsByID
boolean shouldSubmitAskReviewOptionsByID(java.lang.String newManifest,
java.lang.String assetTypeURI,
int communityID,
AssetIdentification asset)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException,
AssetTypeNotFoundException,
ParseException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
AssetTypeNotFoundException
ParseException
ResourceGroupNotFoundException
renameTag
void renameTag(java.lang.String oldLabel,
java.lang.String newLabel)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
createAssetType
AssetTypeSO createAssetType(java.lang.String id,
java.lang.String name,
java.lang.String description,
java.lang.String configuration,
boolean restricted,
boolean isPrivate,
AssetTypeCommunityRelationshipSO[] communityRelationships)
throws java.rmi.RemoteException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
shouldSubmitAskReviewOptions
boolean shouldSubmitAskReviewOptions(java.lang.String newManifest,
java.lang.String assetTypeURI,
int communityID,
java.lang.String originalAssetID,
java.lang.String originalAssetVersion)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException,
AssetTypeNotFoundException,
ParseException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
AssetTypeNotFoundException
ParseException
ResourceGroupNotFoundException
getAsset
AssetSO getAsset(java.lang.String assetID,
java.lang.String assetVersion,
boolean includeManifest,
boolean includeTags,
boolean includeDiscussions,
boolean includeRatings,
boolean includePermissions,
boolean includeMetrics,
boolean includeEvents,
boolean includeArtifactDetails,
boolean includeVersions,
boolean includePolicyResults,
java.lang.String language)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
requestAccessTeamSpace
TaskSO requestAccessTeamSpace(int teamSpaceId,
java.lang.String additionalComments,
java.lang.String language)
throws java.rmi.RemoteException,
RAMException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
ResourceGroupNotFoundException
changeAssetStateByID
java.lang.String[] changeAssetStateByID(AssetIdentification asset,
java.lang.String newState,
boolean force)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException,
AssetLockedException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
AssetLockedException
getMyOriginatedToDos
TaskSO[] getMyOriginatedToDos(java.lang.String language)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
createSearchSubscription
void createSearchSubscription(java.lang.String[] textQueries,
FacetSelectionSO[] facetSelections,
java.lang.String subscriptionName)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
createUserGroup
UserGroupSO createUserGroup(java.lang.String name,
java.lang.String description,
int inCommunityID,
java.lang.String[] userIDs,
int[] roleIDs)
throws java.rmi.RemoteException,
RAMException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
ResourceGroupNotFoundException
isRepositoryAdministrator
boolean isRepositoryAdministrator(java.lang.String userID)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
updateDiscussionPost
Post updateDiscussionPost(java.lang.String assetID,
java.lang.String assetVersion,
long postID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
addTag
void addTag(java.lang.String assetId,
java.lang.String assetVersion,
java.lang.String tagLabels,
java.lang.String asUserID)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
getConstants
Constants getConstants()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
updateActivity
ActivitySO updateActivity(long activityID,
int activityType,
long numberData,
java.lang.String stringData,
java.lang.String longStringData,
java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String asUserID,
long timestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
getActivities
ActivitySO[] getActivities(long fromTimeStamp,
long toTimeStamp,
java.lang.String assetID,
java.lang.String assetVersion,
int[] activityTypes,
java.lang.String language)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
deleteSubscription
void deleteSubscription(Subscription subscription)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
deleteCommunityAssetType
void deleteCommunityAssetType(AssetTypeCommunityRelationshipSO communityAssetType)
throws java.rmi.RemoteException,
RAMException,
EntitlementException,
AssetTypeNotFoundException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
AssetTypeNotFoundException
ResourceGroupNotFoundException
recordActivityByID
ActivitySO recordActivityByID(int activityType,
long numberData,
java.lang.String stringData,
java.lang.String longStringData,
AssetIdentification asset,
java.lang.String asUserID,
long timestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
getAssetPermissions
AssetPermissionSO[] getAssetPermissions(java.lang.String[] assetIDs,
java.lang.String[] assetVersions)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
searchForUsers
UserSearchResultSO searchForUsers(java.lang.String userQuery,
boolean searchUnregisteredUsers,
java.lang.String language)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
createCommunityAssetType
CommunityAssetType createCommunityAssetType(java.lang.String id,
java.lang.String communityAssetTypeName,
CommunityAssetType communityAssetType)
throws java.rmi.RemoteException,
RAMException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
ResourceGroupNotFoundException
createAttribute
AssetAttributeSO createAttribute(java.lang.String id,
java.lang.String attributeName,
java.lang.String description,
java.lang.String attributeType,
java.lang.String configuration,
boolean isRestrictedAttribute,
boolean isSingleSetting,
java.lang.String[] settingNames,
java.lang.String[] settingDescriptions)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getPosts
Post[] getPosts(int[] postIDs)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
requestAssetAccessByID
TaskSO requestAssetAccessByID(AssetIdentification asset,
java.lang.String additionalComments,
java.lang.String language)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
getLibraryInformations
LibraryInformationSO[] getLibraryInformations(java.lang.String[] libraryIDs,
java.lang.String[] libraryVersions)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getAllStates
State[] getAllStates()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
updateUserGroup
UserGroupSO updateUserGroup(int userGroupID,
java.lang.String name,
java.lang.String description,
java.lang.String[] addUserIDs,
java.lang.String[] removeUserIDs,
int[] addRoleIDs,
int[] removeRoleIDs)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getVersion
java.lang.String getVersion()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getUsers
UserInformation[] getUsers(java.lang.String[] userIDs)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
updateDiscussionForum
Forum updateDiscussionForum(java.lang.String assetID,
java.lang.String assetVersion,
int forumID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
deleteDiscussionForum
void deleteDiscussionForum(int forumID,
java.lang.String assetID,
java.lang.String assetVersion)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
createDiscussionPost
Post createDiscussionPost(java.lang.String title,
java.lang.String description,
int topicID,
int replyToPostID,
java.lang.String asUserID,
long creationTimestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
updateDiscussionTopicByID
Topic updateDiscussionTopicByID(AssetIdentification asset,
int topicID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
releaseLicenses
void releaseLicenses()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getRoles
RoleSO[] getRoles(int inCommunityID)
throws java.rmi.RemoteException,
RAMException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
ResourceGroupNotFoundException
createAssetSubscription
void createAssetSubscription(java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String subscriptionName)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
getCreateGroups
CommunityInformation[] getCreateGroups()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
createDiscussionForum
Forum createDiscussionForum(java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String title,
java.lang.String description,
java.lang.String asUserID,
long creationTimestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
addTagByID
void addTagByID(AssetIdentification asset,
java.lang.String tagLabels,
java.lang.String asUserID)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
updateCommunity
CommunitySO updateCommunity(int communityID,
java.lang.String name,
java.lang.String description,
java.lang.String[] adminUIDs)
throws java.rmi.RemoteException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
updateCategorySchema
java.lang.String updateCategorySchema(java.lang.String uri,
java.lang.String newSchemaXMI,
boolean clearAllCommunityRelations,
int[] newCommunityIDs,
int[] communityAccessKind,
boolean isSystemCategorySchema,
int systemSharingType)
throws java.rmi.RemoteException,
RAMException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
ResourceGroupNotFoundException
getAssetEventsByID
AssetEventSO[] getAssetEventsByID(AssetIdentification asset,
int maxResults,
long lastRun,
java.lang.String language)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
recordActivity
ActivitySO recordActivity(int activityType,
long numberData,
java.lang.String stringData,
java.lang.String longStringData,
java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String asUserID,
long timestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
getCategorySchemas
CategorySchemaSO[] getCategorySchemas(java.lang.String[] uris,
boolean loadSchemaModel)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getAssetEvents
AssetEventSO[] getAssetEvents(java.lang.String assetID,
java.lang.String assetVersion,
int maxResults,
long lastRun,
java.lang.String language)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
changeAssetOwnersByID
void changeAssetOwnersByID(AssetIdentification asset,
UserInformation[] newOwners)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException,
AssetLockedException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
AssetLockedException
updateDiscussionTopic
Topic updateDiscussionTopic(java.lang.String assetID,
java.lang.String assetVersion,
int topicID,
java.lang.String title,
java.lang.String descripton,
java.lang.String asUserID,
long timestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
updateCommunityAssetTypes
void updateCommunityAssetTypes(AssetTypeCommunityRelationshipSO communityAssetType)
throws java.rmi.RemoteException,
RAMException,
EntitlementException,
AssetTypeNotFoundException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
AssetTypeNotFoundException
ResourceGroupNotFoundException
getAllClassificationSchemaURI
java.lang.String[] getAllClassificationSchemaURI()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getAllAssetRelationTypes
RelationshipType[] getAllAssetRelationTypes()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
rateAssetByID
AssetFeedback rateAssetByID(AssetIdentification asset,
java.lang.String feedback,
int rating,
boolean rateAnonymously,
java.lang.String asUserID,
long ratingTime)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
InvalidTextLengthException,
InvalidRatingException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
InvalidTextLengthException
InvalidRatingException
updateAttribute
AssetAttributeSO updateAttribute(java.lang.String attributeURI,
java.lang.String name,
java.lang.String description,
java.lang.String attributeType,
java.lang.String configuration,
boolean isSingleSetting,
java.lang.String[] removeNames,
java.lang.String[] addSettingNames,
java.lang.String[] addSettingDescriptions)
throws java.rmi.RemoteException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
getAllAttributes
AssetAttributeSO[] getAllAttributes()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
registerUser
UserInformation registerUser(java.lang.String userID,
java.lang.String name,
java.lang.String phone,
java.lang.String email,
int emailFormat,
int subscriptionFrequency)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getUser
UserInformation getUser()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
deleteCommunities
int[] deleteCommunities(int[] communityIDs,
int moveAssetsToCommunityID)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getAdminGroups
CommunityInformation[] getAdminGroups()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
createCommunity
CommunitySO createCommunity(java.lang.String name,
java.lang.String description,
java.lang.String[] adminUIDs)
throws java.rmi.RemoteException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
deleteAssetTagsByID
void deleteAssetTagsByID(AssetIdentification asset,
java.lang.String tagLabels)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
requestAssetAccess
TaskSO requestAssetAccess(java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String additionalComments,
java.lang.String language)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
getMemberGroups
CommunityInformation[] getMemberGroups()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
deleteAttributes
java.lang.String[] deleteAttributes(java.lang.String[] attributeURI)
throws java.rmi.RemoteException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
RAMException
EntitlementException
changeAssetState
java.lang.String[] changeAssetState(java.lang.String assetID,
java.lang.String assetVersion,
java.lang.String newState,
boolean force)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException,
AssetLockedException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
AssetLockedException
deleteAsset
void deleteAsset(java.lang.String assetID,
java.lang.String assetVersion)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
searchUsers
UserInformation[] searchUsers(java.lang.String userQuery,
boolean searchUnregisteredUsers,
java.lang.String language)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
changeAssetOwners
void changeAssetOwners(java.lang.String assetID,
java.lang.String assetVersion,
UserInformation[] newOwners)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException,
AssetLockedException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
AssetLockedException
getCommunities
CommunitySO[] getCommunities(int[] communityIDs,
boolean includeUserInformation,
boolean includeRoleInformation)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
search
SearchResultSO search(java.lang.String[] queries,
FacetSelectionSO[] facetSelections,
boolean sortAscending,
java.lang.String sortVariable,
int index,
int maxResults,
int searchFlags,
boolean recordSearch,
java.lang.String language)
throws java.rmi.RemoteException,
RAMException,
InvalidQueryException
- Throws:
java.rmi.RemoteException
RAMException
InvalidQueryException
updateRole
RoleSO updateRole(int roleID,
java.lang.String name,
java.lang.String description,
int[] entitlementIDs,
java.lang.String testData,
int roleType)
throws java.rmi.RemoteException,
RAMException,
ResourceGroupNotFoundException
- Throws:
java.rmi.RemoteException
RAMException
ResourceGroupNotFoundException
deleteCategorySchemas
java.lang.String[] deleteCategorySchemas(java.lang.String[] uris,
int[] uriCommunityIDs,
boolean force)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getUniqueID
java.lang.String getUniqueID()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
deleteRoles
int[] deleteRoles(int[] roleIDs)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getAllAssetTypes
AssetTypeSO[] getAllAssetTypes()
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
getAssetPermissionsByID
AssetPermissionSO[] getAssetPermissionsByID(AssetIdentification[] assets)
throws java.rmi.RemoteException,
RAMException
- Throws:
java.rmi.RemoteException
RAMException
createAssetSubscriptionByID
void createAssetSubscriptionByID(AssetIdentification asset,
java.lang.String subscriptionName)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
getActivitiesByID
ActivitySO[] getActivitiesByID(long fromTimeStamp,
long toTimeStamp,
AssetIdentification asset,
int[] activityTypes,
java.lang.String language)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException
createDiscussionForumByID
Forum createDiscussionForumByID(AssetIdentification asset,
java.lang.String title,
java.lang.String description,
java.lang.String asUserID,
long creationTimestamp)
throws java.rmi.RemoteException,
AssetNotFoundException,
RAMException,
EntitlementException
- Throws:
java.rmi.RemoteException
AssetNotFoundException
RAMException
EntitlementException