|
eXo JCR :: Ext :: Services 1.15.9-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ArtifactManagingService
Administration maven repository
| Method Summary | |
|---|---|
void |
addArtifact(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
ArtifactDescriptor artifact,
InputStream jarIStream,
InputStream pomIStream)
adds (deploys) artifact including creating necessary group folders, pom and checksum files |
void |
changePermission(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
Descriptor artifact,
String identity,
String[] permissions,
boolean delete)
Changes acess permissions for the specified artifact ang given identity |
void |
exportArtifacts(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
FolderDescriptor parentFolder,
File folder)
|
void |
exportArtifacts(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
FolderDescriptor parentFolder,
OutputStream zipOutputStream)
exports list of artifacts from maven repo into output stream |
List<Descriptor> |
getDescriptors(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
FolderDescriptor parentFolder)
|
List |
getListErrors()
|
List |
getPermission(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
Descriptor artifact)
Returns acess control list for the specified artifact |
void |
importArtifacts(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
File folder)
|
void |
importArtifacts(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
InputStream zipInputStream)
imports list of artifacts into maven repo |
void |
removeArtifact(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
Descriptor artifact)
removes artifact |
List<Descriptor> |
searchArtifacts(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
SearchCriteria criteria)
|
| Method Detail |
|---|
List<Descriptor> getDescriptors(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
FolderDescriptor parentFolder)
throws javax.jcr.RepositoryException
sp - the session providerparentFolder - the folder which children we need to get
javax.jcr.RepositoryException
void addArtifact(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
ArtifactDescriptor artifact,
InputStream jarIStream,
InputStream pomIStream)
throws javax.jcr.RepositoryException
sp - the session providerartifact - descriptorjarFile -
javax.jcr.RepositoryException
void removeArtifact(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
Descriptor artifact)
throws javax.jcr.RepositoryException
sp - the session providerartifact - descriptor
javax.jcr.RepositoryException
List<Descriptor> searchArtifacts(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
SearchCriteria criteria)
throws javax.jcr.RepositoryException
sp - the session providercriteria - for search
javax.jcr.RepositoryException
void importArtifacts(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
InputStream zipInputStream)
throws javax.jcr.RepositoryException,
FileNotFoundException
sp - the session providerin - input stream which contains artifact related files
javax.jcr.RepositoryException
FileNotFoundException
void importArtifacts(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
File folder)
throws javax.jcr.RepositoryException,
FileNotFoundException
sp - - Session providerfolder -
javax.jcr.RepositoryException
FileNotFoundException
void exportArtifacts(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
FolderDescriptor parentFolder,
OutputStream zipOutputStream)
throws javax.jcr.RepositoryException,
FileNotFoundException
sp - the session providerparentFolder - the folder which children we need to getout - output stream to export to
javax.jcr.RepositoryException
FileNotFoundException
void exportArtifacts(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
FolderDescriptor parentFolder,
File folder)
throws javax.jcr.RepositoryException,
FileNotFoundException
sp - parentFolder - folder -
javax.jcr.RepositoryException
FileNotFoundException
List getPermission(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
Descriptor artifact)
throws javax.jcr.RepositoryException
sp - the session providerartifact - the artifact which ACL we need to get
javax.jcr.RepositoryException
void changePermission(org.exoplatform.services.jcr.ext.common.SessionProvider sp,
Descriptor artifact,
String identity,
String[] permissions,
boolean delete)
throws javax.jcr.RepositoryException
sp - the session providerartifact - the artifact which will be changedidentity - identity for addin/removing permissionspermissions - array of permissions to set/removedelete -
javax.jcr.RepositoryExceptionList getListErrors()
|
eXo JCR :: Ext :: Services 1.15.9-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||