|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LabelServiceInterface
| Method Summary | |
|---|---|
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)
Gets a LabelPage of Label objects that satisfy
the
given Statement.query. |
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. |
| Method Detail |
|---|
Label createLabel(Label label)
throws RemoteException,
ApiException
Label.
The following fields are required:
label - the label to create
RemoteException
ApiException
Label[] createLabels(Label[] labels)
throws RemoteException,
ApiException
Label objects.
labels - the labels to create
RemoteException
ApiException
Label getLabel(Long labelId)
throws RemoteException,
ApiException
Label uniquely identified by the given
ID.
labelId - the ID of the label, which must already exist
Label uniquely identified by the given ID
RemoteException
ApiException
LabelPage 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.
RemoteException
ApiException
UpdateResult 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 labels
RemoteException
ApiException
Label updateLabel(Label label)
throws RemoteException,
ApiException
Label.
label - the label to update
RemoteException
ApiException
Label[] updateLabels(Label[] labels)
throws RemoteException,
ApiException
Label objects.
labels - the labels to update
RemoteException
ApiException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||