wt.csm.ranking.service
Class StandardRankingService

java.lang.Object
  extended bywt.services.StandardManager
      extended bywt.csm.ranking.service.StandardRankingService
All Implemented Interfaces:
Manager, NetFactor, RankingService, Serializable

public class StandardRankingService
extends StandardManager
implements RankingService, Serializable

Use the newStandardRankingService static factory method(s), not the StandardRankingService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
static RankingDBService theRankingDBService
          

Supported API: false
 
Fields inherited from class wt.services.StandardManager
 
Fields inherited from interface wt.services.Manager
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE
 
Constructor Summary
StandardRankingService()
           
 
Method Summary
 RankingContextDefaultView createRankingContext(RankingContextDefaultView liteContext)
          Creates a new RankingContext.
 void deleteRankingContext(RankingContextDefaultView liteContext)
          Deletes the existing RankingContext.
 String getConceptualClassname()
          Deprecated.  
 RankingDataDefaultView[] getEquivalentRankingData(DefaultLiteIBAReferenceable ref)
          Return all of RankingData which use the given RankingContext..
 RankingDataDefaultView[] getEquivalentRankingData(RankingDataDefaultView liteRankingData)
          Return all of RankingData which use the given RankingContext..
 RankingContextDefaultView[] getRankingContexts()
          Get all existing RankingContexts.
 RankingDataDefaultView[] getRankingData(RankingContextDefaultView liteContext)
          Return all of RankingData which use the given RankingContext..
static StandardRankingService newStandardRankingService()
          Default factory for the class.
 int[] rankMultipleIBAHolders(RankingDataDefaultView[] liteRankData, IBAHolder[] ibaHolders, boolean published, boolean ignoreAll)
          Update multiple RankingDataContainers and the RankingData inside of them.
 RankingContextDefaultView refreshRankingContext(RankingContextDefaultView liteContext)
          Refreshes the existing RankingContext.
 RankingDataDefaultView refreshRankingData(DefaultLiteIBAReferenceable ref)
          Return all of RankingData which use the given RankingContext..
 RankingDataContainer refreshRankingDataContainer(IBAHolder ibaHolder)
          Refreshes the RankingDataContainer and the RankingData inside of it.
 RankingContextDefaultView updateRankingContext(RankingContextDefaultView liteContext)
          Update an existing RankingContext.
 RankingDataContainer updateRankingDataContainer(RankingDataContainer rankdataContainer, IBAHolder ibaHolder, boolean published)
          Update RankingDataContainer and the RankingData inside of it.
 
Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getManagerService, getManagerStatus, getName, getStartupType, init, initialize, initialize, isStarted, newStandardManager, newStandardManager, performEmergencyShutdownProcess, performShutdownProcess, performStartupProcess, registerEvents, setManagerService, shutdown, shutdownFailure, shutdownSuccess, shuttingDown, started, startedErrors, startingUp, startup, startupFailure, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

theRankingDBService

public static final RankingDBService theRankingDBService


Supported API: false

Constructor Detail

StandardRankingService

public StandardRankingService()
Method Detail

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Overrides:
getConceptualClassname in class StandardManager
Returns:
String

newStandardRankingService

public static StandardRankingService newStandardRankingService()
                                                        throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardRankingService
Throws:
WTException

getRankingContexts

public RankingContextDefaultView[] getRankingContexts()
                                               throws CSMRankingException,
                                                      WTException,
                                                      RemoteException,
                                                      NotAuthorizedException
Get all existing RankingContexts.

Supported API: false

Specified by:
getRankingContexts in interface RankingService
Returns:
RankingContextDefaultView []
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

createRankingContext

public RankingContextDefaultView createRankingContext(RankingContextDefaultView liteContext)
                                               throws CSMRankingException,
                                                      WTException,
                                                      RemoteException,
                                                      NotAuthorizedException
Creates a new RankingContext.

Supported API: false

Specified by:
createRankingContext in interface RankingService
Parameters:
liteContext -
Returns:
RankingContextDefaultView
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

updateRankingContext

public RankingContextDefaultView updateRankingContext(RankingContextDefaultView liteContext)
                                               throws CSMRankingException,
                                                      WTException,
                                                      RemoteException,
                                                      NotAuthorizedException
Update an existing RankingContext.

Supported API: false

Specified by:
updateRankingContext in interface RankingService
Parameters:
liteContext -
Returns:
RankingContextDefaultView
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

deleteRankingContext

public void deleteRankingContext(RankingContextDefaultView liteContext)
                          throws CSMRankingException,
                                 WTException,
                                 RemoteException,
                                 NotAuthorizedException
Deletes the existing RankingContext.

Supported API: false

Specified by:
deleteRankingContext in interface RankingService
Parameters:
liteContext -
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

refreshRankingContext

public RankingContextDefaultView refreshRankingContext(RankingContextDefaultView liteContext)
                                                throws CSMRankingException,
                                                       WTException,
                                                       RemoteException,
                                                       NotAuthorizedException
Refreshes the existing RankingContext.

Supported API: false

Specified by:
refreshRankingContext in interface RankingService
Parameters:
liteContext -
Returns:
RankingContextDefaultView
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

refreshRankingDataContainer

public RankingDataContainer refreshRankingDataContainer(IBAHolder ibaHolder)
                                                 throws CSMRankingException,
                                                        WTException,
                                                        RemoteException,
                                                        NotAuthorizedException
Refreshes the RankingDataContainer and the RankingData inside of it.

Supported API: false

Specified by:
refreshRankingDataContainer in interface RankingService
Parameters:
ibaHolder -
Returns:
RankingDataContainer
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

updateRankingDataContainer

public RankingDataContainer updateRankingDataContainer(RankingDataContainer rankdataContainer,
                                                       IBAHolder ibaHolder,
                                                       boolean published)
                                                throws CSMRankingException,
                                                       WTException,
                                                       RemoteException,
                                                       NotAuthorizedException
Update RankingDataContainer and the RankingData inside of it.

Supported API: false

Specified by:
updateRankingDataContainer in interface RankingService
Parameters:
rankdataContainer -
ibaHolder -
published -
Returns:
RankingDataContainer
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

rankMultipleIBAHolders

public int[] rankMultipleIBAHolders(RankingDataDefaultView[] liteRankData,
                                    IBAHolder[] ibaHolders,
                                    boolean published,
                                    boolean ignoreAll)
                             throws CSMRankingException,
                                    WTException,
                                    RemoteException,
                                    NotAuthorizedException
Update multiple RankingDataContainers and the RankingData inside of them.

Supported API: false

Specified by:
rankMultipleIBAHolders in interface RankingService
Parameters:
liteRankData -
ibaHolders -
published -
ignoreAll -
Returns:
int[]
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

getRankingData

public RankingDataDefaultView[] getRankingData(RankingContextDefaultView liteContext)
                                        throws CSMRankingException,
                                               WTException,
                                               RemoteException,
                                               NotAuthorizedException
Return all of RankingData which use the given RankingContext..

Supported API: false

Specified by:
getRankingData in interface RankingService
Parameters:
liteContext -
Returns:
RankingDataDefaultView[]
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

getEquivalentRankingData

public RankingDataDefaultView[] getEquivalentRankingData(RankingDataDefaultView liteRankingData)
                                                  throws CSMRankingException,
                                                         WTException,
                                                         RemoteException,
                                                         NotAuthorizedException
Return all of RankingData which use the given RankingContext..

Supported API: false

Specified by:
getEquivalentRankingData in interface RankingService
Parameters:
liteRankingData -
Returns:
RankingDataDefaultView[]
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

getEquivalentRankingData

public RankingDataDefaultView[] getEquivalentRankingData(DefaultLiteIBAReferenceable ref)
                                                  throws CSMRankingException,
                                                         WTException,
                                                         RemoteException,
                                                         NotAuthorizedException
Return all of RankingData which use the given RankingContext..

Supported API: false

Specified by:
getEquivalentRankingData in interface RankingService
Parameters:
ref -
Returns:
RankingDataDefaultView[]
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException

refreshRankingData

public RankingDataDefaultView refreshRankingData(DefaultLiteIBAReferenceable ref)
                                          throws CSMRankingException,
                                                 WTException,
                                                 RemoteException,
                                                 NotAuthorizedException
Return all of RankingData which use the given RankingContext..

Supported API: false

Specified by:
refreshRankingData in interface RankingService
Parameters:
ref -
Returns:
RankingDataDefaultView
Throws:
CSMRankingException
WTException
RemoteException
NotAuthorizedException