|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.ownable.impl.OwnableServiceNOOPImpl
public class OwnableServiceNOOPImpl
A simple implementation that does not support ownership.
| Field Summary |
|---|
| Fields inherited from interface org.alfresco.service.cmr.security.OwnableService |
|---|
NO_OWNER |
| Constructor Summary | |
|---|---|
OwnableServiceNOOPImpl()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getOwner(NodeRef nodeRef)
Get the username of the owner of the given object. |
boolean |
hasOwner(NodeRef nodeRef)
Does the given node have an owner? |
void |
setOwner(NodeRef nodeRef,
java.lang.String userName)
Set the owner of the object. |
void |
takeOwnership(NodeRef nodeRef)
Set the owner of the object to be the current user. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OwnableServiceNOOPImpl()
| Method Detail |
|---|
public java.lang.String getOwner(NodeRef nodeRef)
OwnableService
getOwner in interface OwnableService
public void setOwner(NodeRef nodeRef,
java.lang.String userName)
OwnableService
setOwner in interface OwnableServicepublic void takeOwnership(NodeRef nodeRef)
OwnableService
takeOwnership in interface OwnableServicepublic boolean hasOwner(NodeRef nodeRef)
OwnableService
hasOwner in interface OwnableService
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||