public class OwStandardPropertyViewBridge extends Object implements OwPropertyViewBridge
OwObjectPropertyView
based property view bridge.
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
Modifier and Type | Field and Description |
---|---|
protected OwObjectPropertyView |
view
the view
|
Constructor and Description |
---|
OwStandardPropertyViewBridge(OwObjectPropertyView view_p)
constructor
|
Modifier and Type | Method and Description |
---|---|
OwMenuView |
getMenu()
Get the menu associated with this view.
|
OwView |
getView() |
boolean |
isReadOnly()
Get the status of the view.
|
boolean |
isSystemPropertyView()
Return
true if the view is used to render system properties. |
boolean |
onApply(javax.servlet.http.HttpServletRequest request_p,
Object reason_p)
Event called when user clicked Apply button in menu
|
void |
onBatchIndex()
called by the client when the indexes should be set from the previous values as defined with setBatchProperties.
|
void |
setGroupPropertiesConfiguration(OwGroupPropertiesConfiguration groupPropertyConfiguration_p)
Deprecated.
since 4.2.0.0 use
setPropertyListConfiguration(OwPropertyListConfiguration) instead |
void |
setObjectRef(OwObject objectRef,
boolean showSystemProperties)
Sets the object whose properties will be displayed.
|
void |
setObjectRefEx(OwObject objectRef_p,
boolean showSystemProperties_p,
Collection propertyInfos_p)
Deprecated.
|
void |
setPropertyListConfiguration(OwPropertyListConfiguration propListConfiguration)
Define a PropertyList configuration which allows a
|
void |
setReadOnlyContext(int context_p)
set context to be used for the read-only property
|
void |
setSaveAllActive(boolean saveAllEnabled_p)
Set the save all flag.
|
protected OwObjectPropertyView view
public OwStandardPropertyViewBridge(OwObjectPropertyView view_p)
public OwView getView()
getView
in interface OwPropertyViewBridge
OwView
public void setReadOnlyContext(int context_p)
OwPropertyViewBridge
setReadOnlyContext
in interface OwPropertyViewBridge
context_p
- int as defined with OwPropertyClass.CONTEXT_...@Deprecated public void setObjectRefEx(OwObject objectRef_p, boolean showSystemProperties_p, Collection propertyInfos_p) throws Exception
OwPropertyViewBridge
setObjectRefEx
in interface OwPropertyViewBridge
objectRef_p
- The objectRef to set.showSystemProperties_p
- if true show only system properties.propertyInfos_p
- collection of property info objects describing the properties to edit and their read only state, or null to edit allException
public void setObjectRef(OwObject objectRef, boolean showSystemProperties) throws Exception
OwPropertyViewBridge
setObjectRef
in interface OwPropertyViewBridge
objectRef
- The objectRef to set.showSystemProperties
- if true show only system properties.Exception
public boolean isSystemPropertyView()
OwPropertyViewBridge
true
if the view is used to render system properties.isSystemPropertyView
in interface OwPropertyViewBridge
true
if the view is used to render system propertiespublic void onBatchIndex() throws Exception
OwPropertyViewBridge
onBatchIndex
in interface OwPropertyViewBridge
Exception
public boolean onApply(javax.servlet.http.HttpServletRequest request_p, Object reason_p) throws Exception
OwPropertyViewBridge
onApply
in interface OwPropertyViewBridge
request_p
- HttpServletRequestreason_p
- Optional reason object submitted in addMenuItemException
public OwMenuView getMenu()
OwPropertyViewBridge
getMenu
in interface OwPropertyViewBridge
OwMenuView
object associated with this view.public boolean isReadOnly()
OwPropertyViewBridge
isReadOnly
in interface OwPropertyViewBridge
true
if the view is in read-only mode.public void setSaveAllActive(boolean saveAllEnabled_p)
OwPropertyViewBridge
setSaveAllActive
in interface OwPropertyViewBridge
public void setGroupPropertiesConfiguration(OwGroupPropertiesConfiguration groupPropertyConfiguration_p)
setPropertyListConfiguration(OwPropertyListConfiguration)
insteadOwPropertyViewBridge
setGroupPropertiesConfiguration
in interface OwPropertyViewBridge
groupPropertyConfiguration_p
- - the configuration object.public void setPropertyListConfiguration(OwPropertyListConfiguration propListConfiguration)
OwPropertyViewBridge
setPropertyListConfiguration
in interface OwPropertyViewBridge
propListConfiguration
- OwPropertyListConfigurationCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.