- getAllTenants() - Method in interface org.craftercms.profile.api.services.TenantService
-
Returns a list with all the tenants.
- getAllTokens() - Method in interface org.craftercms.profile.api.services.AccessTokenService
-
Returns all the access tokens in the DB.
- getApplication() - Method in class org.craftercms.profile.api.AccessToken
-
Returns the name of the application accessing Crafter Profile.
- getApplication() - Method in class org.craftercms.profile.api.AttributePermission
-
- getAttribute(String) - Method in class org.craftercms.profile.api.Profile
-
- getAttributeDefinitions() - Method in class org.craftercms.profile.api.Tenant
-
Returns the definitions of attributes that users of this tenant can have.
- getAttributes() - Method in class org.craftercms.profile.api.Profile
-
- getAttributes(String, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the attributes of a profile.
- getAvailableRoles() - Method in class org.craftercms.profile.api.Tenant
-
Returns the available roles that can be assigned to users of this tenant.
- getContentType() - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- getCreatedOn() - Method in class org.craftercms.profile.api.Profile
-
- getDefaultValue() - Method in class org.craftercms.profile.api.AttributeDefinition
-
Returns the default value for all attributes.
- getEmail() - Method in class org.craftercms.profile.api.Profile
-
- getErrorCode() - Method in class org.craftercms.profile.api.exceptions.ErrorDetails
-
- getExpiresOn() - Method in class org.craftercms.profile.api.AccessToken
-
Returns the date of expiration of this token (when it becomes invalid)
- getFailedAttempts() - Method in class org.craftercms.profile.api.Profile
-
- getFileName() - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- getFileSize() - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- getFileSizeBytes() - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- getId() - Method in class org.craftercms.profile.api.AccessToken
-
Returns the ID of the access token.
- getId() - Method in class org.craftercms.profile.api.PersistentLogin
-
- getId() - Method in class org.craftercms.profile.api.Profile
-
- getId() - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- getId() - Method in class org.craftercms.profile.api.Tenant
-
Returns the tenant's DB ID.
- getId() - Method in class org.craftercms.profile.api.Ticket
-
- getId() - Method in class org.craftercms.profile.api.VerificationToken
-
- getLastFailedLogging() - Method in class org.craftercms.profile.api.Profile
-
- getLastModified() - Method in class org.craftercms.profile.api.Profile
-
- getLastRequestTime() - Method in class org.craftercms.profile.api.Ticket
-
- getMd5() - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- getMessage() - Method in class org.craftercms.profile.api.exceptions.ErrorDetails
-
- getMessage() - Method in exception org.craftercms.profile.api.exceptions.I10nProfileException
-
- getMetadata() - Method in class org.craftercms.profile.api.AttributeDefinition
-
Returns the additional metadata associated to an attribute (like label, type, etc.).
- getName() - Method in class org.craftercms.profile.api.AttributeDefinition
-
Returns the name of the attribute.
- getName() - Method in class org.craftercms.profile.api.Tenant
-
Returns the name of the tenant.
- getPassword() - Method in class org.craftercms.profile.api.Profile
-
- getPersistentLogin(String) - Method in interface org.craftercms.profile.api.services.AuthenticationService
-
Returns the persistent login object for the given ID.
- getProfile(String, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the profile for the specified ID.
- getProfileAttachment(String, String) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Given the Attachment Id and the Profile Id, gets the Actual Attachment.
- getProfileAttachmentInformation(String, String) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Gets Profile attachment Information.
- getProfileAttachments(String) - Method in interface org.craftercms.profile.api.services.ProfileService
-
List all Attachments for the given profile.
- getProfileByQuery(String, String, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the single profile that matches the specified query
- getProfileByTicket(String, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the profile for the specified ticket.
- getProfileByUsername(String, String, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the user for the specified tenant and username
- getProfileCount(String) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the number of profiles of the specified tenant.
- getProfileCountByQuery(String, String) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the number of profiles that match the query for the specified tenant.
- getProfileId() - Method in class org.craftercms.profile.api.PersistentLogin
-
- getProfileId() - Method in class org.craftercms.profile.api.Ticket
-
- getProfileId() - Method in class org.craftercms.profile.api.VerificationToken
-
- getProfileRange(String, String, SortOrder, Integer, Integer, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns a range of profiles for the specified tenant.
- getProfilesByAttributeValue(String, String, String, String, SortOrder, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the list of profiles that have the given attribute with the given value.
- getProfilesByExistingAttribute(String, String, String, SortOrder, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the list of profiles that have the given attribute, with any value
- getProfilesByIds(List<String>, String, SortOrder, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns a list of profiles for the specified list of IDs.
- getProfilesByQuery(String, String, String, SortOrder, Integer, Integer, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the profiles that match the specified query.
- getProfilesByRole(String, String, String, SortOrder, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns a list of profiles for a specific role and tenant.
- getResourceBundle() - Method in exception org.craftercms.profile.api.exceptions.I10nProfileException
-
- getRoles() - Method in class org.craftercms.profile.api.Profile
-
- getTenant() - Method in class org.craftercms.profile.api.PersistentLogin
-
- getTenant() - Method in class org.craftercms.profile.api.Profile
-
- getTenant(String) - Method in interface org.craftercms.profile.api.services.TenantService
-
Returns a tenant.
- getTenant() - Method in class org.craftercms.profile.api.TenantPermission
-
- getTenant() - Method in class org.craftercms.profile.api.Ticket
-
- getTenant() - Method in class org.craftercms.profile.api.VerificationToken
-
- getTenantCount() - Method in interface org.craftercms.profile.api.services.TenantService
-
Returns the total number of tenants.
- getTenantPermissions() - Method in class org.craftercms.profile.api.AccessToken
-
Returns the tenant permissions the application has.
- getTicket(String) - Method in interface org.craftercms.profile.api.services.AuthenticationService
-
Returns the ticket object for the given ticket ID.
- getTimestamp() - Method in class org.craftercms.profile.api.PersistentLogin
-
- getTimestamp() - Method in class org.craftercms.profile.api.VerificationToken
-
- getToken() - Method in class org.craftercms.profile.api.PersistentLogin
-
- getToken(String) - Method in interface org.craftercms.profile.api.services.AccessTokenService
-
Returns the token for the given ID.
- getUsername() - Method in class org.craftercms.profile.api.Profile
-
- getVerificationToken(String) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Returns the verification token that corresponds to the given ID.
- setApplication(String) - Method in class org.craftercms.profile.api.AccessToken
-
Sets the name of the application accessing Crafter Profile.
- setAttribute(String, Object) - Method in class org.craftercms.profile.api.Profile
-
- setAttributeDefinitions(Set<AttributeDefinition>) - Method in class org.craftercms.profile.api.Tenant
-
Sets the definitions of attributes that users of this tenant can have.
- setAttributes(Map<String, Object>) - Method in class org.craftercms.profile.api.Profile
-
- setAvailableRoles(Set<String>) - Method in class org.craftercms.profile.api.Tenant
-
Sets the available roles that can be assigned to users of this tenant.
- setContentType(String) - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- setCreatedOn(Date) - Method in class org.craftercms.profile.api.Profile
-
- setDefaultValue(Object) - Method in class org.craftercms.profile.api.AttributeDefinition
-
Sets the default value of all attributes.
- setEmail(String) - Method in class org.craftercms.profile.api.Profile
-
- setEnabled(boolean) - Method in class org.craftercms.profile.api.Profile
-
- setErrorCode(ErrorCode) - Method in class org.craftercms.profile.api.exceptions.ErrorDetails
-
- setExpiresOn(Date) - Method in class org.craftercms.profile.api.AccessToken
-
Sets the date of expiration of this token (when it becomes invalid)
- setFailedAttempts(int) - Method in class org.craftercms.profile.api.Profile
-
- setFailedAttempts(String, int, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
- setFileName(String) - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- setFileSize(String) - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- setFileSizeBytes(long) - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- setId(String) - Method in class org.craftercms.profile.api.AccessToken
-
Sets the ID of the access token.
- setId(String) - Method in class org.craftercms.profile.api.PersistentLogin
-
- setId(ObjectId) - Method in class org.craftercms.profile.api.Profile
-
- setId(String) - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- setId(ObjectId) - Method in class org.craftercms.profile.api.Tenant
-
Sets the tenant's DB ID.
- setId(String) - Method in class org.craftercms.profile.api.Ticket
-
- setId(String) - Method in class org.craftercms.profile.api.VerificationToken
-
- setLastFailedLogging(Date) - Method in class org.craftercms.profile.api.Profile
-
- setLastFailedLogging(String, Date, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
- setLastModified(Date) - Method in class org.craftercms.profile.api.Profile
-
- setLastRequestTime(Date) - Method in class org.craftercms.profile.api.Ticket
-
- setMaster(boolean) - Method in class org.craftercms.profile.api.AccessToken
-
Sets if this is a master token.
- setMd5(String) - Method in class org.craftercms.profile.api.services.ProfileAttachment
-
- setMessage(String) - Method in class org.craftercms.profile.api.exceptions.ErrorDetails
-
- setMetadata(Map<String, Object>) - Method in class org.craftercms.profile.api.AttributeDefinition
-
Sets the additional metadata associated to an attribute (like label, type, etc.).
- setName(String) - Method in class org.craftercms.profile.api.AttributeDefinition
-
Sets the attribute name.
- setName(String) - Method in class org.craftercms.profile.api.Tenant
-
Sets the name of the tenant.
- setPassword(String) - Method in class org.craftercms.profile.api.Profile
-
- setProfileId(String) - Method in class org.craftercms.profile.api.PersistentLogin
-
- setProfileId(String) - Method in class org.craftercms.profile.api.Ticket
-
- setProfileId(String) - Method in class org.craftercms.profile.api.VerificationToken
-
- setRoles(Set<String>) - Method in class org.craftercms.profile.api.Profile
-
- setSsoEnabled(boolean) - Method in class org.craftercms.profile.api.Tenant
-
Sets if single sign-on (SSO) should be enabled for this tenant.
- setTenant(String) - Method in class org.craftercms.profile.api.PersistentLogin
-
- setTenant(String) - Method in class org.craftercms.profile.api.Profile
-
- setTenant(String) - Method in class org.craftercms.profile.api.Ticket
-
- setTenant(String) - Method in class org.craftercms.profile.api.VerificationToken
-
- setTenantPermissions(List<TenantPermission>) - Method in class org.craftercms.profile.api.AccessToken
-
Sets the he tenant permissions the application has.
- setTimestamp(Date) - Method in class org.craftercms.profile.api.PersistentLogin
-
- setTimestamp(Date) - Method in class org.craftercms.profile.api.VerificationToken
-
- setToken(String) - Method in class org.craftercms.profile.api.PersistentLogin
-
- setUsername(String) - Method in class org.craftercms.profile.api.Profile
-
- setVerified(boolean) - Method in class org.craftercms.profile.api.Profile
-
- setVerifyNewProfiles(boolean) - Method in class org.craftercms.profile.api.Tenant
-
Sets if new profiles should be verified through email by the user, for the accounts or users of
this tenant.
- SortOrder - Enum in org.craftercms.profile.api
-
The sort order used by services the return a list of sorted objects
- valueOf(String) - Static method in enum org.craftercms.profile.api.AttributeAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.craftercms.profile.api.exceptions.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.craftercms.profile.api.SortOrder
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.craftercms.profile.api.TenantAction
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.craftercms.profile.api.AttributeAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.craftercms.profile.api.exceptions.ErrorCode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.craftercms.profile.api.SortOrder
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.craftercms.profile.api.TenantAction
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VerificationToken - Class in org.craftercms.profile.api
-
Verification token, used for email related verification.
- VerificationToken() - Constructor for class org.craftercms.profile.api.VerificationToken
-
- verifyNewProfiles(String, boolean) - Method in interface org.craftercms.profile.api.services.TenantService
-
Sets if new profiles for the specified tenant should be verified or not.
- verifyProfile(String, String...) - Method in interface org.craftercms.profile.api.services.ProfileService
-
Sets the profile as verified if the verification token is valid.