|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.ecmimpl.cmis.version.OwCMISStandardVersion
public class OwCMISStandardVersion
OwCMISStandardVersion.
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 | |
---|---|
OwCMISStandardVersion(org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType cmisObject_p,
OwCMISNetwork network_p,
String repositoryId_p)
|
Method Summary | |
---|---|
boolean |
canCancelcheckout(int context_p)
|
void |
cancelcheckout()
|
boolean |
canCheckin(int contextStatus_p)
|
boolean |
canCheckout(int contextStatus_p)
|
boolean |
canDemote(int context_p)
|
boolean |
canPromote(int context_p)
|
boolean |
canSave(int contextStatus_p)
|
void |
checkin(boolean fPromote_p,
Object mode_p,
String strObjectClassName_p,
com.wewebu.ow.server.ecm.OwPropertyCollection properties_p,
com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p,
com.wewebu.ow.server.ecm.OwContentCollection content_p,
boolean fOverwriteContent_p,
String strMimeType_p,
String strMimeParameter_p)
|
void |
checkout(Object mode_p)
|
OwCMISObject |
createObject()
|
void |
demote()
|
boolean |
equals(com.wewebu.ow.server.ecm.OwVersion version_p)
|
protected org.oasis_open.docs.ns.cmis.core._200908.CmisPropertyString |
getChangeToken()
Helper to get the cmis:changeToken definition. |
String |
getCheckedOutUserID(int context_p)
|
String |
getVersionInfo()
|
int[] |
getVersionNumber()
|
boolean |
isCheckedOut(int contextStatus_p)
|
boolean |
isLatest(int contextStatus_p)
|
boolean |
isMajor(int contextStatus_p)
|
boolean |
isMyCheckedOut(int contextStatus_p)
|
boolean |
isReleased(int contextStatus_p)
|
protected org.oasis_open.docs.ns.cmis.core._200908.CmisPropertiesType |
processChangeToken(org.oasis_open.docs.ns.cmis.core._200908.CmisPropertiesType cmisProperties)
Process the CMIS properties for changeToken like specified in CMIS 1.0. |
void |
promote()
|
void |
save(com.wewebu.ow.server.ecm.OwContentCollection contentCol_p,
String strMimeType_p,
String strMimeParameter_p)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwCMISStandardVersion(org.oasis_open.docs.ns.cmis.core._200908.CmisObjectType cmisObject_p, OwCMISNetwork network_p, String repositoryId_p)
Method Detail |
---|
public boolean canCancelcheckout(int context_p) throws com.wewebu.ow.server.exceptions.OwException
canCancelcheckout
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public boolean canCheckin(int contextStatus_p) throws com.wewebu.ow.server.exceptions.OwException
canCheckin
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public boolean canCheckout(int contextStatus_p) throws com.wewebu.ow.server.exceptions.OwException
canCheckout
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public boolean canDemote(int context_p) throws Exception
canDemote
in interface com.wewebu.ow.server.ecm.OwVersion
Exception
public boolean canPromote(int context_p) throws Exception
canPromote
in interface com.wewebu.ow.server.ecm.OwVersion
Exception
public boolean canSave(int contextStatus_p) throws com.wewebu.ow.server.exceptions.OwException
canSave
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public void cancelcheckout() throws com.wewebu.ow.server.exceptions.OwException
cancelcheckout
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public void checkin(boolean fPromote_p, Object mode_p, String strObjectClassName_p, com.wewebu.ow.server.ecm.OwPropertyCollection properties_p, com.wewebu.ow.server.ecm.OwPermissionCollection permissions_p, com.wewebu.ow.server.ecm.OwContentCollection content_p, boolean fOverwriteContent_p, String strMimeType_p, String strMimeParameter_p) throws com.wewebu.ow.server.exceptions.OwException
checkin
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public void checkout(Object mode_p) throws com.wewebu.ow.server.exceptions.OwException
checkout
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public void demote() throws Exception
demote
in interface com.wewebu.ow.server.ecm.OwVersion
Exception
public boolean equals(com.wewebu.ow.server.ecm.OwVersion version_p) throws Exception
equals
in interface com.wewebu.ow.server.ecm.OwVersion
Exception
public String getCheckedOutUserID(int context_p) throws Exception
getCheckedOutUserID
in interface com.wewebu.ow.server.ecm.OwVersion
Exception
public String getVersionInfo() throws com.wewebu.ow.server.exceptions.OwException
getVersionInfo
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public int[] getVersionNumber() throws Exception
getVersionNumber
in interface com.wewebu.ow.server.ecm.OwVersion
Exception
public boolean isCheckedOut(int contextStatus_p) throws com.wewebu.ow.server.exceptions.OwException
isCheckedOut
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public boolean isLatest(int contextStatus_p) throws com.wewebu.ow.server.exceptions.OwException
isLatest
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public boolean isMajor(int contextStatus_p) throws com.wewebu.ow.server.exceptions.OwException
isMajor
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public boolean isMyCheckedOut(int contextStatus_p) throws com.wewebu.ow.server.exceptions.OwException
isMyCheckedOut
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public boolean isReleased(int contextStatus_p) throws com.wewebu.ow.server.exceptions.OwException
isReleased
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public void promote() throws Exception
promote
in interface com.wewebu.ow.server.ecm.OwVersion
Exception
public void save(com.wewebu.ow.server.ecm.OwContentCollection contentCol_p, String strMimeType_p, String strMimeParameter_p) throws com.wewebu.ow.server.exceptions.OwException
save
in interface com.wewebu.ow.server.ecm.OwVersion
com.wewebu.ow.server.exceptions.OwException
public OwCMISObject createObject() throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
protected org.oasis_open.docs.ns.cmis.core._200908.CmisPropertyString getChangeToken() throws com.wewebu.ow.server.exceptions.OwException
com.wewebu.ow.server.exceptions.OwException
protected org.oasis_open.docs.ns.cmis.core._200908.CmisPropertiesType processChangeToken(org.oasis_open.docs.ns.cmis.core._200908.CmisPropertiesType cmisProperties) throws com.wewebu.ow.server.exceptions.OwException
cmisProperties
- CmisPropertiesType to work on
com.wewebu.ow.server.exceptions.OwException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |