com.gentics.contentnode.rest.model.response
Class FileUsageListResponse

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.GenericResponse
      extended by com.gentics.contentnode.rest.model.response.FileListResponse
          extended by com.gentics.contentnode.rest.model.response.FileUsageListResponse

public class FileUsageListResponse
extends FileListResponse

Response for a file/image usage request.


Constructor Summary
FileUsageListResponse()
          Empty constructor
FileUsageListResponse(Message message, ResponseInfo responseInfo, java.util.List<File> files, int total, int withoutPermission)
          Create a new instance
 
Method Summary
 int getTotal()
          Get the total number of files
 int getWithoutPermission()
          Get the number of files without permission
 void setTotal(int total)
          Set the total number of files
 void setWithoutPermission(int withoutPermission)
          Set the number of files without permission
 
Methods inherited from class com.gentics.contentnode.rest.model.response.FileListResponse
getFiles, getNumItems, isHasMoreItems, setFiles, setHasMoreItems, setNumItems
 
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUsageListResponse

public FileUsageListResponse()
Empty constructor


FileUsageListResponse

public FileUsageListResponse(Message message,
                             ResponseInfo responseInfo,
                             java.util.List<File> files,
                             int total,
                             int withoutPermission)
Create a new instance

Parameters:
message - message
responseInfo - response info
files - files
total - total number of files
withoutPermission - number of files without permission
Method Detail

getWithoutPermission

public int getWithoutPermission()
Get the number of files without permission

Returns:
number of files without permission

getTotal

public int getTotal()
Get the total number of files

Returns:
total number of files

setWithoutPermission

public void setWithoutPermission(int withoutPermission)
Set the number of files without permission

Parameters:
withoutPermission - number of files without permission

setTotal

public void setTotal(int total)
Set the total number of files

Parameters:
total - total number of files


Copyright © 2015 Gentics Software GmbH. All Rights Reserved.