Package org.alfresco.rest.framework.core
Class ResourceDictionary
- java.lang.Object
-
- org.alfresco.rest.framework.core.ResourceDictionary
-
public class ResourceDictionary extends java.lang.Object
A container for all information about resources and apis.- Author:
- Gethin James
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourceDictionary()
-
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.String
prettyPrint()
static java.lang.String
propertyResourceKey(java.lang.String entity, java.lang.String property)
static java.lang.String
resourceKey(java.lang.String entity, java.lang.String relationship)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
-