com.atlassian.confluence.rpc.soap.services
Class LabelsSoapService

java.lang.Object
  extended by com.atlassian.confluence.rpc.soap.services.LabelsSoapService

public class LabelsSoapService
extends Object


Constructor Summary
LabelsSoapService()
           
 
Method Summary
 boolean addLabelById(long labelId, long objectId)
           
 boolean addLabelByName(String labelName, long objectId)
           
 boolean addLabelByNameToSpace(String labelName, String spaceKey)
           
 boolean addLabelByObject(RemoteLabel labelObject, long objectId)
           
 RemoteSearchResult[] getLabelContentById(long labelId)
           
 RemoteSearchResult[] getLabelContentByName(String labelName)
           
 RemoteSearchResult[] getLabelContentByObject(RemoteLabel labelObject)
           
 RemoteLabel[] getLabelsByDetail(String labelName, String namespace, String spaceKey, String owner)
           
 RemoteLabel[] getLabelsById(long objectId)
           
 RemoteLabel[] getMostPopularLabels(int maxCount)
           
 RemoteLabel[] getMostPopularLabelsInSpace(String spaceKey, int maxCount)
           
 RemoteLabel[] getRecentlyUsedLabels(int maxCount)
           
 RemoteLabel[] getRecentlyUsedLabelsInSpace(String spaceKey, int maxCount)
           
 RemoteLabel[] getRelatedLabels(String labelName, int maxCount)
           
 RemoteLabel[] getRelatedLabelsInSpace(String labelName, String spaceKey, int maxCount)
           
 RemoteSpace[] getSpacesContainingContentWithLabel(String labelName)
           
 RemoteSpace[] getSpacesWithLabel(String labelName)
           
 boolean removeLabelById(long labelId, long objectId)
           
 boolean removeLabelByName(String labelReferences, long objectId)
           
 boolean removeLabelByNameFromSpace(String labelName, String spaceKey)
           
 boolean removeLabelByObject(RemoteLabel labelObject, long objectId)
           
 void setContentEntityManager(ContentEntityManager contentEntityManager)
           
 void setLabelManager(LabelManager labelManager)
           
 void setPermissionManager(PermissionManager permissionManager)
           
 void setSoapServiceHelper(SoapServiceHelper soapServiceHelper)
           
 void setSpaceManager(SpaceManager spaceManager)
           
 void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)
           
 void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelsSoapService

public LabelsSoapService()
Method Detail

setLabelManager

public void setLabelManager(LabelManager labelManager)

setContentEntityManager

public void setContentEntityManager(ContentEntityManager contentEntityManager)

setSpacePermissionManager

public void setSpacePermissionManager(SpacePermissionManager spacePermissionManager)

setSpaceManager

public void setSpaceManager(SpaceManager spaceManager)

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)

setWikiStyleRenderer

public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)

setSoapServiceHelper

public void setSoapServiceHelper(SoapServiceHelper soapServiceHelper)

getLabelsById

public RemoteLabel[] getLabelsById(long objectId)
                            throws RemoteException
Throws:
RemoteException

getMostPopularLabels

public RemoteLabel[] getMostPopularLabels(int maxCount)
                                   throws RemoteException
Throws:
RemoteException

getMostPopularLabelsInSpace

public RemoteLabel[] getMostPopularLabelsInSpace(String spaceKey,
                                                 int maxCount)
                                          throws RemoteException
Throws:
RemoteException

getLabelContentById

public RemoteSearchResult[] getLabelContentById(long labelId)
                                         throws RemoteException
Throws:
RemoteException

getLabelContentByName

public RemoteSearchResult[] getLabelContentByName(String labelName)
                                           throws RemoteException
Throws:
RemoteException

getLabelContentByObject

public RemoteSearchResult[] getLabelContentByObject(RemoteLabel labelObject)
                                             throws RemoteException
Throws:
RemoteException

getRecentlyUsedLabels

public RemoteLabel[] getRecentlyUsedLabels(int maxCount)

getRecentlyUsedLabelsInSpace

public RemoteLabel[] getRecentlyUsedLabelsInSpace(String spaceKey,
                                                  int maxCount)
                                           throws RemoteException
Throws:
RemoteException

getSpacesWithLabel

public RemoteSpace[] getSpacesWithLabel(String labelName)
                                 throws RemoteException
Throws:
RemoteException

getRelatedLabels

public RemoteLabel[] getRelatedLabels(String labelName,
                                      int maxCount)
                               throws RemoteException
Throws:
RemoteException

getRelatedLabelsInSpace

public RemoteLabel[] getRelatedLabelsInSpace(String labelName,
                                             String spaceKey,
                                             int maxCount)
                                      throws RemoteException
Throws:
RemoteException

getSpacesContainingContentWithLabel

public RemoteSpace[] getSpacesContainingContentWithLabel(String labelName)
                                                  throws RemoteException
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:
NotPermittedException
RemoteException

addLabelById

public boolean addLabelById(long labelId,
                            long objectId)
                     throws NotPermittedException,
                            RemoteException
Throws:
NotPermittedException
RemoteException

addLabelByObject

public boolean addLabelByObject(RemoteLabel labelObject,
                                long objectId)
                         throws NotPermittedException,
                                RemoteException
Throws:
NotPermittedException
RemoteException

addLabelByNameToSpace

public boolean addLabelByNameToSpace(String labelName,
                                     String spaceKey)
                              throws RemoteException
Throws:
RemoteException

removeLabelByName

public boolean removeLabelByName(String labelReferences,
                                 long objectId)
                          throws NotPermittedException,
                                 RemoteException
Throws:
NotPermittedException
RemoteException

removeLabelById

public boolean removeLabelById(long labelId,
                               long objectId)
                        throws NotPermittedException,
                               RemoteException
Throws:
NotPermittedException
RemoteException

removeLabelByObject

public boolean removeLabelByObject(RemoteLabel labelObject,
                                   long objectId)
                            throws NotPermittedException,
                                   RemoteException
Throws:
NotPermittedException
RemoteException

removeLabelByNameFromSpace

public boolean removeLabelByNameFromSpace(String labelName,
                                          String spaceKey)
                                   throws RemoteException
Throws:
RemoteException


Copyright © 2003–2015 Atlassian. All rights reserved.