Méthode | Description | |
---|---|---|
CreateNewGroup ( |
Creates a Group as a new entry in the DB.
|
|
DeleteGroup ( int groupId ) : bool |
Removes an existing Group from the DB.
|
|
GetAllGroups ( ) : List |
Retrieves all currently created Groups.
|
|
GetAllGroupsByHashTag ( string hashtag ) : List |
Retrieves all currently created Groups that are tagged with the given hashtag.
|
|
GetAllGroupsByName ( string partialName ) : List |
Retrieves all currently created Groups that have a name containing the given string.
|
|
GetAllGroupsByOwner ( |
Retrieves all currently created Groups that have a given Owner.
|
|
GetGroupFromGroupId ( int groupId ) : |
Retrieves a Group from the DB based on its ID.
|
|
GetGroupFromName ( string name ) : |
Retrieves a Group with the given name.
|
|
GetGroupsByUser ( int userID ) : List |
Retrieves all Groups that a given user is a part of.
|
|
UpdateGroup ( |
Updates an existing Group in the DB.
|
public static CreateNewGroup ( |
||
group | Group object to add to the DB. | |
Résultat | int |
public static DeleteGroup ( int groupId ) : bool | ||
groupId | int | ID of Group whose information needs to be deleted. |
Résultat | bool |
public static GetAllGroupsByHashTag ( string hashtag ) : List |
||
hashtag | string | A desired string tag |
Résultat | List |
public static GetAllGroupsByName ( string partialName ) : List |
||
partialName | string | A string desired to be contained within the Group name |
Résultat | List |
public static GetAllGroupsByOwner ( |
||
owner | ||
Résultat | List |
public static GetGroupFromGroupId ( int groupId ) : |
||
groupId | int | Identifier of the Group to retrieve. |
Résultat |
public static GetGroupFromName ( string name ) : |
||
name | string | |
Résultat |
public static GetGroupsByUser ( int userID ) : List |
||
userID | int | UserID of the desired User |
Résultat | List |
public static UpdateGroup ( |
||
group | Group whose information needs to be updated. | |
Résultat | bool |