com.wewebu.ow.server.app
Class OwSettingsSet

java.lang.Object
  extended by com.wewebu.ow.server.app.OwSettingsSet

public class OwSettingsSet
extends Object

Settings Set, containing the settings properties for a plugin. Each plugin may have a settings set.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Field Summary
protected  boolean m_fAppEditableProperties
          flag indicating if set contains at least one property that is editable by the application
protected  boolean m_fUserEditableProperties
          flag indicating if set contains at least one property that is editable by the user
protected  Map m_Properties
          map of properties with current values
protected  String m_strDisplayName
          the display name of the set
protected  String m_strName
          Name of the set i.e.
 
Constructor Summary
OwSettingsSet(String strName_p, Map properties_p, String strDisplayName_p)
          constructs a settings info
 
Method Summary
 String getDisplayName()
          get the display name of the set
 String getName()
          get the name of the settingsset, i.e.
 Map getProperties()
          get the map of properties with current values
 boolean hasAppEditableProperties()
          check if set contains at least one property that is editable by the user
 boolean hasUserEditableProperties()
          check if set contains at least one property that is editable by the user
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_strName

protected String m_strName
Name of the set i.e. ID of the plugin


m_Properties

protected Map m_Properties
map of properties with current values


m_strDisplayName

protected String m_strDisplayName
the display name of the set


m_fUserEditableProperties

protected boolean m_fUserEditableProperties
flag indicating if set contains at least one property that is editable by the user


m_fAppEditableProperties

protected boolean m_fAppEditableProperties
flag indicating if set contains at least one property that is editable by the application

Constructor Detail

OwSettingsSet

public OwSettingsSet(String strName_p,
                     Map properties_p,
                     String strDisplayName_p)
constructs a settings info

Parameters:
strName_p - String Name of the set i.e. ID of the plugin
properties_p - map of OwSettingsProperty with the current values
strDisplayName_p - String the display name of the plugin
Method Detail

hasUserEditableProperties

public boolean hasUserEditableProperties()
check if set contains at least one property that is editable by the user

Returns:
true if at least one property is editable by the user

hasAppEditableProperties

public boolean hasAppEditableProperties()
check if set contains at least one property that is editable by the user

Returns:
true if at least one property is editable by the user

getName

public String getName()
get the name of the settingsset, i.e. the ID of the corresponding plugin

Returns:
Name of the set i.e. ID of the plugin

getProperties

public Map getProperties()
get the map of properties with current values

Returns:
map of properties with current values

getDisplayName

public String getDisplayName()
get the display name of the set

Returns:
display name of the set

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.