com.sapportals.wcm.control.util

Class FolderSettings

java.lang.Object
  extended by com.sapportals.wcm.control.util.FolderSettings

public class FolderSettings
extends Object

FolderSettings

Copyright 2004 SAP AG


Field Summary
protected static Location log
           
 
Constructor Summary
FolderSettings(ICollection impFolder)
          Constructor
 
Method Summary
static List getDefaultColumns()
          get the default properties to display as list of IPropertyNames
 boolean getOrderedFlag()
          returns the ordered flag: Foldercontent is ordered manualy
static IPropertyName getPropertyNameForColumn(String impColumn)
           
 List getSelectedColumns()
          Get the Columnsettings from the object
 boolean isAccessible()
          checks if the folder settings may be saved
 Boolean isEnhanced()
          returns the enhanced Flag(meaning folder is versioned)
 boolean isEnhancedIsReadonly()
          checks wheter the enhancedFlag is readonly
 Boolean isStatemanagementEnabled()
          retruns the statemanagement enabled flag
 boolean isStatemanagementEnabledReadOnly()
          retruns the statemanagement enabled flag
 Boolean isTimebasePublishEnabled()
          returns the timebased publish enabled flag: returns null, if no timebasedpublish service is available
 boolean isTimebasePublishEnabledReadOnly()
          retruns the statemanagement enabled flag
 Integer isTimebasePublishNotificationEnabled()
          returns the timebased publish notification days: returns null, if no timebasedpublish service is available or notification is disabled
 void saveSettings()
          saves all settings in the Application Properties
 boolean setEnhancedFlag(boolean i_enhanced)
          Sets the enhanced Flag; returns false, if the enhancedflag is readonly
 void setOrderedFlag(boolean i_ordered)
          set the ordered flag: Foldercontent is ordered manualy
 void setSelectedColumns(List i_selectedColumns)
          Temporarily saves the Columnsettings in the object
 void setStatemanagementEnabled(boolean impStatemanagementEnabled)
          set the statemanagement enabled flag
 void setTimebasePublishEnabled(boolean impTimeBasedPublishEnabled)
          set the timebased publish enabled flag
 void setTimebasePublishNotificationEnabled(boolean tbpNotificationEnabled, int tbpNotificationDays)
          set the timebased publish notification enabled flag and days
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Location log
Constructor Detail

FolderSettings

public FolderSettings(ICollection impFolder)
               throws WcmException
Constructor

Throws:
WcmException
Method Detail

isAccessible

public boolean isAccessible()
                     throws WcmException
checks if the folder settings may be saved

Returns:
The AccessibleImpl value
Throws:
WcmException - Exception raised in failure situation

getDefaultColumns

public static List getDefaultColumns()
get the default properties to display as list of IPropertyNames


getPropertyNameForColumn

public static IPropertyName getPropertyNameForColumn(String impColumn)
                                              throws ResourceException
Throws:
ResourceException

setSelectedColumns

public void setSelectedColumns(List i_selectedColumns)
Temporarily saves the Columnsettings in the object


getSelectedColumns

public List getSelectedColumns()
                        throws WcmException
Get the Columnsettings from the object

Throws:
WcmException

isEnhancedIsReadonly

public boolean isEnhancedIsReadonly()
                             throws ResourceException
checks wheter the enhancedFlag is readonly

Throws:
ResourceException

setEnhancedFlag

public boolean setEnhancedFlag(boolean i_enhanced)
                        throws ResourceException
Sets the enhanced Flag; returns false, if the enhancedflag is readonly

Throws:
ResourceException

isEnhanced

public Boolean isEnhanced()
                   throws ResourceException
returns the enhanced Flag(meaning folder is versioned)

Throws:
ResourceException

setOrderedFlag

public void setOrderedFlag(boolean i_ordered)
set the ordered flag: Foldercontent is ordered manualy

Parameters:
i_ordered -

getOrderedFlag

public boolean getOrderedFlag()
                       throws ResourceException
returns the ordered flag: Foldercontent is ordered manualy

Throws:
ResourceException

setTimebasePublishEnabled

public void setTimebasePublishEnabled(boolean impTimeBasedPublishEnabled)
set the timebased publish enabled flag


setTimebasePublishNotificationEnabled

public void setTimebasePublishNotificationEnabled(boolean tbpNotificationEnabled,
                                                  int tbpNotificationDays)
set the timebased publish notification enabled flag and days


isTimebasePublishEnabled

public Boolean isTimebasePublishEnabled()
                                 throws ResourceException
returns the timebased publish enabled flag: returns null, if no timebasedpublish service is available

Throws:
ResourceException

isTimebasePublishNotificationEnabled

public Integer isTimebasePublishNotificationEnabled()
                                             throws ResourceException
returns the timebased publish notification days: returns null, if no timebasedpublish service is available or notification is disabled

Throws:
ResourceException

isTimebasePublishEnabledReadOnly

public boolean isTimebasePublishEnabledReadOnly()
retruns the statemanagement enabled flag


setStatemanagementEnabled

public void setStatemanagementEnabled(boolean impStatemanagementEnabled)
set the statemanagement enabled flag


isStatemanagementEnabled

public Boolean isStatemanagementEnabled()
retruns the statemanagement enabled flag


isStatemanagementEnabledReadOnly

public boolean isStatemanagementEnabledReadOnly()
retruns the statemanagement enabled flag


saveSettings

public void saveSettings()
                  throws WcmException
saves all settings in the Application Properties

Throws:
WcmException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice