@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class Group extends ServiceProviderEntity
BASIC_PROPERTIES
NAME_COMPARATOR
Constructor and Description |
---|
Group() |
Modifier and Type | Method and Description |
---|---|
void |
addGroupMember(EntityReference member) |
void |
AddMember(java.lang.String member,
java.lang.String type)
Service Category: Members
Service Description: Add a user/group to this group.
|
void |
AssignMembers(InfoTable members)
Service Category: Members
Service Description: Assign a list of users/groups to this group.
|
void |
deleteAllGroupMembers() |
void |
deleteGroupMember(EntityReference member) |
void |
deleteGroupMember(EntityReference member,
PatchType patchType) |
void |
DeleteMember(java.lang.String member,
java.lang.String type)
Service Category: Members
Service Description: Remove a user/group from this group.
|
RelationshipTypes.ThingworxRelationshipTypes |
getEntityType()
|
InfoTable |
GetGroupMember(java.lang.String name)
Service Category:
Service Description: Get members by name in this group.
|
InfoTable |
GetGroupMembers()
Service Category: Members
Service Description: Get a list of members in this group.
|
EntityReferenceCollection |
getGroups() |
InfoTable |
GetGroups()
Service Category: Members
Service Description: Get list of groups that this group is a member of.
|
EntityReferenceTypeMap |
getMembers() |
InfoTable |
GetOrganizationalUnits()
Service Category: Members
Service Description: Get list of organizational units that this group is a member of.
|
InfoTable |
GetOrganizations()
Service Category: Members
Service Description: Get list of organizations that this group is a member of.
|
InfoTable |
QueryGroupMembers(org.json.JSONObject types,
java.lang.String filter,
java.lang.Double maxItems)
Service Category: Members
Service Description: Query a list of members in this group.
|
void |
SetHomeMashup(java.lang.String name)
Service Category: Mashups
Service Description: Calling SetHomeMashup on Groups is not supported.
|
getInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, initializeEntity, preInitializeEntity, processAPIServiceRequest, processServiceRequest
AddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, AddTags, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, DeleteConfigurationTableRows, deleteDesignTimePermission, DeleteDesignTimePermission, deleteRunTimePermission, DeleteRunTimePermission, deleteVisibilityPermission, DeleteVisibilityPermission, dispose, getAspects, GetAvatar, getAvatarContent, GetAvatarURL, GetConfigurationChangeHistory, getConfigurationSetting, getConfigurationTable, GetConfigurationTable, GetConfigurationTableDefinition, GetConfigurationTableRow, GetConfigurationTables, GetDescription, getDesignTimePermissions, GetDesignTimePermissions, GetDesignTimePermissionsAsJSON, getDocumentationContent, getEntityTypeAsString, GetEventDefinition, GetEventDefinitions, GetHomeMashup, GetIncomingDependencies, GetIncomingDependenciesAsNetwork, GetInstanceMetadataAsJSON, GetInstanceMetadataWithPermissionsAsJSON, GetLastModifiedDate, GetMetadata, GetMetadataAsJSON, GetMetadataWithPermissionsAsJSON, GetOutgoingDependencies, GetOutgoingDependenciesAsNetwork, getOwner, GetPermissionsForCurrentUser, GetPermissionsForGroup, GetPermissionsForUser, GetProjectName, GetPropertyDefinition, GetPropertyDefinitions, getRunTimePermissions, GetRunTimePermissions, GetRunTimePermissionsAsJSON, GetServiceDefinition, GetServiceDefinitions, getStringConfigurationSetting, getStringConfigurationSettingWithDefault, GetSummaryInformation, getTags, GetTags, GetTagsAsInfoTable, getVisibilityPermissions, GetVisibilityPermissions, GetVisibilityPermissionsAsJSON, HasIncomingDependencies, HasOutgoingDependencies, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtensionObject, IsMultiRowTable, isOwner, isSystemObject, isThemeObject, isVisible, isVisible, persistDesignTimePermissions, persistRunTimePermissions, persistVisibilityPermissions, RemoveTags, SaveConfigurationTables, SetAvatar, setConfigurationSetting, SetConfigurationTable, SetConfigurationTableRows, SetDescription, setDesignTimePermissions, SetDesignTimePermissionsAsJSON, setDocumentationContent, setExtensionObject, setLastModifiedDate, SetMultiRowConfigurationTable, setOwner, SetOwner, SetProjectName, setRunTimePermissions, SetRunTimePermissionsAsJSON, setStringConfigurationSetting, SetTags, setVisibilityPermissions, SetVisibilityPermissionsAsJSON, toJSON, toJSONDefinition, validateConfiguration
getID, hasID, isTransient
getDescription, getName, setDescription, setName, toValueCollection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getID, hasID
getDescription, getName
getID, getName
@ThingworxExtensionApiMethod(since={6,6}) public EntityReferenceTypeMap getMembers()
@ThingworxExtensionApiMethod(since={6,6}) public void AssignMembers(InfoTable members) throws java.lang.Exception
members
- Members - INFOTABLEjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void AddMember(java.lang.String member, java.lang.String type) throws java.lang.Exception
member
- Member - STRINGtype
- Member type - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void DeleteMember(java.lang.String member, java.lang.String type) throws java.lang.Exception
member
- Member - STRINGtype
- Member type - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void addGroupMember(EntityReference member) throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public void deleteGroupMember(EntityReference member) throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={9,0}) public void deleteGroupMember(EntityReference member, PatchType patchType) throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={7,4}) public void deleteAllGroupMembers() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public EntityReferenceCollection getGroups()
@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetGroupMembers() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetGroupMember(java.lang.String name) throws java.lang.Exception
name
- Field name - STRINGjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable QueryGroupMembers(org.json.JSONObject types, java.lang.String filter, java.lang.Double maxItems) throws java.lang.Exception
types
- Entity types - JSONfilter
- Term filter - STRINGmaxItems
- Maximum number of items to return - NUMBERjava.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetGroups() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetOrganizationalUnits() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GetOrganizations() throws java.lang.Exception
java.lang.Exception
- If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public RelationshipTypes.ThingworxRelationshipTypes getEntityType()
RootEntity
Returns the type of this entity.
getEntityType
in class RootEntity
@ThingworxExtensionApiMethod(since={6,6}) public void SetHomeMashup(java.lang.String name) throws java.lang.Exception
SetHomeMashup
in class RootEntity
name
- Home mashup name - MASHUPNAMEjava.lang.Exception
- If an error occurs