public interface LabelServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Label |
createLabel(Label label)
Creates a new
Label. |
Label[] |
createLabels(Label[] labels)
Creates new
Label objects. |
Label |
getLabel(Long labelId)
Returns the
Label uniquely identified by the given
ID. |
LabelPage |
getLabelsByStatement(Statement filterStatement)
|
UpdateResult |
performLabelAction(LabelAction labelAction,
Statement filterStatement)
Performs actions on
Label objects that match the given
Statement.query. |
Label |
updateLabel(Label label)
Updates the specified
Label. |
Label[] |
updateLabels(Label[] labels)
Updates the specified
Label objects. |
Label createLabel(Label label) throws RemoteException, ApiException
Label.
The following fields are required:
Label.nameLabel#typelabel - the label to createRemoteExceptionApiExceptionLabel[] createLabels(Label[] labels) throws RemoteException, ApiException
Label objects.labels - the labels to createRemoteExceptionApiExceptionLabel getLabel(Long labelId) throws RemoteException, ApiException
Label uniquely identified by the given
ID.labelId - the ID of the label, which must already existLabel uniquely identified by the given IDRemoteExceptionApiExceptionLabelPage 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 updateLabel(Label label) throws RemoteException, ApiException
Label.label - the label to updateRemoteExceptionApiExceptionLabel[] updateLabels(Label[] labels) throws RemoteException, ApiException
Label objects.labels - the labels to updateRemoteExceptionApiExceptionCopyright © 2014. All Rights Reserved.