com.wewebu.ow.server.ecm
Interface OwProperty

All Superinterfaces:
Comparable, OwField
All Known Implementing Classes:
OwStandardProperty

public interface OwProperty
extends Comparable, OwField

Base interface for object properties. A property contains the name and value of a object property.

To be implemented with the specific ECM system.

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


Method Summary
 Object clone()
          overridden from java.lang.Object, make sure clone is implemented in subclasses
 Object getNativeObject()
          get the native object from the ECM system WARNING: The returned object is Opaque.
 OwPropertyClass getPropertyClass()
          get the class description of the property
 boolean isHidden(int iContext_p)
          check if property is visible to the user
 boolean isReadOnly(int iContext_p)
          check if property is read only on the instance level NOTE: isReadOnly is also defined in OwPropertyClass on the class level.
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.wewebu.ow.server.field.OwField
getFieldDefinition, getValue, setValue
 

Method Detail

getPropertyClass

OwPropertyClass getPropertyClass()
                                 throws Exception
get the class description of the property

Throws:
Exception

isReadOnly

boolean isReadOnly(int iContext_p)
                   throws Exception
check if property is read only on the instance level NOTE: isReadOnly is also defined in OwPropertyClass on the class level. I.e. A Property might be defined as readable on the class level, but still be write protected on a specific instance.

Parameters:
iContext_p - Context in which the property is read-only as defined by CONTEXT_...
Returns:
true if property is read only
Throws:
Exception

isHidden

boolean isHidden(int iContext_p)
                 throws Exception
check if property is visible to the user

Parameters:
iContext_p - Context in which the property is read-only as defined by CONTEXT_...
Returns:
true if property is visible to the user
Throws:
Exception

clone

Object clone()
             throws CloneNotSupportedException
overridden from java.lang.Object, make sure clone is implemented in subclasses

Returns:
OwProperty copy of this object
Throws:
CloneNotSupportedException

getNativeObject

Object getNativeObject()
                       throws Exception
get the native object from the ECM system WARNING: The returned object is Opaque. Using the native object makes the client dependent on the ECM System

Returns:
no native object available
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.