public interface LabelServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Label[] |
createLabels(Label[] labels)
Creates new
Label objects. |
LabelPage |
getLabelsByStatement(Statement filterStatement)
|
UpdateResult |
performLabelAction(LabelAction labelAction,
Statement filterStatement)
Performs actions on
Label objects that match the given
Statement.query. |
Label[] |
updateLabels(Label[] labels)
Updates the specified
Label objects. |
Label[] createLabels(Label[] labels) throws RemoteException, ApiException
Label objects.labels - the labels to createRemoteExceptionApiExceptionLabelPage getLabelsByStatement(Statement filterStatement) throws RemoteException, ApiException
LabelPage of Label objects that satisfy
the
given Statement.query. The following fields are supported
for
filtering:
| PQL Property | Object Property |
|---|---|
id |
Label.id |
type |
Label#type |
name |
Label.name |
description |
Label.description |
isActive |
Label.isActive |
filterStatement - a Publisher Query Language statement used to
filter
a set of labels.RemoteExceptionApiExceptionUpdateResult performLabelAction(LabelAction labelAction, Statement filterStatement) throws RemoteException, ApiException
Label objects that match the given
Statement.query.labelAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of labelsRemoteExceptionApiExceptionLabel[] updateLabels(Label[] labels) throws RemoteException, ApiException
Label objects.labels - the labels to updateRemoteExceptionApiExceptionCopyright © 2021. All rights reserved.