Package org.alfresco.rest.framework.core
Class ResourceDictionary
- java.lang.Object
-
- org.alfresco.rest.framework.core.ResourceDictionary
-
public class ResourceDictionary extends java.lang.ObjectA container for all information about resources and apis.- Author:
- Gethin James
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedResourceDictionary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<Api,java.util.Map<java.lang.String,ResourceWithMetadata>>getAllResources()java.util.SortedSet<Api>getPrivateApis()java.util.SortedSet<Api>getPublicApis()java.lang.StringprettyPrint()static java.lang.StringpropertyResourceKey(java.lang.String entity, java.lang.String property)static java.lang.StringresourceKey(java.lang.String entity, java.lang.String relationship)java.lang.StringtoString()
-
-
-
Method Detail
-
resourceKey
public static java.lang.String resourceKey(java.lang.String entity, java.lang.String relationship)
-
propertyResourceKey
public static java.lang.String propertyResourceKey(java.lang.String entity, java.lang.String property)
-
getAllResources
public java.util.Map<Api,java.util.Map<java.lang.String,ResourceWithMetadata>> getAllResources()
- Returns:
- the allResources
-
getPublicApis
public java.util.SortedSet<Api> getPublicApis()
- Returns:
- the publicApis
-
getPrivateApis
public java.util.SortedSet<Api> getPrivateApis()
- Returns:
- the privateApis
-
prettyPrint
public java.lang.String prettyPrint()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-