Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
public enum GroupSorter {

/** The authority name. */
authorityName,
AUTHORITY_NAME,

/** The short name. */
shortName,
SHORT_NAME,

/** The display name. */
displayName
DISPLAY_NAME
}
26 changes: 13 additions & 13 deletions src/main/java/uk/co/techblue/alfresco/dto/common/UserRole.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
public enum UserRole {

/** The Owner. */
Owner,
/** The Coordinator. */
Coordinator,
/** The Collaborator. */
Collaborator,
/** The Contributor. */
Contributor,
/** The Editor. */
Editor,
/** The Consumer. */
Consumer,
/** The All. */
All
OWNER,
/** The Coordinator. */
COORDINATOR,
/** The Collaborator. */
COLLABORATOR,
/** The Contributor. */
CONTRIBUTOR,
/** The Editor. */
EDITOR,
/** The Consumer. */
CONSUMER,
/** The All. */
ALL
}
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private static void testGetParentAuthorities() {
final GroupService userService = new GroupService(BASE_URL, AUTH_TICKET);
try {
final AuthorityQuery authorityQuery = new AuthorityQuery();
authorityQuery.setSortBy(GroupSorter.authorityName);
authorityQuery.setSortBy(GroupSorter.AUTHORITY_NAME);
System.out.println(userService.getParentAuthorities(
"EMAIL_CONTRIBUTORS", authorityQuery));
} catch (final GroupException e) {
Expand All @@ -201,7 +201,7 @@ private static void testGetChildAuthorities() {
final GroupService userService = new GroupService(BASE_URL, AUTH_TICKET);
try {
final AuthorityQuery authorityQuery = new AuthorityQuery();
authorityQuery.setSortBy(GroupSorter.authorityName);
authorityQuery.setSortBy(GroupSorter.AUTHORITY_NAME);
System.out.println(userService.getChildAuthorities(
"ALFRESCO_ADMINISTRATORS", authorityQuery));
} catch (final GroupException e) {
Expand Down