Пример #1
0
 private static RepositoryItem CreateBaseItem(long idFather, ItemType itemType, String name, String extension, String url, Boolean isDownloadable, DisplayMode mode, Boolean isVisible, lm.Comol.Core.DomainModel.litePerson person, DateTime date, String ipAddress, String proxyIpAddress, RepositoryType type, Int32 idCommunity)
 {
     return(CreateBaseItem(idFather, itemType, name, extension, url, isDownloadable, mode, isVisible, person, date, ipAddress, proxyIpAddress, RepositoryIdentifier.Create(type, idCommunity)));
 }
Пример #2
0
 public static String UserViewOfRepository(Int32 idCurrentUser, RepositoryType type, Int32 idCommunity, Boolean onlyFolder = false)
 {
     return(UserViewOfRepository(idCurrentUser, RepositoryIdentifier.Create(type, idCommunity), onlyFolder));
 }
Пример #3
0
 private static RepositoryItem CreateBaseItem(long idFather, dtoUploadedItem dto, Boolean isDownloadable, DisplayMode mode, lm.Comol.Core.DomainModel.litePerson person, DateTime date, String ipAddress, String proxyIpAddress, RepositoryType type, Int32 idCommunity)
 {
     return(CreateBaseItem(idFather, dto, isDownloadable, mode, person, date, ipAddress, proxyIpAddress, RepositoryIdentifier.Create(type, idCommunity)));
 }
Пример #4
0
 public static String UsersViewOfRepository(RepositoryType type, Int32 idCommunity)
 {
     return(Repository(RepositoryIdentifier.Create(type, idCommunity)) + "_UserView_");
 }