public class LabelsSoapService extends Object
| Constructor and Description |
|---|
LabelsSoapService() |
public void setLabelManager(LabelManager labelManager)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
public void setSpaceManager(SpaceManager spaceManager)
public void setPermissionManager(PermissionManager permissionManager)
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
public void setSoapServiceHelper(SoapServiceHelper soapServiceHelper)
public RemoteLabel[] getLabelsById(long objectId) throws RemoteException
RemoteExceptionpublic RemoteLabel[] getMostPopularLabels(int maxCount) throws RemoteException
RemoteExceptionpublic RemoteLabel[] getMostPopularLabelsInSpace(String spaceKey, int maxCount) throws RemoteException
RemoteExceptionpublic RemoteSearchResult[] getLabelContentById(long labelId) throws RemoteException
RemoteExceptionpublic RemoteSearchResult[] getLabelContentByName(String labelName) throws RemoteException
RemoteExceptionpublic RemoteSearchResult[] getLabelContentByObject(RemoteLabel labelObject) throws RemoteException
RemoteExceptionpublic RemoteLabel[] getRecentlyUsedLabels(int maxCount)
public RemoteLabel[] getRecentlyUsedLabelsInSpace(String spaceKey, int maxCount) throws RemoteException
RemoteExceptionpublic RemoteSpace[] getSpacesWithLabel(String labelName) throws RemoteException
RemoteExceptionpublic RemoteLabel[] getRelatedLabels(String labelName, int maxCount) throws RemoteException
RemoteExceptionpublic RemoteLabel[] getRelatedLabelsInSpace(String labelName, String spaceKey, int maxCount) throws RemoteException
RemoteExceptionpublic RemoteSpace[] getSpacesContainingContentWithLabel(String labelName) throws RemoteException
RemoteExceptionpublic RemoteLabel[] getLabelsByDetail(String labelName, String namespace, String spaceKey, String owner) throws RemoteException
RemoteExceptionpublic boolean addLabelByName(String labelName, long objectId) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionpublic boolean addLabelById(long labelId,
long objectId)
throws NotPermittedException,
RemoteException
NotPermittedExceptionRemoteExceptionpublic boolean addLabelByObject(RemoteLabel labelObject, long objectId) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionpublic boolean addLabelByNameToSpace(String labelName, String spaceKey) throws RemoteException
RemoteExceptionpublic boolean removeLabelByName(String labelReferences, long objectId) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionpublic boolean removeLabelById(long labelId,
long objectId)
throws NotPermittedException,
RemoteException
NotPermittedExceptionRemoteExceptionpublic boolean removeLabelByObject(RemoteLabel labelObject, long objectId) throws NotPermittedException, RemoteException
NotPermittedExceptionRemoteExceptionpublic boolean removeLabelByNameFromSpace(String labelName, String spaceKey) throws RemoteException
RemoteExceptionCopyright © 2003–2018 Atlassian. All rights reserved.