public interface SharedEntity
The owner href (ownerHref), encoded acl (access) and parent path must be persisted.
isCollection is usually derived.
path may be persisted or derived.
accessState is a transient object allowing us to calculate the access and possibly cache that calculation.
| Modifier and Type | Method and Description |
|---|---|
String |
getAccess()
Encoded acl
|
AccessState |
getAccessState() |
String |
getOwnerHref()
Href of owner
|
String |
getParentPath()
Access is inherited from the parent
|
String |
getPath() |
boolean |
isCollection()
We only try to preserve access state in collections.
|
void |
setAccess(String val)
Encoded acl
|
void |
setAccessState(AccessState val)
Set the access state
|
void |
setOwnerHref(String val)
Href of owner
|
void |
setParentPath(String val)
Access is inherited from the parent
|
void setOwnerHref(String val)
val - String getOwnerHref()
void setAccess(String val)
val - String getAccess()
void setParentPath(String val)
val - String getParentPath()
String getPath()
boolean isCollection()
void setAccessState(AccessState val)
val - AccessState getAccessState()
Copyright © 2019 Bedework. All rights reserved.