no.sintef.assetrepository.session
Class AssetServicesEJBImpl

java.lang.Object
  extended byno.sintef.assetrepository.session.AssetServicesEJBAbstract
      extended byno.sintef.assetrepository.session.AssetServicesEJBImpl
All Implemented Interfaces:
javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean

public class AssetServicesEJBImpl
extends no.sintef.assetrepository.session.AssetServicesEJBAbstract
implements javax.ejb.SessionBean

AssetServices Bean User Implementation

See Also:
Serialized Form

Field Summary
 
Fields inherited from class no.sintef.assetrepository.session.AssetServicesEJBAbstract
_assetrepresentation, _assettype, _assetversion, _sessionContext, _versionedasset
 
Constructor Summary
AssetServicesEJBImpl()
           
 
Method Summary
 void checkIn(no.sintef.assetrepository.interfaces.VersionedAssetPK assetPk, no.sintef.assetrepository.interfaces.AssetVersionValue newContent)
          Operation checkIn - User implementation
 void checkOut(no.sintef.assetrepository.interfaces.VersionedAssetPK assetPk)
          Operation checkOut - User implementation
 no.sintef.assetrepository.interfaces.AssetRepresentationPK createAssetRepresentation(no.sintef.assetrepository.interfaces.AssetRepresentationValue content)
           
 no.sintef.assetrepository.interfaces.AssetTypePK createAssetType(java.lang.String name, java.lang.String description)
          Operation createAssetType - User implementation
 no.sintef.assetrepository.interfaces.VersionedAssetPK createVersionedAsset(java.lang.String type, no.sintef.assetrepository.interfaces.VersionedAssetPK parentPk, no.sintef.assetrepository.interfaces.AssetVersionValue versionContent)
          Operation createAsset - User implementation
 void ejbCreate()
          Create the Session Bean
 java.util.Collection getAssetsByType(java.lang.String typeName)
          Operation getAssetsByType - User implementation
 no.sintef.assetrepository.interfaces.AssetTypeValue getAssetTypeByName(java.lang.String name)
          Operation getAssetTypeByName - User implementation
 void makeParent(no.sintef.assetrepository.interfaces.VersionedAssetPK parent, no.sintef.assetrepository.interfaces.VersionedAssetPK child)
          Operation makeParent - User implementation
 void markAssetAsDeleted(no.sintef.assetrepository.interfaces.VersionedAssetPK assetPk)
          Operation markAssetAsDeleted - User implementation
 void unCheckOut(no.sintef.assetrepository.interfaces.VersionedAssetPK assetPk)
          Operation unCheckOut - User implementation
 
Methods inherited from class no.sintef.assetrepository.session.AssetServicesEJBAbstract
addVersionLabel, createAssetRepresentation, createAssetRepresentationValue, createAssetType, createAssetTypeValue, createAssetVersion, createAssetVersionValue, createVersionedAsset, createVersionedAssetValue, deleteAssetRepresentation, deleteAssetType, deleteAssetVersion, deleteVersionedAsset, ejbActivate, ejbPassivate, ejbRemove, getAllAssetRepresentations, getAllAssetRepresentationsLight, getAllAssetTypes, getAllAssetTypesLight, getAllAssetVersions, getAllAssetVersionsLight, getAllVersionedAssets, getAllVersionedAssetsLight, getAssetRepresentation, getAssetType, getAssetVersion, getVersionedAsset, init, modifyAssetRepresentation, modifyAssetType, modifyAssetVersion, modifyVersionedAsset, removeVersionLabel, setSessionContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ejb.SessionBean
ejbActivate, ejbPassivate, ejbRemove, setSessionContext
 

Constructor Detail

AssetServicesEJBImpl

public AssetServicesEJBImpl()
Method Detail

getAssetsByType

public java.util.Collection getAssetsByType(java.lang.String typeName)
                                     throws RepositoryException
Operation getAssetsByType - User implementation

Throws:
RepositoryException

createVersionedAsset

public no.sintef.assetrepository.interfaces.VersionedAssetPK createVersionedAsset(java.lang.String type,
                                                                                  no.sintef.assetrepository.interfaces.VersionedAssetPK parentPk,
                                                                                  no.sintef.assetrepository.interfaces.AssetVersionValue versionContent)
                                                                           throws no.sintef.lock.LockException,
                                                                                  RepositoryException
Operation createAsset - User implementation

Throws:
no.sintef.lock.LockException
RepositoryException

createAssetRepresentation

public no.sintef.assetrepository.interfaces.AssetRepresentationPK createAssetRepresentation(no.sintef.assetrepository.interfaces.AssetRepresentationValue content)
                                                                                     throws RepositoryException
Throws:
RepositoryException

getAssetTypeByName

public no.sintef.assetrepository.interfaces.AssetTypeValue getAssetTypeByName(java.lang.String name)
                                                                       throws RepositoryException
Operation getAssetTypeByName - User implementation

Throws:
RepositoryException

createAssetType

public no.sintef.assetrepository.interfaces.AssetTypePK createAssetType(java.lang.String name,
                                                                        java.lang.String description)
                                                                 throws RepositoryException
Operation createAssetType - User implementation

Throws:
RepositoryException

checkOut

public void checkOut(no.sintef.assetrepository.interfaces.VersionedAssetPK assetPk)
              throws no.sintef.lock.LockException,
                     RepositoryException
Operation checkOut - User implementation

Throws:
no.sintef.lock.LockException
RepositoryException

checkIn

public void checkIn(no.sintef.assetrepository.interfaces.VersionedAssetPK assetPk,
                    no.sintef.assetrepository.interfaces.AssetVersionValue newContent)
             throws no.sintef.lock.LockException,
                    RepositoryException
Operation checkIn - User implementation

Throws:
javax.ejb.CreateException
no.sintef.lock.LockException
RepositoryException

unCheckOut

public void unCheckOut(no.sintef.assetrepository.interfaces.VersionedAssetPK assetPk)
                throws no.sintef.lock.LockException,
                       RepositoryException
Operation unCheckOut - User implementation

Throws:
no.sintef.lock.LockException
RepositoryException

makeParent

public void makeParent(no.sintef.assetrepository.interfaces.VersionedAssetPK parent,
                       no.sintef.assetrepository.interfaces.VersionedAssetPK child)
Operation makeParent - User implementation


markAssetAsDeleted

public void markAssetAsDeleted(no.sintef.assetrepository.interfaces.VersionedAssetPK assetPk)
                        throws RepositoryException,
                               no.sintef.lock.LockException
Operation markAssetAsDeleted - User implementation

Throws:
RepositoryException
no.sintef.lock.LockException

ejbCreate

public void ejbCreate()
Create the Session Bean



Copyright © 2003-2005 SINTEF. All Rights Reserved.