public final class Locator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Locator.Creator
The Class Creator.
|
static class |
Locator.Updater
The Class Updater.
|
| Modifier and Type | Method and Description |
|---|---|
static Locator.Creator |
create(String accessPolicyId,
String assetId,
LocatorType locatorType)
Create an operation to create a new locator entity.
|
static EntityDeleteOperation |
delete(String locatorId)
Create an operation to delete the given locator.
|
static EntityGetOperation<LocatorInfo> |
get(String locatorId)
Create an operation to get the given locator.
|
static DefaultListOperation<LocatorInfo> |
list()
Create an operation to list all locators.
|
static DefaultListOperation<LocatorInfo> |
list(LinkInfo<LocatorInfo> link)
Create an operation that will list all the locators at the given link.
|
static Locator.Updater |
update(String locatorId)
Create an operation to update the given locator.
|
public static Locator.Creator create(String accessPolicyId, String assetId, LocatorType locatorType)
accessPolicyId - id of access policy for locatorassetId - id of asset for locatorlocatorType - locator typepublic static EntityGetOperation<LocatorInfo> get(String locatorId)
locatorId - id of locator to retrievepublic static DefaultListOperation<LocatorInfo> list()
public static DefaultListOperation<LocatorInfo> list(LinkInfo<LocatorInfo> link)
link - Link to request locators from.public static Locator.Updater update(String locatorId)
locatorId - id of locator to updatepublic static EntityDeleteOperation delete(String locatorId)
locatorId - id of locator to delete/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/