Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Creative commons Attribution-NonCommercial license. http://creativecommons.org/licenses/by-nc/2.5/au/deed.en_GB NO WARRANTY IS GIVEN OR IMPLIED, USE AT YOUR OWN RISK.
  
  package base.jee.api;
  
 import base.KeyValue;
 
 import java.util.List;
 import java.util.Set;
 import java.util.UUID;
 
 public interface API {
 
 	void initialSetup(String firstNameString lastNameString emailAddressString usernameString passwordString smtpHostnameint smtpPortboolean selfSignupString ipthrows IOException;
 
 	void registerApiCalls(JeeBase jee);
 
 	List<EmailgetPendingEmail(int countthrows IOException;
 
 
 
 	List<KeyValuegetPersonSettings(User userUUID personthrows IOException;
 
 	List<AuditLogEntrygetRecentLogEntries(User userString resourceTypeString resourceUidboolean debuglong limitthrows IOException;
 
 	List<AuditLogEntrygetRecentLogEntriesByIP(User userString ipboolean debuglong limitthrows PermissionExceptionIOException;
 
 	List<AuditLogEntrygetRecentLogEntriesByPerson(User userUUID uuidboolean debuglong limitthrows PermissionExceptionIOException;
 
 	void removeSetting(User userString namethrows IOException;
 
 	void sendEmail(User userString emailthrows IOException;
 
 	void upsertSetting(User userString nameString valuethrows IOException;
 
 	void upsertPersonSetting(User userUUID personString nameString valuethrows IOException;
 
 	void deleteSetting(User userString namethrows IOException;
 
 	void deleteAllSettings(User userthrows IOException;
 
 	void createTemplate(User userString basedOnString namethrows IOException;
 
 	void deleteTemplate(User userString namethrows PermissionException;
 
 
 
 
 	void upsertTemplateResource(User userString templateString namebyte[] contentboolean binarythrows IOException;
 
 	void activateAccountUsingToken(String tokenString passwordString password2String ipthrows IOException;
 
 	List<KeyValueauthenticate(String currentTokenString usernameString passwordString ipthrows IOException;
 
 	List<UuidQueryResultcreatePerson(TemplateManager templateManagerUser userString firstNameString lastNameString emailString usernameString passwordString initialRolesString expirythrows IOException;
 
 	void deleteGroupResourceRole(User userString resourceString uidUUID groupUuidString rolethrows IOException;
 
 	void deleteGroupRole(User userUUID groupUuidString rolethrows IOException;
 
 	void deleteResourceRole(User userString resourceString uidUUID personUuidString rolethrows IOException;
 
 	void deleteRole(User userUUID personUuidString rolethrows IOException;
 
 	Throttle deleteThrottle(User userString uidthrows IOException;
 
 
 	List<GroupgetGroup(User userUUID uuidthrows IOException;
 
 	List<PersongetGroupMembers(User userUUID groupthrows IOException;
 
 	List<PersonRolegetGroupRoles(User userUUID groupUuidthrows IOException;
	List<GroupgetGroups(User userthrows IOException;
	List<PersongetPerson(User userUUID personUuidthrows IOException;
	List<PersongetPersonByEmail(User userString emailthrows IOException;
	List<GroupgetPersonGroups(User userUUID personUuidthrows IOException;
	List<PersonRolegetPersonRoles(User userUUID personUuidthrows IOException;
	List<UsergetSession(String tokenString ipthrows IOException;
	void joinGroup(User userUUID groupUUID personthrows IOException;
	void leaveGroup(User userUUID groupUUID personthrows IOException;
	void resetPasswordUsingToken(String tokenString passwordString password2String ipthrows IOException;
	List<PersonsearchPeople(User userString keywordsthrows IOException;
	List<KeyValuesignUp(TemplateManager templateManagerUser userString firstNameString lastNameString emailString usernameString passwordString ipthrows IOException;
	void updatePerson(User userUUID uuidString firstNameString lastNameString emailString expirythrows IOException;
	List<UuidQueryResultupsertGroup(User userString groupint typethrows IOException;
	void upsertGroupResourceRole(User userUUID groupUuidString roleString resourceString uidthrows IOException;
	void upsertGroupRole(User userUUID groupUuidString rolethrows IOException;
	void upsertResourceRole(User userUUID personUuidString roleString resourceString uidthrows IOException;
	void upsertRole(User userUUID personUuidString rolethrows IOException;
	void log(String levelUser userString messageResourceUid[] resourcesthrows IOException;
	void expireTokens() throws IOException;
	void expireLogEntries() throws IOException;
	void setPendingEmailStatus(UUID uuidString errorthrows IOException;
Truncate all data from all tables. Made available for usage as part of test cases.
	void wipe() throws IOException;

Returns roles associated with the "All users" group, and the "Authenticated users" group.
Returns roles associated with the "All users" group.
New to GrepCode? Check out our FAQ X