org.pentaho.platform.engine.services.metadata
Class MetadataPublisher

java.lang.Object
  extended by org.pentaho.platform.engine.core.system.PentahoBase
      extended by org.pentaho.platform.engine.core.system.BasePublisher
          extended by org.pentaho.platform.engine.services.metadata.MetadataPublisher
All Implemented Interfaces:
Serializable, ILogger, IPentahoPublisher

public class MetadataPublisher
extends BasePublisher

See Also:
Serialized Form

Field Summary
static int NO_ERROR
           
static int NO_META
           
static int UNABLE_TO_DELETE
           
static int UNABLE_TO_IMPORT
           
 
Fields inherited from class org.pentaho.platform.engine.core.system.BasePublisher
debug
 
Fields inherited from class org.pentaho.platform.engine.core.system.PentahoBase
EMPTYLOGID, LOGID_MASK1, LOGID_MASK2, LOGID_SEPARATOR
 
Fields inherited from interface org.pentaho.platform.api.engine.ILogger
ACTIVITY_LOG, DEBUG, ERROR, FATAL, INFO, INSTANCE_LOG, SESSION_LOG, SOLUTION_LOG, TRACE, UNKNOWN, WARN
 
Constructor Summary
MetadataPublisher()
           
 
Method Summary
 String getDescription()
           
 Log getLogger()
           
 String getName()
           
static int loadAllMetadata(IPentahoSession session, boolean forceLoad)
           
static int loadMetadata(String solution, IPentahoSession session, boolean forceLoad)
           
 String publish(IPentahoSession session)
           
 
Methods inherited from class org.pentaho.platform.engine.core.system.BasePublisher
publish
 
Methods inherited from class org.pentaho.platform.engine.core.system.PentahoBase
debug, debug, error, error, fatal, fatal, genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, getLogId, getObjectName, info, info, setLoggingLevel, setLogId, trace, trace, warn, warn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_ERROR

public static final int NO_ERROR
See Also:
Constant Field Values

UNABLE_TO_DELETE

public static final int UNABLE_TO_DELETE

UNABLE_TO_IMPORT

public static final int UNABLE_TO_IMPORT

NO_META

public static final int NO_META
Constructor Detail

MetadataPublisher

public MetadataPublisher()
Method Detail

getLogger

public Log getLogger()
Specified by:
getLogger in class PentahoBase

getName

public String getName()
Returns:
The name of the publisher. This name is displayed in the Publish JSP

getDescription

public String getDescription()
Returns:
The description of the publisher. This string is displayed in the Publish JSP

publish

public String publish(IPentahoSession session)
Specified by:
publish in class BasePublisher

loadAllMetadata

public static int loadAllMetadata(IPentahoSession session,
                                  boolean forceLoad)

loadMetadata

public static int loadMetadata(String solution,
                               IPentahoSession session,
                               boolean forceLoad)