|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EndpointRegistry
Enables the creation of a Java object that performs endpoint operations, such as creating and removing endpoints.
An endpoint associates a service operation with an available
connector, such as Watched Folders thereby enabling
a client application to invoke the service operation by using different invocation methods. For example, a Java client application
can invoke a service that has either an EJB or SOAP endpoint.
You can create the following endpoint types using
an EndpointRegistryClient
object:
For information about programmatically creating endpoints, see Managing Endpoints in the Adobe Experience Manager forms SDK Help.
Field Summary | |
---|---|
static java.lang.String |
ENDPOINT_CREATE_EVENT
|
static java.lang.String |
ENDPOINT_DELETE_EVENT
|
static java.lang.String |
ENDPOINT_PARAMETER
|
static java.lang.String |
ENDPOINT_UPDATE_EVENT
|
static java.lang.String |
OLD_ENDPOINT_PARAMETER
|
static java.lang.String |
SERVICE_ID
|
Method Summary | |
---|---|
java.util.List |
adminGetEndpointsBySearchFilter(com.adobe.idp.dsc.filter.PagingFilter aFilter)
Retrieves endpoints that meet the specified search filter. |
Endpoint |
createEndpoint(CreateEndpointInfo aEndpoint)
Creates a new endpoint that is based on the information specified in the CreateEndpointInfo
object. |
EndpointCategory |
createEndpointCategory(CreateEndpointCategoryInfo aInfo)
Creates a new endpoint category that you can use with a TaskManager endpoint. |
Endpoint |
disable(Endpoint aEndpoint)
Disables an endpoint. |
Endpoint |
enable(Endpoint aEndpoint)
Enables an endpoint. |
java.util.List |
getConnectorEndpoints(java.lang.String aConnectorId,
java.util.List aCategories,
com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
Retrieves endpoints for the specified connector (for example, an Email connector) and category that are accessible by the current user. |
java.util.List |
getDirectChildCategories(EndpointCategory parent)
|
Endpoint |
getEndpoint(long aEndpointId)
Retrieves an endpoint that corresponds to the specified identifier value. |
java.util.List |
getEndpointCategories(com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
Retrieves all endpoint categories that exist. |
EndpointCategory |
getEndpointCategory(java.lang.String fullpath)
Retrieves the endpoint category that corresponds to the category full path. |
java.util.List |
getEndpoints(com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
Retrieves all the endpoints defined in the registry that are accessible by the current user. |
java.util.List |
getEndpointsByCategory(java.util.List aCategories,
com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
Retrieves endpoints associated with the specified categories that are accessible by the current user. |
java.util.List |
getEndpointsBySearchFilter(com.adobe.idp.dsc.filter.PagingFilter aFilter)
Retrieves endpoints that meet the specified search filter. |
java.util.List |
getRootEndpointCategories(com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
|
java.util.List |
getServiceConnectorEndpoints(java.lang.String aServiceId,
java.lang.String aOperationName,
java.lang.String aConnectorId,
com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
Retrieves endpoints for a given service, connector, and possible operation name. |
java.util.List |
getServiceEndpoints(java.lang.String aServiceId,
java.util.List aCategories,
com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
Retrieves endpoints for a specific service and category that are accessible by the current user. |
Endpoint |
modifyEndpoint(ModifyEndpointInfo aEndpoint)
Modifies an existing endpoint. |
EndpointCategory |
modifyEndpointCategory(ModifyEndpointCategoryInfo aInfo)
Updates an existing endpoint category. |
void |
remove(Endpoint aEndpoint)
Removes an existing endpoint. |
void |
removeEndpointCategory(EndpointCategory category)
Removes an existing endpoint category. |
void |
updateEndpointCategoryHierarchy(EndpointCategory child,
EndpointCategory parent)
|
Field Detail |
---|
static final java.lang.String SERVICE_ID
static final java.lang.String ENDPOINT_UPDATE_EVENT
static final java.lang.String ENDPOINT_CREATE_EVENT
static final java.lang.String ENDPOINT_DELETE_EVENT
static final java.lang.String ENDPOINT_PARAMETER
static final java.lang.String OLD_ENDPOINT_PARAMETER
Method Detail |
---|
EndpointCategory createEndpointCategory(CreateEndpointCategoryInfo aInfo) throws RegistryException
To see this method used in a code example, see the Adding a TaskManager endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aInfo
- A CreateEndpointCategoryInfo
that contains information about the category.
EndpointCategory
object that represents the newly created category.
RegistryException
java.util.List getEndpointCategories(com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
aPagingFilter
- A PagingFilter
object that represents a filter which defines the start offset, the maximum
size, and the sorted order of the returned list.
java.util.List
object that contains endpoint catagories satisfying the result filter conditions. Each element in the list is an EndpointCategory
object.java.util.List getRootEndpointCategories(com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
java.util.List getDirectChildCategories(EndpointCategory parent)
EndpointCategory getEndpointCategory(java.lang.String fullpath) throws EndpointCategoryNotFoundException
fullpath
- The category full path used to retrieve the category.
EndpointCategory
object that represents the category that corresponds to the identifier value.
EndpointCategoryNotFoundException
void removeEndpointCategory(EndpointCategory category) throws EndpointCategoryNotFoundException, EndpointCategoryInUseException
category
- An EndpointCategory
object that represents the category to remove.
EndpointCategoryNotFoundException
- If the endpoint category does not correspond to a valid category.
EndpointCategoryInUseException
- If the endpoint category is currently in use.EndpointCategory modifyEndpointCategory(ModifyEndpointCategoryInfo aInfo) throws RegistryException
aInfo
- A ModifyEndpointCategoryInfo
object that represents the category changes.
EndpointCategory
object that represents the modified endpoint category.
RegistryException
void updateEndpointCategoryHierarchy(EndpointCategory child, EndpointCategory parent) throws EndpointCategoryNotFoundException, DuplicateEndpointCategoryException, EndpointCategoryLevelExceedException
EndpointCategoryNotFoundException
DuplicateEndpointCategoryException
EndpointCategoryLevelExceedException
java.util.List getEndpoints(com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
To see this method used in a code example, see the Modifying an endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aPagingFilter
- A result set filter that defines the start offset, the maximum
size, and the sort order of the returned list.
Endpoint
object.Endpoint
java.util.List getEndpointsByCategory(java.util.List aCategories, com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
aCategories
- A list of categories that are used to retrieve endpoints.aPagingFilter
- A result set filter that defines the start offset, the maximum
size, and the sort order of the returned list.
Endpoint
object.Endpoint
java.util.List getConnectorEndpoints(java.lang.String aConnectorId, java.util.List aCategories, com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
aConnectorId
- A connector idenitifer value used in the search criteria. Valid values are: EJB
, SOAP
, WatchedFolder
, Email
, Remoting
, and TaskManagerConnector
.aCategories
- A list of categories that are used to retrieve endpoints.aPagingFilter
- A result set filter that defines the start offset, the maximum
size, and the sort order of the returned list.
Endpoint
object.Endpoint
java.util.List getServiceEndpoints(java.lang.String aServiceId, java.util.List aCategories, com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
aServiceId
- A service identifier value to which endpoints belong.aCategories
- A list of categories that are used to retrieve endpoints.aPagingFilter
- A result set filter that defines the start offset, the maximum
size, and the sort order of the returned list.
Endpoint
object.Endpoint
java.util.List getServiceConnectorEndpoints(java.lang.String aServiceId, java.lang.String aOperationName, java.lang.String aConnectorId, com.adobe.idp.dsc.filter.PagingFilter aPagingFilter)
null
value for a parameter
implies that the specific parameter is not part of the search criteria.
This method only returns endpoints that are accessible by the current user.
A user is specified in connection properties required to invoke Adobe Experience Manager forms.
aServiceId
- A service identifier value to which endpoints belong.aOperationName
- The name of the operation that is invoked by the endpoints.aConnectorId
- A connector idenitifer value used in the search criteria. Valid values are: EJB
, SOAP
, WatchedFolder
, Email
, Remoting
, and TaskManagerConnector
.aPagingFilter
- A result set filter that defines the start offset, the maximum
size, and the sort order of the returned list.
Endpoint
object.Endpoint
java.util.List getEndpointsBySearchFilter(com.adobe.idp.dsc.filter.PagingFilter aFilter)
aFilter
- A result set filter that defines the start offset, the maximum
size, and the sort order of the returned list.
Endpoint
object.Endpoint
Endpoint getEndpoint(long aEndpointId) throws EndpointNotFoundException
aEndpointId
- A unique identifier value of the endpoint.
Endpoint
object that corresponds to the identifier value.
EndpointNotFoundException
- If an endpoint does not exist for the specified identifier value.Endpoint
Endpoint createEndpoint(CreateEndpointInfo aEndpoint) throws RegistryException
CreateEndpointInfo
object.
After you create an endpoint, you must enable it using the enable
method.
To see this method used in a code example, see the Adding a Watched Folder endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aEndpoint
- A CreateEndpointInfo
object that contains endpoint information such as the service operation that is invoked.
Endpoint
object that represents the new endpoint.
RegistryException
- If the endpoint cannot be created.Endpoint
,
enable
,
CreateEndpointInfo
Endpoint modifyEndpoint(ModifyEndpointInfo aEndpoint) throws RegistryException
To see this method used in a code example, see the Modifying an endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aEndpoint
- A ModifyEndpointInfo
object that represents modifications to the endpoint.
Endpoint
object that represents the modified endpoint.
RegistryException
- If the endpoint cannot be modified.void remove(Endpoint aEndpoint) throws EndpointNotFoundException
To see this method used in a code example, see the Removing an endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aEndpoint
- An Endpoint
object that represents the endpoint to remove.
EndpointNotFoundException
Endpoint
Endpoint enable(Endpoint aEndpoint) throws EndpointNotFoundException
createEndpoint
method,
you must enable it using this method.
To see this method used in a code example, see the Adding a Watched Folder endpoint using the Java API quick start in the Adobe Experience Manager forms SDK Help.
aEndpoint
- An Endpoint
object that represents the endpoint to enable.
Endpoint
object that represents the enabled endpoint.
EndpointNotFoundException
- If the endpoint cannot be enables or is already enabled.Endpoint
,
createEndpoint
Endpoint disable(Endpoint aEndpoint) throws EndpointNotFoundException
enable
method.
aEndpoint
- An Endpoint
object that represents the endpoint to disable.
Endpoint
object that represents the disabled endpoint.
EndpointNotFoundException
- If the endpoint cannot be disabled or cannot be located.java.util.List adminGetEndpointsBySearchFilter(com.adobe.idp.dsc.filter.PagingFilter aFilter)
aFilter
- A result set filter that defines the start offset, the maximum
size, and the sort order of the returned list.
Endpoint
object.Endpoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |