org.apache.chemistry.opencmis.client.runtime
Class PolicyImpl

java.lang.Object
  extended by org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject
      extended by org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject
          extended by org.apache.chemistry.opencmis.client.runtime.PolicyImpl
All Implemented Interfaces:
Serializable, CmisObject, CmisObjectProperties, FileableCmisObject, ObjectId, Policy, PolicyProperties

public class PolicyImpl
extends AbstractFilableCmisObject
implements Policy

See Also:
Serialized Form

Constructor Summary
PolicyImpl(SessionImpl session, ObjectType objectType, ObjectData objectData, OperationContext context)
          Constructor.
 
Method Summary
protected  TransientCmisObject createTransientCmisObject()
           
 String getPolicyText()
          Returns the policy text of this CMIS policy (CMIS property cmis:policyText).
 TransientPolicy getTransientPolicy()
           
 
Methods inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractFilableCmisObject
addToFolder, getParents, getPaths, move, removeFromFolder
 
Methods inherited from class org.apache.chemistry.opencmis.client.runtime.AbstractCmisObject
addAcl, applyAcl, applyPolicy, delete, getAcl, getAcl, getAdapter, getAllowableActions, getBaseType, getBaseTypeId, getBinding, getChangeToken, getCreatedBy, getCreationContext, getCreationDate, getExtensions, getId, getLastModificationDate, getLastModifiedBy, getName, getObjectFactory, getObjectId, getObjectType, getPolicies, getProperties, getProperty, getPropertyQueryName, getPropertyValue, getRefreshTimestamp, getRelationships, getRenditions, getRepositoryId, getSession, getTransientObject, getType, initialize, readLock, readUnlock, refresh, refreshIfOld, removeAcl, removePolicy, updateProperties, updateProperties, writeLock, writeUnlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.FileableCmisObject
addToFolder, getParents, getPaths, move, removeFromFolder
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObject
addAcl, applyAcl, applyPolicy, delete, getAcl, getAdapter, getAllowableActions, getExtensions, getPolicies, getRefreshTimestamp, getRelationships, getRenditions, getTransientObject, refresh, refreshIfOld, removeAcl, removePolicy, updateProperties, updateProperties
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.ObjectId
getId
 
Methods inherited from interface org.apache.chemistry.opencmis.client.api.CmisObjectProperties
getBaseType, getBaseTypeId, getChangeToken, getCreatedBy, getCreationDate, getLastModificationDate, getLastModifiedBy, getName, getProperties, getProperty, getPropertyValue, getType
 

Constructor Detail

PolicyImpl

public PolicyImpl(SessionImpl session,
                  ObjectType objectType,
                  ObjectData objectData,
                  OperationContext context)
Constructor.

Method Detail

createTransientCmisObject

protected TransientCmisObject createTransientCmisObject()
Overrides:
createTransientCmisObject in class AbstractCmisObject

getTransientPolicy

public TransientPolicy getTransientPolicy()
Specified by:
getTransientPolicy in interface Policy

getPolicyText

public String getPolicyText()
Description copied from interface: PolicyProperties
Returns the policy text of this CMIS policy (CMIS property cmis:policyText).

Specified by:
getPolicyText in interface PolicyProperties


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.