|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.jastor.GraphThingImpl
org.openanzo.common.ontology.UserImpl
public class UserImpl
Implementation of User
Use the org.openanzo.common.ontology.AnzoFactory to create instances of this class.
(URI: http://openanzo.org/RBAC#User)
| Field Summary |
|---|
| Fields inherited from interface org.openanzo.common.ontology.User |
|---|
TYPE |
| 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 |
java.util.Collection<org.openrdf.model.Statement> |
listStatements()
Get set of statements that makeup this THINGS's properties and types |
void |
registerListener(ThingListener listener)
Register a ThingListener for this THING |
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 |
void |
unregisterListener(ThingListener listener)
Unregister a ThingListener for this THING |
| Methods inherited from class org.openanzo.jastor.GraphThingImpl |
|---|
clearCache, equals, getLiteral, getLiteralValue, getProperties, getPropertyValue, getPropertyValue, graph, isRDFType, removeStatements, resource, setPropertyValue, setPropertyValue, toString, uri |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openanzo.jastor.GraphThing |
|---|
getProperties, getPropertyValue, getPropertyValue, graph, setPropertyValue, setPropertyValue |
| Methods inherited from interface org.openanzo.jastor.CoreThing |
|---|
clearCache, isRDFType, removeStatements, resource, uri |
| Method Detail |
|---|
public java.util.Collection<org.openrdf.model.Statement> listStatements()
CoreThing
listStatements in interface CoreThinglistStatements in class GraphThingImpl
public java.lang.String getPassword()
throws JastorException
User
getPassword in interface UserString
JastorExceptionUser.passwordProperty
public void setPassword(java.lang.String password)
throws JastorException
User
setPassword in interface Userpassword - String
JastorExceptionUser.passwordProperty
public java.lang.String getUserId()
throws JastorException
User
getUserId in interface UserString
JastorExceptionUser.userIdProperty
public void setUserId(java.lang.String userId)
throws JastorException
User
setUserId in interface UseruserId - String
JastorExceptionUser.userIdProperty
public info.aduna.collections.iterators.CloseableIterator<Role> getInRole()
throws JastorException
User
getInRole in interface UserIterator of Role
JastorExceptionUser.inRoleProperty
public void addInRole(Role inRole)
throws JastorException
User
addInRole in interface UserinRole - The Role to add
JastorExceptionUser.inRoleProperty
public Role addInRole()
throws JastorException
User
addInRole in interface UserRole created
JastorExceptionUser.inRoleProperty
public Role addInRole(org.openrdf.model.Resource resource)
throws JastorException
UserRole 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.
addInRole in interface Userresource - The Resource to add
JastorExceptionUser.inRoleProperty
public void removeInRole(Role inRole)
throws JastorException
User
removeInRole in interface UserinRole - The Role to remove
JastorExceptionUser.inRoleProperty
public void removeInRole(org.openrdf.model.Resource inRole)
throws JastorException
User
removeInRole in interface UserinRole - Role, the value to remove
JastorExceptionUser.inRoleProperty
public ACL getDefaultAclTemplate()
throws JastorException
User
getDefaultAclTemplate in interface UserACL
JastorExceptionUser.defaultAclTemplateProperty
public void setDefaultAclTemplate(ACL defaultAclTemplate)
throws JastorException
User
setDefaultAclTemplate in interface UserdefaultAclTemplate - ACL
JastorExceptionUser.defaultAclTemplateProperty
public ACL setDefaultAclTemplate()
throws JastorException
User
setDefaultAclTemplate in interface UserACL, the created value
JastorExceptionUser.defaultAclTemplateProperty
public ACL setDefaultAclTemplate(org.openrdf.model.Resource resource)
throws JastorException
UserACL 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.
setDefaultAclTemplate in interface Userresource - Resource must not be be null.
ACL, the newly created value
JastorExceptionUser.defaultAclTemplateProperty
public Role getDefaultRole()
throws JastorException
User
getDefaultRole in interface UserRole
JastorExceptionUser.defaultRoleProperty
public void setDefaultRole(Role defaultRole)
throws JastorException
User
setDefaultRole in interface UserdefaultRole - Role
JastorExceptionUser.defaultRoleProperty
public Role setDefaultRole()
throws JastorException
User
setDefaultRole in interface UserRole, the created value
JastorExceptionUser.defaultRoleProperty
public Role setDefaultRole(org.openrdf.model.Resource resource)
throws JastorException
UserRole 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.
setDefaultRole in interface Userresource - Resource must not be be null.
Role, the newly created value
JastorExceptionUser.defaultRolePropertypublic void registerListener(ThingListener listener)
CoreThing
registerListener in interface CoreThingregisterListener in class GraphThingImpllistener - ThingListenerpublic void unregisterListener(ThingListener listener)
CoreThing
unregisterListener in interface CoreThingunregisterListener in class GraphThingImpllistener - ThingListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||