Class UserGroupReference
java.lang.Object
com.polarion.alm.shared.api.model.ModelEntityReferenceBase<T,R>
com.polarion.alm.shared.api.model.ModelObjectReferenceBase<T,R>
com.polarion.alm.shared.api.model.ModelObjectReferenceWithUpdatable<UserGroup,UpdatableUserGroup,UserGroupReference>
com.polarion.alm.shared.api.model.usergroup.UserGroupReference
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
,HasId
,ModelEntityReference
,ModelObjectReference
,ReferenceWithUpdatable<UpdatableUserGroup>
,Serializable
public class UserGroupReference
extends ModelObjectReferenceWithUpdatable<UserGroup,UpdatableUserGroup,UserGroupReference>
implements HasId
- Since:
- 3.19.3
- See Also:
-
Constructor Summary
ConstructorDescriptionUserGroupReference
(String id, String requestedRevision, String actualRevision) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static UserGroupReference
getFromRevision
(ReadOnlyTransaction transaction, String requestedRevision) getWithRevision
(String requestedRevision) Returns the reference to the same object, but with differentModelObjectReference.requestedRevision()
, theModelObjectReference.actualRevision()
of the returned reference is null.int
hashCode()
id()
scope()
toPath()
Returns type specific unique identification path of the object, for example for Work Items in project it is 'projectId/workItemId', theModelObjectReference.requestedRevision()
andModelObjectReference.actualRevision()
are ignored.Methods inherited from class com.polarion.alm.shared.api.model.ModelObjectReferenceWithUpdatable
getUpdatable
Methods inherited from class com.polarion.alm.shared.api.model.ModelObjectReferenceBase
actualRevision, get, getCurrent, getCurrent, getOriginal, projectId, requestedRevision, toString
-
Constructor Details
-
UserGroupReference
public UserGroupReference(@NotNull String id, @Nullable String requestedRevision, @Nullable String actualRevision) - Throws:
IllegalArgumentException
- when id is empty string
-
UserGroupReference
- Throws:
IllegalArgumentException
- when id is empty string
-
-
Method Details
-
prototype
- Specified by:
prototype
in interfaceModelObjectReference
-
scope
- Specified by:
scope
in interfaceModelObjectReference
-
toPath
Description copied from interface:ModelObjectReference
Returns type specific unique identification path of the object, for example for Work Items in project it is 'projectId/workItemId', theModelObjectReference.requestedRevision()
andModelObjectReference.actualRevision()
are ignored.- Specified by:
toPath
in interfaceModelEntityReference
- Specified by:
toPath
in interfaceModelObjectReference
- See Also:
-
id
-
getWithRevision
Description copied from interface:ModelObjectReference
Returns the reference to the same object, but with differentModelObjectReference.requestedRevision()
, theModelObjectReference.actualRevision()
of the returned reference is null.- Specified by:
getWithRevision
in interfaceModelObjectReference
- Specified by:
getWithRevision
in classModelObjectReferenceBase<UserGroup,
UserGroupReference> - See Also:
-
fromPath
-
equals
- Overrides:
equals
in classModelObjectReferenceBase<UserGroup,
UserGroupReference>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classModelObjectReferenceBase<UserGroup,
UserGroupReference>
-