|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface User
Interface for User ontology class
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this interface.
(URI: http://openanzo.org/RBAC#User)
| Field Summary | |
|---|---|
static org.openrdf.model.URI |
defaultAclTemplateProperty
The Anzo Property for defaultAclTemplate |
static org.openrdf.model.URI |
defaultRoleProperty
The Anzo Property for defaultRole |
static org.openrdf.model.URI |
inRoleProperty
The Anzo Property for inRole |
static org.openrdf.model.URI |
passwordProperty
The Anzo Property for password |
static org.openrdf.model.URI |
TYPE
The rdf:type for this ontology class |
static org.openrdf.model.URI |
userIdProperty
The Anzo Property for userId |
| Method Summary | |
|---|---|
Role |
addInRole()
Adds an anonymous value for the 'inRole' property |
Role |
addInRole(org.openrdf.model.Resource resource)
Adds a value for the 'inRole' property. |
void |
addInRole(Role inRole)
Adds a value for the 'inRole' property |
ACL |
getDefaultAclTemplate()
Gets the 'defaultAclTemplate' property value |
Role |
getDefaultRole()
Gets the 'defaultRole' property value |
info.aduna.collections.iterators.CloseableIterator<Role> |
getInRole()
Get an Iterator the 'inRole' property values. |
java.lang.String |
getPassword()
Gets the 'password' property value |
java.lang.String |
getUserId()
Gets the 'userId' property value |
void |
removeInRole(org.openrdf.model.Resource inRole)
Remove a 'inRole' property value. |
void |
removeInRole(Role inRole)
Removes a value for the 'inRole' property. |
ACL |
setDefaultAclTemplate()
Sets the 'defaultAclTemplate' property value to an anonymous node |
void |
setDefaultAclTemplate(ACL defaultAclTemplate)
Sets the 'defaultAclTemplate' property value |
ACL |
setDefaultAclTemplate(org.openrdf.model.Resource resource)
Sets the 'defaultAclTemplate' property value to the given resource, and add's rdf:type properties. |
Role |
setDefaultRole()
Sets the 'defaultRole' property value to an anonymous node |
Role |
setDefaultRole(org.openrdf.model.Resource resource)
Sets the 'defaultRole' property value to the given resource, and add's rdf:type properties. |
void |
setDefaultRole(Role defaultRole)
Sets the 'defaultRole' property value |
void |
setPassword(java.lang.String password)
Sets the 'password' property value |
void |
setUserId(java.lang.String userId)
Sets the 'userId' property value |
| Methods inherited from interface org.openanzo.jastor.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, listStatements, registerListener, removeStatements, resource, unregisterListener, uri |
| Field Detail |
|---|
static final org.openrdf.model.URI TYPE
static final org.openrdf.model.URI passwordProperty
(URI: http://openanzo.org/predicates/password)
static final org.openrdf.model.URI userIdProperty
(URI: http://openanzo.org/predicates/userId)
static final org.openrdf.model.URI inRoleProperty
(URI: http://openanzo.org/RBAC#inRole)
static final org.openrdf.model.URI defaultAclTemplateProperty
(URI: http://openanzo.org/predicates/defaultAclTemplate)
static final org.openrdf.model.URI defaultRoleProperty
(URI: http://openanzo.org/predicates/defaultRole)
| Method Detail |
|---|
java.lang.String getPassword()
throws JastorException
String
JastorExceptionpasswordProperty
void setPassword(java.lang.String password)
throws JastorException
password - String
JastorExceptionpasswordProperty
java.lang.String getUserId()
throws JastorException
String
JastorExceptionuserIdProperty
void setUserId(java.lang.String userId)
throws JastorException
userId - String
JastorExceptionuserIdProperty
info.aduna.collections.iterators.CloseableIterator<Role> getInRole()
throws JastorException
Iterator of Role
JastorExceptioninRoleProperty
void addInRole(Role inRole)
throws JastorException
inRole - The Role to add
JastorExceptioninRoleProperty
Role addInRole()
throws JastorException
Role created
JastorExceptioninRoleProperty
Role addInRole(org.openrdf.model.Resource resource)
throws JastorException
Role with the factory
and calling addInRole(org.openanzo.common.ontology.Role inRole)
The resource argument have rdf:type http://openanzo.org/RBAC#Role. That is, this method
should not be used as a shortcut for creating new objects in the model.
resource - The Resource to add
JastorExceptioninRoleProperty
void removeInRole(Role inRole)
throws JastorException
inRole - The Role to remove
JastorExceptioninRoleProperty
void removeInRole(org.openrdf.model.Resource inRole)
throws JastorException
inRole - Role, the value to remove
JastorExceptioninRoleProperty
ACL getDefaultAclTemplate()
throws JastorException
ACL
JastorExceptiondefaultAclTemplateProperty
void setDefaultAclTemplate(ACL defaultAclTemplate)
throws JastorException
defaultAclTemplate - ACL
JastorExceptiondefaultAclTemplateProperty
ACL setDefaultAclTemplate()
throws JastorException
ACL, the created value
JastorExceptiondefaultAclTemplateProperty
ACL setDefaultAclTemplate(org.openrdf.model.Resource resource)
throws JastorException
ACL with the factory.
and calling setDefaultAclTemplate(org.openanzo.common.ontology.ACL defaultAclTemplate)
The resource argument have rdf:type http://openanzo.org/RBAC#ACL. That is, this method
should not be used as a shortcut for creating new objects in the model.
resource - Resource must not be be null.
ACL, the newly created value
JastorExceptiondefaultAclTemplateProperty
Role getDefaultRole()
throws JastorException
Role
JastorExceptiondefaultRoleProperty
void setDefaultRole(Role defaultRole)
throws JastorException
defaultRole - Role
JastorExceptiondefaultRoleProperty
Role setDefaultRole()
throws JastorException
Role, the created value
JastorExceptiondefaultRoleProperty
Role setDefaultRole(org.openrdf.model.Resource resource)
throws JastorException
Role with the factory.
and calling setDefaultRole(org.openanzo.common.ontology.Role defaultRole)
The resource argument have rdf:type http://openanzo.org/RBAC#Role. That is, this method
should not be used as a shortcut for creating new objects in the model.
resource - Resource must not be be null.
Role, the newly created value
JastorExceptiondefaultRoleProperty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||