1
0

Fixed property groups form Group and EPerson models and added comments

This commit is contained in:
Giuseppe Digilio
2019-03-17 16:52:07 +01:00
parent e90d80bce7
commit fa218abada
4 changed files with 96 additions and 12 deletions

View File

@@ -1,22 +1,50 @@
import { Observable } from 'rxjs';
import { DSpaceObject } from '../../shared/dspace-object.model';
import { Group } from './group.model';
import { RemoteData } from '../../data/remote-data';
import { PaginatedList } from '../../data/paginated-list';
export class EPerson extends DSpaceObject {
/**
* A string representing the unique handle of this Collection
*/
public handle: string;
public groups: Group[];
/**
* List of Groups that this EPerson belong to
*/
public groups: Observable<RemoteData<PaginatedList<Group>>>;
/**
* A string representing the netid of this EPerson
*/
public netid: string;
/**
* A string representing the last active date for this EPerson
*/
public lastActive: string;
/**
* A boolean representing if this EPerson can log in
*/
public canLogIn: boolean;
/**
* The EPerson email address
*/
public email: string;
/**
* A boolean representing if this EPerson require certificate
*/
public requireCertificate: boolean;
/**
* A boolean representing if this EPerson registered itself
*/
public selfRegistered: boolean;
/** Getter to retrieve the EPerson's full name as a string */