|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.cmis.property.OwCMISStaticProperty
public class OwCMISStaticProperty
OwCMISStaticProperty, helper class. This class contains methods for checks and conversion of property values and class type.
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
Constructor Summary | |
---|---|
OwCMISStaticProperty()
|
Method Summary | |
---|---|
static Boolean |
getBooleanValue(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p)
Returning the first Boolean value of CmisProperty or null. |
static List<Boolean> |
getBooleanValues(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p)
Casting and extracting Boolean values as list from given CmisProperty. |
static String |
getIdValue(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p)
Returning the first Id as String from given CmisProperty, if the property is from type CmisPropertyId and has a non-empty value list. |
static List<String> |
getIdValues(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p)
Casting and extracting Id values as list from given CmisProperty. |
static String |
getStringValue(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p)
Returning the first String value of CmisProperty or null. |
static List<String> |
getStringValues(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p)
Casting and extracting String values as list from given CmisProperty. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwCMISStaticProperty()
Method Detail |
---|
public static List<String> getIdValues(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
cmisProperty_p
- CmisProperty of type CmisPropertyId, non-null value
com.wewebu.ow.server.exceptions.OwInvalidOperationException
- if given property is not a CmisPropertyIdpublic static String getIdValue(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
cmisProperty_p
- CmisProperty from where to request the value
com.wewebu.ow.server.exceptions.OwInvalidOperationException
- if CmisProperty is not from type CmisPropertyIdgetIdValues(CmisProperty)
public static List<Boolean> getBooleanValues(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
cmisProperty_p
- CmisProperty of type CmisPropertyBoolean, non-null value
com.wewebu.ow.server.exceptions.OwInvalidOperationException
- if given property is not a CmisPropertyBooleanpublic static Boolean getBooleanValue(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
cmisProperty_p
- CmisProperty of type CmisPropertyBoolean, non-null value
com.wewebu.ow.server.exceptions.OwInvalidOperationException
- if given property is not a CmisPropertyBooleanpublic static List<String> getStringValues(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
cmisProperty_p
- CmisProperty of type CmisPropertyString, non-null value
com.wewebu.ow.server.exceptions.OwInvalidOperationException
- if given property is not a CmisPropertyStringpublic static String getStringValue(org.oasis_open.docs.ns.cmis.core._200908.CmisProperty cmisProperty_p) throws com.wewebu.ow.server.exceptions.OwInvalidOperationException
cmisProperty_p
- CmisProperty of type CmisPropertyString, non-null value
com.wewebu.ow.server.exceptions.OwInvalidOperationException
- if given property is not a CmisPropertyString
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |