Package | Description |
---|---|
es.ugr.swad.swadroid.model |
Contains classes for manipulate application model.
|
es.ugr.swad.swadroid.modules.downloads |
File downloads package.
|
es.ugr.swad.swadroid.modules.groups |
Groups package.
|
Modifier and Type | Method and Description |
---|---|
Group |
DataBaseHelper.getGroup(long groupId)
Gets the group which code is given
|
Modifier and Type | Method and Description |
---|---|
List<Group> |
DataBaseHelper.getGroups(long courseCode,
String... filter)
Gets the groups that owns the selected course
|
List<Group> |
DataBaseHelper.getGroupsOfType(long groupTypeCode)
Gets the groups belonging to the selected type of group
|
List<Group> |
DataBaseHelper.getUserLoggedGroups(long courseCode)
Get groups belonging to the referred course to which the logged user is enrolled
|
Modifier and Type | Method and Description |
---|---|
boolean |
DataBaseHelper.insertGroup(Group g,
long courseCode)
Inserts a group in database
|
void |
DataBaseHelper.removeGroup(Group g)
Removes a Group from database
|
void |
DataBaseHelper.updateGroup(Group prev,
Group currentGroup)
Updates a group in database
|
boolean |
DataBaseHelper.updateGroup(long groupCode,
long courseCode,
Group currentGroup,
long... groupTypeCode)
Updates a Group and the relationship between Groups and Courses
|
Modifier and Type | Field and Description |
---|---|
private List<Group> |
DownloadsManager.myGroups
List of group of the selected course to which the user belongs
|
Modifier and Type | Method and Description |
---|---|
private List<Group> |
DownloadsManager.getFilteredGroups()
Get the list of the groups of the course with a documents zone to whom the user belongs
|
Modifier and Type | Method and Description |
---|---|
private void |
DownloadsManager.loadGroupsSpinner(List<Group> currentGroups)
If there are not groups to which the user belong in the database, it makes the request
|
Modifier and Type | Field and Description |
---|---|
private HashMap<Long,ArrayList<Group>> |
EnrollmentExpandableListAdapter.children |
Modifier and Type | Method and Description |
---|---|
private HashMap<Long,ArrayList<Group>> |
MyGroupsManager.getHashMapGroups(ArrayList<Model> groupTypes) |
Modifier and Type | Method and Description |
---|---|
void |
EnrollmentExpandableListAdapter.resetChildren(HashMap<Long,ArrayList<Group>> children) |
Constructor and Description |
---|
EnrollmentExpandableListAdapter(Context context,
ArrayList<Model> groups,
HashMap<Long,ArrayList<Group>> children,
int layoutGroup,
int layoutChild,
int currentRole) |