Class ShareableResource<T>
- java.lang.Object
-
- org.silverpeas.core.sharing.security.ShareableResource<T>
-
- Type Parameters:
T
-
- Direct Known Subclasses:
ShareableAttachment
,ShareableNode
,ShareablePublication
,ShareableVersionDocument
public abstract class ShareableResource<T> extends Object
Resource being accessed through some shared object. May be the shared object itself or an object whose access is controlled by the shared object (for example node).
-
-
Field Summary
Fields Modifier and Type Field Description protected T
accessedObject
protected String
token
-
Constructor Summary
Constructors Constructor Description ShareableResource(String token, T accessedObject)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
getAccessedObject()
abstract String
getName()
String
getToken()
abstract String
getURL()
-