Class LabelsSoapService
java.lang.Object
com.atlassian.confluence.rpc.soap.services.LabelsSoapService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddLabelById(long labelId, long objectId) booleanaddLabelByName(String labelName, long objectId) booleanaddLabelByNameToSpace(String labelName, String spaceKey) booleanaddLabelByObject(RemoteLabel labelObject, long objectId) getLabelContentById(long labelId) getLabelContentByName(String labelName) getLabelContentByObject(RemoteLabel labelObject) getLabelsByDetail(String labelName, String namespace, String spaceKey, String owner) getLabelsById(long objectId) getMostPopularLabels(int maxCount) getMostPopularLabelsInSpace(String spaceKey, int maxCount) getRecentlyUsedLabels(int maxCount) getRecentlyUsedLabelsInSpace(String spaceKey, int maxCount) getRelatedLabels(String labelName, int maxCount) getRelatedLabelsInSpace(String labelName, String spaceKey, int maxCount) getSpacesContainingContentWithLabel(String labelName) getSpacesWithLabel(String labelName) booleanremoveLabelById(long labelId, long objectId) booleanremoveLabelByName(String labelReferences, long objectId) booleanremoveLabelByNameFromSpace(String labelName, String spaceKey) booleanremoveLabelByObject(RemoteLabel labelObject, long objectId) voidsetContentEntityManager(ContentEntityManager contentEntityManager) voidsetLabelManager(LabelManager labelManager) voidsetLabelPermissionEnforcer(LabelPermissionEnforcer labelPermissionEnforcer) voidsetPermissionManager(PermissionManager permissionManager) voidsetSoapServiceHelper(SoapServiceHelper soapServiceHelper) voidsetWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
-
Constructor Details
-
LabelsSoapService
public LabelsSoapService()
-
-
Method Details
-
setLabelManager
-
setContentEntityManager
-
setPermissionManager
-
setWikiStyleRenderer
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer) -
setSoapServiceHelper
-
setLabelPermissionEnforcer
-
getLabelsById
- Throws:
RemoteException
-
getMostPopularLabels
- Throws:
RemoteException
-
getMostPopularLabelsInSpace
public RemoteLabel[] getMostPopularLabelsInSpace(String spaceKey, int maxCount) throws RemoteException - Throws:
RemoteException
-
getLabelContentById
- Throws:
RemoteException
-
getLabelContentByName
- Throws:
RemoteException
-
getLabelContentByObject
- Throws:
RemoteException
-
getRecentlyUsedLabels
-
getRecentlyUsedLabelsInSpace
public RemoteLabel[] getRecentlyUsedLabelsInSpace(String spaceKey, int maxCount) throws RemoteException - Throws:
RemoteException
-
getSpacesWithLabel
- Throws:
RemoteException
-
getRelatedLabels
- Throws:
RemoteException
-
getRelatedLabelsInSpace
public RemoteLabel[] getRelatedLabelsInSpace(String labelName, String spaceKey, int maxCount) throws RemoteException - Throws:
RemoteException
-
getSpacesContainingContentWithLabel
- Throws:
RemoteException
-
getLabelsByDetail
public RemoteLabel[] getLabelsByDetail(String labelName, String namespace, String spaceKey, String owner) throws RemoteException - Throws:
RemoteException
-
addLabelByName
public boolean addLabelByName(String labelName, long objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
addLabelById
public boolean addLabelById(long labelId, long objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
addLabelByObject
public boolean addLabelByObject(RemoteLabel labelObject, long objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
addLabelByNameToSpace
- Throws:
RemoteException
-
removeLabelByName
public boolean removeLabelByName(String labelReferences, long objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
removeLabelById
public boolean removeLabelById(long labelId, long objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
removeLabelByObject
public boolean removeLabelByObject(RemoteLabel labelObject, long objectId) throws NotPermittedException, RemoteException - Throws:
NotPermittedExceptionRemoteException
-
removeLabelByNameFromSpace
- Throws:
RemoteException
-