Skip to content
Snippets Groups Projects
Commit 74d4c31f authored by felmer's avatar felmer
Browse files

SSDM-5724: bug fixing: removing @JsonIgnore from ObjectTechId.java and...

SSDM-5724: bug fixing: removing @JsonIgnore from ObjectTechId.java and correcting type annotation in GetRoleAssignmentsOperation.js

SVN: 38916
parent ed293c09
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ define([ "stjs", "as/dto/common/get/GetObjectsOperation" ], function(stjs, GetOb
GetObjectsOperation.call(this, objectIds, fetchOptions);
};
stjs.extend(GetRoleAssignmentsOperation, GetObjectsOperation, [ GetObjectsOperation ], function(constructor, prototype) {
prototype['@type'] = 'as.dto.roleassignments.get.GetRoleAssignmentsOperation';
prototype['@type'] = 'as.dto.roleassignment.get.GetRoleAssignmentsOperation';
prototype.getMessage = function() {
return "GetRoleAssignmentsOperation";
};
......
......@@ -16,7 +16,6 @@
package ch.ethz.sis.openbis.generic.asapi.v3.dto.common.id;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import ch.systemsx.cisd.base.annotation.JsonObject;
......@@ -37,7 +36,6 @@ public class ObjectTechId implements IObjectId
setTechId(techId);
}
@JsonIgnore
public Long getTechId()
{
return techId;
......@@ -51,7 +49,6 @@ public class ObjectTechId implements IObjectId
{
}
@JsonIgnore
private void setTechId(Long techId)
{
if (techId == null)
......
......@@ -16,6 +16,8 @@
package ch.ethz.sis.openbis.generic.asapi.v3.dto.roleassignment.create;
import com.fasterxml.jackson.annotation.JsonProperty;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.authorizationgroup.id.IAuthorizationGroupId;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.common.create.ICreation;
import ch.ethz.sis.openbis.generic.asapi.v3.dto.common.create.IObjectCreation;
......@@ -35,14 +37,19 @@ public class RoleAssignmentCreation implements ICreation, IObjectCreation
{
private static final long serialVersionUID = 1L;
@JsonProperty
private IPersonId userId;
@JsonProperty
private IAuthorizationGroupId authorizationGroupId;
@JsonProperty
private Role role;
@JsonProperty
private ISpaceId spaceId;
@JsonProperty
private IProjectId projectId;
public IPersonId getUserId()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment