public class UserAccountsDaoJena extends JenaBaseDao implements UserAccountsDao
DEFAULT_NAMESPACE, KEEP_ONLY_IF_FALSE, KEEP_ONLY_IF_TRUE, log, NONUSER_NAMESPACES, PREFERRED_LANGUAGES, PSEUDO_BNODE_NS, XSD, xsdDateFormat, xsdDateTimeFormatADDITIONAL_LINK, APPLICATION_ABOUTTEXT, APPLICATION_ACKNOWLEGETEXT, APPLICATION_CONTACTMAIL, APPLICATION_COPYRIGHTANCHOR, APPLICATION_COPYRIGHTURL, APPLICATION_CORRECTIONMAIL, APPLICATION_THEMEDIR, CLASSGROUP, DATAPROPERTY_ISEXTERNALID, DESCRIPTION_ANNOT, DISPLAY_LIMIT, DISPLAY_RANK, DISPLAY_RANK_ANNOT, EDITING, EXAMPLE, EXAMPLE_ANNOT, HIDDEN_FROM_DISPLAY_BELOW_ROLE_LEVEL_ANNOT, HIDDEN_FROM_PUBLISH_BELOW_ROLE_LEVEL_ANNOT, IN_CLASSGROUP, IND_MAIN_IMAGE, LINK, LINK_ANCHOR, LINK_DISPLAYRANK, LINK_TYPE, LINK_URL, MODTIME, MONIKER, ONTOLOGY_PREFIX_ANNOT, PERMISSION, PERMISSION_SET_FOR_NEW_USERS, PERMISSION_SET_FOR_PUBLIC, PERMISSIONSET, PERMISSIONSET_HAS_PERMISSION, PORTAL, PRIMARY_LINK, PROHIBITED_FROM_UPDATE_BELOW_ROLE_LEVEL_ANNOT, PROPERTY_ADDLINKSUPPRESSED, PROPERTY_COLLATEBYSUBCLASSANNOT, PROPERTY_CUSTOM_LIST_VIEW_ANNOT, PROPERTY_CUSTOMDISPLAYVIEWANNOT, PROPERTY_CUSTOMENTRYFORMANNOT, PROPERTY_CUSTOMSEARCHVIEWANNOT, PROPERTY_CUSTOMSHORTVIEWANNOT, PROPERTY_DELETELINKSUPPRESSED, PROPERTY_EDITLINKSUPPRESSED, PROPERTY_ENTITYSORTDIRECTION, PROPERTY_ENTITYSORTFIELD, PROPERTY_FULLPROPERTYNAMEANNOT, PROPERTY_INPROPERTYGROUPANNOT, PROPERTY_OBJECTINDIVIDUALSORTPROPERTY, PROPERTY_OFFERCREATENEWOPTIONANNOT, PROPERTY_SELECTFROMEXISTINGANNOT, PROPERTY_STUBOBJECTPROPERTYANNOT, PROPERTYGROUP, PUBLIC_DESCRIPTION_ANNOT, SEARCH_BOOST_ANNOT, SHORTDEF, USERACCOUNT, USERACCOUNT_ARGON2_PASSWORD, USERACCOUNT_EMAIL_ADDRESS, USERACCOUNT_EMAIL_KEY, USERACCOUNT_EXTERNAL_AUTH_ID, USERACCOUNT_EXTERNAL_AUTH_ONLY, USERACCOUNT_FIRST_NAME, USERACCOUNT_HAS_PERMISSION_SET, USERACCOUNT_LAST_LOGIN_TIME, USERACCOUNT_LAST_NAME, USERACCOUNT_LOGIN_COUNT, USERACCOUNT_MD5_PASSWORD, USERACCOUNT_OLD_PASSWORD, USERACCOUNT_PASSWORD_CHANGE_REQUIRED, USERACCOUNT_PASSWORD_LINK_EXPIRES, USERACCOUNT_PROXY_EDITOR_FOR, USERACCOUNT_ROOT_USER, USERACCOUNT_STATUS, VITRO_PUBLIC_ONTOLOGY| Constructor and Description |
|---|
UserAccountsDaoJena(WebappDaoFactoryJena wadf) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteUserAccount(String userAccountUri)
Remove the UserAccount with this URI from the model.
|
Collection<PermissionSet> |
getAllPermissionSets()
Get all of the PermissionSets in the model, sorted by URI.
|
Collection<UserAccount> |
getAllUserAccounts()
Get all of the UserAccounts in the model.
|
protected org.apache.jena.ontology.OntModel |
getOntModel() |
PermissionSet |
getPermissionSetByUri(String uri)
Get the PermissionSet for this URI.
|
UserAccount |
getUserAccountByEmail(String emailAddress)
Get the UserAccount for this Email address.
|
UserAccount |
getUserAccountByExternalAuthId(String externalAuthId)
Get the UserAccount for this External Authentication ID
|
UserAccount |
getUserAccountByUri(String uri)
Get the UserAccount for this URI.
|
Collection<UserAccount> |
getUserAccountsWhoProxyForPage(String profilePageUri)
Get any UserAccounts who act as proxy editors for this profile page.
|
String |
insertUserAccount(UserAccount userAccount)
Create a new UserAccount in the model.
|
void |
setProxyAccountsOnProfile(String profilePageUri,
Collection<String> userAccountUris)
Set so that these UserAccounts, and only these, are authorized as proxies on this
profile page.
|
void |
updateUserAccount(UserAccount userAccount)
Update the values on a UserAccount that already exists in the model.
|
addPropertyBooleanValue, addPropertyDateTimeValue, addPropertyDateValue, addPropertyFloatValue, addPropertyIntValue, addPropertyLongValue, addPropertyNonNegativeIntValue, addPropertyResourceURIValue, addPropertyResourceValue, addPropertyStringValue, checkURI, getClassURIStr, getDefaultLanguage, getLabel, getLabelLiteral, getLabelLiteral, getLabelOrId, getLocalNameOrId, getMostRestrictiveRoleLevel, getOntClass, getOntModelSelector, getPropertyBooleanValue, getPropertyDateTimeValue, getPropertyDateValue, getPropertyFloatValue, getPropertyIntValue, getPropertyLongValue, getPropertyNonNegativeIntegerValue, getPropertyNonNegativeIntValue, getPropertyResourceURIValues, getPropertyStringValue, getSmartRemoval, getWebappDaoFactory, getWritableOntModelList, isBooleanClassExpression, listDirectObjectPropertySubjects, listDirectObjectPropertyValues, makeNodeForURI, removeRulesMentioningResource, smartRemove, tryLiteralForPreferredLanguages, updatePlainLiteralValue, updatePlainLiteralValue, updatePropertyBooleanValue, updatePropertyDateTimeValue, updatePropertyDateValue, updatePropertyFloatValue, updatePropertyIntValue, updatePropertyLongValue, updatePropertyNonNegativeIntegerValue, updatePropertyNonNegativeIntValue, updatePropertyResourceURIValue, updatePropertyResourceURIValue, updatePropertyResourceURIValues, updatePropertyResourceValue, updatePropertyResourceValue, updatePropertyStringValue, updateRDFSLabel, updateRDFSLabelgetConstModelpublic UserAccountsDaoJena(WebappDaoFactoryJena wadf)
protected org.apache.jena.ontology.OntModel getOntModel()
getOntModel in class JenaBaseDaopublic Collection<UserAccount> getAllUserAccounts()
UserAccountsDaogetAllUserAccounts in interface UserAccountsDaopublic UserAccount getUserAccountByUri(String uri)
UserAccountsDaogetUserAccountByUri in interface UserAccountsDaopublic UserAccount getUserAccountByEmail(String emailAddress)
UserAccountsDaogetUserAccountByEmail in interface UserAccountsDaopublic UserAccount getUserAccountByExternalAuthId(String externalAuthId)
UserAccountsDaogetUserAccountByExternalAuthId in interface UserAccountsDaopublic Collection<UserAccount> getUserAccountsWhoProxyForPage(String profilePageUri)
UserAccountsDaogetUserAccountsWhoProxyForPage in interface UserAccountsDaopublic String insertUserAccount(UserAccount userAccount)
UserAccountsDaoinsertUserAccount in interface UserAccountsDaopublic void updateUserAccount(UserAccount userAccount)
UserAccountsDaoupdateUserAccount in interface UserAccountsDaopublic void deleteUserAccount(String userAccountUri)
UserAccountsDaodeleteUserAccount in interface UserAccountsDaopublic void setProxyAccountsOnProfile(String profilePageUri, Collection<String> userAccountUris)
UserAccountsDaosetProxyAccountsOnProfile in interface UserAccountsDaopublic PermissionSet getPermissionSetByUri(String uri)
UserAccountsDaogetPermissionSetByUri in interface UserAccountsDaopublic Collection<PermissionSet> getAllPermissionSets()
UserAccountsDaogetAllPermissionSets in interface UserAccountsDaoCopyright © 2022. All rights reserved.