edit_facility_26115 #3
|
@ -1091,6 +1091,8 @@ public class CKANPublisherServicesImpl extends RemoteServiceServlet implements C
|
|||
logger.warn("Dev mode detected");
|
||||
toReturn = Arrays.asList();
|
||||
}
|
||||
|
||||
logger.info("Returning user's groups: " + toReturn);
|
||||
return toReturn;
|
||||
}
|
||||
|
||||
|
|
|
@ -10,25 +10,25 @@ import com.google.gwt.user.client.rpc.IsSerializable;
|
|||
*/
|
||||
public class OrganizationBean implements Serializable, IsSerializable{
|
||||
|
||||
private static final long serialVersionUID = -6566519399945530602L;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 8014712837346722595L;
|
||||
private String title;
|
||||
private String name;
|
||||
private boolean isOrganization;
|
||||
private boolean propagateUp; // an item linked to this group has to be added on the whole hierarchy chain
|
||||
|
||||
public OrganizationBean(){
|
||||
super();
|
||||
}
|
||||
|
||||
public OrganizationBean(String title, String name, boolean isOrganization) {
|
||||
super();
|
||||
this.title = title;
|
||||
this.name = name;
|
||||
this.isOrganization = isOrganization;
|
||||
}
|
||||
|
||||
public OrganizationBean(String title, String name, boolean isOrganization, boolean propagateUp) {
|
||||
super();
|
||||
this.title = title;
|
||||
this.name = name;
|
||||
this.isOrganization = isOrganization;
|
||||
|
@ -69,9 +69,17 @@ public class OrganizationBean implements Serializable, IsSerializable{
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "OrganizationBean [title=" + title + ", name=" + name
|
||||
+ ", isOrganization=" + isOrganization + ", propagateUp="
|
||||
+ propagateUp + "]";
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.append("OrganizationBean [title=");
|
||||
builder.append(title);
|
||||
builder.append(", name=");
|
||||
builder.append(name);
|
||||
builder.append(", isOrganization=");
|
||||
builder.append(isOrganization);
|
||||
builder.append(", propagateUp=");
|
||||
builder.append(propagateUp);
|
||||
builder.append("]");
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue