|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.app.RegistryResolver
public class RegistryResolver
Class that is capable of resolving requests made via the Atom API, and identify how to process them. Some of the target types are provided by Abdera itself, whereas some others are defined.
Field Summary | |
---|---|
static org.apache.abdera.protocol.server.TargetType |
ASPECT_TYPE
The target type for aspects. |
static org.apache.abdera.protocol.server.TargetType |
ASSOCIATIONS_TYPE
The target type for associations. |
static org.apache.abdera.protocol.server.TargetType |
CHECKPOINT_TYPE
The target type for check points. |
static org.apache.abdera.protocol.server.TargetType |
COLLECTION_CUSTOM_TYPE
The target type for custom collections. |
static org.apache.abdera.protocol.server.TargetType |
COMMENTS_TYPE
The target type for comments. |
static org.apache.abdera.protocol.server.TargetType |
COPY_TYPE
The target type for copy operations. |
static org.apache.abdera.protocol.server.TargetType |
DELETE_TYPE
The target type for delete requests. |
static org.apache.abdera.protocol.server.TargetType |
DUMP_TYPE
The target type for dump. |
static org.apache.abdera.protocol.server.TargetType |
IMPORT_TYPE
The target type for import requests. |
static org.apache.abdera.protocol.server.TargetType |
LOGS_TYPE
The target type for logs. |
static org.apache.abdera.protocol.server.TargetType |
MOVE_TYPE
The target type for move operations. |
static org.apache.abdera.protocol.server.TargetType |
QUERY_TYPE
The target type for queries.. |
static org.apache.abdera.protocol.server.TargetType |
RATINGS_TYPE
The target type for ratings. |
static org.apache.abdera.protocol.server.TargetType |
RENAME_TYPE
The target type for rename operations. |
static org.apache.abdera.protocol.server.TargetType |
RESTORE_TYPE
The target type for restore operations. |
static org.apache.abdera.protocol.server.TargetType |
TAG_URL_TYPE
The target type for tag urls. |
static org.apache.abdera.protocol.server.TargetType |
TAGS_TYPE
The target type for tags. |
static org.apache.abdera.protocol.server.TargetType |
VERSIONS_TYPE
The target type for versions. |
Constructor Summary | |
---|---|
RegistryResolver(EmbeddedRegistryService embeddedRegistryService,
String basePath)
|
Method Summary | |
---|---|
String |
getBasePath()
|
static int |
getTenantId(String userNameWithDomain)
|
static String |
getUserName(String userNameWithDomain)
|
org.apache.abdera.protocol.server.Target |
resolve(org.apache.abdera.protocol.Request request)
Method to identify the response target for the request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final org.apache.abdera.protocol.server.TargetType TAGS_TYPE
public static final org.apache.abdera.protocol.server.TargetType LOGS_TYPE
public static final org.apache.abdera.protocol.server.TargetType RATINGS_TYPE
public static final org.apache.abdera.protocol.server.TargetType RENAME_TYPE
public static final org.apache.abdera.protocol.server.TargetType COPY_TYPE
public static final org.apache.abdera.protocol.server.TargetType MOVE_TYPE
public static final org.apache.abdera.protocol.server.TargetType COMMENTS_TYPE
public static final org.apache.abdera.protocol.server.TargetType TAG_URL_TYPE
public static final org.apache.abdera.protocol.server.TargetType ASSOCIATIONS_TYPE
public static final org.apache.abdera.protocol.server.TargetType RESTORE_TYPE
public static final org.apache.abdera.protocol.server.TargetType ASPECT_TYPE
public static final org.apache.abdera.protocol.server.TargetType VERSIONS_TYPE
public static final org.apache.abdera.protocol.server.TargetType CHECKPOINT_TYPE
public static final org.apache.abdera.protocol.server.TargetType QUERY_TYPE
public static final org.apache.abdera.protocol.server.TargetType IMPORT_TYPE
public static final org.apache.abdera.protocol.server.TargetType DELETE_TYPE
public static final org.apache.abdera.protocol.server.TargetType COLLECTION_CUSTOM_TYPE
public static final org.apache.abdera.protocol.server.TargetType DUMP_TYPE
Constructor Detail |
---|
public RegistryResolver(EmbeddedRegistryService embeddedRegistryService, String basePath)
Method Detail |
---|
public org.apache.abdera.protocol.server.Target resolve(org.apache.abdera.protocol.Request request)
resolve
in interface org.apache.abdera.protocol.Resolver<org.apache.abdera.protocol.server.Target>
request
- the request.
public String getBasePath()
public static String getUserName(String userNameWithDomain) throws RegistryException
RegistryException
public static int getTenantId(String userNameWithDomain) throws RegistryException
RegistryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |