org.wso2.carbon.registry.core.config
Class StaticConfiguration

java.lang.Object
  extended by org.wso2.carbon.registry.core.config.StaticConfiguration

public class StaticConfiguration
extends Object

Class containing static (one-time) configuration information, which can be done before first boot.


Constructor Summary
StaticConfiguration()
           
 
Method Summary
static CommentsDAO getCommentsDAO()
          Deprecated. 
static RatingsDAO getRatingsDAO()
          Deprecated. 
static TagsDAO getTagsDAO()
          Deprecated. 
static boolean isVersioningAssociations()
          Method to obtain whether associations are versioned.
static boolean isVersioningComments()
          Method to obtain whether comments are versioned.
static boolean isVersioningProperties()
          Method to obtain whether properties are versioned.
static boolean isVersioningRatings()
          Method to obtain whether ratings are versioned.
static boolean isVersioningTags()
          Method to obtain whether tags are versioned.
static void setVersioningAssociations(boolean versioningAssociations)
          Method to set whether associations are versioned.
static void setVersioningComments(boolean versioningComments)
          Method to set whether comments are versioned.
static void setVersioningProperties(boolean versioningProperties)
          Method to set whether properties are versioned.
static void setVersioningRatings(boolean versioningRatings)
          Method to set whether ratings are versioned.
static void setVersioningTags(boolean versioningTags)
          Method to set whether tags are versioned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticConfiguration

public StaticConfiguration()
Method Detail

isVersioningProperties

public static boolean isVersioningProperties()
Method to obtain whether properties are versioned.

Returns:
whether properties are versioned.

setVersioningProperties

public static void setVersioningProperties(boolean versioningProperties)
Method to set whether properties are versioned.

Parameters:
versioningProperties - whether properties are versioned.

isVersioningTags

public static boolean isVersioningTags()
Method to obtain whether tags are versioned.

Returns:
whether tags are versioned.

setVersioningTags

public static void setVersioningTags(boolean versioningTags)
Method to set whether tags are versioned.

Parameters:
versioningTags - whether tags are versioned.

isVersioningRatings

public static boolean isVersioningRatings()
Method to obtain whether ratings are versioned.

Returns:
whether ratings are versioned.

setVersioningRatings

public static void setVersioningRatings(boolean versioningRatings)
Method to set whether ratings are versioned.

Parameters:
versioningRatings - whether ratings are versioned.

isVersioningAssociations

public static boolean isVersioningAssociations()
Method to obtain whether associations are versioned.

Returns:
whether associations are versioned.

setVersioningAssociations

public static void setVersioningAssociations(boolean versioningAssociations)
Method to set whether associations are versioned.

Parameters:
versioningAssociations - whether associations are versioned.

isVersioningComments

public static boolean isVersioningComments()
Method to obtain whether comments are versioned.

Returns:
whether comments are versioned.

setVersioningComments

public static void setVersioningComments(boolean versioningComments)
Method to set whether comments are versioned.

Parameters:
versioningComments - whether comments are versioned.

getCommentsDAO

@Deprecated
public static CommentsDAO getCommentsDAO()
Deprecated. 

returns comments DAO depending on the configurations

Returns:
comments DAO

getRatingsDAO

@Deprecated
public static RatingsDAO getRatingsDAO()
Deprecated. 

returns ratings DAO depending on the configurations

Returns:
ratings DAO

getTagsDAO

@Deprecated
public static TagsDAO getTagsDAO()
Deprecated. 

returns tag DAO depending on the configurations

Returns:
tag DAO


Copyright © 2011 WSO2 Inc. All Rights Reserved.