com.sap.netweaver.kmc.ui.base

Class ArchivingUtil

java.lang.Object
  extended by com.sap.netweaver.kmc.ui.base.ArchivingUtil

public class ArchivingUtil
extends Object


Constructor Summary
ArchivingUtil()
           
 
Method Summary
static boolean checkArchivingStauts(IResource resource)
          Read archiving status for the given resource and check it.
static com.sapportals.wcm.repository.service.archiving.AOStates getAOStates(IResource resource)
           
static com.sapportals.wcm.repository.service.archiving.AOStates getAOStates(IResource resource, com.sapportals.wcm.repository.service.archiving.IArchivingService archivingService)
           
static com.sapportals.wcm.repository.service.archiving.IArchivingService getArchivingService(com.sapportals.wcm.repository.service.archiving.IArchivingService archivingService)
           
static boolean isArchivingReadOnly(IResource resource, com.sapportals.wcm.repository.service.archiving.IArchivingService archivingService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchivingUtil

public ArchivingUtil()
Method Detail

checkArchivingStauts

public static boolean checkArchivingStauts(IResource resource)
Read archiving status for the given resource and check it. Return true if the status is Null (this means ALLOWED),ALLOWED,WAITING_APPROVAL,REJECTED and FORBIDDEN if the status is null(this is ALLOWED) in all other cases it's returns false. This method return true in case when "Archiving service" is deactivated.


getAOStates

public static com.sapportals.wcm.repository.service.archiving.AOStates getAOStates(IResource resource)

getAOStates

public static com.sapportals.wcm.repository.service.archiving.AOStates getAOStates(IResource resource,
                                                                                   com.sapportals.wcm.repository.service.archiving.IArchivingService archivingService)

isArchivingReadOnly

public static boolean isArchivingReadOnly(IResource resource,
                                          com.sapportals.wcm.repository.service.archiving.IArchivingService archivingService)
                                   throws com.sapportals.wcm.repository.service.archiving.ArchivingException,
                                          ResourceException
Throws:
com.sapportals.wcm.repository.service.archiving.ArchivingException
ResourceException

getArchivingService

public static com.sapportals.wcm.repository.service.archiving.IArchivingService getArchivingService(com.sapportals.wcm.repository.service.archiving.IArchivingService archivingService)
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-CM [sap.com] tc/km/nonwduideprecated api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice