public class DefaultApplication extends AbstractInstanceResource implements Application
deletedPropertyNames, dirty, dirtyProperties, HREF_PROP_NAME, properties, readLock, referenceFactory, writeLock| Constructor and Description |
|---|
DefaultApplication(InternalDataStore dataStore) |
DefaultApplication(InternalDataStore dataStore,
Map<String,Object> properties) |
savecreatePropertyDescriptorMap, equals, getBoolean, getBooleanProperty, getDataStore, getDateProperty, getDeletedPropertyNames, getHref, getInt, getIntProperty, getProperty, getPropertyNames, getResourceProperty, getString, getStringProperty, getUpdatedPropertyNames, hashCode, isDirty, isMaterialized, isNew, isPrintableProperty, materialize, setProperties, setProperty, setProperty, setProperty, setResourceProperty, toStringpublic DefaultApplication(InternalDataStore dataStore)
public DefaultApplication(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic String getName()
getName in interface Applicationpublic void setName(String name)
setName in interface Applicationpublic String getDescription()
getDescription in interface Applicationpublic void setDescription(String description)
setDescription in interface Applicationpublic ApplicationStatus getStatus()
getStatus in interface Applicationpublic void setStatus(ApplicationStatus status)
setStatus in interface Applicationpublic AccountList getAccounts()
getAccounts in interface Applicationpublic AccountList getAccounts(Map<String,Object> queryParams)
getAccounts in interface Applicationpublic AccountList getAccounts(AccountCriteria criteria)
getAccounts in interface Applicationpublic GroupList getGroups()
getGroups in interface Applicationpublic GroupList getGroups(Map<String,Object> queryParams)
getGroups in interface Applicationpublic GroupList getGroups(GroupCriteria criteria)
getGroups in interface Applicationpublic Tenant getTenant()
getTenant in interface Applicationpublic Account sendPasswordResetEmail(String accountUsernameOrEmail)
sendPasswordResetEmail in interface Applicationpublic Account verifyPasswordResetToken(String token)
verifyPasswordResetToken in interface Applicationpublic AuthenticationResult authenticateAccount(AuthenticationRequest request)
authenticateAccount in interface Applicationpublic Group createGroup(Group group)
createGroup in interface Applicationpublic Group createGroup(CreateGroupRequest request)
createGroup in interface Applicationpublic Account createAccount(Account account)
createAccount in interface Applicationpublic Account createAccount(CreateAccountRequest request)
createAccount in interface Applicationpublic AccountStoreMappingList getAccountStoreMappings()
getAccountStoreMappings in interface Applicationpublic AccountStoreMappingList getAccountStoreMappings(Map<String,Object> queryParams)
getAccountStoreMappings in interface Applicationpublic AccountStoreMappingList getAccountStoreMappings(AccountStoreMappingCriteria criteria)
getAccountStoreMappings in interface Applicationpublic AccountStore getDefaultAccountStore()
getDefaultAccountStore in interface Applicationpublic void setDefaultAccountStore(AccountStore accountStore)
setDefaultAccountStore in interface Applicationpublic AccountStore getDefaultGroupStore()
getDefaultGroupStore in interface Applicationpublic void setDefaultGroupStore(AccountStore accountStore)
setDefaultGroupStore in interface Applicationpublic AccountStoreMapping createAccountStoreMapping(AccountStoreMapping mapping) throws ResourceException
createAccountStoreMapping in interface ApplicationResourceExceptionpublic AccountStoreMapping addAccountStore(AccountStore accountStore) throws ResourceException
addAccountStore in interface ApplicationResourceExceptionCopyright © 2012–2014. All rights reserved.