|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.csm.ranking.service.RankingDBService
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
debug
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RANKING_CONTEXT_KEY_PATTERN
|
private static String |
RANKING_VALUE_KEY_PATTERN
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
RankingDBService()
|
Method Summary | |
static int |
calculateRankingValue(String criterionClassname,
IBAHolder holder,
RankingDataDefaultView rdata)
|
RankingContext |
createRankingContext(RankingContextDefaultView liteContext)
Creates a new RankingContext. |
void |
deleteRankingContext(RankingContextDefaultView liteContext)
Deletes the existing RankingContext. |
static int |
findRankingData(IBAHolder holder,
RankingDataDefaultView liteRankData,
AbstractValueView[] ravv)
|
static Workable |
getCheckOutObject(Workable holder)
|
RankingData[] |
getEquivalentRankingData(DefaultLiteIBAReferenceable ref)
Return all of RankingData which use the given RankingContext.. |
RankingData[] |
getEquivalentRankingData(RankingDataDefaultView liteRankingData)
Return all of RankingData which use the given RankingContext.. |
static String |
getRankingContextAttribute(String rankableClassname)
|
RankingContext[] |
getRankingContexts()
Get all exiting RankingContexts. |
RankingData[] |
getRankingData(RankingContextDefaultView liteContext)
Return all of RankingData which use the given RankingContext.. |
static String |
getRankingValueAttribute(String rankableClassname)
|
static boolean |
isCheckoutAllowed(Workable workable)
|
int[] |
rankMultipleIBAHolders(RankingDataDefaultView[] liteRankData,
IBAHolder[] ibaHolders,
boolean published,
boolean ignoreAll)
Update multiple RankingDataContainers and the RankingData inside of them.. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(RankingDBService thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
RankingContext |
refreshRankingContext(RankingContextDefaultView liteContext)
Refreshes the existing RankingContext. |
RankingData |
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. |
static DefaultAttributeContainer |
removeRankingConstraint(DefaultAttributeContainer dac)
|
RankingContext |
updateRankingContext(RankingContextDefaultView liteContext)
Updates an existing RankingContext. |
RankingDataContainer |
updateRankingDataContainer(RankingDataContainer rankdataContainer,
IBAHolder ibaHolder,
boolean published)
Update RankingDataContainer and the RankingData inside of it. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final boolean debug
private static final String RANKING_VALUE_KEY_PATTERN
private static final String RANKING_CONTEXT_KEY_PATTERN
Constructor Detail |
public RankingDBService()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(RankingDBService thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public RankingContext[] getRankingContexts() throws CSMRankingException, WTException, NotAuthorizedException
CSMRankingException
WTException
NotAuthorizedException
public RankingContext createRankingContext(RankingContextDefaultView liteContext) throws CSMRankingException, WTException, NotAuthorizedException
liteContext
-
CSMRankingException
WTException
NotAuthorizedException
public RankingContext updateRankingContext(RankingContextDefaultView liteContext) throws CSMRankingException, WTException, NotAuthorizedException
liteContext
-
CSMRankingException
WTException
NotAuthorizedException
public void deleteRankingContext(RankingContextDefaultView liteContext) throws CSMRankingException, WTException, NotAuthorizedException
liteContext
-
CSMRankingException
WTException
NotAuthorizedException
public RankingContext refreshRankingContext(RankingContextDefaultView liteContext) throws CSMRankingException, WTException, NotAuthorizedException
liteContext
-
CSMRankingException
WTException
NotAuthorizedException
public RankingDataContainer refreshRankingDataContainer(IBAHolder ibaHolder) throws CSMRankingException, WTException, NotAuthorizedException
ibaHolder
-
CSMRankingException
WTException
NotAuthorizedException
public RankingDataContainer updateRankingDataContainer(RankingDataContainer rankdataContainer, IBAHolder ibaHolder, boolean published) throws CSMRankingException, WTException, NotAuthorizedException
rankdataContainer
- ibaHolder
- published
-
CSMRankingException
WTException
NotAuthorizedException
public int[] rankMultipleIBAHolders(RankingDataDefaultView[] liteRankData, IBAHolder[] ibaHolders, boolean published, boolean ignoreAll) throws CSMRankingException, WTException, NotAuthorizedException
liteRankData
- ibaHolders
- published
- ignoreAll
-
CSMRankingException
WTException
NotAuthorizedException
public RankingData[] getRankingData(RankingContextDefaultView liteContext) throws CSMRankingException, WTException, NotAuthorizedException
liteContext
-
CSMRankingException
WTException
NotAuthorizedException
public RankingData[] getEquivalentRankingData(RankingDataDefaultView liteRankingData) throws CSMRankingException, WTException, NotAuthorizedException
liteRankingData
-
CSMRankingException
WTException
NotAuthorizedException
public RankingData[] getEquivalentRankingData(DefaultLiteIBAReferenceable ref) throws CSMRankingException, WTException, NotAuthorizedException
ref
-
CSMRankingException
WTException
NotAuthorizedException
public RankingData refreshRankingData(DefaultLiteIBAReferenceable ref) throws CSMRankingException, WTException, NotAuthorizedException
ref
-
CSMRankingException
WTException
NotAuthorizedException
public static Workable getCheckOutObject(Workable holder) throws LockException, WTException, CSMRankingException
LockException
WTException
CSMRankingException
public static boolean isCheckoutAllowed(Workable workable) throws LockException, WTException
LockException
WTException
public static int calculateRankingValue(String criterionClassname, IBAHolder holder, RankingDataDefaultView rdata) throws WTException
WTException
public static String getRankingValueAttribute(String rankableClassname) throws WTException
WTException
public static String getRankingContextAttribute(String rankableClassname) throws WTException
WTException
public static int findRankingData(IBAHolder holder, RankingDataDefaultView liteRankData, AbstractValueView[] ravv) throws WTException, CSMRankingException
WTException
CSMRankingException
public static DefaultAttributeContainer removeRankingConstraint(DefaultAttributeContainer dac) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |